]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
Remove const bool
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d14a1e28
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d14a1e28 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
0085ce49
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
0085ce49
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
0085ce49
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
0085ce49 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
093d3ff1 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
32fe5131 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
0085ce49
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
0085ce49 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
32fe5131 401 return equiv;
093d3ff1
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
0085ce49 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d14a1e28 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
0085ce49
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d14a1e28 714
0085ce49
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
0085ce49
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d14a1e28 803
0085ce49
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d14a1e28 846
0085ce49
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d14a1e28 936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d14a1e28 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
0085ce49
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d14a1e28 965
994141e6 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
994141e6 972
15afbcd0 973
0085ce49
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
0085ce49
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
0085ce49 984 * ----------------------------------------------------------------------------- */
15afbcd0 985
093d3ff1 986/* Common SWIG API */
994141e6 987
d1a49b78
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
0085ce49
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
994141e6 1000
0085ce49
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)
994141e6 1004
0085ce49
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)
d14a1e28 1008
0085ce49
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)
d14a1e28 1012
0085ce49
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
d14a1e28 1017
0085ce49 1018/* Runtime API */
15afbcd0 1019
0085ce49
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
0085ce49
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
15afbcd0 1030
0085ce49 1031/* Runtime API implementation */
994141e6 1032
0085ce49 1033/* Error manipulation */
994141e6 1034
0085ce49
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;
c32bde28 1041}
15afbcd0 1042
0085ce49
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;
15afbcd0
RD
1048}
1049
0085ce49 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
0085ce49 1052/* Set a constant value */
15afbcd0 1053
0085ce49
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c32bde28 1058}
15afbcd0 1059
0085ce49 1060/* Append a value to the result obj */
994141e6 1061
0085ce49
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;
093d3ff1 1088 } else {
0085ce49
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);
c32bde28 1100 }
0085ce49
RD
1101 return result;
1102#endif
c32bde28
RD
1103}
1104
0085ce49 1105/* Unpack the argument tuple */
15afbcd0 1106
0085ce49
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*/
093d3ff1
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
093d3ff1 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 */
093d3ff1
RD
1613#endif
1614 };
1615
0085ce49 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
0085ce49
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 */
093d3ff1 1632#endif
0085ce49
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 */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
0085ce49
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 */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
0085ce49 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
0085ce49 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
0085ce49 1679 };
32fe5131 1680 pyswigobject_type = tmp;
0085ce49 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
0085ce49 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1689{
0085ce49
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 }
0085ce49 1697 return (PyObject *)sobj;
093d3ff1 1698}
d14a1e28 1699
093d3ff1
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
994141e6 1703
093d3ff1
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
0085ce49 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
c32bde28 1710
093d3ff1 1711SWIGRUNTIME int
0085ce49 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
994141e6 1713{
093d3ff1
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 }
0085ce49 1720 fputs(v->ty->name,fp);
093d3ff1
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))) {
0085ce49 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
0085ce49 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1733 }
15afbcd0
RD
1734}
1735
093d3ff1
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))){
0085ce49 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
0085ce49 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
15afbcd0 1746
093d3ff1
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
15afbcd0 1749{
0085ce49
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);
c32bde28
RD
1754}
1755
0085ce49 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
994141e6 1757
093d3ff1 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
0085ce49
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 */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
0085ce49 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
0085ce49 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
0085ce49 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
0085ce49 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
093d3ff1 1848}
d14a1e28 1849
093d3ff1 1850SWIGRUNTIME PyObject *
0085ce49 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
0085ce49
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
0085ce49
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 }
093d3ff1 1865 }
0085ce49 1866 return (PyObject *) sobj;
093d3ff1 1867}
d14a1e28 1868
0085ce49 1869SWIGRUNTIME swig_type_info *
093d3ff1 1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d14a1e28 1871{
0085ce49
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 }
093d3ff1 1880}
d14a1e28 1881
093d3ff1 1882/* -----------------------------------------------------------------------------
0085ce49 1883 * pointers/data manipulation
093d3ff1 1884 * ----------------------------------------------------------------------------- */
d14a1e28 1885
0085ce49
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d14a1e28 1891
0085ce49
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d14a1e28 1898
0085ce49 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d14a1e28 1900
0085ce49
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
0085ce49
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);
093d3ff1 1926 } else {
0085ce49
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
0085ce49
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;
093d3ff1
RD
1947 }
1948}
d14a1e28 1949
0085ce49
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 }
093d3ff1 1961 }
0085ce49 1962 return 0;
093d3ff1 1963}
d14a1e28 1964
0085ce49
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
0085ce49
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 }
093d3ff1 1992 } else {
0085ce49
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
0085ce49
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 }
093d3ff1
RD
2042 }
2043}
d14a1e28 2044
0085ce49
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
0085ce49
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);
093d3ff1 2051 } else {
0085ce49
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
d1a49b78 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
0085ce49
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;
093d3ff1
RD
2069 }
2070}
d14a1e28 2071
0085ce49 2072/* Convert a packed value value */
d14a1e28 2073
093d3ff1 2074SWIGRUNTIME int
0085ce49
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 }
093d3ff1 2084 }
0085ce49
RD
2085 return SWIG_OK;
2086}
d14a1e28 2087
0085ce49
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d14a1e28 2091
0085ce49
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d14a1e28 2096
0085ce49
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 }
093d3ff1 2115 }
0085ce49
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
0085ce49
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);
093d3ff1 2126 }
0085ce49
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;
093d3ff1 2140 }
0085ce49
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;
093d3ff1 2147 }
0085ce49
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
093d3ff1 2158}
d14a1e28 2159
0085ce49
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 }
093d3ff1 2175#endif
0085ce49
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d14a1e28 2180
0085ce49
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]);
093d3ff1 2191 } else {
0085ce49 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
0085ce49 2194 return SWIG_Py_Void();
093d3ff1 2195 }
0085ce49
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
0085ce49 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
0085ce49
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;
093d3ff1 2213 }
093d3ff1 2214 }
0085ce49 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
0085ce49
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
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) {
093d3ff1
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 }
093d3ff1 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 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");
0085ce49 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
0085ce49 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));
0085ce49 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
0085ce49 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
0085ce49 2281 return SWIG_OK;
093d3ff1 2282}
32fe5131 2283#endif
093d3ff1 2284
0085ce49
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);
0085ce49 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);
0085ce49
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
093d3ff1 2314
0085ce49
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
0085ce49
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
01f6b6d3
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
f9bf356b
RD
2477#define SWIGTYPE_p_wxArrayString swig_types[11]
2478#define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479#define SWIGTYPE_p_wxBitmap swig_types[13]
2480#define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481#define SWIGTYPE_p_wxCURHandler swig_types[15]
2482#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486#define SWIGTYPE_p_wxColour swig_types[20]
2487#define SWIGTYPE_p_wxColourData swig_types[21]
2488#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxDC swig_types[27]
2494#define SWIGTYPE_p_wxDateEvent swig_types[28]
2495#define SWIGTYPE_p_wxDialog swig_types[29]
2496#define SWIGTYPE_p_wxDirDialog swig_types[30]
2497#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499#define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500#define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvent swig_types[35]
4976f996
RD
2502#define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503#define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504#define SWIGTYPE_p_wxFSFile swig_types[38]
2505#define SWIGTYPE_p_wxFileDialog swig_types[39]
2506#define SWIGTYPE_p_wxFileSystem swig_types[40]
2507#define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508#define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509#define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510#define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511#define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512#define SWIGTYPE_p_wxFont swig_types[46]
2513#define SWIGTYPE_p_wxFontData swig_types[47]
2514#define SWIGTYPE_p_wxFontDialog swig_types[48]
2515#define SWIGTYPE_p_wxFrame swig_types[49]
2516#define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517#define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518#define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519#define SWIGTYPE_p_wxGridSizer swig_types[53]
2520#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521#define SWIGTYPE_p_wxICOHandler swig_types[55]
2522#define SWIGTYPE_p_wxIcon swig_types[56]
2523#define SWIGTYPE_p_wxIconBundle swig_types[57]
2524#define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525#define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526#define SWIGTYPE_p_wxImage swig_types[60]
2527#define SWIGTYPE_p_wxImageHandler swig_types[61]
2528#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529#define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530#define SWIGTYPE_p_wxItemContainer swig_types[64]
2531#define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532#define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534#define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535#define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536#define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537#define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538#define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenu swig_types[73]
2540#define SWIGTYPE_p_wxMenuBar swig_types[74]
2541#define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542#define SWIGTYPE_p_wxMenuItem swig_types[76]
2543#define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544#define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547#define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548#define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551#define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552#define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553#define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554#define SWIGTYPE_p_wxObject swig_types[88]
2555#define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556#define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557#define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558#define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559#define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560#define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562#define SWIGTYPE_p_wxPanel swig_types[96]
2563#define SWIGTYPE_p_wxPaperSize swig_types[97]
2564#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565#define SWIGTYPE_p_wxPoint swig_types[99]
2566#define SWIGTYPE_p_wxPopupWindow swig_types[100]
8c3a7183
RD
2567#define SWIGTYPE_p_wxPosition swig_types[101]
2568#define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569#define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570#define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571#define SWIGTYPE_p_wxPrintData swig_types[105]
2572#define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573#define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574#define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575#define SWIGTYPE_p_wxPrinter swig_types[109]
2576#define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577#define SWIGTYPE_p_wxPyApp swig_types[111]
2578#define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579#define SWIGTYPE_p_wxPyEvent swig_types[113]
2580#define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581#define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582#define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583#define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584#define SWIGTYPE_p_wxPyPanel swig_types[118]
2585#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587#define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588#define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589#define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590#define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591#define SWIGTYPE_p_wxPySizer swig_types[125]
2592#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593#define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595#define SWIGTYPE_p_wxPyValidator swig_types[129]
2596#define SWIGTYPE_p_wxPyWindow swig_types[130]
2597#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599#define SWIGTYPE_p_wxRect swig_types[133]
2600#define SWIGTYPE_p_wxRegion swig_types[134]
2601#define SWIGTYPE_p_wxSashEvent swig_types[135]
2602#define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603#define SWIGTYPE_p_wxSashWindow swig_types[137]
2604#define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605#define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606#define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607#define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608#define SWIGTYPE_p_wxShowEvent swig_types[142]
2609#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611#define SWIGTYPE_p_wxSize swig_types[145]
2612#define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613#define SWIGTYPE_p_wxSizer swig_types[147]
2614#define SWIGTYPE_p_wxSizerItem swig_types[148]
2615#define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616#define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617#define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618#define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620#define SWIGTYPE_p_wxStatusBar swig_types[154]
2621#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622#define SWIGTYPE_p_wxString swig_types[156]
2623#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624#define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625#define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626#define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628#define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629#define SWIGTYPE_p_wxTipWindow swig_types[163]
2630#define SWIGTYPE_p_wxToolBar swig_types[164]
2631#define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633#define SWIGTYPE_p_wxValidator swig_types[167]
2634#define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635#define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636#define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637#define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638#define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639#define SWIGTYPE_p_wxWindow swig_types[173]
2640#define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642#define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643static swig_type_info *swig_types[178];
2644static swig_module_info swig_module = {swig_types, 177, 0, 0, 0, 0};
32fe5131
RD
2645#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2647
2648/* -------- TYPES TABLE (END) -------- */
2649
0085ce49
RD
2650#if (PY_VERSION_HEX <= 0x02000000)
2651# if !defined(SWIG_PYTHON_CLASSIC)
2652# error "This python version requires to use swig with the '-classic' option"
2653# endif
2654#endif
2655#if (PY_VERSION_HEX <= 0x02020000)
2656# error "This python version requires to use swig with the '-nomodern' option"
2657#endif
2658#if (PY_VERSION_HEX <= 0x02020000)
2659# error "This python version requires to use swig with the '-nomodernargs' option"
2660#endif
2661#ifndef METH_O
2662# error "This python version requires to use swig with the '-nofastunpack' option"
2663#endif
093d3ff1
RD
2664
2665/*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668#define SWIG_init init_windows_
2669
2670#define SWIG_name "_windows_"
2671
0085ce49 2672#define SWIGVERSION 0x010329
093d3ff1 2673
093d3ff1 2674
0085ce49
RD
2675#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2677
2678
0085ce49 2679#include <stdexcept>
093d3ff1
RD
2680
2681
0085ce49
RD
2682namespace swig {
2683 class PyObject_ptr {
2684 protected:
2685 PyObject *_obj;
093d3ff1 2686
0085ce49
RD
2687 public:
2688 PyObject_ptr() :_obj(0)
2689 {
2690 }
093d3ff1 2691
0085ce49
RD
2692 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2693 {
2694 Py_XINCREF(_obj);
093d3ff1 2695 }
0085ce49
RD
2696
2697 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2698 {
2699 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2700 }
0085ce49
RD
2701
2702 PyObject_ptr & operator=(const PyObject_ptr& item)
2703 {
2704 Py_XINCREF(item._obj);
2705 Py_XDECREF(_obj);
2706 _obj = item._obj;
2707 return *this;
2708 }
2709
2710 ~PyObject_ptr()
2711 {
2712 Py_XDECREF(_obj);
2713 }
2714
2715 operator PyObject *() const
2716 {
2717 return _obj;
2718 }
2719
2720 PyObject *operator->() const
2721 {
2722 return _obj;
2723 }
2724 };
093d3ff1
RD
2725}
2726
2727
0085ce49
RD
2728namespace swig {
2729 struct PyObject_var : PyObject_ptr {
2730 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2731
2732 PyObject_var & operator = (PyObject* obj)
2733 {
2734 Py_XDECREF(_obj);
2735 _obj = obj;
2736 return *this;
093d3ff1 2737 }
0085ce49 2738 };
093d3ff1 2739}
093d3ff1
RD
2740
2741
0085ce49
RD
2742#include "wx/wxPython/wxPython.h"
2743#include "wx/wxPython/pyclasses.h"
2744
093d3ff1 2745
0085ce49
RD
2746 static const wxString wxPyEmptyString(wxEmptyString);
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2748
093d3ff1 2749
0085ce49
RD
2750
2751#include <limits.h>
2752#ifndef LLONG_MIN
2753# define LLONG_MIN LONG_LONG_MIN
2754#endif
2755#ifndef LLONG_MAX
2756# define LLONG_MAX LONG_LONG_MAX
2757#endif
2758#ifndef ULLONG_MAX
2759# define ULLONG_MAX ULONG_LONG_MAX
2760#endif
2761
2762
2763SWIGINTERN int
2764SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2765{
0085ce49
RD
2766 if (PyNumber_Check(obj)) {
2767 if (val) *val = PyInt_AsLong(obj);
2768 return SWIG_OK;
2769 }
2770 return SWIG_TypeError;
093d3ff1
RD
2771}
2772
0085ce49
RD
2773
2774SWIGINTERN int
2775SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2776{
0085ce49
RD
2777 long v;
2778 int res = SWIG_AsVal_long (obj, &v);
2779 if (SWIG_IsOK(res)) {
2780 if ((v < INT_MIN || v > INT_MAX)) {
2781 return SWIG_OverflowError;
2782 } else {
2783 if (val) *val = static_cast< int >(v);
2784 }
2785 }
2786 return res;
093d3ff1
RD
2787}
2788
2789
2790SWIGINTERN int
0085ce49 2791SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2792{
2793 if (obj == Py_True) {
2794 if (val) *val = true;
0085ce49
RD
2795 return SWIG_OK;
2796 } else if (obj == Py_False) {
093d3ff1 2797 if (val) *val = false;
0085ce49 2798 return SWIG_OK;
093d3ff1 2799 } else {
0085ce49
RD
2800 long v = 0;
2801 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2802 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2803 return res;
093d3ff1 2804 }
093d3ff1
RD
2805}
2806
2807
0085ce49 2808 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2809
2810
0085ce49
RD
2811SWIGINTERNINLINE PyObject *
2812SWIG_From_int (int value)
2813{
2814 return SWIG_From_long (value);
2815}
093d3ff1
RD
2816
2817
2818SWIGINTERN int
0085ce49 2819SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2820{
2821 if (PyNumber_Check(obj)) {
2822 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 2823 return SWIG_OK;
093d3ff1 2824 }
0085ce49 2825 return SWIG_TypeError;
093d3ff1
RD
2826}
2827
2828
0085ce49 2829 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2830
2831 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2832 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2833 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2834 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
0085ce49
RD
2835SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2836SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
10044bf1 2837
5eb8189c
RD
2838#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2839
2840
093d3ff1 2841
0085ce49 2842SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2843 wxRect r;
2844 self->GetFieldRect(i, r);
2845 return r;
2846 }
2847 static const wxString wxPySplitterNameStr(wxT("splitter"));
2848 static const wxString wxPySashNameStr(wxT("sashWindow"));
2849 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2850
2851#include <wx/popupwin.h>
2852
2853
2854class wxPyPopupTransientWindow : public wxPopupTransientWindow
2855{
2856public:
2857 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2858 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2859 : wxPopupTransientWindow(parent, style) {}
2860
2861 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2862 DEC_PYCALLBACK__(OnDismiss);
2863 DEC_PYCALLBACK_BOOL_(CanDismiss);
2864 PYPRIVATE;
2865};
2866
2867
2868IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2869IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2870IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2871
2872
2873#include <wx/tipwin.h>
2874
0085ce49 2875SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2876 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2877 }
2878
2879#include <wx/tipwin.h>
8c3a7183 2880#include <wx/vscroll.h>
093d3ff1
RD
2881
2882
8c3a7183
RD
2883SWIGINTERNINLINE PyObject*
2884SWIG_From_unsigned_SS_long (unsigned long value)
2885{
2886 return (value > LONG_MAX) ?
2887 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2888}
2889
2890
2891SWIGINTERNINLINE PyObject *
2892SWIG_From_size_t (size_t value)
2893{
2894 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2895}
2896
2897
2898SWIGINTERN int
2899SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2900{
2901 long v = 0;
2902 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2903 return SWIG_TypeError;
2904 }
2905 else if (val)
2906 *val = (unsigned long)v;
2907 return SWIG_OK;
2908}
2909
2910
2911SWIGINTERNINLINE int
2912SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2913{
2914 unsigned long v;
2915 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2916 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2917 return res;
2918}
093d3ff1
RD
2919
2920
2921class wxPyVScrolledWindow : public wxVScrolledWindow
2922{
32fe5131 2923 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2924public:
2925 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2926
2927 wxPyVScrolledWindow(wxWindow *parent,
2928 wxWindowID id = wxID_ANY,
2929 const wxPoint& pos = wxDefaultPosition,
2930 const wxSize& size = wxDefaultSize,
2931 long style = 0,
2932 const wxString& name = wxPyPanelNameStr)
2933 : wxVScrolledWindow(parent, id, pos, size, style, name)
2934 {}
2935
2936 // Overridable virtuals
2937
2938 // this function must be overridden in the derived class and it should
2939 // return the height of the given line in pixels
8c3a7183
RD
2940 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name
093d3ff1
RD
2942
2943 // this function doesn't have to be overridden but it may be useful to do
2944 // it if calculating the lines heights is a relatively expensive operation
2945 // as it gives the user code a possibility to calculate several of them at
2946 // once
2947 //
8c3a7183 2948 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
093d3ff1 2949 // shouldn't rely on the latter being called for all lines in the interval
8c3a7183 2950 // specified here. It is also possible that OnGetRowHeight() will be
093d3ff1
RD
2951 // called for the lines outside of this interval, so this is really just a
2952 // hint, not a promise.
2953 //
2954 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2955 // usual
8c3a7183
RD
2956 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name
093d3ff1
RD
2958
2959 // when the number of lines changes, we try to estimate the total height
2960 // of all lines which is a rather expensive operation in terms of lines
2961 // access, so if the user code may estimate the average height
2962 // better/faster than we do, it should override this function to implement
2963 // its own logic
2964 //
2965 // this function should return the best guess for the total height it may
2966 // make
2967 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2968
2969
2970 // Also expose some other interesting protected methods
2971
2972
093d3ff1
RD
2973 // get the total height of the lines between lineMin (inclusive) and
2974 // lineMax (exclusive)
8c3a7183
RD
2975 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
2976 { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
01f6b6d3 2977
d14a1e28
RD
2978
2979 PYPRIVATE;
2980};
2981
2982IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2983
8c3a7183 2984IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight);
d14a1e28 2985IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
8c3a7183 2986IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint);
d14a1e28 2987IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
8c3a7183 2988
d14a1e28
RD
2989IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2990
2991
8c3a7183 2992class wxPyHScrolledWindow : public wxHScrolledWindow
fc46b7f3 2993{
8c3a7183
RD
2994 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
2995public:
2996 wxPyHScrolledWindow() : wxHScrolledWindow() {}
fc46b7f3 2997
8c3a7183
RD
2998 wxPyHScrolledWindow(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyPanelNameStr)
3004 : wxHScrolledWindow(parent, id, pos, size, style, name)
3005 {}
fc46b7f3 3006
8c3a7183
RD
3007 // Overridable virtuals
3008 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3009 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3010 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
15afbcd0 3011
8c3a7183
RD
3012 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3013 { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
15afbcd0 3014
8c3a7183
RD
3015 PYPRIVATE;
3016};
3017
3018IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow);
3019
3020IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth);
3021IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint);
3022IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth);
3023
3024
3025
3026class wxPyHVScrolledWindow : public wxHVScrolledWindow
994141e6 3027{
8c3a7183
RD
3028 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
3029public:
3030 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3031
3032 wxPyHVScrolledWindow(wxWindow *parent,
3033 wxWindowID id = wxID_ANY,
3034 const wxPoint& pos = wxDefaultPosition,
3035 const wxSize& size = wxDefaultSize,
3036 long style = 0,
3037 const wxString& name = wxPyPanelNameStr)
3038 : wxHVScrolledWindow(parent, id, pos, size, style, name)
3039 {}
0085ce49 3040
8c3a7183
RD
3041 // Overridable virtuals
3042 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
3043 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
3044 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
3045
3046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3047 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3048 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3049
3050 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
3051 { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
3052
3053 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3054 { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3055
3056 PYPRIVATE;
3057};
3058
3059IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow);
3060
3061IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight);
3062IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint);
3063IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight);
3064
3065IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth);
3066IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint);
3067IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth);
0085ce49 3068
994141e6
RD
3069
3070
d14a1e28 3071#include <wx/vlbox.h>
d14a1e28 3072
b2dc1044 3073 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
3074
3075class wxPyVListBox : public wxVListBox
3076{
32fe5131 3077 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d14a1e28
RD
3078public:
3079 wxPyVListBox() : wxVListBox() {}
3080
3081 wxPyVListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxVListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // the derived class must implement this function to actually draw the item
3093 // with the given index on the provided DC
3094 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3095 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3096
3097
3098 // the derived class must implement this method to return the height of the
3099 // specified item
3100 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3101 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3102
3103
3104 // this method may be used to draw separators between the lines; note that
3105 // the rectangle may be modified, typically to deflate it a bit before
3106 // passing to OnDrawItem()
3107 //
3108 // the base class version doesn't do anything
3109 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
75219dcb 3110 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d14a1e28
RD
3111
3112
3113 // this method is used to draw the items background and, maybe, a border
3114 // around it
3115 //
3116 // the base class version implements a reasonable default behaviour which
3117 // consists in drawing the selected item with the standard background
3118 // colour and drawing a border around the item if it is either selected or
3119 // current
3120 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3121 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3122
3123
3124 PYPRIVATE;
3125};
3126
3127IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3128
3129IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3130IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
75219dcb 3131IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d14a1e28
RD
3132IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3133
3134
0085ce49 3135SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3136 unsigned long cookie = 0;
3137 int selected = self->GetFirstSelected(cookie);
5a446332 3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3139 PyObject* tup = PyTuple_New(2);
3140 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3141 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3142 wxPyEndBlockThreads(blocked);
3143 return tup;
3144 }
0085ce49 3145SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3146 int selected = self->GetNextSelected(cookie);
5a446332 3147 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3148 PyObject* tup = PyTuple_New(2);
3149 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3150 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3151 wxPyEndBlockThreads(blocked);
3152 return tup;
3153 }
d14a1e28
RD
3154
3155#include <wx/htmllbox.h>
3156
3157
3158class wxPyHtmlListBox : public wxHtmlListBox
3159{
32fe5131 3160 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d14a1e28
RD
3161public:
3162 wxPyHtmlListBox() : wxHtmlListBox() {}
3163
3164 wxPyHtmlListBox(wxWindow *parent,
3165 wxWindowID id = wxID_ANY,
3166 const wxPoint& pos = wxDefaultPosition,
3167 const wxSize& size = wxDefaultSize,
3168 long style = 0,
3169 const wxString& name = wxPyVListBoxNameStr)
3170 : wxHtmlListBox(parent, id, pos, size, style, name)
3171 {}
3172
3173 // Overridable virtuals
3174
3175 // this method must be implemented in the derived class and should return
3176 // the body (i.e. without <html>) of the HTML for the given item
3177 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3178
3179 // this function may be overridden to decorate HTML returned by OnGetItem()
3180 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3181
75219dcb
RD
3182 // These are from wxVListBox
3183 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3184 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3185
d14a1e28
RD
3186// TODO:
3187// // this method allows to customize the selection appearance: it may be used
3188// // to specify the colour of the text which normally has the given colour
3189// // colFg when it is inside the selection
3190// //
3191// // by default, the original colour is not used at all and all text has the
3192// // same (default for this system) colour inside selection
3193// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3194
3195// // this is the same as GetSelectedTextColour() but allows to customize the
3196// // background colour -- this is even more rarely used as you can change it
3197// // globally using SetSelectionBackground()
3198// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3199
e9d6f3a4
RD
3200
3201 // This method may be overriden to handle clicking on a link in
3202 // the listbox. By default, clicking links is ignored.
3203 virtual void OnLinkClicked(size_t n,
3204 const wxHtmlLinkInfo& link);
d14a1e28
RD
3205
3206 PYPRIVATE;
3207};
3208
3209
3210IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3211
3212IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3213IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
75219dcb
RD
3214IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3215IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d14a1e28
RD
3216
3217
e9d6f3a4
RD
3218void wxPyHtmlListBox::OnLinkClicked(size_t n,
3219 const wxHtmlLinkInfo& link) {
3220 bool found;
3221 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3222 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3223 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3224 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3225 Py_DECREF(obj);
3226 }
3227 wxPyEndBlockThreads(blocked);
3228 if (! found)
3229 wxPyHtmlListBox::OnLinkClicked(n, link);
3230}
3231
3232
d14a1e28 3233
f9bf356b
RD
3234 const wxArrayString wxPyEmptyStringArray;
3235
3236 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3237
d14a1e28
RD
3238
3239
ae8162c8
RD
3240#ifndef wxHAS_TASK_BAR_ICON
3241// implement dummy classes for platforms that don't have it
d14a1e28
RD
3242
3243class wxTaskBarIcon : public wxEvtHandler
3244{
3245public:
39f61e25 3246 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 3247};
09c21d3b 3248
d14a1e28
RD
3249
3250class wxTaskBarIconEvent : public wxEvent
3251{
3252public:
3253 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 3254 { wxPyRaiseNotImplemented(); }
d14a1e28 3255 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3256 bool IsOk() const { return false; }
3257 bool IsIconInstalled() const { return false; }
3258 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3259 bool RemoveIcon() { return false; }
3260 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
3261};
3262
3263enum {
3264 wxEVT_TASKBAR_MOVE = 0,
3265 wxEVT_TASKBAR_LEFT_DOWN = 0,
3266 wxEVT_TASKBAR_LEFT_UP = 0,
3267 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3268 wxEVT_TASKBAR_RIGHT_UP = 0,
3269 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3270 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3271};
09c21d3b
RD
3272
3273
3274#else
5e483524
RD
3275// Otherwise make a class that can virtualize CreatePopupMenu
3276class wxPyTaskBarIcon : public wxTaskBarIcon
3277{
32fe5131 3278 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3279public:
3280 wxPyTaskBarIcon() : wxTaskBarIcon()
3281 {}
3282
3283 wxMenu* CreatePopupMenu() {
3284 wxMenu *rval = NULL;
3285 bool found;
5a446332 3286 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3287 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3288 PyObject* ro;
3289 wxMenu* ptr;
3290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3291 if (ro) {
3292 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3293 rval = ptr;
3294 Py_DECREF(ro);
3295 }
3296 }
3297 wxPyEndBlockThreads(blocked);
3298 if (! found)
3299 rval = wxTaskBarIcon::CreatePopupMenu();
3300 return rval;
3301 }
3302
3303 PYPRIVATE;
3304};
3305
3306IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3307
d14a1e28
RD
3308#endif
3309
0085ce49 3310SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 3311 self->RemoveIcon();
5e483524 3312 delete self;
74a57fcd 3313 }
b2dc1044
RD
3314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3315 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3316 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3317 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3318 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3319 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3320
3321// for compatibility only
3322#define wxHIDE_READONLY 0
3323
0085ce49 3324SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d14a1e28
RD
3325 wxArrayString arr;
3326 self->GetFilenames(arr);
3327 return wxArrayString2PyList_helper(arr);
3328 }
0085ce49 3329SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
3330 wxArrayString arr;
3331 self->GetPaths(arr);
3332 return wxArrayString2PyList_helper(arr);
3333 }
0085ce49 3334SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
RD
3335 return wxArrayInt2PyList_helper(self->GetSelections());
3336 }
0085ce49 3337SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d14a1e28
RD
3338 return new wxSingleChoiceDialog(parent, message, caption,
3339 choices, choices_array, NULL, style, pos);
3340 }
d3b6e4ff 3341 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28 3342
01f6b6d3
RD
3343SWIGINTERNINLINE PyObject*
3344 SWIG_From_bool (bool value)
3345{
3346 return PyBool_FromLong(value ? 1 : 0);
3347}
3348
3349
d14a1e28
RD
3350#include <wx/mdi.h>
3351
3352 // C++ version of Python aware wxWindow
3353class wxPyWindow : public wxWindow
3354{
3355 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3356public:
3357 wxPyWindow() : wxWindow() {}
3358 wxPyWindow(wxWindow* parent, const wxWindowID id,
3359 const wxPoint& pos = wxDefaultPosition,
3360 const wxSize& size = wxDefaultSize,
3361 long style = 0,
3362 const wxString& name = wxPyPanelNameStr)
3363 : wxWindow(parent, id, pos, size, style, name) {}
3364
3365
976dbff5
RD
3366 bool DoEraseBackground(wxDC* dc) {
3367#ifdef __WXMSW__
3368 return wxWindow::DoEraseBackground(dc->GetHDC());
3369#else
3370 dc->SetBackground(wxBrush(GetBackgroundColour()));
3371 dc->Clear();
3372 return true;
3373#endif
3374 }
3375
d14a1e28
RD
3376 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3377 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3380
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3384
3385 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3386 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3387
3388 DEC_PYCALLBACK__(InitDialog);
3389 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3390 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3391 DEC_PYCALLBACK_BOOL_(Validate);
3392
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3395 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3396
3397 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3399
db3e571a 3400 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3401 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3402
51b83b37
RD
3403 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3404
8d38bd1d
RD
3405 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3406
d14a1e28
RD
3407 PYPRIVATE;
3408};
3409
3410IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3411
3412IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3413IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3414IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3415IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3416
3417IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3418IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3419IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3420
3421IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3422IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3423
3424IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3425IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3426IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3427IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3428
3429IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3430IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3431IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3432
3433IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3434IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3435
db3e571a 3436IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
db3e571a 3437IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3438
3439IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d14a1e28 3440
8d38bd1d
RD
3441IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3442
d14a1e28
RD
3443 // C++ version of Python aware wxPanel
3444class wxPyPanel : public wxPanel
3445{
3446 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3447public:
3448 wxPyPanel() : wxPanel() {}
3449 wxPyPanel(wxWindow* parent, const wxWindowID id,
3450 const wxPoint& pos = wxDefaultPosition,
3451 const wxSize& size = wxDefaultSize,
3452 long style = 0,
3453 const wxString& name = wxPyPanelNameStr)
3454 : wxPanel(parent, id, pos, size, style, name) {}
3455
976dbff5
RD
3456 bool DoEraseBackground(wxDC* dc) {
3457#ifdef __WXMSW__
3458 return wxWindow::DoEraseBackground(dc->GetHDC());
3459#else
3460 dc->SetBackground(wxBrush(GetBackgroundColour()));
3461 dc->Clear();
3462 return true;
3463#endif
3464 }
db3e571a 3465
d14a1e28
RD
3466
3467 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3468 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3471
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3475
3476 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3477 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3478
3479 DEC_PYCALLBACK__(InitDialog);
3480 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3481 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3482 DEC_PYCALLBACK_BOOL_(Validate);
3483
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3486 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3487
3488 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3490
db3e571a 3491 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3492 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3493
51b83b37
RD
3494 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3495
8d38bd1d
RD
3496 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3497
d14a1e28
RD
3498 PYPRIVATE;
3499};
3500
3501IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3502
3503IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3504IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3505IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3506IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3507
3508IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3509IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3510IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3511
3512IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3513IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3514
3515IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3516IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3517IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3518IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3519
3520IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3521IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3522IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3523
3524IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3525IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3526
db3e571a 3527IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
db3e571a 3528IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 3529
51b83b37
RD
3530IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3531
8d38bd1d
RD
3532IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3533
1cb4a8aa
RD
3534 // C++ version of Python aware wxScrolledWindow
3535class wxPyScrolledWindow : public wxScrolledWindow
3536{
3537 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3538public:
3539 wxPyScrolledWindow() : wxScrolledWindow() {}
3540 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3541 const wxPoint& pos = wxDefaultPosition,
3542 const wxSize& size = wxDefaultSize,
3543 long style = 0,
3544 const wxString& name = wxPyPanelNameStr)
3545 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3546
976dbff5
RD
3547 bool DoEraseBackground(wxDC* dc) {
3548#ifdef __WXMSW__
3549 return wxWindow::DoEraseBackground(dc->GetHDC());
3550#else
3551 dc->SetBackground(wxBrush(GetBackgroundColour()));
3552 dc->Clear();
3553 return true;
3554#endif
3555 }
1cb4a8aa
RD
3556
3557 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3558 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3559 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3561
3562 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3565
3566 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3567 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3568
3569 DEC_PYCALLBACK__(InitDialog);
3570 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3571 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3572 DEC_PYCALLBACK_BOOL_(Validate);
3573
3574 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3576 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3577
3578 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3580
db3e571a 3581 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3582 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa 3583
51b83b37
RD
3584 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3585
8d38bd1d
RD
3586 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3587
1cb4a8aa
RD
3588 PYPRIVATE;
3589};
3590
3591IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3592
3593IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3594IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3595IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3596IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3597
3598IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3599IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3600IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3601
3602IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3603IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3604
3605IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3606IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3607IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3608IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3609
3610IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3611IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3612IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3613
3614IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3615IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3616
db3e571a 3617IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
db3e571a
RD
3618IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3619
51b83b37 3620IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d14a1e28 3621
8d38bd1d
RD
3622IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3623
d14a1e28
RD
3624
3625#include "wx/wxPython/printfw.h"
3626
d14a1e28 3627
33b885b9
RD
3628 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3629 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
0085ce49 3630SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3631 PyObject* data;
5a446332 3632 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3633 data = PyString_FromStringAndSize(self->GetPrivData(),
3634 self->GetPrivDataLen());
3635 wxPyEndBlockThreads(blocked);
3636 return data;
3637 }
0085ce49 3638SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3639 if (! PyString_Check(data)) {
3640 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3641 "Expected string object"));
3642 return /* NULL */ ;
3643 }
3644
5a446332 3645 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3646 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3647 wxPyEndBlockThreads(blocked);
3648 }
d14a1e28
RD
3649
3650
a68b8331 3651IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
RD
3652
3653// Since this one would be tough and ugly to do with the Macros...
3654void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3655 bool hadErr = false;
d14a1e28
RD
3656 bool found;
3657
5a446332 3658 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3659 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3660 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3661 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3662 PyObject* val;
3663
3664 val = PyTuple_GetItem(result, 0);
3665 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3666 else hadErr = true;
d14a1e28
RD
3667
3668 val = PyTuple_GetItem(result, 1);
3669 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3670 else hadErr = true;
d14a1e28
RD
3671
3672 val = PyTuple_GetItem(result, 2);
3673 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3674 else hadErr = true;
d14a1e28
RD
3675
3676 val = PyTuple_GetItem(result, 3);
3677 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3678 else hadErr = true;
d14a1e28
RD
3679 }
3680 else
ae8162c8 3681 hadErr = true;
d14a1e28
RD
3682
3683 if (hadErr) {
3684 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3685 PyErr_Print();
3686 }
3687 Py_DECREF(result);
3688 }
4f89f6a3 3689 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3690 if (! found)
3691 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3692}
3693
d14a1e28
RD
3694
3695
3696IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3697IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3698IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3699IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3700IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3701IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3702IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3703
3704
3705
3706
3707
ae8162c8 3708#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
c26d9ab4 3709 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d14a1e28
RD
3710
3711
ae8162c8
RD
3712#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3713 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3714 bool rval=false; \
3715 bool found; \
32fe5131 3716 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3717 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3718 PyObject* win = wxPyMake_wxObject(a,false); \
3719 PyObject* dc = wxPyMake_wxObject(&b,false); \
3720 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3721 Py_DECREF(win); \
3722 Py_DECREF(dc); \
3723 } \
3724 wxPyEndBlockThreads(blocked); \
3725 if (! found) \
3726 rval = PCLASS::CBNAME(a, b); \
3727 return rval; \
c26d9ab4 3728 }
d14a1e28
RD
3729
3730
3731
3732
3733class wxPyPrintPreview : public wxPrintPreview
3734{
3735 DECLARE_CLASS(wxPyPrintPreview)
3736public:
4276dc52
RD
3737 wxPyPrintPreview(wxPyPrintout* printout,
3738 wxPyPrintout* printoutForPrinting,
3739 wxPrintDialogData* data=NULL)
3740 : wxPrintPreview(printout, printoutForPrinting, data)
3741 {}
d14a1e28
RD
3742 wxPyPrintPreview(wxPyPrintout* printout,
3743 wxPyPrintout* printoutForPrinting,
32fe5131 3744 wxPrintData* data)
d14a1e28
RD
3745 : wxPrintPreview(printout, printoutForPrinting, data)
3746 {}
3747
3748 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3749 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3751 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3752 DEC_PYCALLBACK_VOID_INT(SetZoom);
3753 DEC_PYCALLBACK_BOOL_BOOL(Print);
3754 DEC_PYCALLBACK_VOID_(DetermineScaling);
3755
3756 PYPRIVATE;
3757};
3758
3759// Stupid renamed classes... Fix this in 2.5...
3760#if defined(__WXMSW__)
3761IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3762#elif defined(__WXMAC__)
3763IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3764#else
3765IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3766#endif
3767
3768IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3769IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3770IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3771IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3772IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3773IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3774IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3775
3776
3777class wxPyPreviewFrame : public wxPreviewFrame
3778{
32fe5131 3779 DECLARE_CLASS(wxPyPreviewFrame)
d14a1e28
RD
3780public:
3781 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3782 const wxString& title,
3783 const wxPoint& pos = wxDefaultPosition,
3784 const wxSize& size = wxDefaultSize,
3785 long style = wxDEFAULT_FRAME_STYLE,
3786 const wxString& name = wxPyFrameNameStr)
3787 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3788 {}
3789
3790 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3791 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3792
3793 DEC_PYCALLBACK_VOID_(Initialize);
3794 DEC_PYCALLBACK_VOID_(CreateCanvas);
3795 DEC_PYCALLBACK_VOID_(CreateControlBar);
3796
3797 PYPRIVATE;
3798};
3799
3800IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3801
3802IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3803IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3804IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3805
3806
3807class wxPyPreviewControlBar : public wxPreviewControlBar
3808{
32fe5131 3809 DECLARE_CLASS(wxPyPreviewControlBar)
d14a1e28
RD
3810public:
3811 wxPyPreviewControlBar(wxPrintPreview *preview,
3812 long buttons,
3813 wxWindow *parent,
3814 const wxPoint& pos = wxDefaultPosition,
3815 const wxSize& size = wxDefaultSize,
3816 long style = 0,
3817 const wxString& name = wxPyPanelNameStr)
3818 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3819 {}
3820
3821 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3822
3823 DEC_PYCALLBACK_VOID_(CreateButtons);
3824 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3825
3826 PYPRIVATE;
3827};
3828
3829IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3830IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3831IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3832
3833#ifdef __cplusplus
3834extern "C" {
3835#endif
0085ce49
RD
3836SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj = 0;
3838 wxWindow *arg1 = (wxWindow *) 0 ;
3839 int arg2 = (int) (int)-1 ;
3840 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3841 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3842 wxSize const &arg4_defvalue = wxDefaultSize ;
3843 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3844 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3845 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3846 wxString *arg6 = (wxString *) &arg6_defvalue ;
3847 wxPanel *result = 0 ;
3848 void *argp1 = 0 ;
3849 int res1 = 0 ;
3850 int val2 ;
3851 int ecode2 = 0 ;
3852 wxPoint temp3 ;
3853 wxSize temp4 ;
3854 long val5 ;
3855 int ecode5 = 0 ;
3856 bool temp6 = false ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj1 = 0 ;
3859 PyObject * obj2 = 0 ;
3860 PyObject * obj3 = 0 ;
3861 PyObject * obj4 = 0 ;
3862 PyObject * obj5 = 0 ;
3863 char * kwnames[] = {
3864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3865 };
3866
3867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3869 if (!SWIG_IsOK(res1)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3871 }
3872 arg1 = reinterpret_cast< wxWindow * >(argp1);
3873 if (obj1) {
3874 ecode2 = SWIG_AsVal_int(obj1, &val2);
3875 if (!SWIG_IsOK(ecode2)) {
3876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3877 }
3878 arg2 = static_cast< int >(val2);
3879 }
3880 if (obj2) {
d14a1e28 3881 {
0085ce49
RD
3882 arg3 = &temp3;
3883 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 3884 }
0085ce49
RD
3885 }
3886 if (obj3) {
d14a1e28 3887 {
0085ce49
RD
3888 arg4 = &temp4;
3889 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3890 }
0085ce49
RD
3891 }
3892 if (obj4) {
3893 ecode5 = SWIG_AsVal_long(obj4, &val5);
3894 if (!SWIG_IsOK(ecode5)) {
3895 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3896 }
3897 arg5 = static_cast< long >(val5);
3898 }
3899 if (obj5) {
d14a1e28 3900 {
0085ce49
RD
3901 arg6 = wxString_in_helper(obj5);
3902 if (arg6 == NULL) SWIG_fail;
3903 temp6 = true;
3904 }
3905 }
3906 {
3907 if (!wxPyCheckForApp()) SWIG_fail;
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3914 {
3915 if (temp6)
3916 delete arg6;
3917 }
3918 return resultobj;
3919fail:
3920 {
3921 if (temp6)
3922 delete arg6;
3923 }
3924 return NULL;
d14a1e28
RD
3925}
3926
3927
0085ce49
RD
3928SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3929 PyObject *resultobj = 0;
3930 wxPanel *result = 0 ;
3931
3932 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3933 {
3934 if (!wxPyCheckForApp()) SWIG_fail;
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (wxPanel *)new wxPanel();
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3941 return resultobj;
3942fail:
3943 return NULL;
3944}
3945
3946
3947SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj = 0;
3949 wxPanel *arg1 = (wxPanel *) 0 ;
3950 wxWindow *arg2 = (wxWindow *) 0 ;
3951 int arg3 = (int) (int)-1 ;
3952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3954 wxSize const &arg5_defvalue = wxDefaultSize ;
3955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3956 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3957 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3958 wxString *arg7 = (wxString *) &arg7_defvalue ;
3959 bool result;
3960 void *argp1 = 0 ;
3961 int res1 = 0 ;
3962 void *argp2 = 0 ;
3963 int res2 = 0 ;
3964 int val3 ;
3965 int ecode3 = 0 ;
3966 wxPoint temp4 ;
3967 wxSize temp5 ;
3968 long val6 ;
3969 int ecode6 = 0 ;
3970 bool temp7 = false ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973 PyObject * obj2 = 0 ;
3974 PyObject * obj3 = 0 ;
3975 PyObject * obj4 = 0 ;
3976 PyObject * obj5 = 0 ;
3977 PyObject * obj6 = 0 ;
3978 char * kwnames[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3980 };
3981
3982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3984 if (!SWIG_IsOK(res1)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3986 }
3987 arg1 = reinterpret_cast< wxPanel * >(argp1);
3988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3989 if (!SWIG_IsOK(res2)) {
3990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3991 }
3992 arg2 = reinterpret_cast< wxWindow * >(argp2);
3993 if (obj2) {
3994 ecode3 = SWIG_AsVal_int(obj2, &val3);
3995 if (!SWIG_IsOK(ecode3)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3997 }
3998 arg3 = static_cast< int >(val3);
3999 }
4000 if (obj3) {
4f89f6a3 4001 {
0085ce49
RD
4002 arg4 = &temp4;
4003 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 4004 }
0085ce49
RD
4005 }
4006 if (obj4) {
d14a1e28 4007 {
0085ce49
RD
4008 arg5 = &temp5;
4009 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4010 }
0085ce49
RD
4011 }
4012 if (obj5) {
4013 ecode6 = SWIG_AsVal_long(obj5, &val6);
4014 if (!SWIG_IsOK(ecode6)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4016 }
4017 arg6 = static_cast< long >(val6);
4018 }
4019 if (obj6) {
d14a1e28 4020 {
0085ce49
RD
4021 arg7 = wxString_in_helper(obj6);
4022 if (arg7 == NULL) SWIG_fail;
4023 temp7 = true;
d14a1e28 4024 }
0085ce49
RD
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4034 }
4035 {
4036 if (temp7)
4037 delete arg7;
4038 }
4039 return resultobj;
4040fail:
4041 {
4042 if (temp7)
4043 delete arg7;
4044 }
4045 return NULL;
5cbf236d
RD
4046}
4047
4048
0085ce49
RD
4049SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4050 PyObject *resultobj = 0;
4051 wxPanel *arg1 = (wxPanel *) 0 ;
4052 void *argp1 = 0 ;
4053 int res1 = 0 ;
4054 PyObject *swig_obj[1] ;
4055
4056 if (!args) SWIG_fail;
4057 swig_obj[0] = args;
4058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4061 }
4062 arg1 = reinterpret_cast< wxPanel * >(argp1);
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetFocusIgnoringChildren();
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = SWIG_Py_Void();
4070 return resultobj;
4071fail:
4072 return NULL;
4073}
4074
4075
4076SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj = 0;
4078 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4079 SwigValueWrapper<wxVisualAttributes > result;
4080 int val1 ;
4081 int ecode1 = 0 ;
4082 PyObject * obj0 = 0 ;
4083 char * kwnames[] = {
4084 (char *) "variant", NULL
4085 };
4086
4087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4088 if (obj0) {
4089 ecode1 = SWIG_AsVal_int(obj0, &val1);
4090 if (!SWIG_IsOK(ecode1)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4092 }
4093 arg1 = static_cast< wxWindowVariant >(val1);
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = wxPanel::GetClassDefaultAttributes(arg1);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4103 return resultobj;
4104fail:
4105 return NULL;
4106}
4107
4108
4109SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4110 PyObject *obj;
4111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4113 return SWIG_Py_Void();
4114}
4115
4116SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 return SWIG_Python_InitShadowInstance(args);
4118}
4119
4120SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj = 0;
4122 wxWindow *arg1 = (wxWindow *) 0 ;
4123 int arg2 = (int) (int)-1 ;
4124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4126 wxSize const &arg4_defvalue = wxDefaultSize ;
4127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4128 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4129 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4130 wxString *arg6 = (wxString *) &arg6_defvalue ;
4131 wxScrolledWindow *result = 0 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 int val2 ;
4135 int ecode2 = 0 ;
4136 wxPoint temp3 ;
4137 wxSize temp4 ;
4138 long val5 ;
4139 int ecode5 = 0 ;
4140 bool temp6 = false ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
4144 PyObject * obj3 = 0 ;
4145 PyObject * obj4 = 0 ;
4146 PyObject * obj5 = 0 ;
4147 char * kwnames[] = {
4148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4149 };
4150
4151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4153 if (!SWIG_IsOK(res1)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4155 }
4156 arg1 = reinterpret_cast< wxWindow * >(argp1);
4157 if (obj1) {
4158 ecode2 = SWIG_AsVal_int(obj1, &val2);
4159 if (!SWIG_IsOK(ecode2)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4161 }
4162 arg2 = static_cast< int >(val2);
4163 }
4164 if (obj2) {
5cbf236d 4165 {
0085ce49
RD
4166 arg3 = &temp3;
4167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22bfe96c 4168 }
0085ce49
RD
4169 }
4170 if (obj3) {
22bfe96c 4171 {
0085ce49
RD
4172 arg4 = &temp4;
4173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 4174 }
0085ce49
RD
4175 }
4176 if (obj4) {
4177 ecode5 = SWIG_AsVal_long(obj4, &val5);
4178 if (!SWIG_IsOK(ecode5)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4180 }
4181 arg5 = static_cast< long >(val5);
4182 }
4183 if (obj5) {
22bfe96c 4184 {
0085ce49
RD
4185 arg6 = wxString_in_helper(obj5);
4186 if (arg6 == NULL) SWIG_fail;
4187 temp6 = true;
22bfe96c 4188 }
0085ce49
RD
4189 }
4190 {
4191 if (!wxPyCheckForApp()) SWIG_fail;
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4198 {
4199 if (temp6)
4200 delete arg6;
4201 }
4202 return resultobj;
4203fail:
4204 {
4205 if (temp6)
4206 delete arg6;
4207 }
4208 return NULL;
22bfe96c
RD
4209}
4210
4211
0085ce49
RD
4212SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4213 PyObject *resultobj = 0;
4214 wxScrolledWindow *result = 0 ;
4215
4216 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4217 {
4218 if (!wxPyCheckForApp()) SWIG_fail;
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxScrolledWindow *)new wxScrolledWindow();
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4225 return resultobj;
4226fail:
4227 return NULL;
4228}
4229
4230
4231SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj = 0;
4233 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4234 wxWindow *arg2 = (wxWindow *) 0 ;
4235 int arg3 = (int) (int)-1 ;
4236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4238 wxSize const &arg5_defvalue = wxDefaultSize ;
4239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4240 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4241 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4242 wxString *arg7 = (wxString *) &arg7_defvalue ;
4243 bool result;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 int val3 ;
4249 int ecode3 = 0 ;
4250 wxPoint temp4 ;
4251 wxSize temp5 ;
4252 long val6 ;
4253 int ecode6 = 0 ;
4254 bool temp7 = false ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 PyObject * obj2 = 0 ;
4258 PyObject * obj3 = 0 ;
4259 PyObject * obj4 = 0 ;
4260 PyObject * obj5 = 0 ;
4261 PyObject * obj6 = 0 ;
4262 char * kwnames[] = {
4263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4264 };
4265
4266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4268 if (!SWIG_IsOK(res1)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4270 }
4271 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4273 if (!SWIG_IsOK(res2)) {
4274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4275 }
4276 arg2 = reinterpret_cast< wxWindow * >(argp2);
4277 if (obj2) {
4278 ecode3 = SWIG_AsVal_int(obj2, &val3);
4279 if (!SWIG_IsOK(ecode3)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4281 }
4282 arg3 = static_cast< int >(val3);
4283 }
4284 if (obj3) {
d14a1e28 4285 {
0085ce49
RD
4286 arg4 = &temp4;
4287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4288 }
4289 }
4290 if (obj4) {
d14a1e28 4291 {
0085ce49
RD
4292 arg5 = &temp5;
4293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4294 }
0085ce49
RD
4295 }
4296 if (obj5) {
4297 ecode6 = SWIG_AsVal_long(obj5, &val6);
4298 if (!SWIG_IsOK(ecode6)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4300 }
4301 arg6 = static_cast< long >(val6);
4302 }
4303 if (obj6) {
d14a1e28 4304 {
0085ce49
RD
4305 arg7 = wxString_in_helper(obj6);
4306 if (arg7 == NULL) SWIG_fail;
4307 temp7 = true;
d14a1e28 4308 }
0085ce49
RD
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4318 }
4319 {
4320 if (temp7)
4321 delete arg7;
4322 }
4323 return resultobj;
4324fail:
4325 {
4326 if (temp7)
4327 delete arg7;
4328 }
4329 return NULL;
4330}
4331
4332
4333SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj = 0;
4335 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4336 int arg2 ;
4337 int arg3 ;
4338 int arg4 ;
4339 int arg5 ;
4340 int arg6 = (int) 0 ;
4341 int arg7 = (int) 0 ;
4342 bool arg8 = (bool) false ;
4343 void *argp1 = 0 ;
4344 int res1 = 0 ;
4345 int val2 ;
4346 int ecode2 = 0 ;
4347 int val3 ;
4348 int ecode3 = 0 ;
4349 int val4 ;
4350 int ecode4 = 0 ;
4351 int val5 ;
4352 int ecode5 = 0 ;
4353 int val6 ;
4354 int ecode6 = 0 ;
4355 int val7 ;
4356 int ecode7 = 0 ;
4357 bool val8 ;
4358 int ecode8 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 PyObject * obj2 = 0 ;
4362 PyObject * obj3 = 0 ;
4363 PyObject * obj4 = 0 ;
4364 PyObject * obj5 = 0 ;
4365 PyObject * obj6 = 0 ;
4366 PyObject * obj7 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4377 ecode2 = SWIG_AsVal_int(obj1, &val2);
4378 if (!SWIG_IsOK(ecode2)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4380 }
4381 arg2 = static_cast< int >(val2);
4382 ecode3 = SWIG_AsVal_int(obj2, &val3);
4383 if (!SWIG_IsOK(ecode3)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 ecode4 = SWIG_AsVal_int(obj3, &val4);
4388 if (!SWIG_IsOK(ecode4)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4390 }
4391 arg4 = static_cast< int >(val4);
4392 ecode5 = SWIG_AsVal_int(obj4, &val5);
4393 if (!SWIG_IsOK(ecode5)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4395 }
4396 arg5 = static_cast< int >(val5);
4397 if (obj5) {
4398 ecode6 = SWIG_AsVal_int(obj5, &val6);
4399 if (!SWIG_IsOK(ecode6)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4401 }
4402 arg6 = static_cast< int >(val6);
4403 }
4404 if (obj6) {
4405 ecode7 = SWIG_AsVal_int(obj6, &val7);
4406 if (!SWIG_IsOK(ecode7)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4408 }
4409 arg7 = static_cast< int >(val7);
4410 }
4411 if (obj7) {
4412 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4413 if (!SWIG_IsOK(ecode8)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4415 }
4416 arg8 = static_cast< bool >(val8);
4417 }
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_Py_Void();
4425 return resultobj;
4426fail:
4427 return NULL;
4428}
4429
4430
4431SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "x",(char *) "y", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->Scroll(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473fail:
4474 return NULL;
4475}
4476
4477
4478SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int result;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char * kwnames[] = {
4490 (char *) "self",(char *) "orient", NULL
4491 };
4492
4493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4495 if (!SWIG_IsOK(res1)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4497 }
4498 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4499 ecode2 = SWIG_AsVal_int(obj1, &val2);
4500 if (!SWIG_IsOK(ecode2)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4502 }
4503 arg2 = static_cast< int >(val2);
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 resultobj = SWIG_From_int(static_cast< int >(result));
4511 return resultobj;
4512fail:
4513 return NULL;
4514}
4515
4516
4517SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj = 0;
4519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4520 int arg2 ;
4521 int arg3 ;
4522 void *argp1 = 0 ;
4523 int res1 = 0 ;
4524 int val2 ;
4525 int ecode2 = 0 ;
4526 int val3 ;
4527 int ecode3 = 0 ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 char * kwnames[] = {
4532 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4533 };
4534
4535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4537 if (!SWIG_IsOK(res1)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4539 }
4540 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4541 ecode2 = SWIG_AsVal_int(obj1, &val2);
4542 if (!SWIG_IsOK(ecode2)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4544 }
4545 arg2 = static_cast< int >(val2);
4546 ecode3 = SWIG_AsVal_int(obj2, &val3);
4547 if (!SWIG_IsOK(ecode3)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4549 }
4550 arg3 = static_cast< int >(val3);
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 (arg1)->SetScrollPageSize(arg2,arg3);
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 resultobj = SWIG_Py_Void();
4558 return resultobj;
4559fail:
4560 return NULL;
4561}
4562
4563
4564SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj = 0;
4566 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4567 int arg2 ;
4568 int arg3 ;
4569 void *argp1 = 0 ;
4570 int res1 = 0 ;
4571 int val2 ;
4572 int ecode2 = 0 ;
4573 int val3 ;
4574 int ecode3 = 0 ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 char * kwnames[] = {
4579 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4580 };
4581
4582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4584 if (!SWIG_IsOK(res1)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4586 }
4587 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4588 ecode2 = SWIG_AsVal_int(obj1, &val2);
4589 if (!SWIG_IsOK(ecode2)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4591 }
4592 arg2 = static_cast< int >(val2);
4593 ecode3 = SWIG_AsVal_int(obj2, &val3);
4594 if (!SWIG_IsOK(ecode3)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4596 }
4597 arg3 = static_cast< int >(val3);
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->SetScrollRate(arg2,arg3);
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_Py_Void();
4605 return resultobj;
4606fail:
4607 return NULL;
4608}
4609
4610
4611SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4612 PyObject *resultobj = 0;
4613 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4614 int *arg2 = (int *) 0 ;
4615 int *arg3 = (int *) 0 ;
4616 void *argp1 = 0 ;
4617 int res1 = 0 ;
4618 int temp2 ;
4619 int res2 = SWIG_TMPOBJ ;
4620 int temp3 ;
4621 int res3 = SWIG_TMPOBJ ;
4622 PyObject *swig_obj[1] ;
4623
4624 arg2 = &temp2;
4625 arg3 = &temp3;
4626 if (!args) SWIG_fail;
4627 swig_obj[0] = args;
4628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4629 if (!SWIG_IsOK(res1)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4631 }
4632 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_Py_Void();
4640 if (SWIG_IsTmpObj(res2)) {
4641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4642 } else {
4643 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4645 }
4646 if (SWIG_IsTmpObj(res3)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4651 }
4652 return resultobj;
4653fail:
4654 return NULL;
4655}
4656
4657
4658SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj = 0;
4660 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4661 bool arg2 ;
4662 bool arg3 ;
4663 void *argp1 = 0 ;
4664 int res1 = 0 ;
4665 bool val2 ;
4666 int ecode2 = 0 ;
4667 bool val3 ;
4668 int ecode3 = 0 ;
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 PyObject * obj2 = 0 ;
4672 char * kwnames[] = {
4673 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4674 };
4675
4676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4678 if (!SWIG_IsOK(res1)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4680 }
4681 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4683 if (!SWIG_IsOK(ecode2)) {
4684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4685 }
4686 arg2 = static_cast< bool >(val2);
4687 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4688 if (!SWIG_IsOK(ecode3)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4690 }
4691 arg3 = static_cast< bool >(val3);
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->EnableScrolling(arg2,arg3);
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_Py_Void();
4699 return resultobj;
4700fail:
4701 return NULL;
4702}
4703
4704
4705SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4708 int *arg2 = (int *) 0 ;
4709 int *arg3 = (int *) 0 ;
4710 void *argp1 = 0 ;
4711 int res1 = 0 ;
4712 int temp2 ;
4713 int res2 = SWIG_TMPOBJ ;
4714 int temp3 ;
4715 int res3 = SWIG_TMPOBJ ;
4716 PyObject *swig_obj[1] ;
4717
4718 arg2 = &temp2;
4719 arg3 = &temp3;
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_Py_Void();
4734 if (SWIG_IsTmpObj(res2)) {
4735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4736 } else {
4737 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4738 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4739 }
4740 if (SWIG_IsTmpObj(res3)) {
4741 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4742 } else {
4743 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4744 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4745 }
4746 return resultobj;
4747fail:
4748 return NULL;
4749}
4750
4751
4752SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj = 0;
4754 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4755 double arg2 ;
4756 double arg3 ;
4757 void *argp1 = 0 ;
4758 int res1 = 0 ;
4759 double val2 ;
4760 int ecode2 = 0 ;
4761 double val3 ;
4762 int ecode3 = 0 ;
4763 PyObject * obj0 = 0 ;
4764 PyObject * obj1 = 0 ;
4765 PyObject * obj2 = 0 ;
4766 char * kwnames[] = {
4767 (char *) "self",(char *) "xs",(char *) "ys", NULL
4768 };
4769
4770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4772 if (!SWIG_IsOK(res1)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4774 }
4775 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4776 ecode2 = SWIG_AsVal_double(obj1, &val2);
4777 if (!SWIG_IsOK(ecode2)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4779 }
4780 arg2 = static_cast< double >(val2);
4781 ecode3 = SWIG_AsVal_double(obj2, &val3);
4782 if (!SWIG_IsOK(ecode3)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4784 }
4785 arg3 = static_cast< double >(val3);
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetScale(arg2,arg3);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_Py_Void();
4793 return resultobj;
4794fail:
4795 return NULL;
d14a1e28
RD
4796}
4797
4798
0085ce49
RD
4799SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 double result;
4803 void *argp1 = 0 ;
4804 int res1 = 0 ;
4805 PyObject *swig_obj[1] ;
4806
4807 if (!args) SWIG_fail;
4808 swig_obj[0] = args;
4809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4810 if (!SWIG_IsOK(res1)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4812 }
4813 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_From_double(static_cast< double >(result));
4821 return resultobj;
4822fail:
4823 return NULL;
d14a1e28
RD
4824}
4825
4826
0085ce49
RD
4827SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4828 PyObject *resultobj = 0;
4829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4830 double result;
4831 void *argp1 = 0 ;
4832 int res1 = 0 ;
4833 PyObject *swig_obj[1] ;
4834
4835 if (!args) SWIG_fail;
4836 swig_obj[0] = args;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 resultobj = SWIG_From_double(static_cast< double >(result));
4849 return resultobj;
4850fail:
4851 return NULL;
d14a1e28
RD
4852}
4853
4854
0085ce49
RD
4855SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4856 PyObject *resultobj = 0;
4857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4858 wxPoint *arg2 = 0 ;
4859 wxPoint result;
4860 void *argp1 = 0 ;
4861 int res1 = 0 ;
4862 wxPoint temp2 ;
4863
4864 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4866 if (!SWIG_IsOK(res1)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4868 }
4869 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4870 {
4871 arg2 = &temp2;
4872 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4881 return resultobj;
4882fail:
4883 return NULL;
4884}
4885
4886
4887SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4888 PyObject *resultobj = 0;
4889 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4890 int arg2 ;
4891 int arg3 ;
4892 int *arg4 = (int *) 0 ;
4893 int *arg5 = (int *) 0 ;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 int val2 ;
4897 int ecode2 = 0 ;
4898 int val3 ;
4899 int ecode3 = 0 ;
4900 int temp4 ;
4901 int res4 = SWIG_TMPOBJ ;
4902 int temp5 ;
4903 int res5 = SWIG_TMPOBJ ;
4904
4905 arg4 = &temp4;
4906 arg5 = &temp5;
4907 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4914 if (!SWIG_IsOK(ecode2)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4916 }
4917 arg2 = static_cast< int >(val2);
4918 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4919 if (!SWIG_IsOK(ecode3)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4921 }
4922 arg3 = static_cast< int >(val3);
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 resultobj = SWIG_Py_Void();
4930 if (SWIG_IsTmpObj(res4)) {
4931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4932 } else {
4933 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4935 }
4936 if (SWIG_IsTmpObj(res5)) {
4937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4938 } else {
4939 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4941 }
4942 return resultobj;
4943fail:
4944 return NULL;
d14a1e28
RD
4945}
4946
4947
0085ce49
RD
4948SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4949 int argc;
4950 PyObject *argv[4];
4951
4952 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4953 --argc;
4954 if (argc == 2) {
4955 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4956 }
4957 if (argc == 3) {
4958 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4959 }
4960
4961fail:
4962 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4963 return NULL;
d14a1e28
RD
4964}
4965
4966
0085ce49
RD
4967SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4968 PyObject *resultobj = 0;
4969 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4970 wxPoint *arg2 = 0 ;
4971 wxPoint result;
4972 void *argp1 = 0 ;
4973 int res1 = 0 ;
4974 wxPoint temp2 ;
4975
4976 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4978 if (!SWIG_IsOK(res1)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4980 }
4981 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4982 {
4983 arg2 = &temp2;
4984 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4993 return resultobj;
4994fail:
4995 return NULL;
4996}
4997
4998
4999SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
5000 PyObject *resultobj = 0;
5001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5002 int arg2 ;
5003 int arg3 ;
5004 int *arg4 = (int *) 0 ;
5005 int *arg5 = (int *) 0 ;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 int val2 ;
5009 int ecode2 = 0 ;
5010 int val3 ;
5011 int ecode3 = 0 ;
5012 int temp4 ;
5013 int res4 = SWIG_TMPOBJ ;
5014 int temp5 ;
5015 int res5 = SWIG_TMPOBJ ;
5016
5017 arg4 = &temp4;
5018 arg5 = &temp5;
5019 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
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_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5023 }
5024 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5025 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5026 if (!SWIG_IsOK(ecode2)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5028 }
5029 arg2 = static_cast< int >(val2);
5030 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5031 if (!SWIG_IsOK(ecode3)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5033 }
5034 arg3 = static_cast< int >(val3);
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_Py_Void();
5042 if (SWIG_IsTmpObj(res4)) {
5043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
5044 } else {
5045 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
5047 }
5048 if (SWIG_IsTmpObj(res5)) {
5049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
5050 } else {
5051 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
5053 }
5054 return resultobj;
5055fail:
5056 return NULL;
d14a1e28
RD
5057}
5058
5059
0085ce49
RD
5060SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
5061 int argc;
5062 PyObject *argv[4];
5063
5064 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
5065 --argc;
5066 if (argc == 2) {
5067 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5068 }
5069 if (argc == 3) {
5070 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5071 }
5072
5073fail:
5074 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5075 return NULL;
d14a1e28
RD
5076}
5077
5078
0085ce49
RD
5079SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 PyObject *swig_obj[1] ;
5085
5086 if (!args) SWIG_fail;
5087 swig_obj[0] = args;
5088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5089 if (!SWIG_IsOK(res1)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5091 }
5092 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->AdjustScrollbars();
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = SWIG_Py_Void();
5100 return resultobj;
5101fail:
5102 return NULL;
5103}
5104
5105
5106SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = 0;
5108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5109 wxScrollWinEvent *arg2 = 0 ;
5110 int result;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 void *argp2 = 0 ;
5114 int res2 = 0 ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char * kwnames[] = {
5118 (char *) "self",(char *) "event", NULL
5119 };
5120
5121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5123 if (!SWIG_IsOK(res1)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5125 }
5126 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5128 if (!SWIG_IsOK(res2)) {
5129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5130 }
5131 if (!argp2) {
5132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5133 }
5134 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (int)(arg1)->CalcScrollInc(*arg2);
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_From_int(static_cast< int >(result));
5142 return resultobj;
5143fail:
5144 return NULL;
5145}
5146
5147
5148SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj = 0;
5150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5151 wxWindow *arg2 = (wxWindow *) 0 ;
5152 void *argp1 = 0 ;
5153 int res1 = 0 ;
5154 void *argp2 = 0 ;
5155 int res2 = 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char * kwnames[] = {
5159 (char *) "self",(char *) "target", NULL
5160 };
5161
5162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5164 if (!SWIG_IsOK(res1)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5166 }
5167 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5169 if (!SWIG_IsOK(res2)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5171 }
5172 arg2 = reinterpret_cast< wxWindow * >(argp2);
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetTargetWindow(arg2);
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 resultobj = SWIG_Py_Void();
5180 return resultobj;
5181fail:
5182 return NULL;
d14a1e28
RD
5183}
5184
5185
0085ce49
RD
5186SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5187 PyObject *resultobj = 0;
5188 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5189 wxWindow *result = 0 ;
5190 void *argp1 = 0 ;
5191 int res1 = 0 ;
5192 PyObject *swig_obj[1] ;
5193
5194 if (!args) SWIG_fail;
5195 swig_obj[0] = args;
5196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5197 if (!SWIG_IsOK(res1)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5199 }
5200 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 {
5208 resultobj = wxPyMake_wxObject(result, 0);
5209 }
5210 return resultobj;
5211fail:
5212 return NULL;
5213}
5214
5215
5216SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj = 0;
5218 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5219 wxDC *arg2 = 0 ;
5220 void *argp1 = 0 ;
5221 int res1 = 0 ;
5222 void *argp2 = 0 ;
5223 int res2 = 0 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char * kwnames[] = {
5227 (char *) "self",(char *) "dc", NULL
5228 };
5229
5230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5234 }
5235 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5236 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5237 if (!SWIG_IsOK(res2)) {
5238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5239 }
5240 if (!argp2) {
5241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5242 }
5243 arg2 = reinterpret_cast< wxDC * >(argp2);
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 (arg1)->DoPrepareDC(*arg2);
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_Py_Void();
5251 return resultobj;
5252fail:
5253 return NULL;
5254}
5255
5256
5257SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj = 0;
5259 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5260 SwigValueWrapper<wxVisualAttributes > result;
5261 int val1 ;
5262 int ecode1 = 0 ;
5263 PyObject * obj0 = 0 ;
5264 char * kwnames[] = {
5265 (char *) "variant", NULL
5266 };
5267
5268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5269 if (obj0) {
5270 ecode1 = SWIG_AsVal_int(obj0, &val1);
5271 if (!SWIG_IsOK(ecode1)) {
5272 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5273 }
5274 arg1 = static_cast< wxWindowVariant >(val1);
5275 }
5276 {
5277 if (!wxPyCheckForApp()) SWIG_fail;
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5284 return resultobj;
5285fail:
5286 return NULL;
d14a1e28
RD
5287}
5288
5289
0085ce49
RD
5290SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5291 PyObject *obj;
5292 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5293 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5294 return SWIG_Py_Void();
d14a1e28
RD
5295}
5296
0085ce49
RD
5297SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5298 return SWIG_Python_InitShadowInstance(args);
5299}
d14a1e28 5300
0085ce49
RD
5301SWIGINTERN int FrameNameStr_set(PyObject *) {
5302 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5303 return 1;
d14a1e28
RD
5304}
5305
5306
0085ce49
RD
5307SWIGINTERN PyObject *FrameNameStr_get(void) {
5308 PyObject *pyobj = 0;
5309
5310 {
5311#if wxUSE_UNICODE
5312 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5313#else
5314 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5315#endif
5316 }
5317 return pyobj;
d14a1e28
RD
5318}
5319
5320
0085ce49
RD
5321SWIGINTERN int DialogNameStr_set(PyObject *) {
5322 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5323 return 1;
d14a1e28
RD
5324}
5325
5326
0085ce49
RD
5327SWIGINTERN PyObject *DialogNameStr_get(void) {
5328 PyObject *pyobj = 0;
5329
5330 {
5331#if wxUSE_UNICODE
5332 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5333#else
5334 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5335#endif
5336 }
5337 return pyobj;
d14a1e28
RD
5338}
5339
5340
0085ce49
RD
5341SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5342 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5343 return 1;
d14a1e28
RD
5344}
5345
5346
0085ce49
RD
5347SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5348 PyObject *pyobj = 0;
5349
5350 {
5351#if wxUSE_UNICODE
5352 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5353#else
5354 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5355#endif
5356 }
5357 return pyobj;
d14a1e28
RD
5358}
5359
5360
0085ce49
RD
5361SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5362 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5363 return 1;
d14a1e28
RD
5364}
5365
5366
0085ce49
RD
5367SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5368 PyObject *pyobj = 0;
5369
5370 {
5371#if wxUSE_UNICODE
5372 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5373#else
5374 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5375#endif
5376 }
5377 return pyobj;
5378}
5379
5380
5381SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj = 0;
5383 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5384 bool arg2 = (bool) true ;
5385 void *argp1 = 0 ;
5386 int res1 = 0 ;
5387 bool val2 ;
5388 int ecode2 = 0 ;
5389 PyObject * obj0 = 0 ;
5390 PyObject * obj1 = 0 ;
5391 char * kwnames[] = {
5392 (char *) "self",(char *) "maximize", NULL
5393 };
5394
5395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5397 if (!SWIG_IsOK(res1)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5399 }
5400 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5401 if (obj1) {
5402 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5403 if (!SWIG_IsOK(ecode2)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5405 }
5406 arg2 = static_cast< bool >(val2);
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->Maximize(arg2);
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = SWIG_Py_Void();
5415 return resultobj;
5416fail:
5417 return NULL;
d14a1e28
RD
5418}
5419
5420
0085ce49
RD
5421SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5422 PyObject *resultobj = 0;
5423 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5424 void *argp1 = 0 ;
5425 int res1 = 0 ;
5426 PyObject *swig_obj[1] ;
5427
5428 if (!args) SWIG_fail;
5429 swig_obj[0] = args;
5430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5431 if (!SWIG_IsOK(res1)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5433 }
5434 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 (arg1)->Restore();
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 resultobj = SWIG_Py_Void();
5442 return resultobj;
5443fail:
5444 return NULL;
5445}
5446
5447
5448SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj = 0;
5450 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5451 bool arg2 = (bool) true ;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 bool val2 ;
5455 int ecode2 = 0 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char * kwnames[] = {
5459 (char *) "self",(char *) "iconize", NULL
5460 };
5461
5462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5464 if (!SWIG_IsOK(res1)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5466 }
5467 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5468 if (obj1) {
5469 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5470 if (!SWIG_IsOK(ecode2)) {
5471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5472 }
5473 arg2 = static_cast< bool >(val2);
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->Iconize(arg2);
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = SWIG_Py_Void();
5482 return resultobj;
5483fail:
5484 return NULL;
d14a1e28
RD
5485}
5486
5487
0085ce49
RD
5488SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5489 PyObject *resultobj = 0;
5490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5491 bool result;
5492 void *argp1 = 0 ;
5493 int res1 = 0 ;
5494 PyObject *swig_obj[1] ;
5495
5496 if (!args) SWIG_fail;
5497 swig_obj[0] = args;
5498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5499 if (!SWIG_IsOK(res1)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5501 }
5502 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5511 }
5512 return resultobj;
5513fail:
5514 return NULL;
d14a1e28
RD
5515}
5516
5517
01f6b6d3
RD
5518SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5519 PyObject *resultobj = 0;
5520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5521 bool result;
5522 void *argp1 = 0 ;
5523 int res1 = 0 ;
5524 PyObject *swig_obj[1] ;
5525
5526 if (!args) SWIG_fail;
5527 swig_obj[0] = args;
5528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5529 if (!SWIG_IsOK(res1)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5531 }
5532 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 {
5540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5541 }
5542 return resultobj;
5543fail:
5544 return NULL;
5545}
5546
5547
0085ce49
RD
5548SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5549 PyObject *resultobj = 0;
5550 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5551 bool result;
5552 void *argp1 = 0 ;
5553 int res1 = 0 ;
5554 PyObject *swig_obj[1] ;
5555
5556 if (!args) SWIG_fail;
5557 swig_obj[0] = args;
5558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5559 if (!SWIG_IsOK(res1)) {
5560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5561 }
5562 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 {
5570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5571 }
5572 return resultobj;
5573fail:
5574 return NULL;
f5b96ee1
RD
5575}
5576
5577
0085ce49
RD
5578SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5579 PyObject *resultobj = 0;
5580 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5581 wxIcon result;
5582 void *argp1 = 0 ;
5583 int res1 = 0 ;
5584 PyObject *swig_obj[1] ;
5585
5586 if (!args) SWIG_fail;
5587 swig_obj[0] = args;
5588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5589 if (!SWIG_IsOK(res1)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5591 }
5592 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5600 return resultobj;
5601fail:
5602 return NULL;
5603}
5604
5605
5606SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj = 0;
5608 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5609 wxIcon *arg2 = 0 ;
5610 void *argp1 = 0 ;
5611 int res1 = 0 ;
5612 void *argp2 = 0 ;
5613 int res2 = 0 ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 char * kwnames[] = {
5617 (char *) "self",(char *) "icon", NULL
5618 };
5619
5620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5622 if (!SWIG_IsOK(res1)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5624 }
5625 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5627 if (!SWIG_IsOK(res2)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5629 }
5630 if (!argp2) {
5631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5632 }
5633 arg2 = reinterpret_cast< wxIcon * >(argp2);
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 (arg1)->SetIcon((wxIcon const &)*arg2);
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 resultobj = SWIG_Py_Void();
5641 return resultobj;
5642fail:
5643 return NULL;
5644}
5645
5646
5647SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj = 0;
5649 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5650 wxIconBundle *arg2 = 0 ;
5651 void *argp1 = 0 ;
5652 int res1 = 0 ;
5653 void *argp2 = 0 ;
5654 int res2 = 0 ;
5655 PyObject * obj0 = 0 ;
5656 PyObject * obj1 = 0 ;
5657 char * kwnames[] = {
5658 (char *) "self",(char *) "icons", NULL
5659 };
5660
5661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5663 if (!SWIG_IsOK(res1)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5665 }
5666 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5667 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5668 if (!SWIG_IsOK(res2)) {
5669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5670 }
5671 if (!argp2) {
5672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5673 }
5674 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 resultobj = SWIG_Py_Void();
5682 return resultobj;
5683fail:
5684 return NULL;
5685}
5686
5687
5688SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5689 PyObject *resultobj = 0;
5690 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5691 bool arg2 ;
5692 long arg3 = (long) wxFULLSCREEN_ALL ;
5693 bool result;
5694 void *argp1 = 0 ;
5695 int res1 = 0 ;
5696 bool val2 ;
5697 int ecode2 = 0 ;
5698 long val3 ;
5699 int ecode3 = 0 ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 PyObject * obj2 = 0 ;
5703 char * kwnames[] = {
5704 (char *) "self",(char *) "show",(char *) "style", NULL
5705 };
5706
5707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5709 if (!SWIG_IsOK(res1)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5711 }
5712 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5713 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5714 if (!SWIG_IsOK(ecode2)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5716 }
5717 arg2 = static_cast< bool >(val2);
5718 if (obj2) {
5719 ecode3 = SWIG_AsVal_long(obj2, &val3);
5720 if (!SWIG_IsOK(ecode3)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5722 }
5723 arg3 = static_cast< long >(val3);
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5733 }
5734 return resultobj;
5735fail:
5736 return NULL;
22bfe96c
RD
5737}
5738
5739
0085ce49
RD
5740SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5741 PyObject *resultobj = 0;
5742 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5743 bool result;
5744 void *argp1 = 0 ;
5745 int res1 = 0 ;
5746 PyObject *swig_obj[1] ;
5747
5748 if (!args) SWIG_fail;
5749 swig_obj[0] = args;
5750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5751 if (!SWIG_IsOK(res1)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5753 }
5754 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
5764 return resultobj;
5765fail:
5766 return NULL;
5767}
5768
5769
5770SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj = 0;
5772 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5773 wxString *arg2 = 0 ;
5774 void *argp1 = 0 ;
5775 int res1 = 0 ;
5776 bool temp2 = false ;
5777 PyObject * obj0 = 0 ;
5778 PyObject * obj1 = 0 ;
5779 char * kwnames[] = {
5780 (char *) "self",(char *) "title", NULL
5781 };
5782
5783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5785 if (!SWIG_IsOK(res1)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5787 }
5788 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5789 {
5790 arg2 = wxString_in_helper(obj1);
5791 if (arg2 == NULL) SWIG_fail;
5792 temp2 = true;
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 (arg1)->SetTitle((wxString const &)*arg2);
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = SWIG_Py_Void();
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return resultobj;
5806fail:
5807 {
5808 if (temp2)
5809 delete arg2;
5810 }
5811 return NULL;
b2dc1044
RD
5812}
5813
5814
0085ce49
RD
5815SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5816 PyObject *resultobj = 0;
5817 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5818 wxString result;
5819 void *argp1 = 0 ;
5820 int res1 = 0 ;
5821 PyObject *swig_obj[1] ;
5822
5823 if (!args) SWIG_fail;
5824 swig_obj[0] = args;
5825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5826 if (!SWIG_IsOK(res1)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5828 }
5829 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 {
b2dc1044 5837#if wxUSE_UNICODE
0085ce49 5838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 5839#else
0085ce49 5840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 5841#endif
0085ce49
RD
5842 }
5843 return resultobj;
5844fail:
5845 return NULL;
5846}
5847
5848
70d7cb34
RD
5849SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj = 0;
5851 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5852 bool arg2 ;
5853 bool result;
5854 void *argp1 = 0 ;
5855 int res1 = 0 ;
5856 bool val2 ;
5857 int ecode2 = 0 ;
5858 PyObject * obj0 = 0 ;
5859 PyObject * obj1 = 0 ;
5860 char * kwnames[] = {
5861 (char *) "self",(char *) "enable", NULL
5862 };
5863
5864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5866 if (!SWIG_IsOK(res1)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5868 }
5869 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5870 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5871 if (!SWIG_IsOK(ecode2)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5873 }
5874 arg2 = static_cast< bool >(val2);
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (bool)(arg1)->EnableCloseButton(arg2);
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5883 }
5884 return resultobj;
5885fail:
5886 return NULL;
5887}
5888
5889
0085ce49
RD
5890SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj = 0;
5892 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5893 wxRegion *arg2 = 0 ;
5894 bool result;
5895 void *argp1 = 0 ;
5896 int res1 = 0 ;
5897 void *argp2 = 0 ;
5898 int res2 = 0 ;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char * kwnames[] = {
5902 (char *) "self",(char *) "region", NULL
5903 };
5904
5905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5909 }
5910 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5911 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5912 if (!SWIG_IsOK(res2)) {
5913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5914 }
5915 if (!argp2) {
5916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5917 }
5918 arg2 = reinterpret_cast< wxRegion * >(argp2);
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5927 }
5928 return resultobj;
5929fail:
5930 return NULL;
5931}
5932
5933
5934SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj = 0;
5936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5937 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5938 void *argp1 = 0 ;
5939 int res1 = 0 ;
5940 int val2 ;
5941 int ecode2 = 0 ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char * kwnames[] = {
5945 (char *) "self",(char *) "flags", NULL
5946 };
5947
5948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5950 if (!SWIG_IsOK(res1)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5952 }
5953 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5954 if (obj1) {
5955 ecode2 = SWIG_AsVal_int(obj1, &val2);
5956 if (!SWIG_IsOK(ecode2)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5958 }
5959 arg2 = static_cast< int >(val2);
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 (arg1)->RequestUserAttention(arg2);
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = SWIG_Py_Void();
5968 return resultobj;
5969fail:
5970 return NULL;
b2dc1044
RD
5971}
5972
5973
0085ce49
RD
5974SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975 PyObject *resultobj = 0;
5976 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5977 bool result;
5978 void *argp1 = 0 ;
5979 int res1 = 0 ;
5980 PyObject *swig_obj[1] ;
5981
5982 if (!args) SWIG_fail;
5983 swig_obj[0] = args;
5984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5985 if (!SWIG_IsOK(res1)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5987 }
5988 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (bool)(arg1)->IsActive();
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 {
5996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5997 }
5998 return resultobj;
5999fail:
6000 return NULL;
6001}
6002
6003
6004SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj = 0;
6006 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6007 bool arg2 ;
6008 void *argp1 = 0 ;
6009 int res1 = 0 ;
6010 bool val2 ;
6011 int ecode2 = 0 ;
6012 PyObject * obj0 = 0 ;
6013 PyObject * obj1 = 0 ;
6014 char * kwnames[] = {
6015 (char *) "self",(char *) "on", NULL
6016 };
6017
6018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6020 if (!SWIG_IsOK(res1)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6022 }
6023 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6027 }
6028 arg2 = static_cast< bool >(val2);
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 resultobj = SWIG_Py_Void();
6036 return resultobj;
6037fail:
6038 return NULL;
b2dc1044
RD
6039}
6040
6041
0085ce49
RD
6042SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6043 PyObject *resultobj = 0;
6044 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6045 bool result;
6046 void *argp1 = 0 ;
6047 int res1 = 0 ;
6048 PyObject *swig_obj[1] ;
6049
6050 if (!args) SWIG_fail;
6051 swig_obj[0] = args;
6052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6053 if (!SWIG_IsOK(res1)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6055 }
6056 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 {
6064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6065 }
6066 return resultobj;
6067fail:
6068 return NULL;
6069}
6070
6071
6072SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj = 0;
6074 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6075 int arg2 = (int) wxBOTH ;
6076 void *argp1 = 0 ;
6077 int res1 = 0 ;
6078 int val2 ;
6079 int ecode2 = 0 ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char * kwnames[] = {
6083 (char *) "self",(char *) "dir", NULL
6084 };
6085
6086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6088 if (!SWIG_IsOK(res1)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6090 }
6091 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6092 if (obj1) {
6093 ecode2 = SWIG_AsVal_int(obj1, &val2);
6094 if (!SWIG_IsOK(ecode2)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6096 }
6097 arg2 = static_cast< int >(val2);
6098 }
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 (arg1)->CenterOnScreen(arg2);
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_Py_Void();
6106 return resultobj;
6107fail:
6108 return NULL;
6109}
6110
6111
10044bf1
RD
6112SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6113 PyObject *resultobj = 0;
6114 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6115 wxWindow *result = 0 ;
6116 void *argp1 = 0 ;
6117 int res1 = 0 ;
6118 PyObject *swig_obj[1] ;
6119
6120 if (!args) SWIG_fail;
6121 swig_obj[0] = args;
6122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6123 if (!SWIG_IsOK(res1)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6125 }
6126 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 resultobj = wxPyMake_wxObject(result, 0);
6135 }
6136 return resultobj;
6137fail:
6138 return NULL;
6139}
6140
6141
6142SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj = 0;
6144 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6145 wxWindow *arg2 = (wxWindow *) 0 ;
6146 wxWindow *result = 0 ;
6147 void *argp1 = 0 ;
6148 int res1 = 0 ;
6149 void *argp2 = 0 ;
6150 int res2 = 0 ;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 char * kwnames[] = {
6154 (char *) "self",(char *) "child", NULL
6155 };
6156
6157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6159 if (!SWIG_IsOK(res1)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6161 }
6162 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6164 if (!SWIG_IsOK(res2)) {
6165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6166 }
6167 arg2 = reinterpret_cast< wxWindow * >(argp2);
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 {
6175 resultobj = wxPyMake_wxObject(result, 0);
6176 }
6177 return resultobj;
6178fail:
6179 return NULL;
6180}
6181
6182
6183SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj = 0;
6185 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6186 wxWindow *arg2 = (wxWindow *) 0 ;
6187 void *argp1 = 0 ;
6188 int res1 = 0 ;
6189 void *argp2 = 0 ;
6190 int res2 = 0 ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char * kwnames[] = {
6194 (char *) "self",(char *) "win", NULL
6195 };
6196
6197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6199 if (!SWIG_IsOK(res1)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6201 }
6202 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6204 if (!SWIG_IsOK(res2)) {
6205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6206 }
6207 arg2 = reinterpret_cast< wxWindow * >(argp2);
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 (arg1)->SetTmpDefaultItem(arg2);
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 resultobj = SWIG_Py_Void();
6215 return resultobj;
6216fail:
6217 return NULL;
6218}
6219
6220
6221SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6222 PyObject *resultobj = 0;
6223 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6224 wxWindow *result = 0 ;
6225 void *argp1 = 0 ;
6226 int res1 = 0 ;
6227 PyObject *swig_obj[1] ;
6228
6229 if (!args) SWIG_fail;
6230 swig_obj[0] = args;
6231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6232 if (!SWIG_IsOK(res1)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6234 }
6235 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243 resultobj = wxPyMake_wxObject(result, 0);
6244 }
6245 return resultobj;
6246fail:
6247 return NULL;
6248}
6249
6250
0085ce49
RD
6251SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6252 PyObject *obj;
6253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6254 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6255 return SWIG_Py_Void();
6256}
6257
6258SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj = 0;
6260 wxWindow *arg1 = (wxWindow *) 0 ;
6261 int arg2 = (int) (int)-1 ;
6262 wxString const &arg3_defvalue = wxPyEmptyString ;
6263 wxString *arg3 = (wxString *) &arg3_defvalue ;
6264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6266 wxSize const &arg5_defvalue = wxDefaultSize ;
6267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6268 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6269 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6270 wxString *arg7 = (wxString *) &arg7_defvalue ;
6271 wxFrame *result = 0 ;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 int val2 ;
6275 int ecode2 = 0 ;
6276 bool temp3 = false ;
6277 wxPoint temp4 ;
6278 wxSize temp5 ;
6279 long val6 ;
6280 int ecode6 = 0 ;
6281 bool temp7 = false ;
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 PyObject * obj2 = 0 ;
6285 PyObject * obj3 = 0 ;
6286 PyObject * obj4 = 0 ;
6287 PyObject * obj5 = 0 ;
6288 PyObject * obj6 = 0 ;
6289 char * kwnames[] = {
6290 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6291 };
6292
6293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6295 if (!SWIG_IsOK(res1)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6297 }
6298 arg1 = reinterpret_cast< wxWindow * >(argp1);
6299 if (obj1) {
6300 ecode2 = SWIG_AsVal_int(obj1, &val2);
6301 if (!SWIG_IsOK(ecode2)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6303 }
6304 arg2 = static_cast< int >(val2);
6305 }
6306 if (obj2) {
b2dc1044 6307 {
0085ce49
RD
6308 arg3 = wxString_in_helper(obj2);
6309 if (arg3 == NULL) SWIG_fail;
6310 temp3 = true;
b2dc1044 6311 }
0085ce49
RD
6312 }
6313 if (obj3) {
b2dc1044 6314 {
0085ce49
RD
6315 arg4 = &temp4;
6316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b2dc1044 6317 }
0085ce49
RD
6318 }
6319 if (obj4) {
b2dc1044 6320 {
0085ce49
RD
6321 arg5 = &temp5;
6322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 6323 }
0085ce49
RD
6324 }
6325 if (obj5) {
6326 ecode6 = SWIG_AsVal_long(obj5, &val6);
6327 if (!SWIG_IsOK(ecode6)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6329 }
6330 arg6 = static_cast< long >(val6);
6331 }
6332 if (obj6) {
d14a1e28 6333 {
0085ce49
RD
6334 arg7 = wxString_in_helper(obj6);
6335 if (arg7 == NULL) SWIG_fail;
6336 temp7 = true;
d14a1e28 6337 }
0085ce49
RD
6338 }
6339 {
6340 if (!wxPyCheckForApp()) SWIG_fail;
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6347 {
6348 if (temp3)
6349 delete arg3;
6350 }
6351 {
6352 if (temp7)
6353 delete arg7;
6354 }
6355 return resultobj;
6356fail:
6357 {
6358 if (temp3)
6359 delete arg3;
6360 }
6361 {
6362 if (temp7)
6363 delete arg7;
6364 }
6365 return NULL;
d14a1e28
RD
6366}
6367
6368
0085ce49
RD
6369SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6370 PyObject *resultobj = 0;
6371 wxFrame *result = 0 ;
6372
6373 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6374 {
6375 if (!wxPyCheckForApp()) SWIG_fail;
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (wxFrame *)new wxFrame();
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6382 return resultobj;
6383fail:
6384 return NULL;
6385}
6386
6387
6388SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj = 0;
6390 wxFrame *arg1 = (wxFrame *) 0 ;
6391 wxWindow *arg2 = (wxWindow *) 0 ;
6392 int arg3 = (int) (int)-1 ;
6393 wxString const &arg4_defvalue = wxPyEmptyString ;
6394 wxString *arg4 = (wxString *) &arg4_defvalue ;
6395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6397 wxSize const &arg6_defvalue = wxDefaultSize ;
6398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6399 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6400 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6401 wxString *arg8 = (wxString *) &arg8_defvalue ;
6402 bool result;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 void *argp2 = 0 ;
6406 int res2 = 0 ;
6407 int val3 ;
6408 int ecode3 = 0 ;
6409 bool temp4 = false ;
6410 wxPoint temp5 ;
6411 wxSize temp6 ;
6412 long val7 ;
6413 int ecode7 = 0 ;
6414 bool temp8 = false ;
6415 PyObject * obj0 = 0 ;
6416 PyObject * obj1 = 0 ;
6417 PyObject * obj2 = 0 ;
6418 PyObject * obj3 = 0 ;
6419 PyObject * obj4 = 0 ;
6420 PyObject * obj5 = 0 ;
6421 PyObject * obj6 = 0 ;
6422 PyObject * obj7 = 0 ;
6423 char * kwnames[] = {
6424 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6425 };
6426
6427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6429 if (!SWIG_IsOK(res1)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6431 }
6432 arg1 = reinterpret_cast< wxFrame * >(argp1);
6433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6434 if (!SWIG_IsOK(res2)) {
6435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6436 }
6437 arg2 = reinterpret_cast< wxWindow * >(argp2);
6438 if (obj2) {
6439 ecode3 = SWIG_AsVal_int(obj2, &val3);
6440 if (!SWIG_IsOK(ecode3)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6442 }
6443 arg3 = static_cast< int >(val3);
6444 }
6445 if (obj3) {
d14a1e28 6446 {
0085ce49
RD
6447 arg4 = wxString_in_helper(obj3);
6448 if (arg4 == NULL) SWIG_fail;
6449 temp4 = true;
d14a1e28 6450 }
0085ce49
RD
6451 }
6452 if (obj4) {
4f89f6a3 6453 {
0085ce49
RD
6454 arg5 = &temp5;
6455 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 6456 }
0085ce49
RD
6457 }
6458 if (obj5) {
d14a1e28 6459 {
0085ce49
RD
6460 arg6 = &temp6;
6461 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 6462 }
0085ce49
RD
6463 }
6464 if (obj6) {
6465 ecode7 = SWIG_AsVal_long(obj6, &val7);
6466 if (!SWIG_IsOK(ecode7)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6468 }
6469 arg7 = static_cast< long >(val7);
6470 }
6471 if (obj7) {
4f89f6a3 6472 {
0085ce49
RD
6473 arg8 = wxString_in_helper(obj7);
6474 if (arg8 == NULL) SWIG_fail;
6475 temp8 = true;
4f89f6a3 6476 }
0085ce49
RD
6477 }
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 {
6485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6486 }
6487 {
6488 if (temp4)
6489 delete arg4;
6490 }
6491 {
6492 if (temp8)
6493 delete arg8;
6494 }
6495 return resultobj;
6496fail:
6497 {
6498 if (temp4)
6499 delete arg4;
6500 }
6501 {
6502 if (temp8)
6503 delete arg8;
6504 }
6505 return NULL;
d14a1e28
RD
6506}
6507
6508
0085ce49
RD
6509SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6510 PyObject *resultobj = 0;
6511 wxFrame *arg1 = (wxFrame *) 0 ;
6512 void *argp1 = 0 ;
6513 int res1 = 0 ;
6514 PyObject *swig_obj[1] ;
6515
6516 if (!args) SWIG_fail;
6517 swig_obj[0] = args;
6518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6519 if (!SWIG_IsOK(res1)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6521 }
6522 arg1 = reinterpret_cast< wxFrame * >(argp1);
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 (arg1)->SendSizeEvent();
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 resultobj = SWIG_Py_Void();
6530 return resultobj;
6531fail:
6532 return NULL;
6533}
6534
6535
6536SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj = 0;
6538 wxFrame *arg1 = (wxFrame *) 0 ;
6539 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6540 void *argp1 = 0 ;
6541 int res1 = 0 ;
6542 void *argp2 = 0 ;
6543 int res2 = 0 ;
6544 PyObject * obj0 = 0 ;
6545 PyObject * obj1 = 0 ;
6546 char * kwnames[] = {
6547 (char *) "self",(char *) "menubar", NULL
6548 };
6549
6550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6552 if (!SWIG_IsOK(res1)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6554 }
6555 arg1 = reinterpret_cast< wxFrame * >(argp1);
6556 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6557 if (!SWIG_IsOK(res2)) {
6558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6559 }
6560 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 (arg1)->SetMenuBar(arg2);
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 resultobj = SWIG_Py_Void();
6568 return resultobj;
6569fail:
6570 return NULL;
d14a1e28
RD
6571}
6572
6573
0085ce49
RD
6574SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *resultobj = 0;
6576 wxFrame *arg1 = (wxFrame *) 0 ;
6577 wxMenuBar *result = 0 ;
6578 void *argp1 = 0 ;
6579 int res1 = 0 ;
6580 PyObject *swig_obj[1] ;
6581
6582 if (!args) SWIG_fail;
6583 swig_obj[0] = args;
6584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6585 if (!SWIG_IsOK(res1)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6587 }
6588 arg1 = reinterpret_cast< wxFrame * >(argp1);
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 {
6596 resultobj = wxPyMake_wxObject(result, 0);
6597 }
6598 return resultobj;
6599fail:
6600 return NULL;
6601}
6602
6603
6604SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj = 0;
6606 wxFrame *arg1 = (wxFrame *) 0 ;
6607 int arg2 ;
6608 bool result;
6609 void *argp1 = 0 ;
6610 int res1 = 0 ;
6611 int val2 ;
6612 int ecode2 = 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char * kwnames[] = {
6616 (char *) "self",(char *) "winid", NULL
6617 };
6618
6619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",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_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6623 }
6624 arg1 = reinterpret_cast< wxFrame * >(argp1);
6625 ecode2 = SWIG_AsVal_int(obj1, &val2);
6626 if (!SWIG_IsOK(ecode2)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6628 }
6629 arg2 = static_cast< int >(val2);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)(arg1)->ProcessCommand(arg2);
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 return resultobj;
6640fail:
6641 return NULL;
6642}
6643
6644
6645SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj = 0;
6647 wxFrame *arg1 = (wxFrame *) 0 ;
6648 int arg2 = (int) 1 ;
6649 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6650 int arg4 = (int) 0 ;
6651 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6652 wxString *arg5 = (wxString *) &arg5_defvalue ;
6653 wxStatusBar *result = 0 ;
6654 void *argp1 = 0 ;
6655 int res1 = 0 ;
6656 int val2 ;
6657 int ecode2 = 0 ;
6658 long val3 ;
6659 int ecode3 = 0 ;
6660 int val4 ;
6661 int ecode4 = 0 ;
6662 bool temp5 = false ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 PyObject * obj2 = 0 ;
6666 PyObject * obj3 = 0 ;
6667 PyObject * obj4 = 0 ;
6668 char * kwnames[] = {
6669 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6670 };
6671
6672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6674 if (!SWIG_IsOK(res1)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6676 }
6677 arg1 = reinterpret_cast< wxFrame * >(argp1);
6678 if (obj1) {
6679 ecode2 = SWIG_AsVal_int(obj1, &val2);
6680 if (!SWIG_IsOK(ecode2)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6682 }
6683 arg2 = static_cast< int >(val2);
6684 }
6685 if (obj2) {
6686 ecode3 = SWIG_AsVal_long(obj2, &val3);
6687 if (!SWIG_IsOK(ecode3)) {
6688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6689 }
6690 arg3 = static_cast< long >(val3);
6691 }
6692 if (obj3) {
6693 ecode4 = SWIG_AsVal_int(obj3, &val4);
6694 if (!SWIG_IsOK(ecode4)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6696 }
6697 arg4 = static_cast< int >(val4);
6698 }
6699 if (obj4) {
093d3ff1 6700 {
0085ce49
RD
6701 arg5 = wxString_in_helper(obj4);
6702 if (arg5 == NULL) SWIG_fail;
6703 temp5 = true;
d14a1e28 6704 }
0085ce49
RD
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713 resultobj = wxPyMake_wxObject(result, (bool)0);
6714 }
6715 {
6716 if (temp5)
6717 delete arg5;
6718 }
6719 return resultobj;
6720fail:
6721 {
6722 if (temp5)
6723 delete arg5;
6724 }
6725 return NULL;
d14a1e28
RD
6726}
6727
6728
0085ce49
RD
6729SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6730 PyObject *resultobj = 0;
6731 wxFrame *arg1 = (wxFrame *) 0 ;
6732 wxStatusBar *result = 0 ;
6733 void *argp1 = 0 ;
6734 int res1 = 0 ;
6735 PyObject *swig_obj[1] ;
6736
6737 if (!args) SWIG_fail;
6738 swig_obj[0] = args;
6739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6740 if (!SWIG_IsOK(res1)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6742 }
6743 arg1 = reinterpret_cast< wxFrame * >(argp1);
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751 resultobj = wxPyMake_wxObject(result, (bool)0);
6752 }
6753 return resultobj;
6754fail:
6755 return NULL;
6756}
6757
6758
6759SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj = 0;
6761 wxFrame *arg1 = (wxFrame *) 0 ;
6762 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6763 void *argp1 = 0 ;
6764 int res1 = 0 ;
6765 void *argp2 = 0 ;
6766 int res2 = 0 ;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char * kwnames[] = {
6770 (char *) "self",(char *) "statBar", NULL
6771 };
6772
6773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6775 if (!SWIG_IsOK(res1)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6777 }
6778 arg1 = reinterpret_cast< wxFrame * >(argp1);
6779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6780 if (!SWIG_IsOK(res2)) {
6781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6782 }
6783 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetStatusBar(arg2);
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 resultobj = SWIG_Py_Void();
6791 return resultobj;
6792fail:
6793 return NULL;
6794}
6795
6796
6797SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj = 0;
6799 wxFrame *arg1 = (wxFrame *) 0 ;
6800 wxString *arg2 = 0 ;
6801 int arg3 = (int) 0 ;
6802 void *argp1 = 0 ;
6803 int res1 = 0 ;
6804 bool temp2 = false ;
6805 int val3 ;
6806 int ecode3 = 0 ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 PyObject * obj2 = 0 ;
6810 char * kwnames[] = {
6811 (char *) "self",(char *) "text",(char *) "number", NULL
6812 };
6813
6814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6816 if (!SWIG_IsOK(res1)) {
6817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6818 }
6819 arg1 = reinterpret_cast< wxFrame * >(argp1);
6820 {
6821 arg2 = wxString_in_helper(obj1);
6822 if (arg2 == NULL) SWIG_fail;
6823 temp2 = true;
6824 }
6825 if (obj2) {
6826 ecode3 = SWIG_AsVal_int(obj2, &val3);
6827 if (!SWIG_IsOK(ecode3)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6829 }
6830 arg3 = static_cast< int >(val3);
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 resultobj = SWIG_Py_Void();
6839 {
6840 if (temp2)
6841 delete arg2;
6842 }
6843 return resultobj;
6844fail:
6845 {
6846 if (temp2)
6847 delete arg2;
6848 }
6849 return NULL;
d14a1e28
RD
6850}
6851
6852
0085ce49
RD
6853SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj = 0;
6855 wxFrame *arg1 = (wxFrame *) 0 ;
6856 int arg2 ;
6857 int *arg3 = (int *) 0 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 PyObject * obj0 = 0 ;
6861 PyObject * obj1 = 0 ;
6862 char * kwnames[] = {
6863 (char *) "self",(char *) "widths", NULL
6864 };
6865
6866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6868 if (!SWIG_IsOK(res1)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6870 }
6871 arg1 = reinterpret_cast< wxFrame * >(argp1);
6872 {
6873 arg2 = PyList_Size(obj1);
6874 arg3 = int_LIST_helper(obj1);
6875 if (arg3 == NULL) SWIG_fail;
6876 }
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = SWIG_Py_Void();
6884 {
6885 if (arg3) delete [] arg3;
6886 }
6887 return resultobj;
6888fail:
6889 {
6890 if (arg3) delete [] arg3;
6891 }
6892 return NULL;
6893}
6894
6895
6896SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj = 0;
6898 wxFrame *arg1 = (wxFrame *) 0 ;
6899 wxString *arg2 = 0 ;
6900 int arg3 = (int) 0 ;
6901 void *argp1 = 0 ;
6902 int res1 = 0 ;
6903 bool temp2 = false ;
6904 int val3 ;
6905 int ecode3 = 0 ;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 PyObject * obj2 = 0 ;
6909 char * kwnames[] = {
6910 (char *) "self",(char *) "text",(char *) "number", NULL
6911 };
6912
6913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6915 if (!SWIG_IsOK(res1)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6917 }
6918 arg1 = reinterpret_cast< wxFrame * >(argp1);
6919 {
6920 arg2 = wxString_in_helper(obj1);
6921 if (arg2 == NULL) SWIG_fail;
6922 temp2 = true;
6923 }
6924 if (obj2) {
6925 ecode3 = SWIG_AsVal_int(obj2, &val3);
6926 if (!SWIG_IsOK(ecode3)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6928 }
6929 arg3 = static_cast< int >(val3);
6930 }
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 resultobj = SWIG_Py_Void();
6938 {
6939 if (temp2)
6940 delete arg2;
6941 }
6942 return resultobj;
6943fail:
6944 {
6945 if (temp2)
6946 delete arg2;
6947 }
6948 return NULL;
6949}
6950
6951
6952SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj = 0;
6954 wxFrame *arg1 = (wxFrame *) 0 ;
6955 int arg2 = (int) 0 ;
6956 void *argp1 = 0 ;
6957 int res1 = 0 ;
6958 int val2 ;
6959 int ecode2 = 0 ;
6960 PyObject * obj0 = 0 ;
6961 PyObject * obj1 = 0 ;
6962 char * kwnames[] = {
6963 (char *) "self",(char *) "number", NULL
6964 };
6965
6966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6968 if (!SWIG_IsOK(res1)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6970 }
6971 arg1 = reinterpret_cast< wxFrame * >(argp1);
6972 if (obj1) {
6973 ecode2 = SWIG_AsVal_int(obj1, &val2);
6974 if (!SWIG_IsOK(ecode2)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6976 }
6977 arg2 = static_cast< int >(val2);
6978 }
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 (arg1)->PopStatusText(arg2);
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 resultobj = SWIG_Py_Void();
6986 return resultobj;
6987fail:
6988 return NULL;
6989}
6990
6991
6992SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj = 0;
6994 wxFrame *arg1 = (wxFrame *) 0 ;
6995 int arg2 ;
6996 void *argp1 = 0 ;
6997 int res1 = 0 ;
6998 int val2 ;
6999 int ecode2 = 0 ;
7000 PyObject * obj0 = 0 ;
7001 PyObject * obj1 = 0 ;
7002 char * kwnames[] = {
7003 (char *) "self",(char *) "n", NULL
7004 };
7005
7006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7008 if (!SWIG_IsOK(res1)) {
7009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7010 }
7011 arg1 = reinterpret_cast< wxFrame * >(argp1);
7012 ecode2 = SWIG_AsVal_int(obj1, &val2);
7013 if (!SWIG_IsOK(ecode2)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7015 }
7016 arg2 = static_cast< int >(val2);
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 (arg1)->SetStatusBarPane(arg2);
7020 wxPyEndAllowThreads(__tstate);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 resultobj = SWIG_Py_Void();
7024 return resultobj;
7025fail:
7026 return NULL;
d14a1e28
RD
7027}
7028
7029
0085ce49
RD
7030SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7031 PyObject *resultobj = 0;
7032 wxFrame *arg1 = (wxFrame *) 0 ;
7033 int result;
7034 void *argp1 = 0 ;
7035 int res1 = 0 ;
7036 PyObject *swig_obj[1] ;
7037
7038 if (!args) SWIG_fail;
7039 swig_obj[0] = args;
7040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7041 if (!SWIG_IsOK(res1)) {
7042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7043 }
7044 arg1 = reinterpret_cast< wxFrame * >(argp1);
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_From_int(static_cast< int >(result));
7052 return resultobj;
7053fail:
7054 return NULL;
7055}
7056
7057
7058SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj = 0;
7060 wxFrame *arg1 = (wxFrame *) 0 ;
7061 long arg2 = (long) -1 ;
7062 int arg3 = (int) -1 ;
7063 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7064 wxString *arg4 = (wxString *) &arg4_defvalue ;
7065 wxToolBar *result = 0 ;
7066 void *argp1 = 0 ;
7067 int res1 = 0 ;
7068 long val2 ;
7069 int ecode2 = 0 ;
7070 int val3 ;
7071 int ecode3 = 0 ;
7072 bool temp4 = false ;
7073 PyObject * obj0 = 0 ;
7074 PyObject * obj1 = 0 ;
7075 PyObject * obj2 = 0 ;
7076 PyObject * obj3 = 0 ;
7077 char * kwnames[] = {
7078 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7079 };
7080
7081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7083 if (!SWIG_IsOK(res1)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7085 }
7086 arg1 = reinterpret_cast< wxFrame * >(argp1);
7087 if (obj1) {
7088 ecode2 = SWIG_AsVal_long(obj1, &val2);
7089 if (!SWIG_IsOK(ecode2)) {
7090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7091 }
7092 arg2 = static_cast< long >(val2);
7093 }
7094 if (obj2) {
7095 ecode3 = SWIG_AsVal_int(obj2, &val3);
7096 if (!SWIG_IsOK(ecode3)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7098 }
7099 arg3 = static_cast< int >(val3);
7100 }
7101 if (obj3) {
4f89f6a3 7102 {
0085ce49
RD
7103 arg4 = wxString_in_helper(obj3);
7104 if (arg4 == NULL) SWIG_fail;
7105 temp4 = true;
4f89f6a3 7106 }
0085ce49
RD
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 {
7115 resultobj = wxPyMake_wxObject(result, (bool)0);
7116 }
7117 {
7118 if (temp4)
7119 delete arg4;
7120 }
7121 return resultobj;
7122fail:
7123 {
7124 if (temp4)
7125 delete arg4;
7126 }
7127 return NULL;
d14a1e28
RD
7128}
7129
7130
0085ce49
RD
7131SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7132 PyObject *resultobj = 0;
7133 wxFrame *arg1 = (wxFrame *) 0 ;
7134 wxToolBar *result = 0 ;
7135 void *argp1 = 0 ;
7136 int res1 = 0 ;
7137 PyObject *swig_obj[1] ;
7138
7139 if (!args) SWIG_fail;
7140 swig_obj[0] = args;
7141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7142 if (!SWIG_IsOK(res1)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7144 }
7145 arg1 = reinterpret_cast< wxFrame * >(argp1);
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 {
7153 resultobj = wxPyMake_wxObject(result, (bool)0);
7154 }
7155 return resultobj;
7156fail:
7157 return NULL;
7158}
7159
7160
7161SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj = 0;
7163 wxFrame *arg1 = (wxFrame *) 0 ;
7164 wxToolBar *arg2 = (wxToolBar *) 0 ;
7165 void *argp1 = 0 ;
7166 int res1 = 0 ;
7167 void *argp2 = 0 ;
7168 int res2 = 0 ;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj1 = 0 ;
7171 char * kwnames[] = {
7172 (char *) "self",(char *) "toolbar", NULL
7173 };
7174
7175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7177 if (!SWIG_IsOK(res1)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7179 }
7180 arg1 = reinterpret_cast< wxFrame * >(argp1);
7181 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7182 if (!SWIG_IsOK(res2)) {
7183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7184 }
7185 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 (arg1)->SetToolBar(arg2);
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = SWIG_Py_Void();
7193 return resultobj;
7194fail:
7195 return NULL;
7196}
7197
7198
7199SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj = 0;
7201 wxFrame *arg1 = (wxFrame *) 0 ;
7202 wxString *arg2 = 0 ;
7203 bool arg3 ;
7204 void *argp1 = 0 ;
7205 int res1 = 0 ;
7206 bool temp2 = false ;
7207 bool val3 ;
7208 int ecode3 = 0 ;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 PyObject * obj2 = 0 ;
7212 char * kwnames[] = {
7213 (char *) "self",(char *) "text",(char *) "show", NULL
7214 };
7215
7216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7218 if (!SWIG_IsOK(res1)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7220 }
7221 arg1 = reinterpret_cast< wxFrame * >(argp1);
7222 {
7223 arg2 = wxString_in_helper(obj1);
7224 if (arg2 == NULL) SWIG_fail;
7225 temp2 = true;
7226 }
7227 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7228 if (!SWIG_IsOK(ecode3)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7230 }
7231 arg3 = static_cast< bool >(val3);
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = SWIG_Py_Void();
7239 {
7240 if (temp2)
7241 delete arg2;
7242 }
7243 return resultobj;
7244fail:
7245 {
7246 if (temp2)
7247 delete arg2;
7248 }
7249 return NULL;
7250}
7251
7252
7253SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxFrame *arg1 = (wxFrame *) 0 ;
7256 wxMenu *arg2 = (wxMenu *) NULL ;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 void *argp2 = 0 ;
7260 int res2 = 0 ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char * kwnames[] = {
7264 (char *) "self",(char *) "menu", NULL
7265 };
7266
7267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7269 if (!SWIG_IsOK(res1)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7271 }
7272 arg1 = reinterpret_cast< wxFrame * >(argp1);
7273 if (obj1) {
7274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7275 if (!SWIG_IsOK(res2)) {
7276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d14a1e28 7277 }
0085ce49
RD
7278 arg2 = reinterpret_cast< wxMenu * >(argp2);
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->DoMenuUpdates(arg2);
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = SWIG_Py_Void();
7287 return resultobj;
7288fail:
7289 return NULL;
7290}
7291
7292
7293SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj = 0;
7295 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7296 SwigValueWrapper<wxVisualAttributes > result;
7297 int val1 ;
7298 int ecode1 = 0 ;
7299 PyObject * obj0 = 0 ;
7300 char * kwnames[] = {
7301 (char *) "variant", NULL
7302 };
7303
7304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7305 if (obj0) {
7306 ecode1 = SWIG_AsVal_int(obj0, &val1);
7307 if (!SWIG_IsOK(ecode1)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7309 }
7310 arg1 = static_cast< wxWindowVariant >(val1);
7311 }
7312 {
7313 if (!wxPyCheckForApp()) SWIG_fail;
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = wxFrame::GetClassDefaultAttributes(arg1);
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7320 return resultobj;
7321fail:
7322 return NULL;
7323}
7324
7325
7326SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7327 PyObject *obj;
7328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7329 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7330 return SWIG_Py_Void();
7331}
7332
7333SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7334 return SWIG_Python_InitShadowInstance(args);
7335}
7336
7337SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj = 0;
7339 wxWindow *arg1 = (wxWindow *) 0 ;
7340 int arg2 = (int) (int)-1 ;
7341 wxString const &arg3_defvalue = wxPyEmptyString ;
7342 wxString *arg3 = (wxString *) &arg3_defvalue ;
7343 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7344 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7345 wxSize const &arg5_defvalue = wxDefaultSize ;
7346 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7347 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7348 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7349 wxString *arg7 = (wxString *) &arg7_defvalue ;
7350 wxDialog *result = 0 ;
7351 void *argp1 = 0 ;
7352 int res1 = 0 ;
7353 int val2 ;
7354 int ecode2 = 0 ;
7355 bool temp3 = false ;
7356 wxPoint temp4 ;
7357 wxSize temp5 ;
7358 long val6 ;
7359 int ecode6 = 0 ;
7360 bool temp7 = false ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 PyObject * obj2 = 0 ;
7364 PyObject * obj3 = 0 ;
7365 PyObject * obj4 = 0 ;
7366 PyObject * obj5 = 0 ;
7367 PyObject * obj6 = 0 ;
7368 char * kwnames[] = {
7369 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7370 };
7371
7372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7374 if (!SWIG_IsOK(res1)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7376 }
7377 arg1 = reinterpret_cast< wxWindow * >(argp1);
7378 if (obj1) {
7379 ecode2 = SWIG_AsVal_int(obj1, &val2);
7380 if (!SWIG_IsOK(ecode2)) {
7381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7382 }
7383 arg2 = static_cast< int >(val2);
7384 }
7385 if (obj2) {
d14a1e28 7386 {
0085ce49
RD
7387 arg3 = wxString_in_helper(obj2);
7388 if (arg3 == NULL) SWIG_fail;
7389 temp3 = true;
d14a1e28 7390 }
0085ce49
RD
7391 }
7392 if (obj3) {
d14a1e28 7393 {
0085ce49
RD
7394 arg4 = &temp4;
7395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7396 }
0085ce49
RD
7397 }
7398 if (obj4) {
d14a1e28 7399 {
0085ce49
RD
7400 arg5 = &temp5;
7401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7402 }
0085ce49
RD
7403 }
7404 if (obj5) {
7405 ecode6 = SWIG_AsVal_long(obj5, &val6);
7406 if (!SWIG_IsOK(ecode6)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7408 }
7409 arg6 = static_cast< long >(val6);
7410 }
7411 if (obj6) {
d14a1e28 7412 {
0085ce49
RD
7413 arg7 = wxString_in_helper(obj6);
7414 if (arg7 == NULL) SWIG_fail;
7415 temp7 = true;
d14a1e28 7416 }
0085ce49
RD
7417 }
7418 {
7419 if (!wxPyCheckForApp()) SWIG_fail;
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7426 {
7427 if (temp3)
7428 delete arg3;
7429 }
7430 {
7431 if (temp7)
7432 delete arg7;
7433 }
7434 return resultobj;
7435fail:
7436 {
7437 if (temp3)
7438 delete arg3;
7439 }
7440 {
7441 if (temp7)
7442 delete arg7;
7443 }
7444 return NULL;
d14a1e28
RD
7445}
7446
7447
0085ce49
RD
7448SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7449 PyObject *resultobj = 0;
7450 wxDialog *result = 0 ;
7451
7452 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7453 {
7454 if (!wxPyCheckForApp()) SWIG_fail;
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (wxDialog *)new wxDialog();
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7461 return resultobj;
7462fail:
7463 return NULL;
7464}
7465
7466
7467SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj = 0;
7469 wxDialog *arg1 = (wxDialog *) 0 ;
7470 wxWindow *arg2 = (wxWindow *) 0 ;
7471 int arg3 = (int) (int)-1 ;
7472 wxString const &arg4_defvalue = wxPyEmptyString ;
7473 wxString *arg4 = (wxString *) &arg4_defvalue ;
7474 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7475 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7476 wxSize const &arg6_defvalue = wxDefaultSize ;
7477 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7478 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7479 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7480 wxString *arg8 = (wxString *) &arg8_defvalue ;
7481 bool result;
7482 void *argp1 = 0 ;
7483 int res1 = 0 ;
7484 void *argp2 = 0 ;
7485 int res2 = 0 ;
7486 int val3 ;
7487 int ecode3 = 0 ;
7488 bool temp4 = false ;
7489 wxPoint temp5 ;
7490 wxSize temp6 ;
7491 long val7 ;
7492 int ecode7 = 0 ;
7493 bool temp8 = false ;
7494 PyObject * obj0 = 0 ;
7495 PyObject * obj1 = 0 ;
7496 PyObject * obj2 = 0 ;
7497 PyObject * obj3 = 0 ;
7498 PyObject * obj4 = 0 ;
7499 PyObject * obj5 = 0 ;
7500 PyObject * obj6 = 0 ;
7501 PyObject * obj7 = 0 ;
7502 char * kwnames[] = {
7503 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7504 };
7505
7506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7508 if (!SWIG_IsOK(res1)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7510 }
7511 arg1 = reinterpret_cast< wxDialog * >(argp1);
7512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7513 if (!SWIG_IsOK(res2)) {
7514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7515 }
7516 arg2 = reinterpret_cast< wxWindow * >(argp2);
7517 if (obj2) {
7518 ecode3 = SWIG_AsVal_int(obj2, &val3);
7519 if (!SWIG_IsOK(ecode3)) {
7520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7521 }
7522 arg3 = static_cast< int >(val3);
7523 }
7524 if (obj3) {
093d3ff1 7525 {
0085ce49
RD
7526 arg4 = wxString_in_helper(obj3);
7527 if (arg4 == NULL) SWIG_fail;
7528 temp4 = true;
d14a1e28 7529 }
0085ce49
RD
7530 }
7531 if (obj4) {
d14a1e28 7532 {
0085ce49
RD
7533 arg5 = &temp5;
7534 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7535 }
0085ce49
RD
7536 }
7537 if (obj5) {
4f89f6a3 7538 {
0085ce49
RD
7539 arg6 = &temp6;
7540 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
c32bde28 7541 }
0085ce49
RD
7542 }
7543 if (obj6) {
7544 ecode7 = SWIG_AsVal_long(obj6, &val7);
7545 if (!SWIG_IsOK(ecode7)) {
7546 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7547 }
7548 arg7 = static_cast< long >(val7);
7549 }
7550 if (obj7) {
c32bde28 7551 {
0085ce49
RD
7552 arg8 = wxString_in_helper(obj7);
7553 if (arg8 == NULL) SWIG_fail;
7554 temp8 = true;
7555 }
7556 }
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 {
7564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7565 }
7566 {
7567 if (temp4)
7568 delete arg4;
7569 }
7570 {
7571 if (temp8)
7572 delete arg8;
7573 }
7574 return resultobj;
7575fail:
7576 {
7577 if (temp4)
7578 delete arg4;
7579 }
7580 {
7581 if (temp8)
7582 delete arg8;
7583 }
7584 return NULL;
7585}
7586
7587
7588SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj = 0;
7590 wxDialog *arg1 = (wxDialog *) 0 ;
7591 int arg2 ;
7592 void *argp1 = 0 ;
7593 int res1 = 0 ;
7594 int val2 ;
7595 int ecode2 = 0 ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 char * kwnames[] = {
7599 (char *) "self",(char *) "returnCode", NULL
7600 };
7601
7602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7604 if (!SWIG_IsOK(res1)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7606 }
7607 arg1 = reinterpret_cast< wxDialog * >(argp1);
7608 ecode2 = SWIG_AsVal_int(obj1, &val2);
7609 if (!SWIG_IsOK(ecode2)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7611 }
7612 arg2 = static_cast< int >(val2);
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 (arg1)->SetReturnCode(arg2);
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_Py_Void();
7620 return resultobj;
7621fail:
7622 return NULL;
c32bde28
RD
7623}
7624
7625
0085ce49
RD
7626SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7627 PyObject *resultobj = 0;
7628 wxDialog *arg1 = (wxDialog *) 0 ;
7629 int result;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 PyObject *swig_obj[1] ;
7633
7634 if (!args) SWIG_fail;
7635 swig_obj[0] = args;
7636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7637 if (!SWIG_IsOK(res1)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7639 }
7640 arg1 = reinterpret_cast< wxDialog * >(argp1);
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_From_int(static_cast< int >(result));
7648 return resultobj;
7649fail:
7650 return NULL;
7651}
7652
7653
7654SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj = 0;
7656 wxDialog *arg1 = (wxDialog *) 0 ;
7657 int arg2 ;
7658 void *argp1 = 0 ;
7659 int res1 = 0 ;
7660 int val2 ;
7661 int ecode2 = 0 ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 char * kwnames[] = {
7665 (char *) "self",(char *) "affirmativeId", NULL
7666 };
7667
7668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7670 if (!SWIG_IsOK(res1)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7672 }
7673 arg1 = reinterpret_cast< wxDialog * >(argp1);
7674 ecode2 = SWIG_AsVal_int(obj1, &val2);
7675 if (!SWIG_IsOK(ecode2)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7677 }
7678 arg2 = static_cast< int >(val2);
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetAffirmativeId(arg2);
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = SWIG_Py_Void();
7686 return resultobj;
7687fail:
7688 return NULL;
b6294124
RD
7689}
7690
7691
0085ce49
RD
7692SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7693 PyObject *resultobj = 0;
7694 wxDialog *arg1 = (wxDialog *) 0 ;
7695 int result;
7696 void *argp1 = 0 ;
7697 int res1 = 0 ;
7698 PyObject *swig_obj[1] ;
7699
7700 if (!args) SWIG_fail;
7701 swig_obj[0] = args;
7702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7703 if (!SWIG_IsOK(res1)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7705 }
7706 arg1 = reinterpret_cast< wxDialog * >(argp1);
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 resultobj = SWIG_From_int(static_cast< int >(result));
7714 return resultobj;
7715fail:
7716 return NULL;
7717}
7718
7719
7720SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj = 0;
7722 wxDialog *arg1 = (wxDialog *) 0 ;
7723 int arg2 ;
7724 void *argp1 = 0 ;
7725 int res1 = 0 ;
7726 int val2 ;
7727 int ecode2 = 0 ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char * kwnames[] = {
7731 (char *) "self",(char *) "escapeId", NULL
7732 };
7733
7734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7736 if (!SWIG_IsOK(res1)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7738 }
7739 arg1 = reinterpret_cast< wxDialog * >(argp1);
7740 ecode2 = SWIG_AsVal_int(obj1, &val2);
7741 if (!SWIG_IsOK(ecode2)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7743 }
7744 arg2 = static_cast< int >(val2);
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->SetEscapeId(arg2);
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_Py_Void();
7752 return resultobj;
7753fail:
7754 return NULL;
84f85550
RD
7755}
7756
7757
0085ce49
RD
7758SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7759 PyObject *resultobj = 0;
7760 wxDialog *arg1 = (wxDialog *) 0 ;
7761 int result;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 PyObject *swig_obj[1] ;
7765
7766 if (!args) SWIG_fail;
7767 swig_obj[0] = args;
7768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7769 if (!SWIG_IsOK(res1)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7771 }
7772 arg1 = reinterpret_cast< wxDialog * >(argp1);
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 resultobj = SWIG_From_int(static_cast< int >(result));
7780 return resultobj;
7781fail:
7782 return NULL;
7783}
7784
7785
da9714b5
RD
7786SWIGINTERN PyObject *_wrap_Dialog_GetParentForModalDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj = 0;
7788 wxDialog *arg1 = (wxDialog *) 0 ;
7789 wxWindow *arg2 = (wxWindow *) NULL ;
7790 wxWindow *result = 0 ;
7791 void *argp1 = 0 ;
7792 int res1 = 0 ;
7793 void *argp2 = 0 ;
7794 int res2 = 0 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char * kwnames[] = {
7798 (char *) "self",(char *) "parent", NULL
7799 };
7800
7801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames,&obj0,&obj1)) SWIG_fail;
7802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7803 if (!SWIG_IsOK(res1)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
7805 }
7806 arg1 = reinterpret_cast< wxDialog * >(argp1);
7807 if (obj1) {
7808 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7809 if (!SWIG_IsOK(res2)) {
7810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
7811 }
7812 arg2 = reinterpret_cast< wxWindow * >(argp2);
7813 }
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (wxWindow *)((wxDialog const *)arg1)->GetParentForModalDialog(arg2);
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 {
7821 resultobj = wxPyMake_wxObject(result, 0);
7822 }
7823 return resultobj;
7824fail:
7825 return NULL;
7826}
7827
7828
0085ce49
RD
7829SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj = 0;
7831 wxDialog *arg1 = (wxDialog *) 0 ;
7832 wxString *arg2 = 0 ;
7833 wxSizer *result = 0 ;
7834 void *argp1 = 0 ;
7835 int res1 = 0 ;
7836 bool temp2 = false ;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char * kwnames[] = {
7840 (char *) "self",(char *) "message", NULL
7841 };
7842
7843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7845 if (!SWIG_IsOK(res1)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7847 }
7848 arg1 = reinterpret_cast< wxDialog * >(argp1);
7849 {
7850 arg2 = wxString_in_helper(obj1);
7851 if (arg2 == NULL) SWIG_fail;
7852 temp2 = true;
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 {
7861 resultobj = wxPyMake_wxObject(result, (bool)0);
7862 }
7863 {
7864 if (temp2)
7865 delete arg2;
7866 }
7867 return resultobj;
7868fail:
7869 {
7870 if (temp2)
7871 delete arg2;
7872 }
7873 return NULL;
7874}
7875
7876
b39fe951 7877SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7878 PyObject *resultobj = 0;
7879 wxDialog *arg1 = (wxDialog *) 0 ;
7880 long arg2 ;
0085ce49
RD
7881 wxSizer *result = 0 ;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 long val2 ;
7885 int ecode2 = 0 ;
0085ce49
RD
7886 PyObject * obj0 = 0 ;
7887 PyObject * obj1 = 0 ;
0085ce49 7888 char * kwnames[] = {
b39fe951 7889 (char *) "self",(char *) "flags", NULL
0085ce49
RD
7890 };
7891
b39fe951 7892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
7893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7894 if (!SWIG_IsOK(res1)) {
b39fe951 7895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
0085ce49
RD
7896 }
7897 arg1 = reinterpret_cast< wxDialog * >(argp1);
7898 ecode2 = SWIG_AsVal_long(obj1, &val2);
7899 if (!SWIG_IsOK(ecode2)) {
b39fe951 7900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
0085ce49
RD
7901 }
7902 arg2 = static_cast< long >(val2);
b39fe951
RD
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
0085ce49 7908 }
b39fe951
RD
7909 {
7910 resultobj = wxPyMake_wxObject(result, (bool)0);
0085ce49 7911 }
b39fe951
RD
7912 return resultobj;
7913fail:
7914 return NULL;
7915}
7916
7917
7918SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj = 0;
7920 wxDialog *arg1 = (wxDialog *) 0 ;
7921 long arg2 ;
7922 wxSizer *result = 0 ;
7923 void *argp1 = 0 ;
7924 int res1 = 0 ;
7925 long val2 ;
7926 int ecode2 = 0 ;
7927 PyObject * obj0 = 0 ;
7928 PyObject * obj1 = 0 ;
7929 char * kwnames[] = {
7930 (char *) "self",(char *) "flags", NULL
7931 };
7932
7933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7935 if (!SWIG_IsOK(res1)) {
7936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7937 }
7938 arg1 = reinterpret_cast< wxDialog * >(argp1);
7939 ecode2 = SWIG_AsVal_long(obj1, &val2);
7940 if (!SWIG_IsOK(ecode2)) {
7941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7942 }
7943 arg2 = static_cast< long >(val2);
0085ce49
RD
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7946 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
0085ce49
RD
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 {
7951 resultobj = wxPyMake_wxObject(result, (bool)0);
7952 }
7953 return resultobj;
7954fail:
7955 return NULL;
7956}
7957
7958
7959SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj = 0;
7961 wxDialog *arg1 = (wxDialog *) 0 ;
7962 long arg2 ;
7963 wxStdDialogButtonSizer *result = 0 ;
7964 void *argp1 = 0 ;
7965 int res1 = 0 ;
7966 long val2 ;
7967 int ecode2 = 0 ;
7968 PyObject * obj0 = 0 ;
7969 PyObject * obj1 = 0 ;
7970 char * kwnames[] = {
7971 (char *) "self",(char *) "flags", NULL
7972 };
7973
7974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7976 if (!SWIG_IsOK(res1)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7978 }
7979 arg1 = reinterpret_cast< wxDialog * >(argp1);
7980 ecode2 = SWIG_AsVal_long(obj1, &val2);
7981 if (!SWIG_IsOK(ecode2)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7983 }
7984 arg2 = static_cast< long >(val2);
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7992 return resultobj;
7993fail:
7994 return NULL;
84f85550
RD
7995}
7996
7997
0085ce49
RD
7998SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7999 PyObject *resultobj = 0;
8000 wxDialog *arg1 = (wxDialog *) 0 ;
8001 bool result;
8002 void *argp1 = 0 ;
8003 int res1 = 0 ;
8004 PyObject *swig_obj[1] ;
8005
8006 if (!args) SWIG_fail;
8007 swig_obj[0] = args;
8008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8009 if (!SWIG_IsOK(res1)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8011 }
8012 arg1 = reinterpret_cast< wxDialog * >(argp1);
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (bool)((wxDialog const *)arg1)->IsModal();
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 {
8020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8021 }
8022 return resultobj;
8023fail:
8024 return NULL;
b1fcee84
RD
8025}
8026
8027
0085ce49
RD
8028SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8029 PyObject *resultobj = 0;
8030 wxDialog *arg1 = (wxDialog *) 0 ;
8031 int result;
8032 void *argp1 = 0 ;
8033 int res1 = 0 ;
8034 PyObject *swig_obj[1] ;
8035
8036 if (!args) SWIG_fail;
8037 swig_obj[0] = args;
8038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8039 if (!SWIG_IsOK(res1)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8041 }
8042 arg1 = reinterpret_cast< wxDialog * >(argp1);
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (int)(arg1)->ShowModal();
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 resultobj = SWIG_From_int(static_cast< int >(result));
8050 return resultobj;
8051fail:
8052 return NULL;
8053}
8054
8055
8056SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj = 0;
8058 wxDialog *arg1 = (wxDialog *) 0 ;
8059 int arg2 ;
8060 void *argp1 = 0 ;
8061 int res1 = 0 ;
8062 int val2 ;
8063 int ecode2 = 0 ;
8064 PyObject * obj0 = 0 ;
8065 PyObject * obj1 = 0 ;
8066 char * kwnames[] = {
8067 (char *) "self",(char *) "retCode", NULL
8068 };
8069
8070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8072 if (!SWIG_IsOK(res1)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8074 }
8075 arg1 = reinterpret_cast< wxDialog * >(argp1);
8076 ecode2 = SWIG_AsVal_int(obj1, &val2);
8077 if (!SWIG_IsOK(ecode2)) {
8078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8079 }
8080 arg2 = static_cast< int >(val2);
8081 {
8082 PyThreadState* __tstate = wxPyBeginAllowThreads();
8083 (arg1)->EndModal(arg2);
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 resultobj = SWIG_Py_Void();
8088 return resultobj;
8089fail:
8090 return NULL;
8091}
8092
8093
8094SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj = 0;
8096 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8097 SwigValueWrapper<wxVisualAttributes > result;
8098 int val1 ;
8099 int ecode1 = 0 ;
8100 PyObject * obj0 = 0 ;
8101 char * kwnames[] = {
8102 (char *) "variant", NULL
8103 };
8104
8105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8106 if (obj0) {
8107 ecode1 = SWIG_AsVal_int(obj0, &val1);
8108 if (!SWIG_IsOK(ecode1)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8110 }
8111 arg1 = static_cast< wxWindowVariant >(val1);
8112 }
8113 {
8114 if (!wxPyCheckForApp()) SWIG_fail;
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 result = wxDialog::GetClassDefaultAttributes(arg1);
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8121 return resultobj;
8122fail:
8123 return NULL;
8124}
8125
8126
8127SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8128 PyObject *obj;
8129 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8130 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8131 return SWIG_Py_Void();
8132}
8133
8134SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8135 return SWIG_Python_InitShadowInstance(args);
8136}
8137
8138SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj = 0;
8140 wxWindow *arg1 = (wxWindow *) 0 ;
8141 int arg2 = (int) (int)-1 ;
8142 wxString const &arg3_defvalue = wxPyEmptyString ;
8143 wxString *arg3 = (wxString *) &arg3_defvalue ;
8144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8146 wxSize const &arg5_defvalue = wxDefaultSize ;
8147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8148 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
0085ce49
RD
8149 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8150 wxString *arg7 = (wxString *) &arg7_defvalue ;
8151 wxMiniFrame *result = 0 ;
8152 void *argp1 = 0 ;
8153 int res1 = 0 ;
8154 int val2 ;
8155 int ecode2 = 0 ;
8156 bool temp3 = false ;
8157 wxPoint temp4 ;
8158 wxSize temp5 ;
8159 long val6 ;
8160 int ecode6 = 0 ;
8161 bool temp7 = false ;
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 PyObject * obj2 = 0 ;
8165 PyObject * obj3 = 0 ;
8166 PyObject * obj4 = 0 ;
8167 PyObject * obj5 = 0 ;
8168 PyObject * obj6 = 0 ;
8169 char * kwnames[] = {
8170 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8171 };
8172
8173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8175 if (!SWIG_IsOK(res1)) {
8176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8177 }
8178 arg1 = reinterpret_cast< wxWindow * >(argp1);
8179 if (obj1) {
8180 ecode2 = SWIG_AsVal_int(obj1, &val2);
8181 if (!SWIG_IsOK(ecode2)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8183 }
8184 arg2 = static_cast< int >(val2);
8185 }
8186 if (obj2) {
d14a1e28 8187 {
0085ce49
RD
8188 arg3 = wxString_in_helper(obj2);
8189 if (arg3 == NULL) SWIG_fail;
8190 temp3 = true;
d14a1e28 8191 }
0085ce49
RD
8192 }
8193 if (obj3) {
d14a1e28 8194 {
0085ce49
RD
8195 arg4 = &temp4;
8196 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8197 }
0085ce49
RD
8198 }
8199 if (obj4) {
d14a1e28 8200 {
0085ce49
RD
8201 arg5 = &temp5;
8202 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8203 }
0085ce49
RD
8204 }
8205 if (obj5) {
8206 ecode6 = SWIG_AsVal_long(obj5, &val6);
8207 if (!SWIG_IsOK(ecode6)) {
8208 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8209 }
8210 arg6 = static_cast< long >(val6);
8211 }
8212 if (obj6) {
d14a1e28 8213 {
0085ce49
RD
8214 arg7 = wxString_in_helper(obj6);
8215 if (arg7 == NULL) SWIG_fail;
8216 temp7 = true;
d14a1e28 8217 }
0085ce49
RD
8218 }
8219 {
8220 if (!wxPyCheckForApp()) SWIG_fail;
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8227 {
8228 if (temp3)
8229 delete arg3;
8230 }
8231 {
8232 if (temp7)
8233 delete arg7;
8234 }
8235 return resultobj;
8236fail:
8237 {
8238 if (temp3)
8239 delete arg3;
8240 }
8241 {
8242 if (temp7)
8243 delete arg7;
8244 }
8245 return NULL;
d14a1e28
RD
8246}
8247
8248
0085ce49
RD
8249SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8250 PyObject *resultobj = 0;
8251 wxMiniFrame *result = 0 ;
8252
8253 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8254 {
8255 if (!wxPyCheckForApp()) SWIG_fail;
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (wxMiniFrame *)new wxMiniFrame();
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8262 return resultobj;
8263fail:
8264 return NULL;
8265}
8266
8267
8268SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj = 0;
8270 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8271 wxWindow *arg2 = (wxWindow *) 0 ;
8272 int arg3 = (int) (int)-1 ;
8273 wxString const &arg4_defvalue = wxPyEmptyString ;
8274 wxString *arg4 = (wxString *) &arg4_defvalue ;
8275 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8276 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8277 wxSize const &arg6_defvalue = wxDefaultSize ;
8278 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8279 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
0085ce49
RD
8280 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8281 wxString *arg8 = (wxString *) &arg8_defvalue ;
8282 bool result;
8283 void *argp1 = 0 ;
8284 int res1 = 0 ;
8285 void *argp2 = 0 ;
8286 int res2 = 0 ;
8287 int val3 ;
8288 int ecode3 = 0 ;
8289 bool temp4 = false ;
8290 wxPoint temp5 ;
8291 wxSize temp6 ;
8292 long val7 ;
8293 int ecode7 = 0 ;
8294 bool temp8 = false ;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 PyObject * obj2 = 0 ;
8298 PyObject * obj3 = 0 ;
8299 PyObject * obj4 = 0 ;
8300 PyObject * obj5 = 0 ;
8301 PyObject * obj6 = 0 ;
8302 PyObject * obj7 = 0 ;
8303 char * kwnames[] = {
8304 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8305 };
8306
8307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8309 if (!SWIG_IsOK(res1)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8311 }
8312 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8313 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8314 if (!SWIG_IsOK(res2)) {
8315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8316 }
8317 arg2 = reinterpret_cast< wxWindow * >(argp2);
8318 if (obj2) {
8319 ecode3 = SWIG_AsVal_int(obj2, &val3);
8320 if (!SWIG_IsOK(ecode3)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8322 }
8323 arg3 = static_cast< int >(val3);
8324 }
8325 if (obj3) {
d14a1e28 8326 {
0085ce49
RD
8327 arg4 = wxString_in_helper(obj3);
8328 if (arg4 == NULL) SWIG_fail;
8329 temp4 = true;
d14a1e28 8330 }
0085ce49
RD
8331 }
8332 if (obj4) {
4f89f6a3 8333 {
0085ce49
RD
8334 arg5 = &temp5;
8335 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 8336 }
0085ce49
RD
8337 }
8338 if (obj5) {
d14a1e28 8339 {
0085ce49
RD
8340 arg6 = &temp6;
8341 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 8342 }
0085ce49
RD
8343 }
8344 if (obj6) {
8345 ecode7 = SWIG_AsVal_long(obj6, &val7);
8346 if (!SWIG_IsOK(ecode7)) {
8347 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8348 }
8349 arg7 = static_cast< long >(val7);
8350 }
8351 if (obj7) {
d14a1e28 8352 {
0085ce49
RD
8353 arg8 = wxString_in_helper(obj7);
8354 if (arg8 == NULL) SWIG_fail;
8355 temp8 = true;
d14a1e28 8356 }
0085ce49
RD
8357 }
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 {
8365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8366 }
8367 {
8368 if (temp4)
8369 delete arg4;
8370 }
8371 {
8372 if (temp8)
8373 delete arg8;
8374 }
8375 return resultobj;
8376fail:
8377 {
8378 if (temp4)
8379 delete arg4;
8380 }
8381 {
8382 if (temp8)
8383 delete arg8;
8384 }
8385 return NULL;
8386}
8387
8388
8389SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8390 PyObject *obj;
8391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8392 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8393 return SWIG_Py_Void();
8394}
8395
8396SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8397 return SWIG_Python_InitShadowInstance(args);
8398}
8399
8400SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj = 0;
8402 wxBitmap *arg1 = 0 ;
8403 wxWindow *arg2 = (wxWindow *) 0 ;
8404 int arg3 ;
8405 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8406 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8407 wxSize const &arg5_defvalue = wxDefaultSize ;
8408 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8409 long arg6 = (long) wxNO_BORDER ;
8410 wxSplashScreenWindow *result = 0 ;
8411 void *argp1 = 0 ;
8412 int res1 = 0 ;
8413 void *argp2 = 0 ;
8414 int res2 = 0 ;
8415 int val3 ;
8416 int ecode3 = 0 ;
8417 wxPoint temp4 ;
8418 wxSize temp5 ;
8419 long val6 ;
8420 int ecode6 = 0 ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 PyObject * obj2 = 0 ;
8424 PyObject * obj3 = 0 ;
8425 PyObject * obj4 = 0 ;
8426 PyObject * obj5 = 0 ;
8427 char * kwnames[] = {
8428 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8429 };
8430
8431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8432 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8433 if (!SWIG_IsOK(res1)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8435 }
8436 if (!argp1) {
8437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8438 }
8439 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8441 if (!SWIG_IsOK(res2)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8443 }
8444 arg2 = reinterpret_cast< wxWindow * >(argp2);
8445 ecode3 = SWIG_AsVal_int(obj2, &val3);
8446 if (!SWIG_IsOK(ecode3)) {
8447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8448 }
8449 arg3 = static_cast< int >(val3);
8450 if (obj3) {
d14a1e28 8451 {
0085ce49
RD
8452 arg4 = &temp4;
8453 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8454 }
0085ce49
RD
8455 }
8456 if (obj4) {
d14a1e28 8457 {
0085ce49
RD
8458 arg5 = &temp5;
8459 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8460 }
0085ce49
RD
8461 }
8462 if (obj5) {
8463 ecode6 = SWIG_AsVal_long(obj5, &val6);
8464 if (!SWIG_IsOK(ecode6)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8466 }
8467 arg6 = static_cast< long >(val6);
8468 }
8469 {
8470 if (!wxPyCheckForApp()) SWIG_fail;
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8477 return resultobj;
8478fail:
8479 return NULL;
8480}
8481
8482
8483SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj = 0;
8485 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8486 wxBitmap *arg2 = 0 ;
8487 void *argp1 = 0 ;
8488 int res1 = 0 ;
8489 void *argp2 = 0 ;
8490 int res2 = 0 ;
8491 PyObject * obj0 = 0 ;
8492 PyObject * obj1 = 0 ;
8493 char * kwnames[] = {
8494 (char *) "self",(char *) "bitmap", NULL
8495 };
8496
8497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8499 if (!SWIG_IsOK(res1)) {
8500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8501 }
8502 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8503 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8504 if (!SWIG_IsOK(res2)) {
8505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8506 }
8507 if (!argp2) {
8508 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8509 }
8510 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_Py_Void();
8518 return resultobj;
8519fail:
8520 return NULL;
d14a1e28
RD
8521}
8522
8523
0085ce49
RD
8524SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8525 PyObject *resultobj = 0;
8526 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8527 wxBitmap *result = 0 ;
8528 void *argp1 = 0 ;
8529 int res1 = 0 ;
8530 PyObject *swig_obj[1] ;
8531
8532 if (!args) SWIG_fail;
8533 swig_obj[0] = args;
8534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8535 if (!SWIG_IsOK(res1)) {
8536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8537 }
8538 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 {
8542 wxBitmap &_result_ref = (arg1)->GetBitmap();
8543 result = (wxBitmap *) &_result_ref;
8544 }
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 {
8549 wxBitmap* resultptr = new wxBitmap(*result);
8550 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8551 }
8552 return resultobj;
8553fail:
8554 return NULL;
8555}
8556
8557
8558SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8559 PyObject *obj;
8560 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8561 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8562 return SWIG_Py_Void();
8563}
8564
8565SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8566 return SWIG_Python_InitShadowInstance(args);
8567}
8568
8569SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj = 0;
8571 wxBitmap *arg1 = 0 ;
8572 long arg2 ;
8573 int arg3 ;
8574 wxWindow *arg4 = (wxWindow *) 0 ;
8575 int arg5 = (int) -1 ;
8576 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8577 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8578 wxSize const &arg7_defvalue = wxDefaultSize ;
8579 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8580 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8581 wxSplashScreen *result = 0 ;
8582 void *argp1 = 0 ;
8583 int res1 = 0 ;
8584 long val2 ;
8585 int ecode2 = 0 ;
8586 int val3 ;
8587 int ecode3 = 0 ;
8588 void *argp4 = 0 ;
8589 int res4 = 0 ;
8590 int val5 ;
8591 int ecode5 = 0 ;
8592 wxPoint temp6 ;
8593 wxSize temp7 ;
8594 long val8 ;
8595 int ecode8 = 0 ;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 PyObject * obj3 = 0 ;
8600 PyObject * obj4 = 0 ;
8601 PyObject * obj5 = 0 ;
8602 PyObject * obj6 = 0 ;
8603 PyObject * obj7 = 0 ;
8604 char * kwnames[] = {
8605 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8606 };
8607
8608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8609 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8610 if (!SWIG_IsOK(res1)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8612 }
8613 if (!argp1) {
8614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8615 }
8616 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8617 ecode2 = SWIG_AsVal_long(obj1, &val2);
8618 if (!SWIG_IsOK(ecode2)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8620 }
8621 arg2 = static_cast< long >(val2);
8622 ecode3 = SWIG_AsVal_int(obj2, &val3);
8623 if (!SWIG_IsOK(ecode3)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8625 }
8626 arg3 = static_cast< int >(val3);
8627 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8628 if (!SWIG_IsOK(res4)) {
8629 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8630 }
8631 arg4 = reinterpret_cast< wxWindow * >(argp4);
8632 if (obj4) {
8633 ecode5 = SWIG_AsVal_int(obj4, &val5);
8634 if (!SWIG_IsOK(ecode5)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8636 }
8637 arg5 = static_cast< int >(val5);
8638 }
8639 if (obj5) {
d14a1e28 8640 {
0085ce49
RD
8641 arg6 = &temp6;
8642 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 8643 }
0085ce49
RD
8644 }
8645 if (obj6) {
d14a1e28 8646 {
0085ce49
RD
8647 arg7 = &temp7;
8648 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d14a1e28 8649 }
0085ce49
RD
8650 }
8651 if (obj7) {
8652 ecode8 = SWIG_AsVal_long(obj7, &val8);
8653 if (!SWIG_IsOK(ecode8)) {
8654 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8655 }
8656 arg8 = static_cast< long >(val8);
8657 }
8658 {
8659 if (!wxPyCheckForApp()) SWIG_fail;
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8666 return resultobj;
8667fail:
8668 return NULL;
d14a1e28
RD
8669}
8670
8671
0085ce49
RD
8672SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8673 PyObject *resultobj = 0;
8674 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8675 long result;
8676 void *argp1 = 0 ;
8677 int res1 = 0 ;
8678 PyObject *swig_obj[1] ;
8679
8680 if (!args) SWIG_fail;
8681 swig_obj[0] = args;
8682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8685 }
8686 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_From_long(static_cast< long >(result));
8694 return resultobj;
8695fail:
8696 return NULL;
d14a1e28
RD
8697}
8698
8699
0085ce49
RD
8700SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 PyObject *resultobj = 0;
8702 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8703 wxSplashScreenWindow *result = 0 ;
8704 void *argp1 = 0 ;
8705 int res1 = 0 ;
8706 PyObject *swig_obj[1] ;
8707
8708 if (!args) SWIG_fail;
8709 swig_obj[0] = args;
8710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8711 if (!SWIG_IsOK(res1)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8713 }
8714 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8722 return resultobj;
8723fail:
8724 return NULL;
d14a1e28
RD
8725}
8726
8727
0085ce49
RD
8728SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8729 PyObject *resultobj = 0;
8730 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8731 int result;
8732 void *argp1 = 0 ;
8733 int res1 = 0 ;
8734 PyObject *swig_obj[1] ;
8735
8736 if (!args) SWIG_fail;
8737 swig_obj[0] = args;
8738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8739 if (!SWIG_IsOK(res1)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8741 }
8742 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 resultobj = SWIG_From_int(static_cast< int >(result));
8750 return resultobj;
8751fail:
8752 return NULL;
8753}
8754
8755
8756SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8757 PyObject *obj;
8758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8760 return SWIG_Py_Void();
8761}
8762
8763SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8764 return SWIG_Python_InitShadowInstance(args);
8765}
8766
8767SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj = 0;
8769 wxWindow *arg1 = (wxWindow *) 0 ;
8770 int arg2 = (int) -1 ;
8771 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8772 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8773 wxString *arg4 = (wxString *) &arg4_defvalue ;
8774 wxStatusBar *result = 0 ;
8775 void *argp1 = 0 ;
8776 int res1 = 0 ;
8777 int val2 ;
8778 int ecode2 = 0 ;
8779 long val3 ;
8780 int ecode3 = 0 ;
8781 bool temp4 = false ;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 PyObject * obj2 = 0 ;
8785 PyObject * obj3 = 0 ;
8786 char * kwnames[] = {
8787 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8788 };
8789
8790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8792 if (!SWIG_IsOK(res1)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8794 }
8795 arg1 = reinterpret_cast< wxWindow * >(argp1);
8796 if (obj1) {
8797 ecode2 = SWIG_AsVal_int(obj1, &val2);
8798 if (!SWIG_IsOK(ecode2)) {
8799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8800 }
8801 arg2 = static_cast< int >(val2);
8802 }
8803 if (obj2) {
8804 ecode3 = SWIG_AsVal_long(obj2, &val3);
8805 if (!SWIG_IsOK(ecode3)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8807 }
8808 arg3 = static_cast< long >(val3);
8809 }
8810 if (obj3) {
d14a1e28 8811 {
0085ce49
RD
8812 arg4 = wxString_in_helper(obj3);
8813 if (arg4 == NULL) SWIG_fail;
8814 temp4 = true;
d14a1e28 8815 }
0085ce49
RD
8816 }
8817 {
8818 if (!wxPyCheckForApp()) SWIG_fail;
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8825 {
8826 if (temp4)
8827 delete arg4;
8828 }
8829 return resultobj;
8830fail:
8831 {
8832 if (temp4)
8833 delete arg4;
8834 }
8835 return NULL;
d14a1e28
RD
8836}
8837
8838
0085ce49
RD
8839SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8840 PyObject *resultobj = 0;
8841 wxStatusBar *result = 0 ;
8842
8843 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8844 {
8845 if (!wxPyCheckForApp()) SWIG_fail;
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 result = (wxStatusBar *)new wxStatusBar();
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8852 return resultobj;
8853fail:
8854 return NULL;
8855}
8856
8857
8858SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8859 PyObject *resultobj = 0;
8860 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8861 wxWindow *arg2 = (wxWindow *) 0 ;
8862 int arg3 = (int) -1 ;
8863 long arg4 = (long) wxST_SIZEGRIP ;
8864 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8865 wxString *arg5 = (wxString *) &arg5_defvalue ;
8866 bool result;
8867 void *argp1 = 0 ;
8868 int res1 = 0 ;
8869 void *argp2 = 0 ;
8870 int res2 = 0 ;
8871 int val3 ;
8872 int ecode3 = 0 ;
8873 long val4 ;
8874 int ecode4 = 0 ;
8875 bool temp5 = false ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 PyObject * obj2 = 0 ;
8879 PyObject * obj3 = 0 ;
8880 PyObject * obj4 = 0 ;
8881 char * kwnames[] = {
8882 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8883 };
8884
8885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8887 if (!SWIG_IsOK(res1)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8889 }
8890 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8892 if (!SWIG_IsOK(res2)) {
8893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8894 }
8895 arg2 = reinterpret_cast< wxWindow * >(argp2);
8896 if (obj2) {
8897 ecode3 = SWIG_AsVal_int(obj2, &val3);
8898 if (!SWIG_IsOK(ecode3)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8900 }
8901 arg3 = static_cast< int >(val3);
8902 }
8903 if (obj3) {
8904 ecode4 = SWIG_AsVal_long(obj3, &val4);
8905 if (!SWIG_IsOK(ecode4)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8907 }
8908 arg4 = static_cast< long >(val4);
8909 }
8910 if (obj4) {
d14a1e28 8911 {
0085ce49
RD
8912 arg5 = wxString_in_helper(obj4);
8913 if (arg5 == NULL) SWIG_fail;
8914 temp5 = true;
d14a1e28 8915 }
0085ce49
RD
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 {
8924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8925 }
8926 {
8927 if (temp5)
8928 delete arg5;
8929 }
8930 return resultobj;
8931fail:
8932 {
8933 if (temp5)
8934 delete arg5;
8935 }
8936 return NULL;
8937}
8938
8939
8940SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj = 0;
8942 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8943 int arg2 = (int) 1 ;
8944 void *argp1 = 0 ;
8945 int res1 = 0 ;
8946 int val2 ;
8947 int ecode2 = 0 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char * kwnames[] = {
8951 (char *) "self",(char *) "number", NULL
8952 };
8953
8954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8956 if (!SWIG_IsOK(res1)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8958 }
8959 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8960 if (obj1) {
8961 ecode2 = SWIG_AsVal_int(obj1, &val2);
8962 if (!SWIG_IsOK(ecode2)) {
8963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8964 }
8965 arg2 = static_cast< int >(val2);
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 (arg1)->SetFieldsCount(arg2);
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 resultobj = SWIG_Py_Void();
8974 return resultobj;
8975fail:
8976 return NULL;
d14a1e28
RD
8977}
8978
8979
0085ce49
RD
8980SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8981 PyObject *resultobj = 0;
8982 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8983 int result;
8984 void *argp1 = 0 ;
8985 int res1 = 0 ;
8986 PyObject *swig_obj[1] ;
8987
8988 if (!args) SWIG_fail;
8989 swig_obj[0] = args;
8990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8991 if (!SWIG_IsOK(res1)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8993 }
8994 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 resultobj = SWIG_From_int(static_cast< int >(result));
9002 return resultobj;
9003fail:
9004 return NULL;
9005}
9006
9007
9008SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj = 0;
9010 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9011 wxString *arg2 = 0 ;
9012 int arg3 = (int) 0 ;
9013 void *argp1 = 0 ;
9014 int res1 = 0 ;
9015 bool temp2 = false ;
9016 int val3 ;
9017 int ecode3 = 0 ;
9018 PyObject * obj0 = 0 ;
9019 PyObject * obj1 = 0 ;
9020 PyObject * obj2 = 0 ;
9021 char * kwnames[] = {
9022 (char *) "self",(char *) "text",(char *) "number", NULL
9023 };
9024
9025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9027 if (!SWIG_IsOK(res1)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9029 }
9030 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9031 {
9032 arg2 = wxString_in_helper(obj1);
9033 if (arg2 == NULL) SWIG_fail;
9034 temp2 = true;
9035 }
9036 if (obj2) {
9037 ecode3 = SWIG_AsVal_int(obj2, &val3);
9038 if (!SWIG_IsOK(ecode3)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9040 }
9041 arg3 = static_cast< int >(val3);
9042 }
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 resultobj = SWIG_Py_Void();
9050 {
9051 if (temp2)
9052 delete arg2;
9053 }
9054 return resultobj;
9055fail:
9056 {
9057 if (temp2)
9058 delete arg2;
9059 }
9060 return NULL;
9061}
9062
9063
9064SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj = 0;
9066 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9067 int arg2 = (int) 0 ;
9068 wxString result;
9069 void *argp1 = 0 ;
9070 int res1 = 0 ;
9071 int val2 ;
9072 int ecode2 = 0 ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 char * kwnames[] = {
9076 (char *) "self",(char *) "number", NULL
9077 };
9078
9079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9081 if (!SWIG_IsOK(res1)) {
9082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9083 }
9084 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9085 if (obj1) {
9086 ecode2 = SWIG_AsVal_int(obj1, &val2);
9087 if (!SWIG_IsOK(ecode2)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9089 }
9090 arg2 = static_cast< int >(val2);
9091 }
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 {
9099#if wxUSE_UNICODE
9100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9101#else
9102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9103#endif
9104 }
9105 return resultobj;
9106fail:
9107 return NULL;
9108}
9109
9110
9111SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj = 0;
9113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9114 wxString *arg2 = 0 ;
9115 int arg3 = (int) 0 ;
9116 void *argp1 = 0 ;
9117 int res1 = 0 ;
9118 bool temp2 = false ;
9119 int val3 ;
9120 int ecode3 = 0 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 PyObject * obj2 = 0 ;
9124 char * kwnames[] = {
9125 (char *) "self",(char *) "text",(char *) "number", NULL
9126 };
9127
9128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9130 if (!SWIG_IsOK(res1)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9132 }
9133 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9134 {
9135 arg2 = wxString_in_helper(obj1);
9136 if (arg2 == NULL) SWIG_fail;
9137 temp2 = true;
9138 }
9139 if (obj2) {
9140 ecode3 = SWIG_AsVal_int(obj2, &val3);
9141 if (!SWIG_IsOK(ecode3)) {
9142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9143 }
9144 arg3 = static_cast< int >(val3);
9145 }
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = SWIG_Py_Void();
9153 {
9154 if (temp2)
9155 delete arg2;
9156 }
9157 return resultobj;
9158fail:
9159 {
9160 if (temp2)
9161 delete arg2;
9162 }
9163 return NULL;
9164}
9165
9166
9167SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9168 PyObject *resultobj = 0;
9169 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9170 int arg2 = (int) 0 ;
9171 void *argp1 = 0 ;
9172 int res1 = 0 ;
9173 int val2 ;
9174 int ecode2 = 0 ;
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
9177 char * kwnames[] = {
9178 (char *) "self",(char *) "number", NULL
9179 };
9180
9181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9183 if (!SWIG_IsOK(res1)) {
9184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9185 }
9186 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9187 if (obj1) {
9188 ecode2 = SWIG_AsVal_int(obj1, &val2);
9189 if (!SWIG_IsOK(ecode2)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9191 }
9192 arg2 = static_cast< int >(val2);
9193 }
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->PopStatusText(arg2);
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_Py_Void();
9201 return resultobj;
9202fail:
9203 return NULL;
9204}
9205
9206
9207SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj = 0;
9209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9210 int arg2 ;
9211 int *arg3 = (int *) 0 ;
9212 void *argp1 = 0 ;
9213 int res1 = 0 ;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj1 = 0 ;
9216 char * kwnames[] = {
9217 (char *) "self",(char *) "widths", NULL
9218 };
9219
9220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9222 if (!SWIG_IsOK(res1)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9224 }
9225 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9226 {
9227 arg2 = PyList_Size(obj1);
9228 arg3 = int_LIST_helper(obj1);
9229 if (arg3 == NULL) SWIG_fail;
9230 }
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 resultobj = SWIG_Py_Void();
9238 {
9239 if (arg3) delete [] arg3;
9240 }
9241 return resultobj;
9242fail:
9243 {
9244 if (arg3) delete [] arg3;
9245 }
9246 return NULL;
d14a1e28
RD
9247}
9248
9249
0085ce49
RD
9250SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj = 0;
9252 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9253 int arg2 ;
9254 int *arg3 = (int *) 0 ;
9255 void *argp1 = 0 ;
9256 int res1 = 0 ;
9257 PyObject * obj0 = 0 ;
9258 PyObject * obj1 = 0 ;
9259 char * kwnames[] = {
9260 (char *) "self",(char *) "styles", NULL
9261 };
9262
9263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9265 if (!SWIG_IsOK(res1)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9267 }
9268 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9269 {
9270 arg2 = PyList_Size(obj1);
9271 arg3 = int_LIST_helper(obj1);
9272 if (arg3 == NULL) SWIG_fail;
9273 }
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 resultobj = SWIG_Py_Void();
9281 {
9282 if (arg3) delete [] arg3;
9283 }
9284 return resultobj;
9285fail:
9286 {
9287 if (arg3) delete [] arg3;
9288 }
9289 return NULL;
9290}
9291
9292
9293SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj = 0;
9295 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9296 int arg2 ;
9297 wxRect result;
9298 void *argp1 = 0 ;
9299 int res1 = 0 ;
9300 int val2 ;
9301 int ecode2 = 0 ;
9302 PyObject * obj0 = 0 ;
9303 PyObject * obj1 = 0 ;
9304 char * kwnames[] = {
9305 (char *) "self",(char *) "i", NULL
9306 };
9307
9308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9310 if (!SWIG_IsOK(res1)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9312 }
9313 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9314 ecode2 = SWIG_AsVal_int(obj1, &val2);
9315 if (!SWIG_IsOK(ecode2)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9317 }
9318 arg2 = static_cast< int >(val2);
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = wxStatusBar_GetFieldRect(arg1,arg2);
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9326 return resultobj;
9327fail:
9328 return NULL;
9329}
9330
9331
9332SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj = 0;
9334 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9335 int arg2 ;
9336 void *argp1 = 0 ;
9337 int res1 = 0 ;
9338 int val2 ;
9339 int ecode2 = 0 ;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 char * kwnames[] = {
9343 (char *) "self",(char *) "height", NULL
9344 };
9345
9346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9348 if (!SWIG_IsOK(res1)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9350 }
9351 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9352 ecode2 = SWIG_AsVal_int(obj1, &val2);
9353 if (!SWIG_IsOK(ecode2)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9355 }
9356 arg2 = static_cast< int >(val2);
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->SetMinHeight(arg2);
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_Py_Void();
9364 return resultobj;
9365fail:
9366 return NULL;
d14a1e28
RD
9367}
9368
9369
0085ce49
RD
9370SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9371 PyObject *resultobj = 0;
9372 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9373 int result;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 PyObject *swig_obj[1] ;
9377
9378 if (!args) SWIG_fail;
9379 swig_obj[0] = args;
9380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9381 if (!SWIG_IsOK(res1)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9383 }
9384 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 resultobj = SWIG_From_int(static_cast< int >(result));
9392 return resultobj;
9393fail:
9394 return NULL;
d14a1e28
RD
9395}
9396
9397
0085ce49
RD
9398SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9399 PyObject *resultobj = 0;
9400 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9401 int result;
9402 void *argp1 = 0 ;
9403 int res1 = 0 ;
9404 PyObject *swig_obj[1] ;
9405
9406 if (!args) SWIG_fail;
9407 swig_obj[0] = args;
9408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9409 if (!SWIG_IsOK(res1)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9411 }
9412 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 resultobj = SWIG_From_int(static_cast< int >(result));
9420 return resultobj;
9421fail:
9422 return NULL;
9423}
9424
9425
9426SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj = 0;
9428 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9429 SwigValueWrapper<wxVisualAttributes > result;
9430 int val1 ;
9431 int ecode1 = 0 ;
9432 PyObject * obj0 = 0 ;
9433 char * kwnames[] = {
9434 (char *) "variant", NULL
9435 };
9436
9437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9438 if (obj0) {
9439 ecode1 = SWIG_AsVal_int(obj0, &val1);
9440 if (!SWIG_IsOK(ecode1)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9442 }
9443 arg1 = static_cast< wxWindowVariant >(val1);
9444 }
9445 {
9446 if (!wxPyCheckForApp()) SWIG_fail;
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9453 return resultobj;
9454fail:
9455 return NULL;
d14a1e28
RD
9456}
9457
9458
0085ce49
RD
9459SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9460 PyObject *obj;
9461 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9462 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9463 return SWIG_Py_Void();
d14a1e28
RD
9464}
9465
0085ce49
RD
9466SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9467 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
9468}
9469
0085ce49
RD
9470SWIGINTERN int SplitterNameStr_set(PyObject *) {
9471 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9472 return 1;
d14a1e28
RD
9473}
9474
9475
0085ce49
RD
9476SWIGINTERN PyObject *SplitterNameStr_get(void) {
9477 PyObject *pyobj = 0;
9478
9479 {
9480#if wxUSE_UNICODE
9481 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9482#else
9483 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9484#endif
9485 }
9486 return pyobj;
9487}
9488
9489
9490SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxWindow *arg1 = (wxWindow *) 0 ;
9493 int arg2 = (int) -1 ;
9494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9496 wxSize const &arg4_defvalue = wxDefaultSize ;
9497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9498 long arg5 = (long) wxSP_3D ;
9499 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9500 wxString *arg6 = (wxString *) &arg6_defvalue ;
9501 wxSplitterWindow *result = 0 ;
9502 void *argp1 = 0 ;
9503 int res1 = 0 ;
9504 int val2 ;
9505 int ecode2 = 0 ;
9506 wxPoint temp3 ;
9507 wxSize temp4 ;
9508 long val5 ;
9509 int ecode5 = 0 ;
9510 bool temp6 = false ;
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 PyObject * obj2 = 0 ;
9514 PyObject * obj3 = 0 ;
9515 PyObject * obj4 = 0 ;
9516 PyObject * obj5 = 0 ;
9517 char * kwnames[] = {
9518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9519 };
9520
9521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9523 if (!SWIG_IsOK(res1)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9525 }
9526 arg1 = reinterpret_cast< wxWindow * >(argp1);
9527 if (obj1) {
9528 ecode2 = SWIG_AsVal_int(obj1, &val2);
9529 if (!SWIG_IsOK(ecode2)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9531 }
9532 arg2 = static_cast< int >(val2);
9533 }
9534 if (obj2) {
093d3ff1 9535 {
0085ce49
RD
9536 arg3 = &temp3;
9537 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9538 }
0085ce49
RD
9539 }
9540 if (obj3) {
d14a1e28 9541 {
0085ce49
RD
9542 arg4 = &temp4;
9543 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9544 }
0085ce49
RD
9545 }
9546 if (obj4) {
9547 ecode5 = SWIG_AsVal_long(obj4, &val5);
9548 if (!SWIG_IsOK(ecode5)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9550 }
9551 arg5 = static_cast< long >(val5);
9552 }
9553 if (obj5) {
093d3ff1 9554 {
0085ce49
RD
9555 arg6 = wxString_in_helper(obj5);
9556 if (arg6 == NULL) SWIG_fail;
9557 temp6 = true;
093d3ff1 9558 }
0085ce49
RD
9559 }
9560 {
9561 if (!wxPyCheckForApp()) SWIG_fail;
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9568 {
9569 if (temp6)
9570 delete arg6;
9571 }
9572 return resultobj;
9573fail:
9574 {
9575 if (temp6)
9576 delete arg6;
9577 }
9578 return NULL;
d14a1e28
RD
9579}
9580
9581
0085ce49
RD
9582SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9583 PyObject *resultobj = 0;
9584 wxSplitterWindow *result = 0 ;
9585
9586 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9587 {
9588 if (!wxPyCheckForApp()) SWIG_fail;
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 result = (wxSplitterWindow *)new wxSplitterWindow();
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9595 return resultobj;
9596fail:
9597 return NULL;
9598}
9599
9600
9601SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj = 0;
9603 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9604 wxWindow *arg2 = (wxWindow *) 0 ;
9605 int arg3 = (int) -1 ;
9606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9608 wxSize const &arg5_defvalue = wxDefaultSize ;
9609 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9610 long arg6 = (long) wxSP_3D ;
9611 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9612 wxString *arg7 = (wxString *) &arg7_defvalue ;
9613 bool result;
9614 void *argp1 = 0 ;
9615 int res1 = 0 ;
9616 void *argp2 = 0 ;
9617 int res2 = 0 ;
9618 int val3 ;
9619 int ecode3 = 0 ;
9620 wxPoint temp4 ;
9621 wxSize temp5 ;
9622 long val6 ;
9623 int ecode6 = 0 ;
9624 bool temp7 = false ;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 PyObject * obj2 = 0 ;
9628 PyObject * obj3 = 0 ;
9629 PyObject * obj4 = 0 ;
9630 PyObject * obj5 = 0 ;
9631 PyObject * obj6 = 0 ;
9632 char * kwnames[] = {
9633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9634 };
9635
9636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9638 if (!SWIG_IsOK(res1)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9640 }
9641 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9643 if (!SWIG_IsOK(res2)) {
9644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9645 }
9646 arg2 = reinterpret_cast< wxWindow * >(argp2);
9647 if (obj2) {
9648 ecode3 = SWIG_AsVal_int(obj2, &val3);
9649 if (!SWIG_IsOK(ecode3)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9651 }
9652 arg3 = static_cast< int >(val3);
9653 }
9654 if (obj3) {
d14a1e28 9655 {
0085ce49
RD
9656 arg4 = &temp4;
9657 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9658 }
0085ce49
RD
9659 }
9660 if (obj4) {
d14a1e28 9661 {
0085ce49
RD
9662 arg5 = &temp5;
9663 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9664 }
0085ce49
RD
9665 }
9666 if (obj5) {
9667 ecode6 = SWIG_AsVal_long(obj5, &val6);
9668 if (!SWIG_IsOK(ecode6)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9670 }
9671 arg6 = static_cast< long >(val6);
9672 }
9673 if (obj6) {
d14a1e28 9674 {
0085ce49
RD
9675 arg7 = wxString_in_helper(obj6);
9676 if (arg7 == NULL) SWIG_fail;
9677 temp7 = true;
d14a1e28 9678 }
0085ce49
RD
9679 }
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9683 wxPyEndAllowThreads(__tstate);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 {
9687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9688 }
9689 {
9690 if (temp7)
9691 delete arg7;
9692 }
9693 return resultobj;
9694fail:
9695 {
9696 if (temp7)
9697 delete arg7;
9698 }
9699 return NULL;
d14a1e28
RD
9700}
9701
9702
0085ce49
RD
9703SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9704 PyObject *resultobj = 0;
9705 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9706 wxWindow *result = 0 ;
9707 void *argp1 = 0 ;
9708 int res1 = 0 ;
9709 PyObject *swig_obj[1] ;
9710
9711 if (!args) SWIG_fail;
9712 swig_obj[0] = args;
9713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9714 if (!SWIG_IsOK(res1)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9716 }
9717 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 {
9725 resultobj = wxPyMake_wxObject(result, 0);
9726 }
9727 return resultobj;
9728fail:
9729 return NULL;
d14a1e28
RD
9730}
9731
9732
0085ce49
RD
9733SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9734 PyObject *resultobj = 0;
9735 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9736 wxWindow *result = 0 ;
9737 void *argp1 = 0 ;
9738 int res1 = 0 ;
9739 PyObject *swig_obj[1] ;
9740
9741 if (!args) SWIG_fail;
9742 swig_obj[0] = args;
9743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9744 if (!SWIG_IsOK(res1)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9746 }
9747 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 {
9755 resultobj = wxPyMake_wxObject(result, 0);
9756 }
9757 return resultobj;
9758fail:
9759 return NULL;
9760}
9761
9762
9763SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj = 0;
9765 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9766 int arg2 ;
9767 void *argp1 = 0 ;
9768 int res1 = 0 ;
9769 int val2 ;
9770 int ecode2 = 0 ;
9771 PyObject * obj0 = 0 ;
9772 PyObject * obj1 = 0 ;
9773 char * kwnames[] = {
9774 (char *) "self",(char *) "mode", NULL
9775 };
9776
9777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9779 if (!SWIG_IsOK(res1)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9781 }
9782 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9783 ecode2 = SWIG_AsVal_int(obj1, &val2);
9784 if (!SWIG_IsOK(ecode2)) {
9785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9786 }
9787 arg2 = static_cast< int >(val2);
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 (arg1)->SetSplitMode(arg2);
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 resultobj = SWIG_Py_Void();
9795 return resultobj;
9796fail:
9797 return NULL;
d14a1e28
RD
9798}
9799
9800
0085ce49
RD
9801SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9802 PyObject *resultobj = 0;
9803 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9804 wxSplitMode result;
9805 void *argp1 = 0 ;
9806 int res1 = 0 ;
9807 PyObject *swig_obj[1] ;
9808
9809 if (!args) SWIG_fail;
9810 swig_obj[0] = args;
9811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9812 if (!SWIG_IsOK(res1)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9814 }
9815 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9816 {
9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
9818 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 resultobj = SWIG_From_int(static_cast< int >(result));
9823 return resultobj;
9824fail:
9825 return NULL;
9826}
9827
9828
9829SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj = 0;
9831 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9832 wxWindow *arg2 = (wxWindow *) 0 ;
9833 void *argp1 = 0 ;
9834 int res1 = 0 ;
9835 void *argp2 = 0 ;
9836 int res2 = 0 ;
9837 PyObject * obj0 = 0 ;
9838 PyObject * obj1 = 0 ;
9839 char * kwnames[] = {
9840 (char *) "self",(char *) "window", NULL
9841 };
9842
9843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9845 if (!SWIG_IsOK(res1)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9847 }
9848 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9849 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9850 if (!SWIG_IsOK(res2)) {
9851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9852 }
9853 arg2 = reinterpret_cast< wxWindow * >(argp2);
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 (arg1)->Initialize(arg2);
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 resultobj = SWIG_Py_Void();
9861 return resultobj;
9862fail:
9863 return NULL;
9864}
9865
9866
9867SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj = 0;
9869 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9870 wxWindow *arg2 = (wxWindow *) 0 ;
9871 wxWindow *arg3 = (wxWindow *) 0 ;
9872 int arg4 = (int) 0 ;
9873 bool result;
9874 void *argp1 = 0 ;
9875 int res1 = 0 ;
9876 void *argp2 = 0 ;
9877 int res2 = 0 ;
9878 void *argp3 = 0 ;
9879 int res3 = 0 ;
9880 int val4 ;
9881 int ecode4 = 0 ;
9882 PyObject * obj0 = 0 ;
9883 PyObject * obj1 = 0 ;
9884 PyObject * obj2 = 0 ;
9885 PyObject * obj3 = 0 ;
9886 char * kwnames[] = {
9887 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9888 };
9889
9890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9892 if (!SWIG_IsOK(res1)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9894 }
9895 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res2)) {
9898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9899 }
9900 arg2 = reinterpret_cast< wxWindow * >(argp2);
9901 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9902 if (!SWIG_IsOK(res3)) {
9903 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9904 }
9905 arg3 = reinterpret_cast< wxWindow * >(argp3);
9906 if (obj3) {
9907 ecode4 = SWIG_AsVal_int(obj3, &val4);
9908 if (!SWIG_IsOK(ecode4)) {
9909 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9910 }
9911 arg4 = static_cast< int >(val4);
9912 }
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
9919 {
9920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9921 }
9922 return resultobj;
9923fail:
9924 return NULL;
9925}
9926
9927
9928SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj = 0;
9930 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9931 wxWindow *arg2 = (wxWindow *) 0 ;
9932 wxWindow *arg3 = (wxWindow *) 0 ;
9933 int arg4 = (int) 0 ;
9934 bool result;
9935 void *argp1 = 0 ;
9936 int res1 = 0 ;
9937 void *argp2 = 0 ;
9938 int res2 = 0 ;
9939 void *argp3 = 0 ;
9940 int res3 = 0 ;
9941 int val4 ;
9942 int ecode4 = 0 ;
9943 PyObject * obj0 = 0 ;
9944 PyObject * obj1 = 0 ;
9945 PyObject * obj2 = 0 ;
9946 PyObject * obj3 = 0 ;
9947 char * kwnames[] = {
9948 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9949 };
9950
9951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9953 if (!SWIG_IsOK(res1)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9955 }
9956 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9957 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9958 if (!SWIG_IsOK(res2)) {
9959 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9960 }
9961 arg2 = reinterpret_cast< wxWindow * >(argp2);
9962 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9963 if (!SWIG_IsOK(res3)) {
9964 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9965 }
9966 arg3 = reinterpret_cast< wxWindow * >(argp3);
9967 if (obj3) {
9968 ecode4 = SWIG_AsVal_int(obj3, &val4);
9969 if (!SWIG_IsOK(ecode4)) {
9970 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9971 }
9972 arg4 = static_cast< int >(val4);
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 {
9981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9982 }
9983 return resultobj;
9984fail:
9985 return NULL;
9986}
9987
9988
9989SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj = 0;
9991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9992 wxWindow *arg2 = (wxWindow *) NULL ;
9993 bool result;
9994 void *argp1 = 0 ;
9995 int res1 = 0 ;
9996 void *argp2 = 0 ;
9997 int res2 = 0 ;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 char * kwnames[] = {
10001 (char *) "self",(char *) "toRemove", NULL
10002 };
10003
10004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10006 if (!SWIG_IsOK(res1)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10008 }
10009 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10010 if (obj1) {
10011 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10012 if (!SWIG_IsOK(res2)) {
10013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 10014 }
0085ce49
RD
10015 arg2 = reinterpret_cast< wxWindow * >(argp2);
10016 }
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 result = (bool)(arg1)->Unsplit(arg2);
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 {
10024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10025 }
10026 return resultobj;
10027fail:
10028 return NULL;
10029}
10030
10031
10032SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj = 0;
10034 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10035 wxWindow *arg2 = (wxWindow *) 0 ;
10036 wxWindow *arg3 = (wxWindow *) 0 ;
10037 bool result;
10038 void *argp1 = 0 ;
10039 int res1 = 0 ;
10040 void *argp2 = 0 ;
10041 int res2 = 0 ;
10042 void *argp3 = 0 ;
10043 int res3 = 0 ;
10044 PyObject * obj0 = 0 ;
10045 PyObject * obj1 = 0 ;
10046 PyObject * obj2 = 0 ;
10047 char * kwnames[] = {
10048 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10049 };
10050
10051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10053 if (!SWIG_IsOK(res1)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10055 }
10056 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10057 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res2)) {
10059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10060 }
10061 arg2 = reinterpret_cast< wxWindow * >(argp2);
10062 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10063 if (!SWIG_IsOK(res3)) {
10064 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10065 }
10066 arg3 = reinterpret_cast< wxWindow * >(argp3);
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 {
10074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10075 }
10076 return resultobj;
10077fail:
10078 return NULL;
d14a1e28
RD
10079}
10080
10081
0085ce49
RD
10082SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10083 PyObject *resultobj = 0;
10084 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10085 void *argp1 = 0 ;
10086 int res1 = 0 ;
10087 PyObject *swig_obj[1] ;
10088
10089 if (!args) SWIG_fail;
10090 swig_obj[0] = args;
10091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 }
10095 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 (arg1)->UpdateSize();
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = SWIG_Py_Void();
10103 return resultobj;
10104fail:
10105 return NULL;
22bfe96c
RD
10106}
10107
10108
0085ce49
RD
10109SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10110 PyObject *resultobj = 0;
10111 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10112 bool result;
10113 void *argp1 = 0 ;
10114 int res1 = 0 ;
10115 PyObject *swig_obj[1] ;
10116
10117 if (!args) SWIG_fail;
10118 swig_obj[0] = args;
10119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10120 if (!SWIG_IsOK(res1)) {
10121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10122 }
10123 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 {
10131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10132 }
10133 return resultobj;
10134fail:
10135 return NULL;
10136}
10137
10138
10139SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10140 PyObject *resultobj = 0;
10141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10142 int arg2 ;
10143 void *argp1 = 0 ;
10144 int res1 = 0 ;
10145 int val2 ;
10146 int ecode2 = 0 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 char * kwnames[] = {
10150 (char *) "self",(char *) "width", NULL
10151 };
10152
10153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10155 if (!SWIG_IsOK(res1)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10157 }
10158 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10159 ecode2 = SWIG_AsVal_int(obj1, &val2);
10160 if (!SWIG_IsOK(ecode2)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10162 }
10163 arg2 = static_cast< int >(val2);
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 (arg1)->SetSashSize(arg2);
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 resultobj = SWIG_Py_Void();
10171 return resultobj;
10172fail:
10173 return NULL;
10174}
10175
10176
10177SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10178 PyObject *resultobj = 0;
10179 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10180 int arg2 ;
10181 void *argp1 = 0 ;
10182 int res1 = 0 ;
10183 int val2 ;
10184 int ecode2 = 0 ;
10185 PyObject * obj0 = 0 ;
10186 PyObject * obj1 = 0 ;
10187 char * kwnames[] = {
10188 (char *) "self",(char *) "width", NULL
10189 };
10190
10191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10193 if (!SWIG_IsOK(res1)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10195 }
10196 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10197 ecode2 = SWIG_AsVal_int(obj1, &val2);
10198 if (!SWIG_IsOK(ecode2)) {
10199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10200 }
10201 arg2 = static_cast< int >(val2);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 (arg1)->SetBorderSize(arg2);
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_Py_Void();
10209 return resultobj;
10210fail:
10211 return NULL;
d14a1e28
RD
10212}
10213
10214
0085ce49
RD
10215SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 int result;
10219 void *argp1 = 0 ;
10220 int res1 = 0 ;
10221 PyObject *swig_obj[1] ;
10222
10223 if (!args) SWIG_fail;
10224 swig_obj[0] = args;
10225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10226 if (!SWIG_IsOK(res1)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10228 }
10229 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 resultobj = SWIG_From_int(static_cast< int >(result));
10237 return resultobj;
10238fail:
10239 return NULL;
d14a1e28
RD
10240}
10241
10242
0085ce49
RD
10243SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10244 PyObject *resultobj = 0;
10245 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10246 int result;
10247 void *argp1 = 0 ;
10248 int res1 = 0 ;
10249 PyObject *swig_obj[1] ;
10250
10251 if (!args) SWIG_fail;
10252 swig_obj[0] = args;
10253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10254 if (!SWIG_IsOK(res1)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10256 }
10257 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_From_int(static_cast< int >(result));
10265 return resultobj;
10266fail:
10267 return NULL;
10268}
10269
10270
10271SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj = 0;
10273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10274 int arg2 ;
10275 bool arg3 = (bool) true ;
10276 void *argp1 = 0 ;
10277 int res1 = 0 ;
10278 int val2 ;
10279 int ecode2 = 0 ;
10280 bool val3 ;
10281 int ecode3 = 0 ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 PyObject * obj2 = 0 ;
10285 char * kwnames[] = {
10286 (char *) "self",(char *) "position",(char *) "redraw", NULL
10287 };
10288
10289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10291 if (!SWIG_IsOK(res1)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10293 }
10294 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10295 ecode2 = SWIG_AsVal_int(obj1, &val2);
10296 if (!SWIG_IsOK(ecode2)) {
10297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10298 }
10299 arg2 = static_cast< int >(val2);
10300 if (obj2) {
10301 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10302 if (!SWIG_IsOK(ecode3)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10304 }
10305 arg3 = static_cast< bool >(val3);
10306 }
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->SetSashPosition(arg2,arg3);
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 resultobj = SWIG_Py_Void();
10314 return resultobj;
10315fail:
10316 return NULL;
d14a1e28
RD
10317}
10318
10319
0085ce49
RD
10320SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10321 PyObject *resultobj = 0;
10322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10323 int result;
10324 void *argp1 = 0 ;
10325 int res1 = 0 ;
10326 PyObject *swig_obj[1] ;
10327
10328 if (!args) SWIG_fail;
10329 swig_obj[0] = args;
10330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10331 if (!SWIG_IsOK(res1)) {
10332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10333 }
10334 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = SWIG_From_int(static_cast< int >(result));
10342 return resultobj;
10343fail:
10344 return NULL;
10345}
10346
10347
10348SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj = 0;
10350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10351 double arg2 ;
10352 void *argp1 = 0 ;
10353 int res1 = 0 ;
10354 double val2 ;
10355 int ecode2 = 0 ;
10356 PyObject * obj0 = 0 ;
10357 PyObject * obj1 = 0 ;
10358 char * kwnames[] = {
10359 (char *) "self",(char *) "gravity", NULL
10360 };
10361
10362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10364 if (!SWIG_IsOK(res1)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10366 }
10367 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10368 ecode2 = SWIG_AsVal_double(obj1, &val2);
10369 if (!SWIG_IsOK(ecode2)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10371 }
10372 arg2 = static_cast< double >(val2);
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 (arg1)->SetSashGravity(arg2);
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 resultobj = SWIG_Py_Void();
10380 return resultobj;
10381fail:
10382 return NULL;
d14a1e28
RD
10383}
10384
10385
0085ce49
RD
10386SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10387 PyObject *resultobj = 0;
10388 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10389 double result;
10390 void *argp1 = 0 ;
10391 int res1 = 0 ;
10392 PyObject *swig_obj[1] ;
10393
10394 if (!args) SWIG_fail;
10395 swig_obj[0] = args;
10396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10397 if (!SWIG_IsOK(res1)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10399 }
10400 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 resultobj = SWIG_From_double(static_cast< double >(result));
10408 return resultobj;
10409fail:
10410 return NULL;
10411}
10412
10413
10414SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj = 0;
10416 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10417 int arg2 ;
10418 void *argp1 = 0 ;
10419 int res1 = 0 ;
10420 int val2 ;
10421 int ecode2 = 0 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char * kwnames[] = {
10425 (char *) "self",(char *) "min", NULL
10426 };
10427
10428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10430 if (!SWIG_IsOK(res1)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10432 }
10433 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10434 ecode2 = SWIG_AsVal_int(obj1, &val2);
10435 if (!SWIG_IsOK(ecode2)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10437 }
10438 arg2 = static_cast< int >(val2);
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 (arg1)->SetMinimumPaneSize(arg2);
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 resultobj = SWIG_Py_Void();
10446 return resultobj;
10447fail:
10448 return NULL;
d14a1e28
RD
10449}
10450
10451
0085ce49
RD
10452SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10453 PyObject *resultobj = 0;
10454 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10455 int result;
10456 void *argp1 = 0 ;
10457 int res1 = 0 ;
10458 PyObject *swig_obj[1] ;
10459
10460 if (!args) SWIG_fail;
10461 swig_obj[0] = args;
10462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10463 if (!SWIG_IsOK(res1)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10465 }
10466 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = SWIG_From_int(static_cast< int >(result));
10474 return resultobj;
10475fail:
10476 return NULL;
10477}
10478
10479
10480SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj = 0;
10482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10483 int arg2 ;
10484 int arg3 ;
10485 int arg4 = (int) 5 ;
10486 bool result;
10487 void *argp1 = 0 ;
10488 int res1 = 0 ;
10489 int val2 ;
10490 int ecode2 = 0 ;
10491 int val3 ;
10492 int ecode3 = 0 ;
10493 int val4 ;
10494 int ecode4 = 0 ;
10495 PyObject * obj0 = 0 ;
10496 PyObject * obj1 = 0 ;
10497 PyObject * obj2 = 0 ;
10498 PyObject * obj3 = 0 ;
10499 char * kwnames[] = {
10500 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10501 };
10502
10503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10505 if (!SWIG_IsOK(res1)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10507 }
10508 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10509 ecode2 = SWIG_AsVal_int(obj1, &val2);
10510 if (!SWIG_IsOK(ecode2)) {
10511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10512 }
10513 arg2 = static_cast< int >(val2);
10514 ecode3 = SWIG_AsVal_int(obj2, &val3);
10515 if (!SWIG_IsOK(ecode3)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10517 }
10518 arg3 = static_cast< int >(val3);
10519 if (obj3) {
10520 ecode4 = SWIG_AsVal_int(obj3, &val4);
10521 if (!SWIG_IsOK(ecode4)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10523 }
10524 arg4 = static_cast< int >(val4);
10525 }
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 {
10533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10534 }
10535 return resultobj;
10536fail:
10537 return NULL;
b1fcee84
RD
10538}
10539
10540
0085ce49
RD
10541SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 PyObject *resultobj = 0;
10543 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10544 void *argp1 = 0 ;
10545 int res1 = 0 ;
10546 PyObject *swig_obj[1] ;
10547
10548 if (!args) SWIG_fail;
10549 swig_obj[0] = args;
10550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10551 if (!SWIG_IsOK(res1)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10553 }
10554 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 (arg1)->SizeWindows();
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 resultobj = SWIG_Py_Void();
10562 return resultobj;
10563fail:
10564 return NULL;
10565}
10566
10567
10568SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj = 0;
10570 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10571 bool arg2 ;
10572 void *argp1 = 0 ;
10573 int res1 = 0 ;
10574 bool val2 ;
10575 int ecode2 = 0 ;
10576 PyObject * obj0 = 0 ;
10577 PyObject * obj1 = 0 ;
10578 char * kwnames[] = {
10579 (char *) "self",(char *) "needUpdating", NULL
10580 };
10581
10582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10584 if (!SWIG_IsOK(res1)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10586 }
10587 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10589 if (!SWIG_IsOK(ecode2)) {
10590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10591 }
10592 arg2 = static_cast< bool >(val2);
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 (arg1)->SetNeedUpdating(arg2);
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 resultobj = SWIG_Py_Void();
10600 return resultobj;
10601fail:
10602 return NULL;
b1fcee84
RD
10603}
10604
10605
0085ce49
RD
10606SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10607 PyObject *resultobj = 0;
10608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10609 bool result;
10610 void *argp1 = 0 ;
10611 int res1 = 0 ;
10612 PyObject *swig_obj[1] ;
10613
10614 if (!args) SWIG_fail;
10615 swig_obj[0] = args;
10616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10617 if (!SWIG_IsOK(res1)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10619 }
10620 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 {
10628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10629 }
10630 return resultobj;
10631fail:
10632 return NULL;
b1fcee84
RD
10633}
10634
10635
0085ce49
RD
10636SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj = 0;
10638 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10639 SwigValueWrapper<wxVisualAttributes > result;
10640 int val1 ;
10641 int ecode1 = 0 ;
10642 PyObject * obj0 = 0 ;
10643 char * kwnames[] = {
10644 (char *) "variant", NULL
10645 };
10646
10647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10648 if (obj0) {
10649 ecode1 = SWIG_AsVal_int(obj0, &val1);
10650 if (!SWIG_IsOK(ecode1)) {
10651 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10652 }
10653 arg1 = static_cast< wxWindowVariant >(val1);
10654 }
10655 {
10656 if (!wxPyCheckForApp()) SWIG_fail;
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10663 return resultobj;
10664fail:
10665 return NULL;
b1fcee84
RD
10666}
10667
10668
0085ce49
RD
10669SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10670 PyObject *obj;
10671 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10672 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10673 return SWIG_Py_Void();
d14a1e28
RD
10674}
10675
0085ce49
RD
10676SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10677 return SWIG_Python_InitShadowInstance(args);
e505d15e
RD
10678}
10679
0085ce49
RD
10680SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj = 0;
10682 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10683 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10684 wxSplitterEvent *result = 0 ;
10685 int val1 ;
10686 int ecode1 = 0 ;
10687 void *argp2 = 0 ;
10688 int res2 = 0 ;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 char * kwnames[] = {
10692 (char *) "type",(char *) "splitter", NULL
10693 };
10694
10695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10696 if (obj0) {
10697 ecode1 = SWIG_AsVal_int(obj0, &val1);
10698 if (!SWIG_IsOK(ecode1)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10700 }
10701 arg1 = static_cast< wxEventType >(val1);
10702 }
10703 if (obj1) {
10704 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10705 if (!SWIG_IsOK(res2)) {
10706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
4f89f6a3 10707 }
0085ce49
RD
10708 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10717 return resultobj;
10718fail:
10719 return NULL;
10720}
10721
10722
10723SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj = 0;
10725 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10726 int arg2 ;
10727 void *argp1 = 0 ;
10728 int res1 = 0 ;
10729 int val2 ;
10730 int ecode2 = 0 ;
10731 PyObject * obj0 = 0 ;
10732 PyObject * obj1 = 0 ;
10733 char * kwnames[] = {
10734 (char *) "self",(char *) "pos", NULL
10735 };
10736
10737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10739 if (!SWIG_IsOK(res1)) {
10740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10741 }
10742 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10743 ecode2 = SWIG_AsVal_int(obj1, &val2);
10744 if (!SWIG_IsOK(ecode2)) {
10745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10746 }
10747 arg2 = static_cast< int >(val2);
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetSashPosition(arg2);
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 resultobj = SWIG_Py_Void();
10755 return resultobj;
10756fail:
10757 return NULL;
d14a1e28
RD
10758}
10759
10760
0085ce49
RD
10761SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10762 PyObject *resultobj = 0;
10763 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10764 int result;
10765 void *argp1 = 0 ;
10766 int res1 = 0 ;
10767 PyObject *swig_obj[1] ;
10768
10769 if (!args) SWIG_fail;
10770 swig_obj[0] = args;
10771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10772 if (!SWIG_IsOK(res1)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10774 }
10775 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 resultobj = SWIG_From_int(static_cast< int >(result));
10783 return resultobj;
10784fail:
10785 return NULL;
d14a1e28
RD
10786}
10787
10788
0085ce49
RD
10789SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10790 PyObject *resultobj = 0;
10791 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10792 wxWindow *result = 0 ;
10793 void *argp1 = 0 ;
10794 int res1 = 0 ;
10795 PyObject *swig_obj[1] ;
10796
10797 if (!args) SWIG_fail;
10798 swig_obj[0] = args;
10799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10800 if (!SWIG_IsOK(res1)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10802 }
10803 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 {
10811 resultobj = wxPyMake_wxObject(result, 0);
10812 }
10813 return resultobj;
10814fail:
10815 return NULL;
d14a1e28
RD
10816}
10817
10818
0085ce49
RD
10819SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 PyObject *resultobj = 0;
10821 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10822 int result;
10823 void *argp1 = 0 ;
10824 int res1 = 0 ;
10825 PyObject *swig_obj[1] ;
10826
10827 if (!args) SWIG_fail;
10828 swig_obj[0] = args;
10829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10830 if (!SWIG_IsOK(res1)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10832 }
10833 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 resultobj = SWIG_From_int(static_cast< int >(result));
10841 return resultobj;
10842fail:
10843 return NULL;
22bfe96c
RD
10844}
10845
10846
0085ce49
RD
10847SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10848 PyObject *resultobj = 0;
10849 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10850 int result;
10851 void *argp1 = 0 ;
10852 int res1 = 0 ;
10853 PyObject *swig_obj[1] ;
10854
10855 if (!args) SWIG_fail;
10856 swig_obj[0] = args;
10857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10858 if (!SWIG_IsOK(res1)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10860 }
10861 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 resultobj = SWIG_From_int(static_cast< int >(result));
10869 return resultobj;
10870fail:
10871 return NULL;
d14a1e28
RD
10872}
10873
10874
0085ce49
RD
10875SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10876 PyObject *obj;
10877 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10878 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10879 return SWIG_Py_Void();
d14a1e28
RD
10880}
10881
0085ce49
RD
10882SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10883 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
10884}
10885
0085ce49
RD
10886SWIGINTERN int SashNameStr_set(PyObject *) {
10887 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10888 return 1;
d14a1e28
RD
10889}
10890
10891
0085ce49
RD
10892SWIGINTERN PyObject *SashNameStr_get(void) {
10893 PyObject *pyobj = 0;
10894
10895 {
10896#if wxUSE_UNICODE
10897 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10898#else
10899 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10900#endif
10901 }
10902 return pyobj;
d14a1e28
RD
10903}
10904
10905
0085ce49
RD
10906SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10907 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10908 return 1;
d14a1e28
RD
10909}
10910
10911
0085ce49
RD
10912SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10913 PyObject *pyobj = 0;
10914
10915 {
10916#if wxUSE_UNICODE
10917 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10918#else
10919 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10920#endif
10921 }
10922 return pyobj;
10923}
10924
10925
10926SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10927 PyObject *resultobj = 0;
10928 wxWindow *arg1 = (wxWindow *) 0 ;
10929 int arg2 = (int) -1 ;
10930 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10931 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10932 wxSize const &arg4_defvalue = wxDefaultSize ;
10933 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10934 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10935 wxString const &arg6_defvalue = wxPySashNameStr ;
10936 wxString *arg6 = (wxString *) &arg6_defvalue ;
10937 wxSashWindow *result = 0 ;
10938 void *argp1 = 0 ;
10939 int res1 = 0 ;
10940 int val2 ;
10941 int ecode2 = 0 ;
10942 wxPoint temp3 ;
10943 wxSize temp4 ;
10944 long val5 ;
10945 int ecode5 = 0 ;
10946 bool temp6 = false ;
10947 PyObject * obj0 = 0 ;
10948 PyObject * obj1 = 0 ;
10949 PyObject * obj2 = 0 ;
10950 PyObject * obj3 = 0 ;
10951 PyObject * obj4 = 0 ;
10952 PyObject * obj5 = 0 ;
10953 char * kwnames[] = {
10954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10955 };
10956
10957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10959 if (!SWIG_IsOK(res1)) {
10960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10961 }
10962 arg1 = reinterpret_cast< wxWindow * >(argp1);
10963 if (obj1) {
10964 ecode2 = SWIG_AsVal_int(obj1, &val2);
10965 if (!SWIG_IsOK(ecode2)) {
10966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10967 }
10968 arg2 = static_cast< int >(val2);
10969 }
10970 if (obj2) {
093d3ff1 10971 {
0085ce49
RD
10972 arg3 = &temp3;
10973 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
994141e6 10974 }
0085ce49
RD
10975 }
10976 if (obj3) {
d14a1e28 10977 {
0085ce49
RD
10978 arg4 = &temp4;
10979 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10980 }
0085ce49
RD
10981 }
10982 if (obj4) {
10983 ecode5 = SWIG_AsVal_long(obj4, &val5);
10984 if (!SWIG_IsOK(ecode5)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10986 }
10987 arg5 = static_cast< long >(val5);
10988 }
10989 if (obj5) {
093d3ff1 10990 {
0085ce49
RD
10991 arg6 = wxString_in_helper(obj5);
10992 if (arg6 == NULL) SWIG_fail;
10993 temp6 = true;
093d3ff1 10994 }
0085ce49
RD
10995 }
10996 {
10997 if (!wxPyCheckForApp()) SWIG_fail;
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11004 {
11005 if (temp6)
11006 delete arg6;
11007 }
11008 return resultobj;
11009fail:
11010 {
11011 if (temp6)
11012 delete arg6;
11013 }
11014 return NULL;
d14a1e28
RD
11015}
11016
11017
0085ce49
RD
11018SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11019 PyObject *resultobj = 0;
11020 wxSashWindow *result = 0 ;
11021
11022 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11023 {
11024 if (!wxPyCheckForApp()) SWIG_fail;
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxSashWindow *)new wxSashWindow();
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11031 return resultobj;
11032fail:
11033 return NULL;
11034}
11035
11036
11037SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj = 0;
11039 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11040 wxWindow *arg2 = (wxWindow *) 0 ;
11041 int arg3 = (int) -1 ;
11042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11044 wxSize const &arg5_defvalue = wxDefaultSize ;
11045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11046 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11047 wxString const &arg7_defvalue = wxPySashNameStr ;
11048 wxString *arg7 = (wxString *) &arg7_defvalue ;
11049 bool result;
11050 void *argp1 = 0 ;
11051 int res1 = 0 ;
11052 void *argp2 = 0 ;
11053 int res2 = 0 ;
11054 int val3 ;
11055 int ecode3 = 0 ;
11056 wxPoint temp4 ;
11057 wxSize temp5 ;
11058 long val6 ;
11059 int ecode6 = 0 ;
11060 bool temp7 = false ;
11061 PyObject * obj0 = 0 ;
11062 PyObject * obj1 = 0 ;
11063 PyObject * obj2 = 0 ;
11064 PyObject * obj3 = 0 ;
11065 PyObject * obj4 = 0 ;
11066 PyObject * obj5 = 0 ;
11067 PyObject * obj6 = 0 ;
11068 char * kwnames[] = {
11069 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11070 };
11071
11072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11074 if (!SWIG_IsOK(res1)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11076 }
11077 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11079 if (!SWIG_IsOK(res2)) {
11080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11081 }
11082 arg2 = reinterpret_cast< wxWindow * >(argp2);
11083 if (obj2) {
11084 ecode3 = SWIG_AsVal_int(obj2, &val3);
11085 if (!SWIG_IsOK(ecode3)) {
11086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11087 }
11088 arg3 = static_cast< int >(val3);
11089 }
11090 if (obj3) {
093d3ff1 11091 {
0085ce49
RD
11092 arg4 = &temp4;
11093 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 11094 }
0085ce49
RD
11095 }
11096 if (obj4) {
d14a1e28 11097 {
0085ce49
RD
11098 arg5 = &temp5;
11099 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11100 }
0085ce49
RD
11101 }
11102 if (obj5) {
11103 ecode6 = SWIG_AsVal_long(obj5, &val6);
11104 if (!SWIG_IsOK(ecode6)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11106 }
11107 arg6 = static_cast< long >(val6);
11108 }
11109 if (obj6) {
d14a1e28 11110 {
0085ce49
RD
11111 arg7 = wxString_in_helper(obj6);
11112 if (arg7 == NULL) SWIG_fail;
11113 temp7 = true;
d14a1e28 11114 }
0085ce49
RD
11115 }
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 {
11123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11124 }
11125 {
11126 if (temp7)
11127 delete arg7;
11128 }
11129 return resultobj;
11130fail:
11131 {
11132 if (temp7)
11133 delete arg7;
11134 }
11135 return NULL;
11136}
11137
11138
11139SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj = 0;
11141 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11142 wxSashEdgePosition arg2 ;
11143 bool arg3 ;
11144 void *argp1 = 0 ;
11145 int res1 = 0 ;
11146 int val2 ;
11147 int ecode2 = 0 ;
11148 bool val3 ;
11149 int ecode3 = 0 ;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 PyObject * obj2 = 0 ;
11153 char * kwnames[] = {
11154 (char *) "self",(char *) "edge",(char *) "sash", NULL
11155 };
11156
11157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11159 if (!SWIG_IsOK(res1)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11161 }
11162 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11163 ecode2 = SWIG_AsVal_int(obj1, &val2);
11164 if (!SWIG_IsOK(ecode2)) {
11165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11166 }
11167 arg2 = static_cast< wxSashEdgePosition >(val2);
11168 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11169 if (!SWIG_IsOK(ecode3)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11171 }
11172 arg3 = static_cast< bool >(val3);
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 (arg1)->SetSashVisible(arg2,arg3);
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_Py_Void();
11180 return resultobj;
11181fail:
11182 return NULL;
11183}
11184
11185
11186SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj = 0;
11188 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11189 wxSashEdgePosition arg2 ;
11190 bool result;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 int val2 ;
11194 int ecode2 = 0 ;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 char * kwnames[] = {
11198 (char *) "self",(char *) "edge", NULL
11199 };
11200
11201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11203 if (!SWIG_IsOK(res1)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11205 }
11206 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11207 ecode2 = SWIG_AsVal_int(obj1, &val2);
11208 if (!SWIG_IsOK(ecode2)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11210 }
11211 arg2 = static_cast< wxSashEdgePosition >(val2);
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 {
11219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11220 }
11221 return resultobj;
11222fail:
11223 return NULL;
11224}
11225
11226
0085ce49
RD
11227SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11228 PyObject *resultobj = 0;
11229 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11230 wxSashEdgePosition arg2 ;
11231 int result;
11232 void *argp1 = 0 ;
11233 int res1 = 0 ;
11234 int val2 ;
11235 int ecode2 = 0 ;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char * kwnames[] = {
11239 (char *) "self",(char *) "edge", NULL
11240 };
11241
11242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11244 if (!SWIG_IsOK(res1)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11246 }
11247 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11248 ecode2 = SWIG_AsVal_int(obj1, &val2);
11249 if (!SWIG_IsOK(ecode2)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11251 }
11252 arg2 = static_cast< wxSashEdgePosition >(val2);
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 resultobj = SWIG_From_int(static_cast< int >(result));
11260 return resultobj;
11261fail:
11262 return NULL;
11263}
11264
11265
11266SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj = 0;
11268 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11269 int arg2 ;
11270 void *argp1 = 0 ;
11271 int res1 = 0 ;
11272 int val2 ;
11273 int ecode2 = 0 ;
11274 PyObject * obj0 = 0 ;
11275 PyObject * obj1 = 0 ;
11276 char * kwnames[] = {
11277 (char *) "self",(char *) "width", NULL
11278 };
11279
11280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11282 if (!SWIG_IsOK(res1)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11284 }
11285 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11286 ecode2 = SWIG_AsVal_int(obj1, &val2);
11287 if (!SWIG_IsOK(ecode2)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11289 }
11290 arg2 = static_cast< int >(val2);
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 (arg1)->SetDefaultBorderSize(arg2);
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 resultobj = SWIG_Py_Void();
11298 return resultobj;
11299fail:
11300 return NULL;
d14a1e28
RD
11301}
11302
11303
0085ce49
RD
11304SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11305 PyObject *resultobj = 0;
11306 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11307 int result;
11308 void *argp1 = 0 ;
11309 int res1 = 0 ;
11310 PyObject *swig_obj[1] ;
11311
11312 if (!args) SWIG_fail;
11313 swig_obj[0] = args;
11314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11315 if (!SWIG_IsOK(res1)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11317 }
11318 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 resultobj = SWIG_From_int(static_cast< int >(result));
11326 return resultobj;
11327fail:
11328 return NULL;
11329}
11330
11331
11332SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj = 0;
11334 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11335 int arg2 ;
11336 void *argp1 = 0 ;
11337 int res1 = 0 ;
11338 int val2 ;
11339 int ecode2 = 0 ;
11340 PyObject * obj0 = 0 ;
11341 PyObject * obj1 = 0 ;
11342 char * kwnames[] = {
11343 (char *) "self",(char *) "width", NULL
11344 };
11345
11346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11348 if (!SWIG_IsOK(res1)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11350 }
11351 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11352 ecode2 = SWIG_AsVal_int(obj1, &val2);
11353 if (!SWIG_IsOK(ecode2)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11355 }
11356 arg2 = static_cast< int >(val2);
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 (arg1)->SetExtraBorderSize(arg2);
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 resultobj = SWIG_Py_Void();
11364 return resultobj;
11365fail:
11366 return NULL;
d14a1e28
RD
11367}
11368
11369
0085ce49
RD
11370SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11371 PyObject *resultobj = 0;
11372 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11373 int result;
11374 void *argp1 = 0 ;
11375 int res1 = 0 ;
11376 PyObject *swig_obj[1] ;
11377
11378 if (!args) SWIG_fail;
11379 swig_obj[0] = args;
11380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11381 if (!SWIG_IsOK(res1)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11383 }
11384 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 resultobj = SWIG_From_int(static_cast< int >(result));
11392 return resultobj;
11393fail:
11394 return NULL;
11395}
11396
11397
11398SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj = 0;
11400 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11401 int arg2 ;
11402 void *argp1 = 0 ;
11403 int res1 = 0 ;
11404 int val2 ;
11405 int ecode2 = 0 ;
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj1 = 0 ;
11408 char * kwnames[] = {
11409 (char *) "self",(char *) "min", NULL
11410 };
11411
11412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11414 if (!SWIG_IsOK(res1)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11416 }
11417 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11418 ecode2 = SWIG_AsVal_int(obj1, &val2);
11419 if (!SWIG_IsOK(ecode2)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11421 }
11422 arg2 = static_cast< int >(val2);
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 (arg1)->SetMinimumSizeX(arg2);
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = SWIG_Py_Void();
11430 return resultobj;
11431fail:
11432 return NULL;
11433}
11434
11435
11436SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj = 0;
11438 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11439 int arg2 ;
11440 void *argp1 = 0 ;
11441 int res1 = 0 ;
11442 int val2 ;
11443 int ecode2 = 0 ;
11444 PyObject * obj0 = 0 ;
11445 PyObject * obj1 = 0 ;
11446 char * kwnames[] = {
11447 (char *) "self",(char *) "min", NULL
11448 };
11449
11450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11452 if (!SWIG_IsOK(res1)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11454 }
11455 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11456 ecode2 = SWIG_AsVal_int(obj1, &val2);
11457 if (!SWIG_IsOK(ecode2)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11459 }
11460 arg2 = static_cast< int >(val2);
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 (arg1)->SetMinimumSizeY(arg2);
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 resultobj = SWIG_Py_Void();
11468 return resultobj;
11469fail:
11470 return NULL;
d14a1e28
RD
11471}
11472
11473
0085ce49
RD
11474SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11475 PyObject *resultobj = 0;
11476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11477 int result;
11478 void *argp1 = 0 ;
11479 int res1 = 0 ;
11480 PyObject *swig_obj[1] ;
11481
11482 if (!args) SWIG_fail;
11483 swig_obj[0] = args;
11484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11485 if (!SWIG_IsOK(res1)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11487 }
11488 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = SWIG_From_int(static_cast< int >(result));
11496 return resultobj;
11497fail:
11498 return NULL;
d14a1e28
RD
11499}
11500
11501
0085ce49
RD
11502SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11503 PyObject *resultobj = 0;
11504 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11505 int result;
11506 void *argp1 = 0 ;
11507 int res1 = 0 ;
11508 PyObject *swig_obj[1] ;
11509
11510 if (!args) SWIG_fail;
11511 swig_obj[0] = args;
11512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11513 if (!SWIG_IsOK(res1)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11515 }
11516 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 resultobj = SWIG_From_int(static_cast< int >(result));
11524 return resultobj;
11525fail:
11526 return NULL;
11527}
11528
11529
11530SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj = 0;
11532 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11533 int arg2 ;
11534 void *argp1 = 0 ;
11535 int res1 = 0 ;
11536 int val2 ;
11537 int ecode2 = 0 ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 char * kwnames[] = {
11541 (char *) "self",(char *) "max", NULL
11542 };
11543
11544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11548 }
11549 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11550 ecode2 = SWIG_AsVal_int(obj1, &val2);
11551 if (!SWIG_IsOK(ecode2)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11553 }
11554 arg2 = static_cast< int >(val2);
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 (arg1)->SetMaximumSizeX(arg2);
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 resultobj = SWIG_Py_Void();
11562 return resultobj;
11563fail:
11564 return NULL;
11565}
11566
11567
11568SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj = 0;
11570 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11571 int arg2 ;
11572 void *argp1 = 0 ;
11573 int res1 = 0 ;
11574 int val2 ;
11575 int ecode2 = 0 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 char * kwnames[] = {
11579 (char *) "self",(char *) "max", NULL
11580 };
11581
11582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11584 if (!SWIG_IsOK(res1)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11586 }
11587 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11588 ecode2 = SWIG_AsVal_int(obj1, &val2);
11589 if (!SWIG_IsOK(ecode2)) {
11590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11591 }
11592 arg2 = static_cast< int >(val2);
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->SetMaximumSizeY(arg2);
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 resultobj = SWIG_Py_Void();
11600 return resultobj;
11601fail:
11602 return NULL;
d14a1e28
RD
11603}
11604
11605
0085ce49
RD
11606SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11607 PyObject *resultobj = 0;
11608 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11609 int result;
11610 void *argp1 = 0 ;
11611 int res1 = 0 ;
11612 PyObject *swig_obj[1] ;
11613
11614 if (!args) SWIG_fail;
11615 swig_obj[0] = args;
11616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11617 if (!SWIG_IsOK(res1)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11619 }
11620 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 resultobj = SWIG_From_int(static_cast< int >(result));
11628 return resultobj;
11629fail:
11630 return NULL;
d14a1e28
RD
11631}
11632
11633
0085ce49
RD
11634SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11635 PyObject *resultobj = 0;
11636 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11637 int result;
11638 void *argp1 = 0 ;
11639 int res1 = 0 ;
11640 PyObject *swig_obj[1] ;
11641
11642 if (!args) SWIG_fail;
11643 swig_obj[0] = args;
11644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11645 if (!SWIG_IsOK(res1)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11647 }
11648 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = SWIG_From_int(static_cast< int >(result));
11656 return resultobj;
11657fail:
11658 return NULL;
11659}
11660
11661
11662SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj = 0;
11664 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11665 int arg2 ;
11666 int arg3 ;
11667 int arg4 = (int) 2 ;
11668 wxSashEdgePosition result;
11669 void *argp1 = 0 ;
11670 int res1 = 0 ;
11671 int val2 ;
11672 int ecode2 = 0 ;
11673 int val3 ;
11674 int ecode3 = 0 ;
11675 int val4 ;
11676 int ecode4 = 0 ;
11677 PyObject * obj0 = 0 ;
11678 PyObject * obj1 = 0 ;
11679 PyObject * obj2 = 0 ;
11680 PyObject * obj3 = 0 ;
11681 char * kwnames[] = {
11682 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11683 };
11684
11685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11687 if (!SWIG_IsOK(res1)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11689 }
11690 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11691 ecode2 = SWIG_AsVal_int(obj1, &val2);
11692 if (!SWIG_IsOK(ecode2)) {
11693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11694 }
11695 arg2 = static_cast< int >(val2);
11696 ecode3 = SWIG_AsVal_int(obj2, &val3);
11697 if (!SWIG_IsOK(ecode3)) {
11698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11699 }
11700 arg3 = static_cast< int >(val3);
11701 if (obj3) {
11702 ecode4 = SWIG_AsVal_int(obj3, &val4);
11703 if (!SWIG_IsOK(ecode4)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11705 }
11706 arg4 = static_cast< int >(val4);
11707 }
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11711 wxPyEndAllowThreads(__tstate);
11712 if (PyErr_Occurred()) SWIG_fail;
11713 }
11714 resultobj = SWIG_From_int(static_cast< int >(result));
11715 return resultobj;
11716fail:
11717 return NULL;
d14a1e28
RD
11718}
11719
11720
0085ce49
RD
11721SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11722 PyObject *resultobj = 0;
11723 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11724 void *argp1 = 0 ;
11725 int res1 = 0 ;
11726 PyObject *swig_obj[1] ;
11727
11728 if (!args) SWIG_fail;
11729 swig_obj[0] = args;
11730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11731 if (!SWIG_IsOK(res1)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11733 }
11734 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 (arg1)->SizeWindows();
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 resultobj = SWIG_Py_Void();
11742 return resultobj;
11743fail:
11744 return NULL;
d14a1e28
RD
11745}
11746
11747
0085ce49
RD
11748SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11749 PyObject *obj;
11750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11752 return SWIG_Py_Void();
d14a1e28
RD
11753}
11754
0085ce49
RD
11755SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11756 return SWIG_Python_InitShadowInstance(args);
f16ab95d
RD
11757}
11758
0085ce49
RD
11759SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj = 0;
11761 int arg1 = (int) 0 ;
11762 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11763 wxSashEvent *result = 0 ;
11764 int val1 ;
11765 int ecode1 = 0 ;
11766 int val2 ;
11767 int ecode2 = 0 ;
11768 PyObject * obj0 = 0 ;
11769 PyObject * obj1 = 0 ;
11770 char * kwnames[] = {
11771 (char *) "id",(char *) "edge", NULL
11772 };
11773
11774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11775 if (obj0) {
11776 ecode1 = SWIG_AsVal_int(obj0, &val1);
11777 if (!SWIG_IsOK(ecode1)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11779 }
11780 arg1 = static_cast< int >(val1);
11781 }
11782 if (obj1) {
11783 ecode2 = SWIG_AsVal_int(obj1, &val2);
11784 if (!SWIG_IsOK(ecode2)) {
11785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11786 }
11787 arg2 = static_cast< wxSashEdgePosition >(val2);
11788 }
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11796 return resultobj;
11797fail:
11798 return NULL;
11799}
11800
11801
11802SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj = 0;
11804 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11805 wxSashEdgePosition arg2 ;
11806 void *argp1 = 0 ;
11807 int res1 = 0 ;
11808 int val2 ;
11809 int ecode2 = 0 ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 char * kwnames[] = {
11813 (char *) "self",(char *) "edge", NULL
11814 };
11815
11816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11818 if (!SWIG_IsOK(res1)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11820 }
11821 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11822 ecode2 = SWIG_AsVal_int(obj1, &val2);
11823 if (!SWIG_IsOK(ecode2)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11825 }
11826 arg2 = static_cast< wxSashEdgePosition >(val2);
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 (arg1)->SetEdge(arg2);
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 resultobj = SWIG_Py_Void();
11834 return resultobj;
11835fail:
11836 return NULL;
d14a1e28
RD
11837}
11838
11839
0085ce49
RD
11840SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11841 PyObject *resultobj = 0;
11842 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11843 wxSashEdgePosition result;
11844 void *argp1 = 0 ;
11845 int res1 = 0 ;
11846 PyObject *swig_obj[1] ;
11847
11848 if (!args) SWIG_fail;
11849 swig_obj[0] = args;
11850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11851 if (!SWIG_IsOK(res1)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11853 }
11854 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11855 {
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 resultobj = SWIG_From_int(static_cast< int >(result));
11862 return resultobj;
11863fail:
11864 return NULL;
11865}
11866
11867
11868SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11869 PyObject *resultobj = 0;
11870 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11871 wxRect *arg2 = 0 ;
11872 void *argp1 = 0 ;
11873 int res1 = 0 ;
11874 wxRect temp2 ;
11875 PyObject * obj0 = 0 ;
11876 PyObject * obj1 = 0 ;
11877 char * kwnames[] = {
11878 (char *) "self",(char *) "rect", NULL
11879 };
11880
11881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11883 if (!SWIG_IsOK(res1)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11885 }
11886 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11887 {
11888 arg2 = &temp2;
11889 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11890 }
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 (arg1)->SetDragRect((wxRect const &)*arg2);
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 resultobj = SWIG_Py_Void();
11898 return resultobj;
11899fail:
11900 return NULL;
d14a1e28
RD
11901}
11902
11903
0085ce49
RD
11904SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11905 PyObject *resultobj = 0;
11906 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11907 wxRect result;
11908 void *argp1 = 0 ;
11909 int res1 = 0 ;
11910 PyObject *swig_obj[1] ;
11911
11912 if (!args) SWIG_fail;
11913 swig_obj[0] = args;
11914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11915 if (!SWIG_IsOK(res1)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11917 }
11918 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 result = ((wxSashEvent const *)arg1)->GetDragRect();
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11926 return resultobj;
11927fail:
11928 return NULL;
11929}
11930
11931
11932SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj = 0;
11934 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11935 wxSashDragStatus arg2 ;
11936 void *argp1 = 0 ;
11937 int res1 = 0 ;
11938 int val2 ;
11939 int ecode2 = 0 ;
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 char * kwnames[] = {
11943 (char *) "self",(char *) "status", NULL
11944 };
11945
11946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11948 if (!SWIG_IsOK(res1)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11950 }
11951 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11952 ecode2 = SWIG_AsVal_int(obj1, &val2);
11953 if (!SWIG_IsOK(ecode2)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11955 }
11956 arg2 = static_cast< wxSashDragStatus >(val2);
11957 {
11958 PyThreadState* __tstate = wxPyBeginAllowThreads();
11959 (arg1)->SetDragStatus(arg2);
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 }
11963 resultobj = SWIG_Py_Void();
11964 return resultobj;
11965fail:
11966 return NULL;
d14a1e28
RD
11967}
11968
11969
0085ce49
RD
11970SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11971 PyObject *resultobj = 0;
11972 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11973 wxSashDragStatus result;
11974 void *argp1 = 0 ;
11975 int res1 = 0 ;
11976 PyObject *swig_obj[1] ;
11977
11978 if (!args) SWIG_fail;
11979 swig_obj[0] = args;
11980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11981 if (!SWIG_IsOK(res1)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11983 }
11984 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_From_int(static_cast< int >(result));
11992 return resultobj;
11993fail:
11994 return NULL;
d14a1e28
RD
11995}
11996
11997
0085ce49
RD
11998SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11999 PyObject *obj;
12000 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12002 return SWIG_Py_Void();
22bfe96c
RD
12003}
12004
0085ce49
RD
12005SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12006 return SWIG_Python_InitShadowInstance(args);
b2dc1044
RD
12007}
12008
0085ce49
RD
12009SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj = 0;
12011 int arg1 = (int) 0 ;
12012 wxQueryLayoutInfoEvent *result = 0 ;
12013 int val1 ;
12014 int ecode1 = 0 ;
12015 PyObject * obj0 = 0 ;
12016 char * kwnames[] = {
12017 (char *) "id", NULL
12018 };
12019
12020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12021 if (obj0) {
12022 ecode1 = SWIG_AsVal_int(obj0, &val1);
12023 if (!SWIG_IsOK(ecode1)) {
12024 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12025 }
12026 arg1 = static_cast< int >(val1);
12027 }
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12035 return resultobj;
12036fail:
12037 return NULL;
12038}
12039
12040
12041SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj = 0;
12043 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12044 int arg2 ;
12045 void *argp1 = 0 ;
12046 int res1 = 0 ;
12047 int val2 ;
12048 int ecode2 = 0 ;
12049 PyObject * obj0 = 0 ;
12050 PyObject * obj1 = 0 ;
12051 char * kwnames[] = {
12052 (char *) "self",(char *) "length", NULL
12053 };
12054
12055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12057 if (!SWIG_IsOK(res1)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12059 }
12060 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12061 ecode2 = SWIG_AsVal_int(obj1, &val2);
12062 if (!SWIG_IsOK(ecode2)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12064 }
12065 arg2 = static_cast< int >(val2);
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 (arg1)->SetRequestedLength(arg2);
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 resultobj = SWIG_Py_Void();
12073 return resultobj;
12074fail:
12075 return NULL;
d14a1e28
RD
12076}
12077
12078
0085ce49
RD
12079SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12080 PyObject *resultobj = 0;
12081 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12082 int result;
12083 void *argp1 = 0 ;
12084 int res1 = 0 ;
12085 PyObject *swig_obj[1] ;
12086
12087 if (!args) SWIG_fail;
12088 swig_obj[0] = args;
12089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12090 if (!SWIG_IsOK(res1)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12092 }
12093 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = SWIG_From_int(static_cast< int >(result));
12101 return resultobj;
12102fail:
12103 return NULL;
12104}
12105
12106
12107SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj = 0;
12109 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12110 int arg2 ;
12111 void *argp1 = 0 ;
12112 int res1 = 0 ;
12113 int val2 ;
12114 int ecode2 = 0 ;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 char * kwnames[] = {
12118 (char *) "self",(char *) "flags", NULL
12119 };
12120
12121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12123 if (!SWIG_IsOK(res1)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12125 }
12126 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12127 ecode2 = SWIG_AsVal_int(obj1, &val2);
12128 if (!SWIG_IsOK(ecode2)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12130 }
12131 arg2 = static_cast< int >(val2);
12132 {
12133 PyThreadState* __tstate = wxPyBeginAllowThreads();
12134 (arg1)->SetFlags(arg2);
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 resultobj = SWIG_Py_Void();
12139 return resultobj;
12140fail:
12141 return NULL;
d14a1e28
RD
12142}
12143
12144
0085ce49
RD
12145SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12146 PyObject *resultobj = 0;
12147 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12148 int result;
12149 void *argp1 = 0 ;
12150 int res1 = 0 ;
12151 PyObject *swig_obj[1] ;
12152
12153 if (!args) SWIG_fail;
12154 swig_obj[0] = args;
12155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12156 if (!SWIG_IsOK(res1)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12158 }
12159 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 resultobj = SWIG_From_int(static_cast< int >(result));
12167 return resultobj;
12168fail:
12169 return NULL;
12170}
12171
12172
12173SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj = 0;
12175 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12176 wxSize *arg2 = 0 ;
12177 void *argp1 = 0 ;
12178 int res1 = 0 ;
12179 wxSize temp2 ;
12180 PyObject * obj0 = 0 ;
12181 PyObject * obj1 = 0 ;
12182 char * kwnames[] = {
12183 (char *) "self",(char *) "size", NULL
12184 };
12185
12186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12188 if (!SWIG_IsOK(res1)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12190 }
12191 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12192 {
12193 arg2 = &temp2;
12194 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12195 }
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->SetSize((wxSize const &)*arg2);
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 resultobj = SWIG_Py_Void();
12203 return resultobj;
12204fail:
12205 return NULL;
d14a1e28
RD
12206}
12207
12208
0085ce49
RD
12209SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12210 PyObject *resultobj = 0;
12211 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12212 wxSize result;
12213 void *argp1 = 0 ;
12214 int res1 = 0 ;
12215 PyObject *swig_obj[1] ;
12216
12217 if (!args) SWIG_fail;
12218 swig_obj[0] = args;
12219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12222 }
12223 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12231 return resultobj;
12232fail:
12233 return NULL;
12234}
12235
12236
12237SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj = 0;
12239 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12240 wxLayoutOrientation arg2 ;
12241 void *argp1 = 0 ;
12242 int res1 = 0 ;
12243 int val2 ;
12244 int ecode2 = 0 ;
12245 PyObject * obj0 = 0 ;
12246 PyObject * obj1 = 0 ;
12247 char * kwnames[] = {
12248 (char *) "self",(char *) "orient", NULL
12249 };
12250
12251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12255 }
12256 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12257 ecode2 = SWIG_AsVal_int(obj1, &val2);
12258 if (!SWIG_IsOK(ecode2)) {
12259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12260 }
12261 arg2 = static_cast< wxLayoutOrientation >(val2);
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 (arg1)->SetOrientation(arg2);
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 resultobj = SWIG_Py_Void();
12269 return resultobj;
12270fail:
12271 return NULL;
d14a1e28
RD
12272}
12273
12274
0085ce49
RD
12275SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12276 PyObject *resultobj = 0;
12277 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12278 wxLayoutOrientation result;
12279 void *argp1 = 0 ;
12280 int res1 = 0 ;
12281 PyObject *swig_obj[1] ;
12282
12283 if (!args) SWIG_fail;
12284 swig_obj[0] = args;
12285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12286 if (!SWIG_IsOK(res1)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12288 }
12289 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 resultobj = SWIG_From_int(static_cast< int >(result));
12297 return resultobj;
12298fail:
12299 return NULL;
12300}
12301
12302
12303SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj = 0;
12305 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12306 wxLayoutAlignment arg2 ;
12307 void *argp1 = 0 ;
12308 int res1 = 0 ;
12309 int val2 ;
12310 int ecode2 = 0 ;
12311 PyObject * obj0 = 0 ;
12312 PyObject * obj1 = 0 ;
12313 char * kwnames[] = {
12314 (char *) "self",(char *) "align", NULL
12315 };
12316
12317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12319 if (!SWIG_IsOK(res1)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12321 }
12322 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12323 ecode2 = SWIG_AsVal_int(obj1, &val2);
12324 if (!SWIG_IsOK(ecode2)) {
12325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12326 }
12327 arg2 = static_cast< wxLayoutAlignment >(val2);
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->SetAlignment(arg2);
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 resultobj = SWIG_Py_Void();
12335 return resultobj;
12336fail:
12337 return NULL;
d14a1e28
RD
12338}
12339
12340
0085ce49
RD
12341SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12342 PyObject *resultobj = 0;
12343 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12344 wxLayoutAlignment result;
12345 void *argp1 = 0 ;
12346 int res1 = 0 ;
12347 PyObject *swig_obj[1] ;
12348
12349 if (!args) SWIG_fail;
12350 swig_obj[0] = args;
12351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12352 if (!SWIG_IsOK(res1)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12354 }
12355 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 resultobj = SWIG_From_int(static_cast< int >(result));
12363 return resultobj;
12364fail:
12365 return NULL;
d14a1e28
RD
12366}
12367
12368
0085ce49
RD
12369SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12370 PyObject *obj;
12371 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12372 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12373 return SWIG_Py_Void();
d14a1e28
RD
12374}
12375
0085ce49
RD
12376SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12377 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12378}
12379
0085ce49
RD
12380SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj = 0;
12382 int arg1 = (int) 0 ;
12383 wxCalculateLayoutEvent *result = 0 ;
12384 int val1 ;
12385 int ecode1 = 0 ;
12386 PyObject * obj0 = 0 ;
12387 char * kwnames[] = {
12388 (char *) "id", NULL
12389 };
12390
12391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12392 if (obj0) {
12393 ecode1 = SWIG_AsVal_int(obj0, &val1);
12394 if (!SWIG_IsOK(ecode1)) {
12395 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12396 }
12397 arg1 = static_cast< int >(val1);
12398 }
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12406 return resultobj;
12407fail:
12408 return NULL;
12409}
12410
12411
12412SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = 0;
12414 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12415 int arg2 ;
12416 void *argp1 = 0 ;
12417 int res1 = 0 ;
12418 int val2 ;
12419 int ecode2 = 0 ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 char * kwnames[] = {
12423 (char *) "self",(char *) "flags", NULL
12424 };
12425
12426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12428 if (!SWIG_IsOK(res1)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12430 }
12431 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12432 ecode2 = SWIG_AsVal_int(obj1, &val2);
12433 if (!SWIG_IsOK(ecode2)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12435 }
12436 arg2 = static_cast< int >(val2);
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 (arg1)->SetFlags(arg2);
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 resultobj = SWIG_Py_Void();
12444 return resultobj;
12445fail:
12446 return NULL;
d14a1e28
RD
12447}
12448
12449
0085ce49
RD
12450SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12451 PyObject *resultobj = 0;
12452 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12453 int result;
12454 void *argp1 = 0 ;
12455 int res1 = 0 ;
12456 PyObject *swig_obj[1] ;
12457
12458 if (!args) SWIG_fail;
12459 swig_obj[0] = args;
12460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12461 if (!SWIG_IsOK(res1)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12463 }
12464 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 resultobj = SWIG_From_int(static_cast< int >(result));
12472 return resultobj;
12473fail:
12474 return NULL;
12475}
12476
12477
12478SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj = 0;
12480 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12481 wxRect *arg2 = 0 ;
12482 void *argp1 = 0 ;
12483 int res1 = 0 ;
12484 wxRect temp2 ;
12485 PyObject * obj0 = 0 ;
12486 PyObject * obj1 = 0 ;
12487 char * kwnames[] = {
12488 (char *) "self",(char *) "rect", NULL
12489 };
12490
12491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12493 if (!SWIG_IsOK(res1)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12495 }
12496 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12497 {
12498 arg2 = &temp2;
12499 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12500 }
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->SetRect((wxRect const &)*arg2);
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = SWIG_Py_Void();
12508 return resultobj;
12509fail:
12510 return NULL;
d14a1e28
RD
12511}
12512
12513
0085ce49
RD
12514SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12515 PyObject *resultobj = 0;
12516 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12517 wxRect result;
12518 void *argp1 = 0 ;
12519 int res1 = 0 ;
12520 PyObject *swig_obj[1] ;
12521
12522 if (!args) SWIG_fail;
12523 swig_obj[0] = args;
12524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12525 if (!SWIG_IsOK(res1)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12527 }
12528 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12536 return resultobj;
12537fail:
12538 return NULL;
12539}
12540
12541
12542SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12543 PyObject *obj;
12544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12545 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12546 return SWIG_Py_Void();
12547}
12548
12549SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12550 return SWIG_Python_InitShadowInstance(args);
12551}
12552
12553SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj = 0;
12555 wxWindow *arg1 = (wxWindow *) 0 ;
12556 int arg2 = (int) -1 ;
12557 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12558 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12559 wxSize const &arg4_defvalue = wxDefaultSize ;
12560 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12561 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12562 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12563 wxString *arg6 = (wxString *) &arg6_defvalue ;
12564 wxSashLayoutWindow *result = 0 ;
12565 void *argp1 = 0 ;
12566 int res1 = 0 ;
12567 int val2 ;
12568 int ecode2 = 0 ;
12569 wxPoint temp3 ;
12570 wxSize temp4 ;
12571 long val5 ;
12572 int ecode5 = 0 ;
12573 bool temp6 = false ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 PyObject * obj2 = 0 ;
12577 PyObject * obj3 = 0 ;
12578 PyObject * obj4 = 0 ;
12579 PyObject * obj5 = 0 ;
12580 char * kwnames[] = {
12581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12582 };
12583
12584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12586 if (!SWIG_IsOK(res1)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12588 }
12589 arg1 = reinterpret_cast< wxWindow * >(argp1);
12590 if (obj1) {
12591 ecode2 = SWIG_AsVal_int(obj1, &val2);
12592 if (!SWIG_IsOK(ecode2)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12594 }
12595 arg2 = static_cast< int >(val2);
12596 }
12597 if (obj2) {
4f89f6a3 12598 {
0085ce49
RD
12599 arg3 = &temp3;
12600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4f89f6a3 12601 }
0085ce49
RD
12602 }
12603 if (obj3) {
d14a1e28 12604 {
0085ce49
RD
12605 arg4 = &temp4;
12606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 12607 }
0085ce49
RD
12608 }
12609 if (obj4) {
12610 ecode5 = SWIG_AsVal_long(obj4, &val5);
12611 if (!SWIG_IsOK(ecode5)) {
12612 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12613 }
12614 arg5 = static_cast< long >(val5);
12615 }
12616 if (obj5) {
4f89f6a3 12617 {
0085ce49
RD
12618 arg6 = wxString_in_helper(obj5);
12619 if (arg6 == NULL) SWIG_fail;
12620 temp6 = true;
4f89f6a3 12621 }
0085ce49
RD
12622 }
12623 {
12624 if (!wxPyCheckForApp()) SWIG_fail;
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12631 {
12632 if (temp6)
12633 delete arg6;
12634 }
12635 return resultobj;
12636fail:
12637 {
12638 if (temp6)
12639 delete arg6;
12640 }
12641 return NULL;
d14a1e28
RD
12642}
12643
12644
0085ce49
RD
12645SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12646 PyObject *resultobj = 0;
12647 wxSashLayoutWindow *result = 0 ;
12648
12649 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12650 {
12651 if (!wxPyCheckForApp()) SWIG_fail;
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12658 return resultobj;
12659fail:
12660 return NULL;
12661}
12662
12663
12664SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj = 0;
12666 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12667 wxWindow *arg2 = (wxWindow *) 0 ;
12668 int arg3 = (int) -1 ;
12669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12671 wxSize const &arg5_defvalue = wxDefaultSize ;
12672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12673 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12674 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12675 wxString *arg7 = (wxString *) &arg7_defvalue ;
12676 bool result;
12677 void *argp1 = 0 ;
12678 int res1 = 0 ;
12679 void *argp2 = 0 ;
12680 int res2 = 0 ;
12681 int val3 ;
12682 int ecode3 = 0 ;
12683 wxPoint temp4 ;
12684 wxSize temp5 ;
12685 long val6 ;
12686 int ecode6 = 0 ;
12687 bool temp7 = false ;
12688 PyObject * obj0 = 0 ;
12689 PyObject * obj1 = 0 ;
12690 PyObject * obj2 = 0 ;
12691 PyObject * obj3 = 0 ;
12692 PyObject * obj4 = 0 ;
12693 PyObject * obj5 = 0 ;
12694 PyObject * obj6 = 0 ;
12695 char * kwnames[] = {
12696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12697 };
12698
12699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12701 if (!SWIG_IsOK(res1)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12703 }
12704 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12706 if (!SWIG_IsOK(res2)) {
12707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12708 }
12709 arg2 = reinterpret_cast< wxWindow * >(argp2);
12710 if (obj2) {
12711 ecode3 = SWIG_AsVal_int(obj2, &val3);
12712 if (!SWIG_IsOK(ecode3)) {
12713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12714 }
12715 arg3 = static_cast< int >(val3);
12716 }
12717 if (obj3) {
d00d1b88 12718 {
0085ce49
RD
12719 arg4 = &temp4;
12720 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12721 }
12722 }
12723 if (obj4) {
d14a1e28 12724 {
0085ce49
RD
12725 arg5 = &temp5;
12726 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 12727 }
0085ce49
RD
12728 }
12729 if (obj5) {
12730 ecode6 = SWIG_AsVal_long(obj5, &val6);
12731 if (!SWIG_IsOK(ecode6)) {
12732 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12733 }
12734 arg6 = static_cast< long >(val6);
12735 }
12736 if (obj6) {
4f89f6a3 12737 {
0085ce49
RD
12738 arg7 = wxString_in_helper(obj6);
12739 if (arg7 == NULL) SWIG_fail;
12740 temp7 = true;
4f89f6a3 12741 }
0085ce49
RD
12742 }
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 {
12750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12751 }
12752 {
12753 if (temp7)
12754 delete arg7;
12755 }
12756 return resultobj;
12757fail:
12758 {
12759 if (temp7)
12760 delete arg7;
12761 }
12762 return NULL;
d14a1e28
RD
12763}
12764
12765
0085ce49
RD
12766SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12767 PyObject *resultobj = 0;
12768 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12769 wxLayoutAlignment result;
12770 void *argp1 = 0 ;
12771 int res1 = 0 ;
12772 PyObject *swig_obj[1] ;
12773
12774 if (!args) SWIG_fail;
12775 swig_obj[0] = args;
12776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12777 if (!SWIG_IsOK(res1)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12779 }
12780 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 resultobj = SWIG_From_int(static_cast< int >(result));
12788 return resultobj;
12789fail:
12790 return NULL;
d14a1e28
RD
12791}
12792
12793
0085ce49
RD
12794SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12795 PyObject *resultobj = 0;
12796 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12797 wxLayoutOrientation result;
12798 void *argp1 = 0 ;
12799 int res1 = 0 ;
12800 PyObject *swig_obj[1] ;
12801
12802 if (!args) SWIG_fail;
12803 swig_obj[0] = args;
12804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12805 if (!SWIG_IsOK(res1)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12807 }
12808 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12809 {
12810 PyThreadState* __tstate = wxPyBeginAllowThreads();
12811 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_From_int(static_cast< int >(result));
12816 return resultobj;
12817fail:
12818 return NULL;
12819}
12820
12821
12822SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj = 0;
12824 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12825 wxLayoutAlignment arg2 ;
12826 void *argp1 = 0 ;
12827 int res1 = 0 ;
12828 int val2 ;
12829 int ecode2 = 0 ;
12830 PyObject * obj0 = 0 ;
12831 PyObject * obj1 = 0 ;
12832 char * kwnames[] = {
12833 (char *) "self",(char *) "alignment", NULL
12834 };
12835
12836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12838 if (!SWIG_IsOK(res1)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12840 }
12841 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12842 ecode2 = SWIG_AsVal_int(obj1, &val2);
12843 if (!SWIG_IsOK(ecode2)) {
12844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12845 }
12846 arg2 = static_cast< wxLayoutAlignment >(val2);
12847 {
12848 PyThreadState* __tstate = wxPyBeginAllowThreads();
12849 (arg1)->SetAlignment(arg2);
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 resultobj = SWIG_Py_Void();
12854 return resultobj;
12855fail:
12856 return NULL;
12857}
12858
12859
12860SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12861 PyObject *resultobj = 0;
12862 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12863 wxSize *arg2 = 0 ;
12864 void *argp1 = 0 ;
12865 int res1 = 0 ;
12866 wxSize temp2 ;
12867 PyObject * obj0 = 0 ;
12868 PyObject * obj1 = 0 ;
12869 char * kwnames[] = {
12870 (char *) "self",(char *) "size", NULL
12871 };
12872
12873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12875 if (!SWIG_IsOK(res1)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12877 }
12878 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12879 {
12880 arg2 = &temp2;
12881 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12882 }
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 resultobj = SWIG_Py_Void();
12890 return resultobj;
12891fail:
12892 return NULL;
12893}
12894
12895
12896SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj = 0;
12898 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12899 wxLayoutOrientation arg2 ;
12900 void *argp1 = 0 ;
12901 int res1 = 0 ;
12902 int val2 ;
12903 int ecode2 = 0 ;
12904 PyObject * obj0 = 0 ;
12905 PyObject * obj1 = 0 ;
12906 char * kwnames[] = {
12907 (char *) "self",(char *) "orientation", NULL
12908 };
12909
12910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12912 if (!SWIG_IsOK(res1)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12914 }
12915 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12916 ecode2 = SWIG_AsVal_int(obj1, &val2);
12917 if (!SWIG_IsOK(ecode2)) {
12918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12919 }
12920 arg2 = static_cast< wxLayoutOrientation >(val2);
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 (arg1)->SetOrientation(arg2);
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 resultobj = SWIG_Py_Void();
12928 return resultobj;
12929fail:
12930 return NULL;
d14a1e28
RD
12931}
12932
12933
0085ce49
RD
12934SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12935 PyObject *obj;
12936 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12937 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12938 return SWIG_Py_Void();
d14a1e28
RD
12939}
12940
0085ce49
RD
12941SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12942 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12943}
12944
0085ce49
RD
12945SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12946 PyObject *resultobj = 0;
12947 wxLayoutAlgorithm *result = 0 ;
12948
12949 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12957 return resultobj;
12958fail:
12959 return NULL;
d14a1e28
RD
12960}
12961
12962
0085ce49
RD
12963SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12964 PyObject *resultobj = 0;
12965 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12966 void *argp1 = 0 ;
12967 int res1 = 0 ;
12968 PyObject *swig_obj[1] ;
12969
12970 if (!args) SWIG_fail;
12971 swig_obj[0] = args;
12972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12973 if (!SWIG_IsOK(res1)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12975 }
12976 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 delete arg1;
d14a1e28 12980
0085ce49
RD
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_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj = 0;
12993 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12994 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12995 wxRect *arg3 = (wxRect *) NULL ;
12996 bool result;
12997 void *argp1 = 0 ;
12998 int res1 = 0 ;
12999 void *argp2 = 0 ;
13000 int res2 = 0 ;
13001 void *argp3 = 0 ;
13002 int res3 = 0 ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 PyObject * obj2 = 0 ;
13006 char * kwnames[] = {
13007 (char *) "self",(char *) "frame",(char *) "rect", NULL
13008 };
13009
13010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13012 if (!SWIG_IsOK(res1)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13014 }
13015 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13016 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13017 if (!SWIG_IsOK(res2)) {
13018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13019 }
13020 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13021 if (obj2) {
13022 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13023 if (!SWIG_IsOK(res3)) {
13024 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d14a1e28 13025 }
0085ce49
RD
13026 arg3 = reinterpret_cast< wxRect * >(argp3);
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 {
13035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13036 }
13037 return resultobj;
13038fail:
13039 return NULL;
13040}
13041
13042
13043SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj = 0;
13045 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13046 wxFrame *arg2 = (wxFrame *) 0 ;
13047 wxWindow *arg3 = (wxWindow *) NULL ;
13048 bool result;
13049 void *argp1 = 0 ;
13050 int res1 = 0 ;
13051 void *argp2 = 0 ;
13052 int res2 = 0 ;
13053 void *argp3 = 0 ;
13054 int res3 = 0 ;
13055 PyObject * obj0 = 0 ;
13056 PyObject * obj1 = 0 ;
13057 PyObject * obj2 = 0 ;
13058 char * kwnames[] = {
13059 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13060 };
13061
13062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13064 if (!SWIG_IsOK(res1)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13066 }
13067 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13068 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13069 if (!SWIG_IsOK(res2)) {
13070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13071 }
13072 arg2 = reinterpret_cast< wxFrame * >(argp2);
13073 if (obj2) {
13074 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13075 if (!SWIG_IsOK(res3)) {
13076 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
093d3ff1 13077 }
0085ce49
RD
13078 arg3 = reinterpret_cast< wxWindow * >(argp3);
13079 }
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 {
13087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13088 }
13089 return resultobj;
13090fail:
13091 return NULL;
13092}
13093
13094
13095SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13096 PyObject *resultobj = 0;
13097 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13098 wxWindow *arg2 = (wxWindow *) 0 ;
13099 wxWindow *arg3 = (wxWindow *) NULL ;
13100 bool result;
13101 void *argp1 = 0 ;
13102 int res1 = 0 ;
13103 void *argp2 = 0 ;
13104 int res2 = 0 ;
13105 void *argp3 = 0 ;
13106 int res3 = 0 ;
13107 PyObject * obj0 = 0 ;
13108 PyObject * obj1 = 0 ;
13109 PyObject * obj2 = 0 ;
13110 char * kwnames[] = {
13111 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13112 };
13113
13114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13116 if (!SWIG_IsOK(res1)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13118 }
13119 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13120 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13121 if (!SWIG_IsOK(res2)) {
13122 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13123 }
13124 arg2 = reinterpret_cast< wxWindow * >(argp2);
13125 if (obj2) {
13126 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13127 if (!SWIG_IsOK(res3)) {
13128 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
093d3ff1 13129 }
0085ce49
RD
13130 arg3 = reinterpret_cast< wxWindow * >(argp3);
13131 }
13132 {
13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
13134 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 {
13139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13140 }
13141 return resultobj;
13142fail:
13143 return NULL;
5cbf236d
RD
13144}
13145
13146
0085ce49
RD
13147SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13148 PyObject *obj;
13149 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13150 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13151 return SWIG_Py_Void();
5cbf236d
RD
13152}
13153
0085ce49
RD
13154SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13155 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
13156}
13157
0085ce49
RD
13158SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj = 0;
13160 wxWindow *arg1 = (wxWindow *) 0 ;
13161 int arg2 = (int) wxBORDER_NONE ;
13162 wxPopupWindow *result = 0 ;
13163 void *argp1 = 0 ;
13164 int res1 = 0 ;
13165 int val2 ;
13166 int ecode2 = 0 ;
13167 PyObject * obj0 = 0 ;
13168 PyObject * obj1 = 0 ;
13169 char * kwnames[] = {
13170 (char *) "parent",(char *) "flags", NULL
13171 };
13172
13173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13175 if (!SWIG_IsOK(res1)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13177 }
13178 arg1 = reinterpret_cast< wxWindow * >(argp1);
13179 if (obj1) {
13180 ecode2 = SWIG_AsVal_int(obj1, &val2);
13181 if (!SWIG_IsOK(ecode2)) {
13182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13183 }
13184 arg2 = static_cast< int >(val2);
13185 }
13186 {
13187 if (!wxPyCheckForApp()) SWIG_fail;
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13194 return resultobj;
13195fail:
13196 return NULL;
d14a1e28
RD
13197}
13198
13199
0085ce49
RD
13200SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13201 PyObject *resultobj = 0;
13202 wxPopupWindow *result = 0 ;
13203
13204 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13205 {
13206 if (!wxPyCheckForApp()) SWIG_fail;
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (wxPopupWindow *)new wxPopupWindow();
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13213 return resultobj;
13214fail:
13215 return NULL;
13216}
13217
13218
13219SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj = 0;
13221 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13222 wxWindow *arg2 = (wxWindow *) 0 ;
13223 int arg3 = (int) wxBORDER_NONE ;
13224 bool result;
13225 void *argp1 = 0 ;
13226 int res1 = 0 ;
13227 void *argp2 = 0 ;
13228 int res2 = 0 ;
13229 int val3 ;
13230 int ecode3 = 0 ;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 PyObject * obj2 = 0 ;
13234 char * kwnames[] = {
13235 (char *) "self",(char *) "parent",(char *) "flags", NULL
13236 };
13237
13238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13240 if (!SWIG_IsOK(res1)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13242 }
13243 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13244 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13245 if (!SWIG_IsOK(res2)) {
13246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13247 }
13248 arg2 = reinterpret_cast< wxWindow * >(argp2);
13249 if (obj2) {
13250 ecode3 = SWIG_AsVal_int(obj2, &val3);
13251 if (!SWIG_IsOK(ecode3)) {
13252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13253 }
13254 arg3 = static_cast< int >(val3);
13255 }
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (bool)(arg1)->Create(arg2,arg3);
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 {
13263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13264 }
13265 return resultobj;
13266fail:
13267 return NULL;
13268}
13269
13270
13271SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj = 0;
13273 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13274 wxPoint *arg2 = 0 ;
13275 wxSize *arg3 = 0 ;
13276 void *argp1 = 0 ;
13277 int res1 = 0 ;
13278 wxPoint temp2 ;
13279 wxSize temp3 ;
13280 PyObject * obj0 = 0 ;
13281 PyObject * obj1 = 0 ;
13282 PyObject * obj2 = 0 ;
13283 char * kwnames[] = {
13284 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13285 };
13286
13287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13289 if (!SWIG_IsOK(res1)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13291 }
13292 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13293 {
13294 arg2 = &temp2;
13295 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13296 }
13297 {
13298 arg3 = &temp3;
13299 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13300 }
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 resultobj = SWIG_Py_Void();
13308 return resultobj;
13309fail:
13310 return NULL;
d14a1e28
RD
13311}
13312
13313
0085ce49
RD
13314SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13315 PyObject *obj;
13316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13318 return SWIG_Py_Void();
d14a1e28
RD
13319}
13320
0085ce49
RD
13321SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13322 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
13323}
13324
0085ce49
RD
13325SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj = 0;
13327 wxWindow *arg1 = (wxWindow *) 0 ;
13328 int arg2 = (int) wxBORDER_NONE ;
13329 wxPyPopupTransientWindow *result = 0 ;
13330 void *argp1 = 0 ;
13331 int res1 = 0 ;
13332 int val2 ;
13333 int ecode2 = 0 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 char * kwnames[] = {
13337 (char *) "parent",(char *) "style", NULL
13338 };
13339
13340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13342 if (!SWIG_IsOK(res1)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13344 }
13345 arg1 = reinterpret_cast< wxWindow * >(argp1);
13346 if (obj1) {
13347 ecode2 = SWIG_AsVal_int(obj1, &val2);
13348 if (!SWIG_IsOK(ecode2)) {
13349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13350 }
13351 arg2 = static_cast< int >(val2);
13352 }
13353 {
13354 if (!wxPyCheckForApp()) SWIG_fail;
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13361 return resultobj;
13362fail:
13363 return NULL;
d14a1e28
RD
13364}
13365
13366
0085ce49
RD
13367SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13368 PyObject *resultobj = 0;
13369 wxPyPopupTransientWindow *result = 0 ;
13370
13371 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13372 {
13373 if (!wxPyCheckForApp()) SWIG_fail;
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13380 return resultobj;
13381fail:
13382 return NULL;
13383}
13384
13385
13386SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj = 0;
13388 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13389 PyObject *arg2 = (PyObject *) 0 ;
13390 PyObject *arg3 = (PyObject *) 0 ;
13391 void *argp1 = 0 ;
13392 int res1 = 0 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 PyObject * obj2 = 0 ;
13396 char * kwnames[] = {
13397 (char *) "self",(char *) "self",(char *) "_class", NULL
13398 };
13399
13400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13402 if (!SWIG_IsOK(res1)) {
13403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13404 }
13405 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13406 arg2 = obj1;
13407 arg3 = obj2;
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->_setCallbackInfo(arg2,arg3);
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 resultobj = SWIG_Py_Void();
13415 return resultobj;
13416fail:
13417 return NULL;
13418}
13419
13420
13421SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj = 0;
13423 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13424 wxWindow *arg2 = (wxWindow *) NULL ;
13425 void *argp1 = 0 ;
13426 int res1 = 0 ;
13427 void *argp2 = 0 ;
13428 int res2 = 0 ;
13429 PyObject * obj0 = 0 ;
13430 PyObject * obj1 = 0 ;
13431 char * kwnames[] = {
13432 (char *) "self",(char *) "focus", NULL
13433 };
13434
13435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13437 if (!SWIG_IsOK(res1)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13439 }
13440 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13441 if (obj1) {
13442 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13443 if (!SWIG_IsOK(res2)) {
13444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
22bfe96c 13445 }
0085ce49
RD
13446 arg2 = reinterpret_cast< wxWindow * >(argp2);
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 (arg1)->Popup(arg2);
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 resultobj = SWIG_Py_Void();
13455 return resultobj;
13456fail:
13457 return NULL;
22bfe96c
RD
13458}
13459
13460
0085ce49
RD
13461SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13462 PyObject *resultobj = 0;
13463 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13464 void *argp1 = 0 ;
13465 int res1 = 0 ;
13466 PyObject *swig_obj[1] ;
13467
13468 if (!args) SWIG_fail;
13469 swig_obj[0] = args;
13470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13471 if (!SWIG_IsOK(res1)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13473 }
13474 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 (arg1)->Dismiss();
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 resultobj = SWIG_Py_Void();
13482 return resultobj;
13483fail:
13484 return NULL;
13485}
13486
13487
13488SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13489 PyObject *obj;
13490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13492 return SWIG_Py_Void();
13493}
13494
13495SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13496 return SWIG_Python_InitShadowInstance(args);
13497}
13498
13499SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj = 0;
13501 wxWindow *arg1 = (wxWindow *) 0 ;
13502 wxString *arg2 = 0 ;
13503 int arg3 = (int) 100 ;
13504 wxRect *arg4 = (wxRect *) NULL ;
13505 wxTipWindow *result = 0 ;
13506 void *argp1 = 0 ;
13507 int res1 = 0 ;
13508 bool temp2 = false ;
13509 int val3 ;
13510 int ecode3 = 0 ;
13511 void *argp4 = 0 ;
13512 int res4 = 0 ;
13513 PyObject * obj0 = 0 ;
13514 PyObject * obj1 = 0 ;
13515 PyObject * obj2 = 0 ;
13516 PyObject * obj3 = 0 ;
13517 char * kwnames[] = {
13518 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13519 };
13520
13521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13523 if (!SWIG_IsOK(res1)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13525 }
13526 arg1 = reinterpret_cast< wxWindow * >(argp1);
13527 {
13528 arg2 = wxString_in_helper(obj1);
13529 if (arg2 == NULL) SWIG_fail;
13530 temp2 = true;
13531 }
13532 if (obj2) {
13533 ecode3 = SWIG_AsVal_int(obj2, &val3);
13534 if (!SWIG_IsOK(ecode3)) {
13535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13536 }
13537 arg3 = static_cast< int >(val3);
13538 }
13539 if (obj3) {
13540 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13541 if (!SWIG_IsOK(res4)) {
13542 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
d14a1e28 13543 }
0085ce49
RD
13544 arg4 = reinterpret_cast< wxRect * >(argp4);
13545 }
13546 {
13547 if (!wxPyCheckForApp()) SWIG_fail;
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13554 {
13555 if (temp2)
13556 delete arg2;
13557 }
13558 return resultobj;
13559fail:
13560 {
13561 if (temp2)
13562 delete arg2;
13563 }
13564 return NULL;
d14a1e28
RD
13565}
13566
13567
0085ce49
RD
13568SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj = 0;
13570 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13571 wxRect *arg2 = 0 ;
13572 void *argp1 = 0 ;
13573 int res1 = 0 ;
13574 wxRect temp2 ;
13575 PyObject * obj0 = 0 ;
13576 PyObject * obj1 = 0 ;
13577 char * kwnames[] = {
13578 (char *) "self",(char *) "rectBound", NULL
13579 };
13580
13581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13583 if (!SWIG_IsOK(res1)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13585 }
13586 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13587 {
13588 arg2 = &temp2;
13589 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13590 }
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 resultobj = SWIG_Py_Void();
13598 return resultobj;
13599fail:
13600 return NULL;
d14a1e28
RD
13601}
13602
13603
0085ce49
RD
13604SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13605 PyObject *resultobj = 0;
13606 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13607 void *argp1 = 0 ;
13608 int res1 = 0 ;
13609 PyObject *swig_obj[1] ;
13610
13611 if (!args) SWIG_fail;
13612 swig_obj[0] = args;
13613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13614 if (!SWIG_IsOK(res1)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13616 }
13617 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 (arg1)->Close();
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = SWIG_Py_Void();
13625 return resultobj;
13626fail:
13627 return NULL;
13628}
13629
13630
13631SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13632 PyObject *obj;
13633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13634 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13635 return SWIG_Py_Void();
13636}
13637
13638SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13639 return SWIG_Python_InitShadowInstance(args);
13640}
13641
8c3a7183 13642SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 13643 PyObject *resultobj = 0;
8c3a7183
RD
13644 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13645 bool arg2 = (bool) true ;
0085ce49
RD
13646 void *argp1 = 0 ;
13647 int res1 = 0 ;
8c3a7183 13648 bool val2 ;
0085ce49 13649 int ecode2 = 0 ;
0085ce49
RD
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
0085ce49 13652 char * kwnames[] = {
8c3a7183 13653 (char *) "self",(char *) "scrolling", NULL
0085ce49
RD
13654 };
13655
8c3a7183
RD
13656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail;
13657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13658 if (!SWIG_IsOK(res1)) {
8c3a7183 13659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
0085ce49 13660 }
8c3a7183 13661 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49 13662 if (obj1) {
8c3a7183 13663 ecode2 = SWIG_AsVal_bool(obj1, &val2);
0085ce49 13664 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
0085ce49 13666 }
8c3a7183 13667 arg2 = static_cast< bool >(val2);
0085ce49
RD
13668 }
13669 {
0085ce49 13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13671 (arg1)->EnablePhysicalScrolling(arg2);
0085ce49
RD
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
8c3a7183 13675 resultobj = SWIG_Py_Void();
0085ce49
RD
13676 return resultobj;
13677fail:
0085ce49 13678 return NULL;
d14a1e28
RD
13679}
13680
13681
8c3a7183 13682SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 13683 PyObject *resultobj = 0;
8c3a7183
RD
13684 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13685 int arg2 ;
13686 int result;
13687 void *argp1 = 0 ;
13688 int res1 = 0 ;
13689 int val2 ;
13690 int ecode2 = 0 ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 char * kwnames[] = {
13694 (char *) "self",(char *) "coord", NULL
13695 };
0085ce49 13696
8c3a7183
RD
13697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13699 if (!SWIG_IsOK(res1)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13701 }
13702 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13703 ecode2 = SWIG_AsVal_int(obj1, &val2);
13704 if (!SWIG_IsOK(ecode2)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13706 }
13707 arg2 = static_cast< int >(val2);
0085ce49 13708 {
0085ce49 13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13710 result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2);
0085ce49
RD
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
8c3a7183 13714 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
13715 return resultobj;
13716fail:
13717 return NULL;
13718}
13719
13720
8c3a7183 13721SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 13722 PyObject *resultobj = 0;
8c3a7183 13723 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
0085ce49
RD
13724 void *argp1 = 0 ;
13725 int res1 = 0 ;
8c3a7183 13726 PyObject *swig_obj[1] ;
0085ce49 13727
8c3a7183
RD
13728 if (!args) SWIG_fail;
13729 swig_obj[0] = args;
13730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13731 if (!SWIG_IsOK(res1)) {
8c3a7183 13732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
0085ce49 13733 }
8c3a7183 13734 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13737 (arg1)->RefreshAll();
0085ce49
RD
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_Py_Void();
13742 return resultobj;
13743fail:
13744 return NULL;
13745}
13746
13747
8c3a7183 13748SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 13749 PyObject *resultobj = 0;
8c3a7183
RD
13750 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13751 size_t result;
0085ce49
RD
13752 void *argp1 = 0 ;
13753 int res1 = 0 ;
8c3a7183 13754 PyObject *swig_obj[1] ;
0085ce49 13755
8c3a7183
RD
13756 if (!args) SWIG_fail;
13757 swig_obj[0] = args;
13758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13759 if (!SWIG_IsOK(res1)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 13761 }
8c3a7183 13762 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13765 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin();
0085ce49
RD
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
8c3a7183 13769 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
13770 return resultobj;
13771fail:
0085ce49
RD
13772 return NULL;
13773}
13774
13775
8c3a7183 13776SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 13777 PyObject *resultobj = 0;
8c3a7183
RD
13778 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13779 size_t result;
0085ce49
RD
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
8c3a7183 13782 PyObject *swig_obj[1] ;
0085ce49 13783
8c3a7183
RD
13784 if (!args) SWIG_fail;
13785 swig_obj[0] = args;
13786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13787 if (!SWIG_IsOK(res1)) {
8c3a7183 13788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 13789 }
8c3a7183 13790 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13793 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd();
0085ce49
RD
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
8c3a7183 13797 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
13798 return resultobj;
13799fail:
13800 return NULL;
13801}
13802
13803
8c3a7183 13804SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 13805 PyObject *resultobj = 0;
8c3a7183 13806 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
0085ce49
RD
13807 size_t arg2 ;
13808 bool result;
13809 void *argp1 = 0 ;
13810 int res1 = 0 ;
13811 size_t val2 ;
13812 int ecode2 = 0 ;
13813 PyObject * obj0 = 0 ;
13814 PyObject * obj1 = 0 ;
13815 char * kwnames[] = {
8c3a7183 13816 (char *) "self",(char *) "unit", NULL
0085ce49
RD
13817 };
13818
8c3a7183
RD
13819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13821 if (!SWIG_IsOK(res1)) {
8c3a7183 13822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 13823 }
8c3a7183 13824 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
13825 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13826 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
0085ce49
RD
13828 }
13829 arg2 = static_cast< size_t >(val2);
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13832 result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2);
0085ce49
RD
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 {
13837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13838 }
13839 return resultobj;
13840fail:
13841 return NULL;
13842}
13843
13844
8c3a7183 13845SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 13846 PyObject *resultobj = 0;
8c3a7183
RD
13847 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13848 int arg2 ;
13849 int result;
0085ce49
RD
13850 void *argp1 = 0 ;
13851 int res1 = 0 ;
8c3a7183 13852 int val2 ;
0085ce49
RD
13853 int ecode2 = 0 ;
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
13856 char * kwnames[] = {
8c3a7183 13857 (char *) "self",(char *) "coord", NULL
0085ce49
RD
13858 };
13859
8c3a7183
RD
13860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13862 if (!SWIG_IsOK(res1)) {
8c3a7183 13863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 13864 }
8c3a7183
RD
13865 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13866 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 13867 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
0085ce49 13869 }
8c3a7183 13870 arg2 = static_cast< int >(val2);
0085ce49
RD
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13873 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2);
0085ce49
RD
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
8c3a7183 13877 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
13878 return resultobj;
13879fail:
13880 return NULL;
13881}
13882
13883
8c3a7183 13884SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 13885 PyObject *resultobj = 0;
8c3a7183
RD
13886 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13887 int arg2 ;
13888 int result;
0085ce49
RD
13889 void *argp1 = 0 ;
13890 int res1 = 0 ;
8c3a7183 13891 int val2 ;
0085ce49 13892 int ecode2 = 0 ;
0085ce49
RD
13893 PyObject * obj0 = 0 ;
13894 PyObject * obj1 = 0 ;
0085ce49 13895 char * kwnames[] = {
8c3a7183 13896 (char *) "self",(char *) "coord", NULL
0085ce49
RD
13897 };
13898
8c3a7183
RD
13899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13901 if (!SWIG_IsOK(res1)) {
8c3a7183 13902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 13903 }
8c3a7183
RD
13904 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13905 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 13906 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
0085ce49 13908 }
8c3a7183
RD
13909 arg2 = static_cast< int >(val2);
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2);
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 resultobj = SWIG_From_int(static_cast< int >(result));
13917 return resultobj;
13918fail:
13919 return NULL;
13920}
13921
13922
13923SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13924 PyObject *resultobj = 0;
13925 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13926 void *argp1 = 0 ;
13927 int res1 = 0 ;
13928 PyObject *swig_obj[1] ;
13929
13930 if (!args) SWIG_fail;
13931 swig_obj[0] = args;
13932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13933 if (!SWIG_IsOK(res1)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13935 }
13936 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13939 (arg1)->UpdateScrollbar();
0085ce49
RD
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 resultobj = SWIG_Py_Void();
13944 return resultobj;
13945fail:
13946 return NULL;
13947}
13948
13949
8c3a7183 13950SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 13951 PyObject *resultobj = 0;
8c3a7183 13952 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
0085ce49
RD
13953 void *argp1 = 0 ;
13954 int res1 = 0 ;
8c3a7183 13955 PyObject *swig_obj[1] ;
0085ce49 13956
8c3a7183
RD
13957 if (!args) SWIG_fail;
13958 swig_obj[0] = args;
13959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13960 if (!SWIG_IsOK(res1)) {
8c3a7183 13961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
0085ce49 13962 }
8c3a7183 13963 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
13964 {
13965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13966 (arg1)->RemoveScrollbar();
0085ce49
RD
13967 wxPyEndAllowThreads(__tstate);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 }
8c3a7183 13970 resultobj = SWIG_Py_Void();
0085ce49
RD
13971 return resultobj;
13972fail:
13973 return NULL;
13974}
13975
13976
8c3a7183 13977SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 13978 PyObject *resultobj = 0;
8c3a7183
RD
13979 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13980 wxWindow *arg2 = (wxWindow *) 0 ;
0085ce49
RD
13981 void *argp1 = 0 ;
13982 int res1 = 0 ;
8c3a7183
RD
13983 void *argp2 = 0 ;
13984 int res2 = 0 ;
0085ce49
RD
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 char * kwnames[] = {
8c3a7183 13988 (char *) "self",(char *) "target", NULL
0085ce49
RD
13989 };
13990
8c3a7183
RD
13991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 13993 if (!SWIG_IsOK(res1)) {
8c3a7183 13994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
0085ce49 13995 }
8c3a7183
RD
13996 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13997 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13998 if (!SWIG_IsOK(res2)) {
13999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14000 }
14001 arg2 = reinterpret_cast< wxWindow * >(argp2);
0085ce49 14002 {
8c3a7183
RD
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->SetTargetWindow(arg2);
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 resultobj = SWIG_Py_Void();
14009 return resultobj;
14010fail:
14011 return NULL;
14012}
14013
14014
14015SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14016 PyObject *resultobj = 0;
14017 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14018 wxWindow *result = 0 ;
14019 void *argp1 = 0 ;
14020 int res1 = 0 ;
14021 PyObject *swig_obj[1] ;
14022
14023 if (!args) SWIG_fail;
14024 swig_obj[0] = args;
14025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14026 if (!SWIG_IsOK(res1)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 14028 }
8c3a7183 14029 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 14032 result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow();
0085ce49
RD
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
8c3a7183
RD
14036 {
14037 resultobj = wxPyMake_wxObject(result, 0);
14038 }
0085ce49
RD
14039 return resultobj;
14040fail:
14041 return NULL;
d14a1e28
RD
14042}
14043
14044
8c3a7183 14045SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 14046 PyObject *resultobj = 0;
8c3a7183
RD
14047 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14048 int result;
0085ce49
RD
14049 void *argp1 = 0 ;
14050 int res1 = 0 ;
14051 PyObject *swig_obj[1] ;
14052
14053 if (!args) SWIG_fail;
14054 swig_obj[0] = args;
8c3a7183 14055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 14056 if (!SWIG_IsOK(res1)) {
8c3a7183 14057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 14058 }
8c3a7183 14059 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 14062 result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize();
0085ce49
RD
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
8c3a7183 14066 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
14067 return resultobj;
14068fail:
14069 return NULL;
b2dc1044
RD
14070}
14071
14072
8c3a7183 14073SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 14074 PyObject *resultobj = 0;
8c3a7183
RD
14075 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14076 int result;
0085ce49
RD
14077 void *argp1 = 0 ;
14078 int res1 = 0 ;
14079 PyObject *swig_obj[1] ;
14080
14081 if (!args) SWIG_fail;
14082 swig_obj[0] = args;
8c3a7183 14083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 14084 if (!SWIG_IsOK(res1)) {
8c3a7183 14085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 14086 }
8c3a7183 14087 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
0085ce49
RD
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 14090 result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize();
0085ce49
RD
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
8c3a7183 14094 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
14095 return resultobj;
14096fail:
14097 return NULL;
b2dc1044
RD
14098}
14099
14100
8c3a7183 14101SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 14102 PyObject *resultobj = 0;
8c3a7183
RD
14103 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14104 wxOrientation result;
0085ce49
RD
14105 void *argp1 = 0 ;
14106 int res1 = 0 ;
14107 PyObject *swig_obj[1] ;
14108
14109 if (!args) SWIG_fail;
14110 swig_obj[0] = args;
8c3a7183 14111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
0085ce49 14112 if (!SWIG_IsOK(res1)) {
8c3a7183 14113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
0085ce49 14114 }
8c3a7183
RD
14115 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation();
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 resultobj = SWIG_From_int(static_cast< int >(result));
14123 return resultobj;
14124fail:
14125 return NULL;
14126}
14127
14128
14129SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14130 PyObject *obj;
14131 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14132 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj));
14133 return SWIG_Py_Void();
14134}
14135
14136SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj = 0;
14138 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14139 size_t arg2 ;
14140 void *argp1 = 0 ;
14141 int res1 = 0 ;
14142 size_t val2 ;
14143 int ecode2 = 0 ;
14144 PyObject * obj0 = 0 ;
14145 PyObject * obj1 = 0 ;
14146 char * kwnames[] = {
14147 (char *) "self",(char *) "rowCount", NULL
14148 };
14149
14150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail;
14151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14152 if (!SWIG_IsOK(res1)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14154 }
14155 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14156 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14157 if (!SWIG_IsOK(ecode2)) {
14158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14159 }
14160 arg2 = static_cast< size_t >(val2);
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->SetRowCount(arg2);
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = SWIG_Py_Void();
14168 return resultobj;
14169fail:
14170 return NULL;
14171}
14172
14173
14174SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj = 0;
14176 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14177 size_t arg2 ;
14178 bool result;
14179 void *argp1 = 0 ;
14180 int res1 = 0 ;
14181 size_t val2 ;
14182 int ecode2 = 0 ;
14183 PyObject * obj0 = 0 ;
14184 PyObject * obj1 = 0 ;
14185 char * kwnames[] = {
14186 (char *) "self",(char *) "row", NULL
14187 };
14188
14189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail;
14190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14191 if (!SWIG_IsOK(res1)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14193 }
14194 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14195 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14196 if (!SWIG_IsOK(ecode2)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14198 }
14199 arg2 = static_cast< size_t >(val2);
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = (bool)(arg1)->ScrollToRow(arg2);
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 {
14207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14208 }
14209 return resultobj;
14210fail:
14211 return NULL;
14212}
14213
14214
14215SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj = 0;
14217 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14218 int arg2 ;
14219 bool result;
14220 void *argp1 = 0 ;
14221 int res1 = 0 ;
14222 int val2 ;
14223 int ecode2 = 0 ;
14224 PyObject * obj0 = 0 ;
14225 PyObject * obj1 = 0 ;
14226 char * kwnames[] = {
14227 (char *) "self",(char *) "rows", NULL
14228 };
14229
14230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail;
14231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14232 if (!SWIG_IsOK(res1)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14234 }
14235 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14236 ecode2 = SWIG_AsVal_int(obj1, &val2);
14237 if (!SWIG_IsOK(ecode2)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14239 }
14240 arg2 = static_cast< int >(val2);
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = (bool)(arg1)->ScrollRows(arg2);
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 {
14248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14249 }
14250 return resultobj;
14251fail:
14252 return NULL;
14253}
14254
14255
14256SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj = 0;
14258 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14259 int arg2 ;
14260 bool result;
14261 void *argp1 = 0 ;
14262 int res1 = 0 ;
14263 int val2 ;
14264 int ecode2 = 0 ;
14265 PyObject * obj0 = 0 ;
14266 PyObject * obj1 = 0 ;
14267 char * kwnames[] = {
14268 (char *) "self",(char *) "pages", NULL
14269 };
14270
14271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail;
14272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14273 if (!SWIG_IsOK(res1)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14275 }
14276 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14277 ecode2 = SWIG_AsVal_int(obj1, &val2);
14278 if (!SWIG_IsOK(ecode2)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14280 }
14281 arg2 = static_cast< int >(val2);
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = (bool)(arg1)->ScrollRowPages(arg2);
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 {
14289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14290 }
14291 return resultobj;
14292fail:
14293 return NULL;
14294}
14295
14296
14297SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj = 0;
14299 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14300 size_t arg2 ;
14301 void *argp1 = 0 ;
14302 int res1 = 0 ;
14303 size_t val2 ;
14304 int ecode2 = 0 ;
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 char * kwnames[] = {
14308 (char *) "self",(char *) "row", NULL
14309 };
14310
14311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail;
14312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14313 if (!SWIG_IsOK(res1)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14315 }
14316 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14317 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14318 if (!SWIG_IsOK(ecode2)) {
14319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14320 }
14321 arg2 = static_cast< size_t >(val2);
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 (arg1)->RefreshRow(arg2);
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
14328 resultobj = SWIG_Py_Void();
14329 return resultobj;
14330fail:
14331 return NULL;
14332}
14333
14334
14335SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj = 0;
14337 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14338 size_t arg2 ;
14339 size_t arg3 ;
14340 void *argp1 = 0 ;
14341 int res1 = 0 ;
14342 size_t val2 ;
14343 int ecode2 = 0 ;
14344 size_t val3 ;
14345 int ecode3 = 0 ;
14346 PyObject * obj0 = 0 ;
14347 PyObject * obj1 = 0 ;
14348 PyObject * obj2 = 0 ;
14349 char * kwnames[] = {
14350 (char *) "self",(char *) "from",(char *) "to", NULL
14351 };
14352
14353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14355 if (!SWIG_IsOK(res1)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14357 }
14358 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14359 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14360 if (!SWIG_IsOK(ecode2)) {
14361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14362 }
14363 arg2 = static_cast< size_t >(val2);
14364 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14365 if (!SWIG_IsOK(ecode3)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14367 }
14368 arg3 = static_cast< size_t >(val3);
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 (arg1)->RefreshRows(arg2,arg3);
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 resultobj = SWIG_Py_Void();
14376 return resultobj;
14377fail:
14378 return NULL;
14379}
14380
14381
14382SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14383 PyObject *resultobj = 0;
14384 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14385 size_t result;
14386 void *argp1 = 0 ;
14387 int res1 = 0 ;
14388 PyObject *swig_obj[1] ;
14389
14390 if (!args) SWIG_fail;
14391 swig_obj[0] = args;
14392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14393 if (!SWIG_IsOK(res1)) {
14394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14395 }
14396 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14397 {
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount();
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14404 return resultobj;
14405fail:
14406 return NULL;
14407}
14408
14409
14410SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14411 PyObject *resultobj = 0;
14412 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14413 size_t result;
14414 void *argp1 = 0 ;
14415 int res1 = 0 ;
14416 PyObject *swig_obj[1] ;
14417
14418 if (!args) SWIG_fail;
14419 swig_obj[0] = args;
14420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14421 if (!SWIG_IsOK(res1)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14423 }
14424 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin();
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14432 return resultobj;
14433fail:
14434 return NULL;
14435}
14436
14437
14438SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14439 PyObject *resultobj = 0;
14440 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14441 size_t result;
14442 void *argp1 = 0 ;
14443 int res1 = 0 ;
14444 PyObject *swig_obj[1] ;
14445
14446 if (!args) SWIG_fail;
14447 swig_obj[0] = args;
14448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14449 if (!SWIG_IsOK(res1)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14451 }
14452 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd();
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14460 return resultobj;
14461fail:
14462 return NULL;
14463}
14464
14465
14466SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj = 0;
14468 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14469 size_t arg2 ;
14470 bool result;
14471 void *argp1 = 0 ;
14472 int res1 = 0 ;
14473 size_t val2 ;
14474 int ecode2 = 0 ;
14475 PyObject * obj0 = 0 ;
14476 PyObject * obj1 = 0 ;
14477 char * kwnames[] = {
14478 (char *) "self",(char *) "row", NULL
14479 };
14480
14481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14483 if (!SWIG_IsOK(res1)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14485 }
14486 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14487 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14488 if (!SWIG_IsOK(ecode2)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14490 }
14491 arg2 = static_cast< size_t >(val2);
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2);
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 {
14499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14500 }
14501 return resultobj;
14502fail:
14503 return NULL;
14504}
14505
14506
14507SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14508 PyObject *obj;
14509 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14510 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj));
14511 return SWIG_Py_Void();
14512}
14513
14514SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14515 PyObject *resultobj = 0;
14516 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14517 size_t arg2 ;
14518 void *argp1 = 0 ;
14519 int res1 = 0 ;
14520 size_t val2 ;
14521 int ecode2 = 0 ;
14522 PyObject * obj0 = 0 ;
14523 PyObject * obj1 = 0 ;
14524 char * kwnames[] = {
14525 (char *) "self",(char *) "columnCount", NULL
14526 };
14527
14528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail;
14529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14530 if (!SWIG_IsOK(res1)) {
14531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14532 }
14533 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14534 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14535 if (!SWIG_IsOK(ecode2)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14537 }
14538 arg2 = static_cast< size_t >(val2);
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 (arg1)->SetColumnCount(arg2);
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 resultobj = SWIG_Py_Void();
14546 return resultobj;
14547fail:
14548 return NULL;
14549}
14550
14551
14552SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj = 0;
14554 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14555 size_t arg2 ;
14556 bool result;
14557 void *argp1 = 0 ;
14558 int res1 = 0 ;
14559 size_t val2 ;
14560 int ecode2 = 0 ;
14561 PyObject * obj0 = 0 ;
14562 PyObject * obj1 = 0 ;
14563 char * kwnames[] = {
14564 (char *) "self",(char *) "column", NULL
14565 };
14566
14567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14569 if (!SWIG_IsOK(res1)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14571 }
14572 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14573 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14574 if (!SWIG_IsOK(ecode2)) {
14575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14576 }
14577 arg2 = static_cast< size_t >(val2);
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (bool)(arg1)->ScrollToColumn(arg2);
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 {
14585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14586 }
14587 return resultobj;
14588fail:
14589 return NULL;
14590}
14591
14592
14593SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14594 PyObject *resultobj = 0;
14595 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14596 int arg2 ;
14597 bool result;
14598 void *argp1 = 0 ;
14599 int res1 = 0 ;
14600 int val2 ;
14601 int ecode2 = 0 ;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14604 char * kwnames[] = {
14605 (char *) "self",(char *) "columns", NULL
14606 };
14607
14608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail;
14609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14610 if (!SWIG_IsOK(res1)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14612 }
14613 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14614 ecode2 = SWIG_AsVal_int(obj1, &val2);
14615 if (!SWIG_IsOK(ecode2)) {
14616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14617 }
14618 arg2 = static_cast< int >(val2);
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (bool)(arg1)->ScrollColumns(arg2);
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 {
14626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14627 }
14628 return resultobj;
14629fail:
14630 return NULL;
14631}
14632
14633
14634SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj = 0;
14636 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14637 int arg2 ;
14638 bool result;
14639 void *argp1 = 0 ;
14640 int res1 = 0 ;
14641 int val2 ;
14642 int ecode2 = 0 ;
14643 PyObject * obj0 = 0 ;
14644 PyObject * obj1 = 0 ;
14645 char * kwnames[] = {
14646 (char *) "self",(char *) "pages", NULL
14647 };
14648
14649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail;
14650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14651 if (!SWIG_IsOK(res1)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14653 }
14654 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14655 ecode2 = SWIG_AsVal_int(obj1, &val2);
14656 if (!SWIG_IsOK(ecode2)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14658 }
14659 arg2 = static_cast< int >(val2);
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)(arg1)->ScrollColumnPages(arg2);
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 return resultobj;
14670fail:
14671 return NULL;
14672}
14673
14674
14675SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj = 0;
14677 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14678 size_t arg2 ;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 size_t val2 ;
14682 int ecode2 = 0 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char * kwnames[] = {
14686 (char *) "self",(char *) "column", NULL
14687 };
14688
14689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14693 }
14694 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14695 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14696 if (!SWIG_IsOK(ecode2)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14698 }
14699 arg2 = static_cast< size_t >(val2);
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 (arg1)->RefreshColumn(arg2);
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_Py_Void();
14707 return resultobj;
14708fail:
14709 return NULL;
14710}
14711
14712
14713SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj = 0;
14715 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14716 size_t arg2 ;
14717 size_t arg3 ;
14718 void *argp1 = 0 ;
14719 int res1 = 0 ;
14720 size_t val2 ;
14721 int ecode2 = 0 ;
14722 size_t val3 ;
14723 int ecode3 = 0 ;
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 PyObject * obj2 = 0 ;
14727 char * kwnames[] = {
14728 (char *) "self",(char *) "from",(char *) "to", NULL
14729 };
14730
14731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14733 if (!SWIG_IsOK(res1)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14735 }
14736 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14737 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14738 if (!SWIG_IsOK(ecode2)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14740 }
14741 arg2 = static_cast< size_t >(val2);
14742 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14743 if (!SWIG_IsOK(ecode3)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14745 }
14746 arg3 = static_cast< size_t >(val3);
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->RefreshColumns(arg2,arg3);
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 resultobj = SWIG_Py_Void();
14754 return resultobj;
14755fail:
14756 return NULL;
14757}
14758
14759
14760SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14761 PyObject *resultobj = 0;
14762 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14763 size_t result;
14764 void *argp1 = 0 ;
14765 int res1 = 0 ;
14766 PyObject *swig_obj[1] ;
14767
14768 if (!args) SWIG_fail;
14769 swig_obj[0] = args;
14770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14771 if (!SWIG_IsOK(res1)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14773 }
14774 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount();
14778 wxPyEndAllowThreads(__tstate);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 }
14781 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14782 return resultobj;
14783fail:
14784 return NULL;
14785}
14786
14787
14788SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14789 PyObject *resultobj = 0;
14790 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14791 size_t result;
14792 void *argp1 = 0 ;
14793 int res1 = 0 ;
14794 PyObject *swig_obj[1] ;
14795
14796 if (!args) SWIG_fail;
14797 swig_obj[0] = args;
14798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14799 if (!SWIG_IsOK(res1)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14801 }
14802 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin();
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14810 return resultobj;
14811fail:
14812 return NULL;
14813}
14814
14815
14816SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14817 PyObject *resultobj = 0;
14818 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14819 size_t result;
14820 void *argp1 = 0 ;
14821 int res1 = 0 ;
14822 PyObject *swig_obj[1] ;
14823
14824 if (!args) SWIG_fail;
14825 swig_obj[0] = args;
14826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14827 if (!SWIG_IsOK(res1)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14829 }
14830 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd();
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14838 return resultobj;
14839fail:
14840 return NULL;
14841}
14842
14843
14844SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj = 0;
14846 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14847 size_t arg2 ;
14848 bool result;
14849 void *argp1 = 0 ;
14850 int res1 = 0 ;
14851 size_t val2 ;
14852 int ecode2 = 0 ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 char * kwnames[] = {
14856 (char *) "self",(char *) "column", NULL
14857 };
14858
14859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14861 if (!SWIG_IsOK(res1)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14863 }
14864 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14865 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14866 if (!SWIG_IsOK(ecode2)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14868 }
14869 arg2 = static_cast< size_t >(val2);
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2);
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14878 }
14879 return resultobj;
14880fail:
14881 return NULL;
14882}
14883
14884
14885SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14886 PyObject *obj;
14887 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14888 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj));
14889 return SWIG_Py_Void();
14890}
14891
14892SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj = 0;
14894 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14895 size_t arg2 ;
14896 size_t arg3 ;
14897 void *argp1 = 0 ;
14898 int res1 = 0 ;
14899 size_t val2 ;
14900 int ecode2 = 0 ;
14901 size_t val3 ;
14902 int ecode3 = 0 ;
14903 PyObject * obj0 = 0 ;
14904 PyObject * obj1 = 0 ;
14905 PyObject * obj2 = 0 ;
14906 char * kwnames[] = {
14907 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14908 };
14909
14910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14912 if (!SWIG_IsOK(res1)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14914 }
14915 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14916 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14917 if (!SWIG_IsOK(ecode2)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14919 }
14920 arg2 = static_cast< size_t >(val2);
14921 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14922 if (!SWIG_IsOK(ecode3)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14924 }
14925 arg3 = static_cast< size_t >(val3);
14926 {
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 (arg1)->SetRowColumnCount(arg2,arg3);
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 resultobj = SWIG_Py_Void();
14933 return resultobj;
14934fail:
14935 return NULL;
14936}
14937
14938
14939SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj = 0;
14941 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14942 bool arg2 = (bool) true ;
14943 bool arg3 = (bool) true ;
14944 void *argp1 = 0 ;
14945 int res1 = 0 ;
14946 bool val2 ;
14947 int ecode2 = 0 ;
14948 bool val3 ;
14949 int ecode3 = 0 ;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 PyObject * obj2 = 0 ;
14953 char * kwnames[] = {
14954 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14955 };
14956
14957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14959 if (!SWIG_IsOK(res1)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14961 }
14962 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14963 if (obj1) {
14964 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14965 if (!SWIG_IsOK(ecode2)) {
14966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14967 }
14968 arg2 = static_cast< bool >(val2);
14969 }
14970 if (obj2) {
14971 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14972 if (!SWIG_IsOK(ecode3)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14974 }
14975 arg3 = static_cast< bool >(val3);
14976 }
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 (arg1)->EnablePhysicalScrolling(arg2,arg3);
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 resultobj = SWIG_Py_Void();
14984 return resultobj;
14985fail:
14986 return NULL;
14987}
14988
14989
14990SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj = 0;
14992 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14993 wxPosition *arg2 = 0 ;
14994 bool result;
14995 void *argp1 = 0 ;
14996 int res1 = 0 ;
14997 void *argp2 = 0 ;
14998 int res2 = 0 ;
14999 PyObject * obj0 = 0 ;
15000 PyObject * obj1 = 0 ;
15001 char * kwnames[] = {
15002 (char *) "self",(char *) "pos", NULL
15003 };
15004
15005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15007 if (!SWIG_IsOK(res1)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15009 }
15010 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15012 if (!SWIG_IsOK(res2)) {
15013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15014 }
15015 if (!argp2) {
15016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15017 }
15018 arg2 = reinterpret_cast< wxPosition * >(argp2);
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2);
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 {
15026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15027 }
15028 return resultobj;
15029fail:
15030 return NULL;
15031}
15032
15033
15034SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj = 0;
15036 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15037 wxPosition *arg2 = 0 ;
15038 void *argp1 = 0 ;
15039 int res1 = 0 ;
15040 void *argp2 = 0 ;
15041 int res2 = 0 ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 char * kwnames[] = {
15045 (char *) "self",(char *) "pos", NULL
15046 };
15047
15048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15050 if (!SWIG_IsOK(res1)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15052 }
15053 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15055 if (!SWIG_IsOK(res2)) {
15056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15057 }
15058 if (!argp2) {
15059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15060 }
15061 arg2 = reinterpret_cast< wxPosition * >(argp2);
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 (arg1)->RefreshRowColumn((wxPosition const &)*arg2);
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 resultobj = SWIG_Py_Void();
15069 return resultobj;
15070fail:
15071 return NULL;
15072}
15073
15074
15075SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj = 0;
15077 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15078 wxPosition *arg2 = 0 ;
15079 wxPosition *arg3 = 0 ;
15080 void *argp1 = 0 ;
15081 int res1 = 0 ;
15082 void *argp2 = 0 ;
15083 int res2 = 0 ;
15084 void *argp3 = 0 ;
15085 int res3 = 0 ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 PyObject * obj2 = 0 ;
15089 char * kwnames[] = {
15090 (char *) "self",(char *) "from",(char *) "to", NULL
15091 };
15092
15093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15095 if (!SWIG_IsOK(res1)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15097 }
15098 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15100 if (!SWIG_IsOK(res2)) {
15101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15102 }
15103 if (!argp2) {
15104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15105 }
15106 arg2 = reinterpret_cast< wxPosition * >(argp2);
15107 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0);
15108 if (!SWIG_IsOK(res3)) {
15109 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15110 }
15111 if (!argp3) {
15112 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15113 }
15114 arg3 = reinterpret_cast< wxPosition * >(argp3);
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3);
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 resultobj = SWIG_Py_Void();
15122 return resultobj;
15123fail:
15124 return NULL;
15125}
15126
15127
15128SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj = 0;
15130 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15131 wxPoint *arg2 = 0 ;
15132 wxPosition result;
15133 void *argp1 = 0 ;
15134 int res1 = 0 ;
15135 wxPoint temp2 ;
15136 PyObject * obj0 = 0 ;
15137 PyObject * obj1 = 0 ;
15138 char * kwnames[] = {
15139 (char *) "self",(char *) "pos", NULL
15140 };
15141
15142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15144 if (!SWIG_IsOK(res1)) {
15145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15146 }
15147 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15148 {
15149 arg2 = &temp2;
15150 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15151 }
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2);
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15159 return resultobj;
15160fail:
15161 return NULL;
15162}
15163
15164
15165SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15166 PyObject *resultobj = 0;
15167 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15168 bool result;
15169 void *argp1 = 0 ;
15170 int res1 = 0 ;
15171 PyObject *swig_obj[1] ;
15172
15173 if (!args) SWIG_fail;
15174 swig_obj[0] = args;
15175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15176 if (!SWIG_IsOK(res1)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15178 }
15179 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (bool)(arg1)->ScrollLayout();
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 {
15187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15188 }
15189 return resultobj;
15190fail:
15191 return NULL;
15192}
15193
15194
15195SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15196 PyObject *resultobj = 0;
15197 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15198 wxSize result;
15199 void *argp1 = 0 ;
15200 int res1 = 0 ;
15201 PyObject *swig_obj[1] ;
15202
15203 if (!args) SWIG_fail;
15204 swig_obj[0] = args;
15205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15206 if (!SWIG_IsOK(res1)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15208 }
15209 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15210 {
15211 PyThreadState* __tstate = wxPyBeginAllowThreads();
15212 result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount();
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
15217 return resultobj;
15218fail:
15219 return NULL;
15220}
15221
15222
15223SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15224 PyObject *resultobj = 0;
15225 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15226 wxPosition result;
15227 void *argp1 = 0 ;
15228 int res1 = 0 ;
15229 PyObject *swig_obj[1] ;
15230
15231 if (!args) SWIG_fail;
15232 swig_obj[0] = args;
15233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15234 if (!SWIG_IsOK(res1)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15236 }
15237 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin();
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15245 return resultobj;
15246fail:
15247 return NULL;
15248}
15249
15250
15251SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15252 PyObject *resultobj = 0;
15253 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15254 wxPosition result;
15255 void *argp1 = 0 ;
15256 int res1 = 0 ;
15257 PyObject *swig_obj[1] ;
15258
15259 if (!args) SWIG_fail;
15260 swig_obj[0] = args;
15261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15262 if (!SWIG_IsOK(res1)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15264 }
15265 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd();
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15273 return resultobj;
15274fail:
15275 return NULL;
15276}
15277
15278
15279SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj = 0;
15281 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15282 wxPosition *arg2 = 0 ;
15283 bool result;
15284 void *argp1 = 0 ;
15285 int res1 = 0 ;
15286 void *argp2 = 0 ;
15287 int res2 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 char * kwnames[] = {
15291 (char *) "self",(char *) "pos", NULL
15292 };
15293
15294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
15295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15296 if (!SWIG_IsOK(res1)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15298 }
15299 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15300 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15301 if (!SWIG_IsOK(res2)) {
15302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15303 }
15304 if (!argp2) {
15305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15306 }
15307 arg2 = reinterpret_cast< wxPosition * >(argp2);
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2);
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 {
15315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15316 }
15317 return resultobj;
15318fail:
15319 return NULL;
15320}
15321
15322
15323SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15324 PyObject *obj;
15325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15326 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj));
15327 return SWIG_Py_Void();
15328}
15329
15330SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15331 PyObject *resultobj = 0;
15332 wxWindow *arg1 = (wxWindow *) 0 ;
15333 int arg2 = (int) wxID_ANY ;
15334 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15335 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15336 wxSize const &arg4_defvalue = wxDefaultSize ;
15337 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15338 long arg5 = (long) 0 ;
15339 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15340 wxString *arg6 = (wxString *) &arg6_defvalue ;
15341 wxPyVScrolledWindow *result = 0 ;
15342 void *argp1 = 0 ;
15343 int res1 = 0 ;
15344 int val2 ;
15345 int ecode2 = 0 ;
15346 wxPoint temp3 ;
15347 wxSize temp4 ;
15348 long val5 ;
15349 int ecode5 = 0 ;
15350 bool temp6 = false ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 PyObject * obj2 = 0 ;
15354 PyObject * obj3 = 0 ;
15355 PyObject * obj4 = 0 ;
15356 PyObject * obj5 = 0 ;
15357 char * kwnames[] = {
15358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15359 };
15360
15361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15363 if (!SWIG_IsOK(res1)) {
15364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15365 }
15366 arg1 = reinterpret_cast< wxWindow * >(argp1);
15367 if (obj1) {
15368 ecode2 = SWIG_AsVal_int(obj1, &val2);
15369 if (!SWIG_IsOK(ecode2)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15371 }
15372 arg2 = static_cast< int >(val2);
15373 }
15374 if (obj2) {
15375 {
15376 arg3 = &temp3;
15377 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15378 }
15379 }
15380 if (obj3) {
15381 {
15382 arg4 = &temp4;
15383 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15384 }
15385 }
15386 if (obj4) {
15387 ecode5 = SWIG_AsVal_long(obj4, &val5);
15388 if (!SWIG_IsOK(ecode5)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15390 }
15391 arg5 = static_cast< long >(val5);
15392 }
15393 if (obj5) {
15394 {
15395 arg6 = wxString_in_helper(obj5);
15396 if (arg6 == NULL) SWIG_fail;
15397 temp6 = true;
15398 }
15399 }
15400 {
15401 if (!wxPyCheckForApp()) SWIG_fail;
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
15408 {
15409 if (temp6)
15410 delete arg6;
15411 }
15412 return resultobj;
15413fail:
15414 {
15415 if (temp6)
15416 delete arg6;
15417 }
15418 return NULL;
15419}
15420
15421
15422SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15423 PyObject *resultobj = 0;
15424 wxPyVScrolledWindow *result = 0 ;
15425
15426 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
15427 {
15428 if (!wxPyCheckForApp()) SWIG_fail;
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
15435 return resultobj;
15436fail:
15437 return NULL;
15438}
15439
15440
15441SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj = 0;
15443 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15444 PyObject *arg2 = (PyObject *) 0 ;
15445 PyObject *arg3 = (PyObject *) 0 ;
15446 void *argp1 = 0 ;
15447 int res1 = 0 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 PyObject * obj2 = 0 ;
15451 char * kwnames[] = {
15452 (char *) "self",(char *) "self",(char *) "_class", NULL
15453 };
15454
15455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15457 if (!SWIG_IsOK(res1)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15459 }
15460 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15461 arg2 = obj1;
15462 arg3 = obj2;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->_setCallbackInfo(arg2,arg3);
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
15476SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj = 0;
15478 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15479 wxWindow *arg2 = (wxWindow *) 0 ;
15480 int arg3 = (int) wxID_ANY ;
15481 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15482 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15483 wxSize const &arg5_defvalue = wxDefaultSize ;
15484 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15485 long arg6 = (long) 0 ;
15486 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15487 wxString *arg7 = (wxString *) &arg7_defvalue ;
15488 bool result;
15489 void *argp1 = 0 ;
15490 int res1 = 0 ;
15491 void *argp2 = 0 ;
15492 int res2 = 0 ;
15493 int val3 ;
15494 int ecode3 = 0 ;
15495 wxPoint temp4 ;
15496 wxSize temp5 ;
15497 long val6 ;
15498 int ecode6 = 0 ;
15499 bool temp7 = false ;
15500 PyObject * obj0 = 0 ;
15501 PyObject * obj1 = 0 ;
15502 PyObject * obj2 = 0 ;
15503 PyObject * obj3 = 0 ;
15504 PyObject * obj4 = 0 ;
15505 PyObject * obj5 = 0 ;
15506 PyObject * obj6 = 0 ;
15507 char * kwnames[] = {
15508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15509 };
15510
15511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15513 if (!SWIG_IsOK(res1)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15515 }
15516 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15517 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15518 if (!SWIG_IsOK(res2)) {
15519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15520 }
15521 arg2 = reinterpret_cast< wxWindow * >(argp2);
15522 if (obj2) {
15523 ecode3 = SWIG_AsVal_int(obj2, &val3);
15524 if (!SWIG_IsOK(ecode3)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15526 }
15527 arg3 = static_cast< int >(val3);
15528 }
15529 if (obj3) {
15530 {
15531 arg4 = &temp4;
15532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15533 }
15534 }
15535 if (obj4) {
15536 {
15537 arg5 = &temp5;
15538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15539 }
15540 }
15541 if (obj5) {
15542 ecode6 = SWIG_AsVal_long(obj5, &val6);
15543 if (!SWIG_IsOK(ecode6)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15545 }
15546 arg6 = static_cast< long >(val6);
15547 }
15548 if (obj6) {
15549 {
15550 arg7 = wxString_in_helper(obj6);
15551 if (arg7 == NULL) SWIG_fail;
15552 temp7 = true;
15553 }
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 {
15562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15563 }
15564 {
15565 if (temp7)
15566 delete arg7;
15567 }
15568 return resultobj;
15569fail:
15570 {
15571 if (temp7)
15572 delete arg7;
15573 }
15574 return NULL;
15575}
15576
15577
15578SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj = 0;
15580 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15581 size_t arg2 ;
15582 size_t arg3 ;
15583 int result;
15584 void *argp1 = 0 ;
15585 int res1 = 0 ;
15586 size_t val2 ;
15587 int ecode2 = 0 ;
15588 size_t val3 ;
15589 int ecode3 = 0 ;
15590 PyObject * obj0 = 0 ;
15591 PyObject * obj1 = 0 ;
15592 PyObject * obj2 = 0 ;
15593 char * kwnames[] = {
15594 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15595 };
15596
15597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15599 if (!SWIG_IsOK(res1)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15601 }
15602 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15603 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15604 if (!SWIG_IsOK(ecode2)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15606 }
15607 arg2 = static_cast< size_t >(val2);
15608 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15609 if (!SWIG_IsOK(ecode3)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15611 }
15612 arg3 = static_cast< size_t >(val3);
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 resultobj = SWIG_From_int(static_cast< int >(result));
15620 return resultobj;
15621fail:
15622 return NULL;
15623}
15624
15625
15626SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15627 PyObject *resultobj = 0;
15628 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15629 int result;
15630 void *argp1 = 0 ;
15631 int res1 = 0 ;
15632 PyObject *swig_obj[1] ;
15633
15634 if (!args) SWIG_fail;
15635 swig_obj[0] = args;
15636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15637 if (!SWIG_IsOK(res1)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15639 }
15640 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight();
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 resultobj = SWIG_From_int(static_cast< int >(result));
15648 return resultobj;
15649fail:
15650 return NULL;
15651}
15652
15653
15654SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj = 0;
15656 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15657 wxPoint *arg2 = 0 ;
15658 int result;
15659 void *argp1 = 0 ;
15660 int res1 = 0 ;
15661 wxPoint temp2 ;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char * kwnames[] = {
15665 (char *) "self",(char *) "pt", NULL
15666 };
15667
15668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15670 if (!SWIG_IsOK(res1)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15672 }
15673 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15674 {
15675 arg2 = &temp2;
15676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15677 }
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 resultobj = SWIG_From_int(static_cast< int >(result));
15685 return resultobj;
15686fail:
15687 return NULL;
15688}
15689
15690
15691SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15692 PyObject *obj;
15693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
15695 return SWIG_Py_Void();
15696}
15697
15698SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15699 return SWIG_Python_InitShadowInstance(args);
15700}
15701
15702SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj = 0;
15704 wxWindow *arg1 = (wxWindow *) 0 ;
15705 int arg2 = (int) wxID_ANY ;
15706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15708 wxSize const &arg4_defvalue = wxDefaultSize ;
15709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15710 long arg5 = (long) 0 ;
15711 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15712 wxString *arg6 = (wxString *) &arg6_defvalue ;
15713 wxPyHScrolledWindow *result = 0 ;
15714 void *argp1 = 0 ;
15715 int res1 = 0 ;
15716 int val2 ;
15717 int ecode2 = 0 ;
15718 wxPoint temp3 ;
15719 wxSize temp4 ;
15720 long val5 ;
15721 int ecode5 = 0 ;
15722 bool temp6 = false ;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 PyObject * obj2 = 0 ;
15726 PyObject * obj3 = 0 ;
15727 PyObject * obj4 = 0 ;
15728 PyObject * obj5 = 0 ;
15729 char * kwnames[] = {
15730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15731 };
15732
15733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15735 if (!SWIG_IsOK(res1)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15737 }
15738 arg1 = reinterpret_cast< wxWindow * >(argp1);
15739 if (obj1) {
15740 ecode2 = SWIG_AsVal_int(obj1, &val2);
15741 if (!SWIG_IsOK(ecode2)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15743 }
15744 arg2 = static_cast< int >(val2);
15745 }
15746 if (obj2) {
15747 {
15748 arg3 = &temp3;
15749 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15750 }
15751 }
15752 if (obj3) {
15753 {
15754 arg4 = &temp4;
15755 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15756 }
15757 }
15758 if (obj4) {
15759 ecode5 = SWIG_AsVal_long(obj4, &val5);
15760 if (!SWIG_IsOK(ecode5)) {
15761 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15762 }
15763 arg5 = static_cast< long >(val5);
15764 }
15765 if (obj5) {
15766 {
15767 arg6 = wxString_in_helper(obj5);
15768 if (arg6 == NULL) SWIG_fail;
15769 temp6 = true;
15770 }
15771 }
15772 {
15773 if (!wxPyCheckForApp()) SWIG_fail;
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 );
15780 {
15781 if (temp6)
15782 delete arg6;
15783 }
15784 return resultobj;
15785fail:
15786 {
15787 if (temp6)
15788 delete arg6;
15789 }
15790 return NULL;
15791}
15792
15793
15794SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15795 PyObject *resultobj = 0;
15796 wxPyHScrolledWindow *result = 0 ;
15797
15798 if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail;
15799 {
15800 if (!wxPyCheckForApp()) SWIG_fail;
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow();
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 );
15807 return resultobj;
15808fail:
15809 return NULL;
15810}
15811
15812
15813SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj = 0;
15815 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15816 PyObject *arg2 = (PyObject *) 0 ;
15817 PyObject *arg3 = (PyObject *) 0 ;
15818 void *argp1 = 0 ;
15819 int res1 = 0 ;
15820 PyObject * obj0 = 0 ;
15821 PyObject * obj1 = 0 ;
15822 PyObject * obj2 = 0 ;
15823 char * kwnames[] = {
15824 (char *) "self",(char *) "self",(char *) "_class", NULL
15825 };
15826
15827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15829 if (!SWIG_IsOK(res1)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15831 }
15832 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15833 arg2 = obj1;
15834 arg3 = obj2;
15835 {
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 (arg1)->_setCallbackInfo(arg2,arg3);
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = SWIG_Py_Void();
15842 return resultobj;
15843fail:
15844 return NULL;
15845}
15846
15847
15848SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj = 0;
15850 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15851 wxWindow *arg2 = (wxWindow *) 0 ;
15852 int arg3 = (int) wxID_ANY ;
15853 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15854 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15855 wxSize const &arg5_defvalue = wxDefaultSize ;
15856 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15857 long arg6 = (long) 0 ;
15858 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15859 wxString *arg7 = (wxString *) &arg7_defvalue ;
15860 bool result;
15861 void *argp1 = 0 ;
15862 int res1 = 0 ;
15863 void *argp2 = 0 ;
15864 int res2 = 0 ;
15865 int val3 ;
15866 int ecode3 = 0 ;
15867 wxPoint temp4 ;
15868 wxSize temp5 ;
15869 long val6 ;
15870 int ecode6 = 0 ;
15871 bool temp7 = false ;
15872 PyObject * obj0 = 0 ;
15873 PyObject * obj1 = 0 ;
15874 PyObject * obj2 = 0 ;
15875 PyObject * obj3 = 0 ;
15876 PyObject * obj4 = 0 ;
15877 PyObject * obj5 = 0 ;
15878 PyObject * obj6 = 0 ;
15879 char * kwnames[] = {
15880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15881 };
15882
15883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15885 if (!SWIG_IsOK(res1)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15887 }
15888 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15889 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15890 if (!SWIG_IsOK(res2)) {
15891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15892 }
15893 arg2 = reinterpret_cast< wxWindow * >(argp2);
15894 if (obj2) {
15895 ecode3 = SWIG_AsVal_int(obj2, &val3);
15896 if (!SWIG_IsOK(ecode3)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15898 }
15899 arg3 = static_cast< int >(val3);
15900 }
15901 if (obj3) {
15902 {
15903 arg4 = &temp4;
15904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15905 }
15906 }
15907 if (obj4) {
15908 {
15909 arg5 = &temp5;
15910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15911 }
15912 }
15913 if (obj5) {
15914 ecode6 = SWIG_AsVal_long(obj5, &val6);
15915 if (!SWIG_IsOK(ecode6)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15917 }
15918 arg6 = static_cast< long >(val6);
15919 }
15920 if (obj6) {
15921 {
15922 arg7 = wxString_in_helper(obj6);
15923 if (arg7 == NULL) SWIG_fail;
15924 temp7 = true;
15925 }
15926 }
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15935 }
15936 {
15937 if (temp7)
15938 delete arg7;
15939 }
15940 return resultobj;
15941fail:
15942 {
15943 if (temp7)
15944 delete arg7;
15945 }
15946 return NULL;
15947}
15948
15949
15950SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj = 0;
15952 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15953 wxPoint *arg2 = 0 ;
15954 int result;
15955 void *argp1 = 0 ;
15956 int res1 = 0 ;
15957 wxPoint temp2 ;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 char * kwnames[] = {
15961 (char *) "self",(char *) "pt", NULL
15962 };
15963
15964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15966 if (!SWIG_IsOK(res1)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15968 }
15969 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15970 {
15971 arg2 = &temp2;
15972 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15973 }
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 resultobj = SWIG_From_int(static_cast< int >(result));
15981 return resultobj;
15982fail:
15983 return NULL;
15984}
15985
15986
15987SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj = 0;
15989 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15990 size_t arg2 ;
15991 size_t arg3 ;
15992 int result;
15993 void *argp1 = 0 ;
15994 int res1 = 0 ;
15995 size_t val2 ;
15996 int ecode2 = 0 ;
15997 size_t val3 ;
15998 int ecode3 = 0 ;
15999 PyObject * obj0 = 0 ;
16000 PyObject * obj1 = 0 ;
16001 PyObject * obj2 = 0 ;
16002 char * kwnames[] = {
16003 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16004 };
16005
16006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16008 if (!SWIG_IsOK(res1)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16010 }
16011 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16012 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16013 if (!SWIG_IsOK(ecode2)) {
16014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16015 }
16016 arg2 = static_cast< size_t >(val2);
16017 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16018 if (!SWIG_IsOK(ecode3)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16020 }
16021 arg3 = static_cast< size_t >(val3);
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 resultobj = SWIG_From_int(static_cast< int >(result));
16029 return resultobj;
16030fail:
16031 return NULL;
16032}
16033
16034
16035SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16036 PyObject *resultobj = 0;
16037 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
16038 int result;
16039 void *argp1 = 0 ;
16040 int res1 = 0 ;
16041 PyObject *swig_obj[1] ;
16042
16043 if (!args) SWIG_fail;
16044 swig_obj[0] = args;
16045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16046 if (!SWIG_IsOK(res1)) {
16047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16048 }
16049 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth();
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 resultobj = SWIG_From_int(static_cast< int >(result));
16057 return resultobj;
16058fail:
16059 return NULL;
16060}
16061
16062
16063SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16064 PyObject *obj;
16065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj));
16067 return SWIG_Py_Void();
16068}
16069
16070SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16071 return SWIG_Python_InitShadowInstance(args);
16072}
16073
16074SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj = 0;
16076 wxWindow *arg1 = (wxWindow *) 0 ;
16077 int arg2 = (int) wxID_ANY ;
16078 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16079 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16080 wxSize const &arg4_defvalue = wxDefaultSize ;
16081 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16082 long arg5 = (long) 0 ;
16083 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16084 wxString *arg6 = (wxString *) &arg6_defvalue ;
16085 wxPyHVScrolledWindow *result = 0 ;
16086 void *argp1 = 0 ;
16087 int res1 = 0 ;
16088 int val2 ;
16089 int ecode2 = 0 ;
16090 wxPoint temp3 ;
16091 wxSize temp4 ;
16092 long val5 ;
16093 int ecode5 = 0 ;
16094 bool temp6 = false ;
16095 PyObject * obj0 = 0 ;
16096 PyObject * obj1 = 0 ;
16097 PyObject * obj2 = 0 ;
16098 PyObject * obj3 = 0 ;
16099 PyObject * obj4 = 0 ;
16100 PyObject * obj5 = 0 ;
16101 char * kwnames[] = {
16102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16103 };
16104
16105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16107 if (!SWIG_IsOK(res1)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16109 }
16110 arg1 = reinterpret_cast< wxWindow * >(argp1);
16111 if (obj1) {
16112 ecode2 = SWIG_AsVal_int(obj1, &val2);
16113 if (!SWIG_IsOK(ecode2)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16115 }
16116 arg2 = static_cast< int >(val2);
16117 }
16118 if (obj2) {
16119 {
16120 arg3 = &temp3;
16121 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16122 }
16123 }
16124 if (obj3) {
16125 {
16126 arg4 = &temp4;
16127 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16128 }
16129 }
16130 if (obj4) {
16131 ecode5 = SWIG_AsVal_long(obj4, &val5);
16132 if (!SWIG_IsOK(ecode5)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16134 }
16135 arg5 = static_cast< long >(val5);
16136 }
16137 if (obj5) {
16138 {
16139 arg6 = wxString_in_helper(obj5);
16140 if (arg6 == NULL) SWIG_fail;
16141 temp6 = true;
16142 }
16143 }
16144 {
16145 if (!wxPyCheckForApp()) SWIG_fail;
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 );
16152 {
16153 if (temp6)
16154 delete arg6;
16155 }
16156 return resultobj;
16157fail:
16158 {
16159 if (temp6)
16160 delete arg6;
16161 }
16162 return NULL;
16163}
16164
16165
16166SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16167 PyObject *resultobj = 0;
16168 wxPyHVScrolledWindow *result = 0 ;
16169
16170 if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail;
0085ce49 16171 {
8c3a7183 16172 if (!wxPyCheckForApp()) SWIG_fail;
0085ce49 16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16174 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow();
0085ce49
RD
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
8c3a7183 16178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 );
0085ce49
RD
16179 return resultobj;
16180fail:
16181 return NULL;
b2dc1044
RD
16182}
16183
16184
8c3a7183 16185SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 16186 PyObject *resultobj = 0;
8c3a7183
RD
16187 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16188 PyObject *arg2 = (PyObject *) 0 ;
16189 PyObject *arg3 = (PyObject *) 0 ;
0085ce49
RD
16190 void *argp1 = 0 ;
16191 int res1 = 0 ;
8c3a7183
RD
16192 PyObject * obj0 = 0 ;
16193 PyObject * obj1 = 0 ;
16194 PyObject * obj2 = 0 ;
16195 char * kwnames[] = {
16196 (char *) "self",(char *) "self",(char *) "_class", NULL
16197 };
0085ce49 16198
8c3a7183
RD
16199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
0085ce49 16201 if (!SWIG_IsOK(res1)) {
8c3a7183 16202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
0085ce49 16203 }
8c3a7183
RD
16204 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16205 arg2 = obj1;
16206 arg3 = obj2;
0085ce49
RD
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16209 (arg1)->_setCallbackInfo(arg2,arg3);
0085ce49
RD
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
8c3a7183 16213 resultobj = SWIG_Py_Void();
0085ce49
RD
16214 return resultobj;
16215fail:
16216 return NULL;
16217}
16218
16219
8c3a7183 16220SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 16221 PyObject *resultobj = 0;
8c3a7183
RD
16222 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16223 wxWindow *arg2 = (wxWindow *) 0 ;
16224 int arg3 = (int) wxID_ANY ;
16225 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16226 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16227 wxSize const &arg5_defvalue = wxDefaultSize ;
16228 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16229 long arg6 = (long) 0 ;
16230 wxString const &arg7_defvalue = wxPyPanelNameStr ;
16231 wxString *arg7 = (wxString *) &arg7_defvalue ;
0085ce49
RD
16232 bool result;
16233 void *argp1 = 0 ;
16234 int res1 = 0 ;
8c3a7183
RD
16235 void *argp2 = 0 ;
16236 int res2 = 0 ;
16237 int val3 ;
16238 int ecode3 = 0 ;
16239 wxPoint temp4 ;
16240 wxSize temp5 ;
16241 long val6 ;
16242 int ecode6 = 0 ;
16243 bool temp7 = false ;
0085ce49
RD
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
8c3a7183
RD
16246 PyObject * obj2 = 0 ;
16247 PyObject * obj3 = 0 ;
16248 PyObject * obj4 = 0 ;
16249 PyObject * obj5 = 0 ;
16250 PyObject * obj6 = 0 ;
0085ce49 16251 char * kwnames[] = {
8c3a7183 16252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
0085ce49
RD
16253 };
16254
8c3a7183
RD
16255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
0085ce49 16257 if (!SWIG_IsOK(res1)) {
8c3a7183
RD
16258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16259 }
16260 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16262 if (!SWIG_IsOK(res2)) {
16263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16264 }
16265 arg2 = reinterpret_cast< wxWindow * >(argp2);
16266 if (obj2) {
16267 ecode3 = SWIG_AsVal_int(obj2, &val3);
16268 if (!SWIG_IsOK(ecode3)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16270 }
16271 arg3 = static_cast< int >(val3);
16272 }
16273 if (obj3) {
16274 {
16275 arg4 = &temp4;
16276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16277 }
16278 }
16279 if (obj4) {
16280 {
16281 arg5 = &temp5;
16282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16283 }
16284 }
16285 if (obj5) {
16286 ecode6 = SWIG_AsVal_long(obj5, &val6);
16287 if (!SWIG_IsOK(ecode6)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16289 }
16290 arg6 = static_cast< long >(val6);
16291 }
16292 if (obj6) {
16293 {
16294 arg7 = wxString_in_helper(obj6);
16295 if (arg7 == NULL) SWIG_fail;
16296 temp7 = true;
16297 }
0085ce49 16298 }
0085ce49
RD
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16301 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
0085ce49
RD
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 {
16306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16307 }
8c3a7183
RD
16308 {
16309 if (temp7)
16310 delete arg7;
16311 }
0085ce49
RD
16312 return resultobj;
16313fail:
8c3a7183
RD
16314 {
16315 if (temp7)
16316 delete arg7;
16317 }
0085ce49 16318 return NULL;
d14a1e28
RD
16319}
16320
16321
8c3a7183 16322SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 16323 PyObject *resultobj = 0;
8c3a7183
RD
16324 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16325 size_t arg2 ;
16326 size_t arg3 ;
16327 int result;
0085ce49
RD
16328 void *argp1 = 0 ;
16329 int res1 = 0 ;
8c3a7183
RD
16330 size_t val2 ;
16331 int ecode2 = 0 ;
16332 size_t val3 ;
16333 int ecode3 = 0 ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj1 = 0 ;
16336 PyObject * obj2 = 0 ;
16337 char * kwnames[] = {
16338 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16339 };
0085ce49 16340
8c3a7183
RD
16341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
0085ce49 16343 if (!SWIG_IsOK(res1)) {
8c3a7183 16344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
0085ce49 16345 }
8c3a7183
RD
16346 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16347 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16348 if (!SWIG_IsOK(ecode2)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16350 }
16351 arg2 = static_cast< size_t >(val2);
16352 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16353 if (!SWIG_IsOK(ecode3)) {
16354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16355 }
16356 arg3 = static_cast< size_t >(val3);
0085ce49
RD
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16359 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
0085ce49
RD
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
8c3a7183 16363 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
16364 return resultobj;
16365fail:
16366 return NULL;
d14a1e28
RD
16367}
16368
16369
8c3a7183 16370SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 16371 PyObject *resultobj = 0;
8c3a7183
RD
16372 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16373 int result;
0085ce49
RD
16374 void *argp1 = 0 ;
16375 int res1 = 0 ;
16376 PyObject *swig_obj[1] ;
16377
16378 if (!args) SWIG_fail;
16379 swig_obj[0] = args;
8c3a7183 16380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
0085ce49 16381 if (!SWIG_IsOK(res1)) {
8c3a7183 16382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
0085ce49 16383 }
8c3a7183 16384 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
0085ce49
RD
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16387 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight();
0085ce49
RD
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
8c3a7183 16391 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
16392 return resultobj;
16393fail:
16394 return NULL;
16395}
16396
16397
8c3a7183 16398SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 16399 PyObject *resultobj = 0;
8c3a7183 16400 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
0085ce49 16401 size_t arg2 ;
8c3a7183
RD
16402 size_t arg3 ;
16403 int result;
0085ce49
RD
16404 void *argp1 = 0 ;
16405 int res1 = 0 ;
16406 size_t val2 ;
16407 int ecode2 = 0 ;
8c3a7183 16408 size_t val3 ;
0085ce49
RD
16409 int ecode3 = 0 ;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 PyObject * obj2 = 0 ;
16413 char * kwnames[] = {
8c3a7183 16414 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
0085ce49
RD
16415 };
16416
8c3a7183
RD
16417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
0085ce49 16419 if (!SWIG_IsOK(res1)) {
8c3a7183 16420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
0085ce49 16421 }
8c3a7183 16422 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
0085ce49
RD
16423 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16424 if (!SWIG_IsOK(ecode2)) {
8c3a7183 16425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
0085ce49
RD
16426 }
16427 arg2 = static_cast< size_t >(val2);
8c3a7183
RD
16428 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16429 if (!SWIG_IsOK(ecode3)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16431 }
16432 arg3 = static_cast< size_t >(val3);
0085ce49
RD
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16435 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
0085ce49
RD
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
8c3a7183 16439 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
16440 return resultobj;
16441fail:
16442 return NULL;
16443}
16444
16445
8c3a7183 16446SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 16447 PyObject *resultobj = 0;
8c3a7183 16448 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
0085ce49
RD
16449 int result;
16450 void *argp1 = 0 ;
16451 int res1 = 0 ;
8c3a7183 16452 PyObject *swig_obj[1] ;
0085ce49 16453
8c3a7183
RD
16454 if (!args) SWIG_fail;
16455 swig_obj[0] = args;
16456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
0085ce49 16457 if (!SWIG_IsOK(res1)) {
8c3a7183 16458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
0085ce49 16459 }
8c3a7183 16460 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
0085ce49
RD
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16463 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth();
0085ce49
RD
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 resultobj = SWIG_From_int(static_cast< int >(result));
16468 return resultobj;
16469fail:
16470 return NULL;
d14a1e28
RD
16471}
16472
16473
8c3a7183 16474SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
16475 PyObject *obj;
16476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8c3a7183 16477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj));
0085ce49 16478 return SWIG_Py_Void();
d14a1e28
RD
16479}
16480
8c3a7183 16481SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
16482 return SWIG_Python_InitShadowInstance(args);
16483}
d14a1e28 16484
0085ce49
RD
16485SWIGINTERN int VListBoxNameStr_set(PyObject *) {
16486 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
16487 return 1;
d14a1e28
RD
16488}
16489
16490
0085ce49
RD
16491SWIGINTERN PyObject *VListBoxNameStr_get(void) {
16492 PyObject *pyobj = 0;
16493
16494 {
16495#if wxUSE_UNICODE
16496 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16497#else
16498 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16499#endif
16500 }
16501 return pyobj;
16502}
16503
16504
16505SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj = 0;
16507 wxWindow *arg1 = (wxWindow *) 0 ;
16508 int arg2 = (int) wxID_ANY ;
16509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16511 wxSize const &arg4_defvalue = wxDefaultSize ;
16512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16513 long arg5 = (long) 0 ;
16514 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
16515 wxString *arg6 = (wxString *) &arg6_defvalue ;
16516 wxPyVListBox *result = 0 ;
16517 void *argp1 = 0 ;
16518 int res1 = 0 ;
16519 int val2 ;
16520 int ecode2 = 0 ;
16521 wxPoint temp3 ;
16522 wxSize temp4 ;
16523 long val5 ;
16524 int ecode5 = 0 ;
16525 bool temp6 = false ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 PyObject * obj2 = 0 ;
16529 PyObject * obj3 = 0 ;
16530 PyObject * obj4 = 0 ;
16531 PyObject * obj5 = 0 ;
16532 char * kwnames[] = {
16533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16534 };
16535
16536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16538 if (!SWIG_IsOK(res1)) {
16539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16540 }
16541 arg1 = reinterpret_cast< wxWindow * >(argp1);
16542 if (obj1) {
16543 ecode2 = SWIG_AsVal_int(obj1, &val2);
16544 if (!SWIG_IsOK(ecode2)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16546 }
16547 arg2 = static_cast< int >(val2);
16548 }
16549 if (obj2) {
093d3ff1 16550 {
0085ce49
RD
16551 arg3 = &temp3;
16552 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 16553 }
0085ce49
RD
16554 }
16555 if (obj3) {
093d3ff1 16556 {
0085ce49
RD
16557 arg4 = &temp4;
16558 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 16559 }
0085ce49
RD
16560 }
16561 if (obj4) {
16562 ecode5 = SWIG_AsVal_long(obj4, &val5);
16563 if (!SWIG_IsOK(ecode5)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16565 }
16566 arg5 = static_cast< long >(val5);
16567 }
16568 if (obj5) {
d14a1e28 16569 {
0085ce49
RD
16570 arg6 = wxString_in_helper(obj5);
16571 if (arg6 == NULL) SWIG_fail;
16572 temp6 = true;
16573 }
16574 }
16575 {
16576 if (!wxPyCheckForApp()) SWIG_fail;
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
16583 {
16584 if (temp6)
16585 delete arg6;
16586 }
16587 return resultobj;
16588fail:
16589 {
16590 if (temp6)
16591 delete arg6;
16592 }
16593 return NULL;
d14a1e28
RD
16594}
16595
16596
0085ce49
RD
16597SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16598 PyObject *resultobj = 0;
16599 wxPyVListBox *result = 0 ;
16600
16601 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
16602 {
16603 if (!wxPyCheckForApp()) SWIG_fail;
16604 PyThreadState* __tstate = wxPyBeginAllowThreads();
16605 result = (wxPyVListBox *)new wxPyVListBox();
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
16610 return resultobj;
16611fail:
16612 return NULL;
16613}
16614
16615
16616SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj = 0;
16618 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16619 PyObject *arg2 = (PyObject *) 0 ;
16620 PyObject *arg3 = (PyObject *) 0 ;
16621 void *argp1 = 0 ;
16622 int res1 = 0 ;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 PyObject * obj2 = 0 ;
16626 char * kwnames[] = {
16627 (char *) "self",(char *) "self",(char *) "_class", NULL
16628 };
16629
16630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16632 if (!SWIG_IsOK(res1)) {
16633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16634 }
16635 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16636 arg2 = obj1;
16637 arg3 = obj2;
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 (arg1)->_setCallbackInfo(arg2,arg3);
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 resultobj = SWIG_Py_Void();
16645 return resultobj;
16646fail:
16647 return NULL;
16648}
16649
16650
16651SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj = 0;
16653 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16654 wxWindow *arg2 = (wxWindow *) 0 ;
16655 int arg3 = (int) wxID_ANY ;
16656 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16657 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16658 wxSize const &arg5_defvalue = wxDefaultSize ;
16659 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16660 long arg6 = (long) 0 ;
16661 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
16662 wxString *arg7 = (wxString *) &arg7_defvalue ;
16663 bool result;
16664 void *argp1 = 0 ;
16665 int res1 = 0 ;
16666 void *argp2 = 0 ;
16667 int res2 = 0 ;
16668 int val3 ;
16669 int ecode3 = 0 ;
16670 wxPoint temp4 ;
16671 wxSize temp5 ;
16672 long val6 ;
16673 int ecode6 = 0 ;
16674 bool temp7 = false ;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 PyObject * obj2 = 0 ;
16678 PyObject * obj3 = 0 ;
16679 PyObject * obj4 = 0 ;
16680 PyObject * obj5 = 0 ;
16681 PyObject * obj6 = 0 ;
16682 char * kwnames[] = {
16683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16684 };
16685
16686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16688 if (!SWIG_IsOK(res1)) {
16689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16690 }
16691 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16693 if (!SWIG_IsOK(res2)) {
16694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16695 }
16696 arg2 = reinterpret_cast< wxWindow * >(argp2);
16697 if (obj2) {
16698 ecode3 = SWIG_AsVal_int(obj2, &val3);
16699 if (!SWIG_IsOK(ecode3)) {
16700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16701 }
16702 arg3 = static_cast< int >(val3);
16703 }
16704 if (obj3) {
093d3ff1 16705 {
0085ce49
RD
16706 arg4 = &temp4;
16707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 16708 }
0085ce49
RD
16709 }
16710 if (obj4) {
d14a1e28 16711 {
0085ce49
RD
16712 arg5 = &temp5;
16713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16714 }
0085ce49
RD
16715 }
16716 if (obj5) {
16717 ecode6 = SWIG_AsVal_long(obj5, &val6);
16718 if (!SWIG_IsOK(ecode6)) {
16719 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16720 }
16721 arg6 = static_cast< long >(val6);
16722 }
16723 if (obj6) {
4f89f6a3 16724 {
0085ce49
RD
16725 arg7 = wxString_in_helper(obj6);
16726 if (arg7 == NULL) SWIG_fail;
16727 temp7 = true;
4f89f6a3 16728 }
0085ce49
RD
16729 }
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
16739 {
16740 if (temp7)
16741 delete arg7;
16742 }
16743 return resultobj;
16744fail:
16745 {
16746 if (temp7)
16747 delete arg7;
16748 }
16749 return NULL;
d14a1e28
RD
16750}
16751
16752
0085ce49
RD
16753SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16754 PyObject *resultobj = 0;
16755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16756 size_t result;
16757 void *argp1 = 0 ;
16758 int res1 = 0 ;
16759 PyObject *swig_obj[1] ;
16760
16761 if (!args) SWIG_fail;
16762 swig_obj[0] = args;
16763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16764 if (!SWIG_IsOK(res1)) {
16765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16766 }
16767 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
16771 wxPyEndAllowThreads(__tstate);
16772 if (PyErr_Occurred()) SWIG_fail;
16773 }
16774 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16775 return resultobj;
16776fail:
16777 return NULL;
d14a1e28
RD
16778}
16779
16780
0085ce49
RD
16781SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16782 PyObject *resultobj = 0;
16783 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16784 bool result;
16785 void *argp1 = 0 ;
16786 int res1 = 0 ;
16787 PyObject *swig_obj[1] ;
16788
16789 if (!args) SWIG_fail;
16790 swig_obj[0] = args;
16791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16792 if (!SWIG_IsOK(res1)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16794 }
16795 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 {
16803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16804 }
16805 return resultobj;
16806fail:
16807 return NULL;
d14a1e28
RD
16808}
16809
16810
0085ce49
RD
16811SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16812 PyObject *resultobj = 0;
16813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16814 int result;
16815 void *argp1 = 0 ;
16816 int res1 = 0 ;
16817 PyObject *swig_obj[1] ;
16818
16819 if (!args) SWIG_fail;
16820 swig_obj[0] = args;
16821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16822 if (!SWIG_IsOK(res1)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16824 }
16825 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 resultobj = SWIG_From_int(static_cast< int >(result));
16833 return resultobj;
16834fail:
16835 return NULL;
16836}
16837
16838
16839SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj = 0;
16841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16842 size_t arg2 ;
16843 bool result;
16844 void *argp1 = 0 ;
16845 int res1 = 0 ;
16846 size_t val2 ;
16847 int ecode2 = 0 ;
16848 PyObject * obj0 = 0 ;
16849 PyObject * obj1 = 0 ;
16850 char * kwnames[] = {
16851 (char *) "self",(char *) "item", NULL
16852 };
16853
16854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
16855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16856 if (!SWIG_IsOK(res1)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16858 }
16859 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16860 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16861 if (!SWIG_IsOK(ecode2)) {
16862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16863 }
16864 arg2 = static_cast< size_t >(val2);
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
16868 wxPyEndAllowThreads(__tstate);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 {
16872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16873 }
16874 return resultobj;
16875fail:
16876 return NULL;
16877}
16878
16879
16880SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj = 0;
16882 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16883 size_t arg2 ;
16884 bool result;
16885 void *argp1 = 0 ;
16886 int res1 = 0 ;
16887 size_t val2 ;
16888 int ecode2 = 0 ;
16889 PyObject * obj0 = 0 ;
16890 PyObject * obj1 = 0 ;
16891 char * kwnames[] = {
16892 (char *) "self",(char *) "item", NULL
16893 };
16894
16895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16897 if (!SWIG_IsOK(res1)) {
16898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16899 }
16900 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16901 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16902 if (!SWIG_IsOK(ecode2)) {
16903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16904 }
16905 arg2 = static_cast< size_t >(val2);
16906 {
16907 PyThreadState* __tstate = wxPyBeginAllowThreads();
16908 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
16909 wxPyEndAllowThreads(__tstate);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 }
16912 {
16913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16914 }
16915 return resultobj;
16916fail:
16917 return NULL;
d14a1e28
RD
16918}
16919
16920
0085ce49
RD
16921SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16922 PyObject *resultobj = 0;
16923 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16924 size_t result;
16925 void *argp1 = 0 ;
16926 int res1 = 0 ;
16927 PyObject *swig_obj[1] ;
16928
16929 if (!args) SWIG_fail;
16930 swig_obj[0] = args;
16931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16932 if (!SWIG_IsOK(res1)) {
16933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16934 }
16935 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16943 return resultobj;
16944fail:
16945 return NULL;
d14a1e28
RD
16946}
16947
16948
0085ce49
RD
16949SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16950 PyObject *resultobj = 0;
16951 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16952 PyObject *result = 0 ;
16953 void *argp1 = 0 ;
16954 int res1 = 0 ;
16955 PyObject *swig_obj[1] ;
16956
16957 if (!args) SWIG_fail;
16958 swig_obj[0] = args;
16959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16960 if (!SWIG_IsOK(res1)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16962 }
16963 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 resultobj = result;
16971 return resultobj;
16972fail:
16973 return NULL;
16974}
16975
16976
16977SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj = 0;
16979 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16980 unsigned long arg2 ;
16981 PyObject *result = 0 ;
16982 void *argp1 = 0 ;
16983 int res1 = 0 ;
16984 unsigned long val2 ;
16985 int ecode2 = 0 ;
16986 PyObject * obj0 = 0 ;
16987 PyObject * obj1 = 0 ;
16988 char * kwnames[] = {
16989 (char *) "self",(char *) "cookie", NULL
16990 };
16991
16992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16994 if (!SWIG_IsOK(res1)) {
16995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16996 }
16997 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16998 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
16999 if (!SWIG_IsOK(ecode2)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
17001 }
17002 arg2 = static_cast< unsigned long >(val2);
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 resultobj = result;
17010 return resultobj;
17011fail:
17012 return NULL;
d14a1e28
RD
17013}
17014
17015
0085ce49
RD
17016SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17017 PyObject *resultobj = 0;
17018 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17019 wxPoint result;
17020 void *argp1 = 0 ;
17021 int res1 = 0 ;
17022 PyObject *swig_obj[1] ;
17023
17024 if (!args) SWIG_fail;
17025 swig_obj[0] = args;
17026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17027 if (!SWIG_IsOK(res1)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17029 }
17030 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = ((wxPyVListBox const *)arg1)->GetMargins();
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
17038 return resultobj;
17039fail:
17040 return NULL;
d14a1e28
RD
17041}
17042
17043
0085ce49
RD
17044SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17045 PyObject *resultobj = 0;
17046 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17047 wxColour *result = 0 ;
17048 void *argp1 = 0 ;
17049 int res1 = 0 ;
17050 PyObject *swig_obj[1] ;
17051
17052 if (!args) SWIG_fail;
17053 swig_obj[0] = args;
17054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17055 if (!SWIG_IsOK(res1)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17057 }
17058 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17061 {
0085ce49
RD
17062 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
17063 result = (wxColour *) &_result_ref;
093d3ff1 17064 }
0085ce49
RD
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
17069 return resultobj;
17070fail:
17071 return NULL;
17072}
17073
17074
17075SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj = 0;
17077 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17078 size_t arg2 ;
17079 void *argp1 = 0 ;
17080 int res1 = 0 ;
17081 size_t val2 ;
17082 int ecode2 = 0 ;
17083 PyObject * obj0 = 0 ;
17084 PyObject * obj1 = 0 ;
17085 char * kwnames[] = {
17086 (char *) "self",(char *) "count", NULL
17087 };
17088
17089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17091 if (!SWIG_IsOK(res1)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17093 }
17094 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17095 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17096 if (!SWIG_IsOK(ecode2)) {
17097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17098 }
17099 arg2 = static_cast< size_t >(val2);
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 (arg1)->SetItemCount(arg2);
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 resultobj = SWIG_Py_Void();
17107 return resultobj;
17108fail:
17109 return NULL;
d14a1e28
RD
17110}
17111
17112
0085ce49
RD
17113SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17114 PyObject *resultobj = 0;
17115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17116 void *argp1 = 0 ;
17117 int res1 = 0 ;
17118 PyObject *swig_obj[1] ;
17119
17120 if (!args) SWIG_fail;
17121 swig_obj[0] = args;
17122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17123 if (!SWIG_IsOK(res1)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17125 }
17126 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 (arg1)->Clear();
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 resultobj = SWIG_Py_Void();
17134 return resultobj;
17135fail:
17136 return NULL;
17137}
17138
17139
17140SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj = 0;
17142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17143 int arg2 ;
17144 void *argp1 = 0 ;
17145 int res1 = 0 ;
17146 int val2 ;
17147 int ecode2 = 0 ;
17148 PyObject * obj0 = 0 ;
17149 PyObject * obj1 = 0 ;
17150 char * kwnames[] = {
17151 (char *) "self",(char *) "selection", NULL
17152 };
17153
17154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17156 if (!SWIG_IsOK(res1)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17158 }
17159 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17160 ecode2 = SWIG_AsVal_int(obj1, &val2);
17161 if (!SWIG_IsOK(ecode2)) {
17162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17163 }
17164 arg2 = static_cast< int >(val2);
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 (arg1)->SetSelection(arg2);
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 resultobj = SWIG_Py_Void();
17172 return resultobj;
17173fail:
17174 return NULL;
17175}
17176
17177
17178SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj = 0;
17180 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17181 size_t arg2 ;
17182 bool arg3 = (bool) true ;
17183 bool result;
17184 void *argp1 = 0 ;
17185 int res1 = 0 ;
17186 size_t val2 ;
17187 int ecode2 = 0 ;
17188 bool val3 ;
17189 int ecode3 = 0 ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 PyObject * obj2 = 0 ;
17193 char * kwnames[] = {
17194 (char *) "self",(char *) "item",(char *) "select", NULL
17195 };
17196
17197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17199 if (!SWIG_IsOK(res1)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17201 }
17202 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17203 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17204 if (!SWIG_IsOK(ecode2)) {
17205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17206 }
17207 arg2 = static_cast< size_t >(val2);
17208 if (obj2) {
17209 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17210 if (!SWIG_IsOK(ecode3)) {
17211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17212 }
17213 arg3 = static_cast< bool >(val3);
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (bool)(arg1)->Select(arg2,arg3);
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 {
17222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17223 }
17224 return resultobj;
17225fail:
17226 return NULL;
17227}
17228
17229
17230SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj = 0;
17232 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17233 size_t arg2 ;
17234 size_t arg3 ;
17235 bool result;
17236 void *argp1 = 0 ;
17237 int res1 = 0 ;
17238 size_t val2 ;
17239 int ecode2 = 0 ;
17240 size_t val3 ;
17241 int ecode3 = 0 ;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 PyObject * obj2 = 0 ;
17245 char * kwnames[] = {
2131d850 17246 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
17247 };
17248
17249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17251 if (!SWIG_IsOK(res1)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17253 }
17254 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17255 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17256 if (!SWIG_IsOK(ecode2)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17258 }
17259 arg2 = static_cast< size_t >(val2);
17260 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17261 if (!SWIG_IsOK(ecode3)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17263 }
17264 arg3 = static_cast< size_t >(val3);
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (bool)(arg1)->SelectRange(arg2,arg3);
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17273 }
17274 return resultobj;
17275fail:
17276 return NULL;
17277}
17278
17279
17280SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj = 0;
17282 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17283 size_t arg2 ;
17284 void *argp1 = 0 ;
17285 int res1 = 0 ;
17286 size_t val2 ;
17287 int ecode2 = 0 ;
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
17290 char * kwnames[] = {
17291 (char *) "self",(char *) "item", NULL
17292 };
17293
17294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
17295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17296 if (!SWIG_IsOK(res1)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17298 }
17299 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17300 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17301 if (!SWIG_IsOK(ecode2)) {
17302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17303 }
17304 arg2 = static_cast< size_t >(val2);
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 (arg1)->Toggle(arg2);
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 resultobj = SWIG_Py_Void();
17312 return resultobj;
17313fail:
17314 return NULL;
d14a1e28
RD
17315}
17316
17317
0085ce49
RD
17318SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17319 PyObject *resultobj = 0;
17320 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17321 bool result;
17322 void *argp1 = 0 ;
17323 int res1 = 0 ;
17324 PyObject *swig_obj[1] ;
17325
17326 if (!args) SWIG_fail;
17327 swig_obj[0] = args;
17328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17329 if (!SWIG_IsOK(res1)) {
17330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17331 }
17332 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (bool)(arg1)->SelectAll();
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 {
17340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17341 }
17342 return resultobj;
17343fail:
17344 return NULL;
d14a1e28
RD
17345}
17346
17347
0085ce49
RD
17348SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17349 PyObject *resultobj = 0;
17350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17351 bool result;
17352 void *argp1 = 0 ;
17353 int res1 = 0 ;
17354 PyObject *swig_obj[1] ;
17355
17356 if (!args) SWIG_fail;
17357 swig_obj[0] = args;
17358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17359 if (!SWIG_IsOK(res1)) {
17360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17361 }
17362 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = (bool)(arg1)->DeselectAll();
17366 wxPyEndAllowThreads(__tstate);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 {
17370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17371 }
17372 return resultobj;
17373fail:
17374 return NULL;
17375}
17376
17377
17378SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj = 0;
17380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17381 wxPoint *arg2 = 0 ;
17382 void *argp1 = 0 ;
17383 int res1 = 0 ;
17384 wxPoint temp2 ;
17385 PyObject * obj0 = 0 ;
17386 PyObject * obj1 = 0 ;
17387 char * kwnames[] = {
17388 (char *) "self",(char *) "pt", NULL
17389 };
17390
17391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
17392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17393 if (!SWIG_IsOK(res1)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17395 }
17396 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17397 {
17398 arg2 = &temp2;
17399 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17400 }
17401 {
17402 PyThreadState* __tstate = wxPyBeginAllowThreads();
17403 (arg1)->SetMargins((wxPoint const &)*arg2);
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 resultobj = SWIG_Py_Void();
17408 return resultobj;
17409fail:
17410 return NULL;
17411}
17412
17413
17414SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj = 0;
17416 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17417 int arg2 ;
17418 int arg3 ;
17419 void *argp1 = 0 ;
17420 int res1 = 0 ;
17421 int val2 ;
17422 int ecode2 = 0 ;
17423 int val3 ;
17424 int ecode3 = 0 ;
17425 PyObject * obj0 = 0 ;
17426 PyObject * obj1 = 0 ;
17427 PyObject * obj2 = 0 ;
17428 char * kwnames[] = {
17429 (char *) "self",(char *) "x",(char *) "y", NULL
17430 };
17431
17432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17434 if (!SWIG_IsOK(res1)) {
17435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17436 }
17437 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17438 ecode2 = SWIG_AsVal_int(obj1, &val2);
17439 if (!SWIG_IsOK(ecode2)) {
17440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17441 }
17442 arg2 = static_cast< int >(val2);
17443 ecode3 = SWIG_AsVal_int(obj2, &val3);
17444 if (!SWIG_IsOK(ecode3)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17446 }
17447 arg3 = static_cast< int >(val3);
17448 {
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 (arg1)->SetMargins(arg2,arg3);
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_Py_Void();
17455 return resultobj;
17456fail:
17457 return NULL;
17458}
17459
17460
17461SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj = 0;
17463 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17464 wxColour *arg2 = 0 ;
17465 void *argp1 = 0 ;
17466 int res1 = 0 ;
17467 wxColour temp2 ;
17468 PyObject * obj0 = 0 ;
17469 PyObject * obj1 = 0 ;
17470 char * kwnames[] = {
17471 (char *) "self",(char *) "col", NULL
17472 };
17473
17474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
17475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17476 if (!SWIG_IsOK(res1)) {
17477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17478 }
17479 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17480 {
17481 arg2 = &temp2;
17482 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17483 }
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 resultobj = SWIG_Py_Void();
17491 return resultobj;
17492fail:
17493 return NULL;
17494}
17495
17496
cbfc9df6
RD
17497SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17498 PyObject *resultobj = 0;
17499 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17500 void *argp1 = 0 ;
17501 int res1 = 0 ;
17502 PyObject *swig_obj[1] ;
17503
17504 if (!args) SWIG_fail;
17505 swig_obj[0] = args;
17506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17507 if (!SWIG_IsOK(res1)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17509 }
17510 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 (arg1)->RefreshSelected();
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 resultobj = SWIG_Py_Void();
17518 return resultobj;
17519fail:
17520 return NULL;
17521}
17522
17523
75219dcb
RD
17524SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17525 PyObject *resultobj = 0;
17526 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17527 wxDC *arg2 = 0 ;
17528 wxRect *arg3 = 0 ;
17529 size_t arg4 ;
17530 void *argp1 = 0 ;
17531 int res1 = 0 ;
17532 void *argp2 = 0 ;
17533 int res2 = 0 ;
17534 wxRect temp3 ;
17535 size_t val4 ;
17536 int ecode4 = 0 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 PyObject * obj2 = 0 ;
17540 PyObject * obj3 = 0 ;
17541 char * kwnames[] = {
17542 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17543 };
17544
17545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17547 if (!SWIG_IsOK(res1)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17549 }
17550 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17551 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17552 if (!SWIG_IsOK(res2)) {
17553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17554 }
17555 if (!argp2) {
17556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17557 }
17558 arg2 = reinterpret_cast< wxDC * >(argp2);
17559 {
17560 arg3 = &temp3;
17561 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17562 }
17563 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17564 if (!SWIG_IsOK(ecode4)) {
17565 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17566 }
17567 arg4 = static_cast< size_t >(val4);
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 resultobj = SWIG_Py_Void();
17575 return resultobj;
17576fail:
17577 return NULL;
17578}
17579
17580
17581SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17582 PyObject *resultobj = 0;
17583 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17584 wxDC *arg2 = 0 ;
17585 wxRect *arg3 = 0 ;
17586 size_t arg4 ;
17587 void *argp1 = 0 ;
17588 int res1 = 0 ;
17589 void *argp2 = 0 ;
17590 int res2 = 0 ;
17591 wxRect temp3 ;
17592 size_t val4 ;
17593 int ecode4 = 0 ;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 PyObject * obj2 = 0 ;
17597 PyObject * obj3 = 0 ;
17598 char * kwnames[] = {
17599 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17600 };
17601
17602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17604 if (!SWIG_IsOK(res1)) {
17605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17606 }
17607 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17608 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17609 if (!SWIG_IsOK(res2)) {
17610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17611 }
17612 if (!argp2) {
17613 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17614 }
17615 arg2 = reinterpret_cast< wxDC * >(argp2);
17616 {
17617 arg3 = &temp3;
17618 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17619 }
17620 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17621 if (!SWIG_IsOK(ecode4)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17623 }
17624 arg4 = static_cast< size_t >(val4);
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 resultobj = SWIG_Py_Void();
17632 return resultobj;
17633fail:
17634 return NULL;
17635}
17636
17637
0085ce49
RD
17638SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17639 PyObject *obj;
17640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
17642 return SWIG_Py_Void();
17643}
17644
17645SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17646 return SWIG_Python_InitShadowInstance(args);
17647}
17648
17649SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj = 0;
17651 wxWindow *arg1 = (wxWindow *) 0 ;
17652 int arg2 = (int) wxID_ANY ;
17653 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17654 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17655 wxSize const &arg4_defvalue = wxDefaultSize ;
17656 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17657 long arg5 = (long) 0 ;
17658 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
17659 wxString *arg6 = (wxString *) &arg6_defvalue ;
17660 wxPyHtmlListBox *result = 0 ;
17661 void *argp1 = 0 ;
17662 int res1 = 0 ;
17663 int val2 ;
17664 int ecode2 = 0 ;
17665 wxPoint temp3 ;
17666 wxSize temp4 ;
17667 long val5 ;
17668 int ecode5 = 0 ;
17669 bool temp6 = false ;
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 PyObject * obj2 = 0 ;
17673 PyObject * obj3 = 0 ;
17674 PyObject * obj4 = 0 ;
17675 PyObject * obj5 = 0 ;
17676 char * kwnames[] = {
17677 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17678 };
17679
17680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17682 if (!SWIG_IsOK(res1)) {
17683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17684 }
17685 arg1 = reinterpret_cast< wxWindow * >(argp1);
17686 if (obj1) {
17687 ecode2 = SWIG_AsVal_int(obj1, &val2);
17688 if (!SWIG_IsOK(ecode2)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17690 }
17691 arg2 = static_cast< int >(val2);
17692 }
17693 if (obj2) {
093d3ff1 17694 {
0085ce49
RD
17695 arg3 = &temp3;
17696 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 17697 }
0085ce49
RD
17698 }
17699 if (obj3) {
d14a1e28 17700 {
0085ce49
RD
17701 arg4 = &temp4;
17702 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 17703 }
0085ce49
RD
17704 }
17705 if (obj4) {
17706 ecode5 = SWIG_AsVal_long(obj4, &val5);
17707 if (!SWIG_IsOK(ecode5)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17709 }
17710 arg5 = static_cast< long >(val5);
17711 }
17712 if (obj5) {
d14a1e28 17713 {
0085ce49
RD
17714 arg6 = wxString_in_helper(obj5);
17715 if (arg6 == NULL) SWIG_fail;
17716 temp6 = true;
17717 }
17718 }
17719 {
17720 if (!wxPyCheckForApp()) SWIG_fail;
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
17727 {
17728 if (temp6)
17729 delete arg6;
17730 }
17731 return resultobj;
17732fail:
17733 {
17734 if (temp6)
17735 delete arg6;
17736 }
17737 return NULL;
d14a1e28
RD
17738}
17739
17740
0085ce49
RD
17741SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17742 PyObject *resultobj = 0;
17743 wxPyHtmlListBox *result = 0 ;
17744
17745 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
17746 {
17747 if (!wxPyCheckForApp()) SWIG_fail;
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
17754 return resultobj;
17755fail:
17756 return NULL;
17757}
17758
17759
17760SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj = 0;
17762 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17763 PyObject *arg2 = (PyObject *) 0 ;
17764 PyObject *arg3 = (PyObject *) 0 ;
17765 void *argp1 = 0 ;
17766 int res1 = 0 ;
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 PyObject * obj2 = 0 ;
17770 char * kwnames[] = {
17771 (char *) "self",(char *) "self",(char *) "_class", NULL
17772 };
17773
17774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17776 if (!SWIG_IsOK(res1)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17778 }
17779 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17780 arg2 = obj1;
17781 arg3 = obj2;
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 (arg1)->_setCallbackInfo(arg2,arg3);
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 resultobj = SWIG_Py_Void();
17789 return resultobj;
17790fail:
17791 return NULL;
17792}
17793
17794
17795SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj = 0;
17797 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17798 wxWindow *arg2 = (wxWindow *) 0 ;
17799 int arg3 = (int) wxID_ANY ;
17800 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17801 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17802 wxSize const &arg5_defvalue = wxDefaultSize ;
17803 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17804 long arg6 = (long) 0 ;
17805 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
17806 wxString *arg7 = (wxString *) &arg7_defvalue ;
17807 bool result;
17808 void *argp1 = 0 ;
17809 int res1 = 0 ;
17810 void *argp2 = 0 ;
17811 int res2 = 0 ;
17812 int val3 ;
17813 int ecode3 = 0 ;
17814 wxPoint temp4 ;
17815 wxSize temp5 ;
17816 long val6 ;
17817 int ecode6 = 0 ;
17818 bool temp7 = false ;
17819 PyObject * obj0 = 0 ;
17820 PyObject * obj1 = 0 ;
17821 PyObject * obj2 = 0 ;
17822 PyObject * obj3 = 0 ;
17823 PyObject * obj4 = 0 ;
17824 PyObject * obj5 = 0 ;
17825 PyObject * obj6 = 0 ;
17826 char * kwnames[] = {
17827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17828 };
17829
17830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17832 if (!SWIG_IsOK(res1)) {
17833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17834 }
17835 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17836 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17837 if (!SWIG_IsOK(res2)) {
17838 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17839 }
17840 arg2 = reinterpret_cast< wxWindow * >(argp2);
17841 if (obj2) {
17842 ecode3 = SWIG_AsVal_int(obj2, &val3);
17843 if (!SWIG_IsOK(ecode3)) {
17844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17845 }
17846 arg3 = static_cast< int >(val3);
17847 }
17848 if (obj3) {
093d3ff1 17849 {
0085ce49
RD
17850 arg4 = &temp4;
17851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 17852 }
0085ce49
RD
17853 }
17854 if (obj4) {
d14a1e28 17855 {
0085ce49
RD
17856 arg5 = &temp5;
17857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 17858 }
0085ce49
RD
17859 }
17860 if (obj5) {
17861 ecode6 = SWIG_AsVal_long(obj5, &val6);
17862 if (!SWIG_IsOK(ecode6)) {
17863 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17864 }
17865 arg6 = static_cast< long >(val6);
17866 }
17867 if (obj6) {
093d3ff1 17868 {
0085ce49
RD
17869 arg7 = wxString_in_helper(obj6);
17870 if (arg7 == NULL) SWIG_fail;
17871 temp7 = true;
093d3ff1 17872 }
0085ce49
RD
17873 }
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 {
17881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17882 }
17883 {
17884 if (temp7)
17885 delete arg7;
17886 }
17887 return resultobj;
17888fail:
17889 {
17890 if (temp7)
17891 delete arg7;
17892 }
17893 return NULL;
17894}
17895
17896
17897SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj = 0;
17899 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17900 size_t arg2 ;
17901 void *argp1 = 0 ;
17902 int res1 = 0 ;
17903 size_t val2 ;
17904 int ecode2 = 0 ;
17905 PyObject * obj0 = 0 ;
17906 PyObject * obj1 = 0 ;
17907 char * kwnames[] = {
17908 (char *) "self",(char *) "count", NULL
17909 };
17910
17911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17913 if (!SWIG_IsOK(res1)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17915 }
17916 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17917 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17918 if (!SWIG_IsOK(ecode2)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17920 }
17921 arg2 = static_cast< size_t >(val2);
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 (arg1)->SetItemCount(arg2);
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 resultobj = SWIG_Py_Void();
17929 return resultobj;
17930fail:
17931 return NULL;
d14a1e28
RD
17932}
17933
17934
0085ce49
RD
17935SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17936 PyObject *resultobj = 0;
17937 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17938 wxFileSystem *result = 0 ;
17939 void *argp1 = 0 ;
17940 int res1 = 0 ;
17941 PyObject *swig_obj[1] ;
17942
17943 if (!args) SWIG_fail;
17944 swig_obj[0] = args;
17945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17946 if (!SWIG_IsOK(res1)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17948 }
17949 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17952 {
0085ce49
RD
17953 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
17954 result = (wxFileSystem *) &_result_ref;
994141e6 17955 }
0085ce49
RD
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
17960 return resultobj;
17961fail:
17962 return NULL;
d14a1e28
RD
17963}
17964
17965
e9d6f3a4
RD
17966SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj = 0;
17968 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17969 size_t arg2 ;
17970 wxHtmlLinkInfo *arg3 = 0 ;
17971 void *argp1 = 0 ;
17972 int res1 = 0 ;
17973 size_t val2 ;
17974 int ecode2 = 0 ;
17975 void *argp3 = 0 ;
17976 int res3 = 0 ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 PyObject * obj2 = 0 ;
17980 char * kwnames[] = {
17981 (char *) "self",(char *) "n",(char *) "link", NULL
17982 };
17983
17984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17986 if (!SWIG_IsOK(res1)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17988 }
17989 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17990 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17991 if (!SWIG_IsOK(ecode2)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17993 }
17994 arg2 = static_cast< size_t >(val2);
17995 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
17996 if (!SWIG_IsOK(res3)) {
17997 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17998 }
17999 if (!argp3) {
18000 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18001 }
18002 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
18006 wxPyEndAllowThreads(__tstate);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 resultobj = SWIG_Py_Void();
18010 return resultobj;
18011fail:
18012 return NULL;
18013}
18014
18015
0085ce49
RD
18016SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18017 PyObject *obj;
18018 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18019 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
18020 return SWIG_Py_Void();
d14a1e28
RD
18021}
18022
0085ce49
RD
18023SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18024 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
18025}
18026
f9bf356b
RD
18027SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
18028 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
18029 return 1;
18030}
18031
18032
18033SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
18034 PyObject *pyobj = 0;
18035
18036 {
18037#if wxUSE_UNICODE
18038 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
18039#else
18040 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
18041#endif
18042 }
18043 return pyobj;
18044}
18045
18046
18047SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj = 0;
18049 wxWindow *arg1 = (wxWindow *) 0 ;
18050 int arg2 = (int) -1 ;
18051 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18052 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18053 wxSize const &arg4_defvalue = wxDefaultSize ;
18054 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18055 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
18056 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
18057 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
18058 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18059 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18060 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
18061 wxString *arg8 = (wxString *) &arg8_defvalue ;
18062 wxSimpleHtmlListBox *result = 0 ;
18063 void *argp1 = 0 ;
18064 int res1 = 0 ;
18065 int val2 ;
18066 int ecode2 = 0 ;
18067 wxPoint temp3 ;
18068 wxSize temp4 ;
18069 bool temp5 = false ;
18070 long val6 ;
18071 int ecode6 = 0 ;
18072 void *argp7 = 0 ;
18073 int res7 = 0 ;
18074 bool temp8 = false ;
18075 PyObject * obj0 = 0 ;
18076 PyObject * obj1 = 0 ;
18077 PyObject * obj2 = 0 ;
18078 PyObject * obj3 = 0 ;
18079 PyObject * obj4 = 0 ;
18080 PyObject * obj5 = 0 ;
18081 PyObject * obj6 = 0 ;
18082 PyObject * obj7 = 0 ;
18083 char * kwnames[] = {
18084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18085 };
18086
18087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18089 if (!SWIG_IsOK(res1)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18091 }
18092 arg1 = reinterpret_cast< wxWindow * >(argp1);
18093 if (obj1) {
18094 ecode2 = SWIG_AsVal_int(obj1, &val2);
18095 if (!SWIG_IsOK(ecode2)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18097 }
18098 arg2 = static_cast< int >(val2);
18099 }
18100 if (obj2) {
18101 {
18102 arg3 = &temp3;
18103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18104 }
18105 }
18106 if (obj3) {
18107 {
18108 arg4 = &temp4;
18109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18110 }
18111 }
18112 if (obj4) {
18113 {
18114 if (! PySequence_Check(obj4)) {
18115 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18116 SWIG_fail;
18117 }
18118 arg5 = new wxArrayString;
18119 temp5 = true;
18120 int i, len=PySequence_Length(obj4);
18121 for (i=0; i<len; i++) {
18122 PyObject* item = PySequence_GetItem(obj4, i);
18123 wxString* s = wxString_in_helper(item);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 arg5->Add(*s);
18126 delete s;
18127 Py_DECREF(item);
18128 }
18129 }
18130 }
18131 if (obj5) {
18132 ecode6 = SWIG_AsVal_long(obj5, &val6);
18133 if (!SWIG_IsOK(ecode6)) {
18134 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18135 }
18136 arg6 = static_cast< long >(val6);
18137 }
18138 if (obj6) {
18139 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18140 if (!SWIG_IsOK(res7)) {
18141 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18142 }
18143 if (!argp7) {
18144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18145 }
18146 arg7 = reinterpret_cast< wxValidator * >(argp7);
18147 }
18148 if (obj7) {
18149 {
18150 arg8 = wxString_in_helper(obj7);
18151 if (arg8 == NULL) SWIG_fail;
18152 temp8 = true;
18153 }
18154 }
18155 {
18156 if (!wxPyCheckForApp()) SWIG_fail;
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
18163 {
18164 if (temp5) delete arg5;
18165 }
18166 {
18167 if (temp8)
18168 delete arg8;
18169 }
18170 return resultobj;
18171fail:
18172 {
18173 if (temp5) delete arg5;
18174 }
18175 {
18176 if (temp8)
18177 delete arg8;
18178 }
18179 return NULL;
18180}
18181
18182
18183SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18184 PyObject *resultobj = 0;
18185 wxSimpleHtmlListBox *result = 0 ;
18186
18187 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
18188 {
18189 if (!wxPyCheckForApp()) SWIG_fail;
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
18196 return resultobj;
18197fail:
18198 return NULL;
18199}
18200
18201
18202SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj = 0;
18204 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
18205 wxWindow *arg2 = (wxWindow *) 0 ;
18206 int arg3 = (int) -1 ;
18207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18209 wxSize const &arg5_defvalue = wxDefaultSize ;
18210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18211 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
18212 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
18213 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
18214 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18215 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18216 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
18217 wxString *arg9 = (wxString *) &arg9_defvalue ;
18218 bool result;
18219 void *argp1 = 0 ;
18220 int res1 = 0 ;
18221 void *argp2 = 0 ;
18222 int res2 = 0 ;
18223 int val3 ;
18224 int ecode3 = 0 ;
18225 wxPoint temp4 ;
18226 wxSize temp5 ;
18227 bool temp6 = false ;
18228 long val7 ;
18229 int ecode7 = 0 ;
18230 void *argp8 = 0 ;
18231 int res8 = 0 ;
18232 bool temp9 = false ;
18233 PyObject * obj0 = 0 ;
18234 PyObject * obj1 = 0 ;
18235 PyObject * obj2 = 0 ;
18236 PyObject * obj3 = 0 ;
18237 PyObject * obj4 = 0 ;
18238 PyObject * obj5 = 0 ;
18239 PyObject * obj6 = 0 ;
18240 PyObject * obj7 = 0 ;
18241 PyObject * obj8 = 0 ;
18242 char * kwnames[] = {
18243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18244 };
18245
18246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
18248 if (!SWIG_IsOK(res1)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18250 }
18251 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
18252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18253 if (!SWIG_IsOK(res2)) {
18254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18255 }
18256 arg2 = reinterpret_cast< wxWindow * >(argp2);
18257 if (obj2) {
18258 ecode3 = SWIG_AsVal_int(obj2, &val3);
18259 if (!SWIG_IsOK(ecode3)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18261 }
18262 arg3 = static_cast< int >(val3);
18263 }
18264 if (obj3) {
18265 {
18266 arg4 = &temp4;
18267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18268 }
18269 }
18270 if (obj4) {
18271 {
18272 arg5 = &temp5;
18273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18274 }
18275 }
18276 if (obj5) {
18277 {
18278 if (! PySequence_Check(obj5)) {
18279 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18280 SWIG_fail;
18281 }
18282 arg6 = new wxArrayString;
18283 temp6 = true;
18284 int i, len=PySequence_Length(obj5);
18285 for (i=0; i<len; i++) {
18286 PyObject* item = PySequence_GetItem(obj5, i);
18287 wxString* s = wxString_in_helper(item);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 arg6->Add(*s);
18290 delete s;
18291 Py_DECREF(item);
18292 }
18293 }
18294 }
18295 if (obj6) {
18296 ecode7 = SWIG_AsVal_long(obj6, &val7);
18297 if (!SWIG_IsOK(ecode7)) {
18298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18299 }
18300 arg7 = static_cast< long >(val7);
18301 }
18302 if (obj7) {
18303 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18304 if (!SWIG_IsOK(res8)) {
18305 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18306 }
18307 if (!argp8) {
18308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18309 }
18310 arg8 = reinterpret_cast< wxValidator * >(argp8);
18311 }
18312 if (obj8) {
18313 {
18314 arg9 = wxString_in_helper(obj8);
18315 if (arg9 == NULL) SWIG_fail;
18316 temp9 = true;
18317 }
18318 }
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 {
18326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18327 }
18328 {
18329 if (temp6) delete arg6;
18330 }
18331 {
18332 if (temp9)
18333 delete arg9;
18334 }
18335 return resultobj;
18336fail:
18337 {
18338 if (temp6) delete arg6;
18339 }
18340 {
18341 if (temp9)
18342 delete arg9;
18343 }
18344 return NULL;
18345}
18346
18347
18348SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18349 PyObject *obj;
18350 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18351 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
18352 return SWIG_Py_Void();
18353}
18354
18355SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18356 return SWIG_Python_InitShadowInstance(args);
18357}
18358
0085ce49
RD
18359SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18360 PyObject *resultobj = 0;
18361 wxPyTaskBarIcon *result = 0 ;
18362
18363 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
18364 {
18365 if (!wxPyCheckForApp()) SWIG_fail;
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
18372 return resultobj;
18373fail:
18374 return NULL;
d14a1e28
RD
18375}
18376
18377
0085ce49
RD
18378SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18379 PyObject *resultobj = 0;
18380 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18381 void *argp1 = 0 ;
18382 int res1 = 0 ;
18383 PyObject *swig_obj[1] ;
18384
18385 if (!args) SWIG_fail;
18386 swig_obj[0] = args;
18387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
18388 if (!SWIG_IsOK(res1)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18390 }
18391 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 delete arg1;
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = SWIG_Py_Void();
18400 return resultobj;
18401fail:
18402 return NULL;
18403}
18404
18405
18406SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj = 0;
18408 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18409 PyObject *arg2 = (PyObject *) 0 ;
18410 PyObject *arg3 = (PyObject *) 0 ;
c25f90f6 18411 int arg4 = (int) 0 ;
0085ce49
RD
18412 void *argp1 = 0 ;
18413 int res1 = 0 ;
18414 int val4 ;
18415 int ecode4 = 0 ;
18416 PyObject * obj0 = 0 ;
18417 PyObject * obj1 = 0 ;
18418 PyObject * obj2 = 0 ;
18419 PyObject * obj3 = 0 ;
18420 char * kwnames[] = {
18421 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18422 };
18423
c25f90f6 18424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
0085ce49
RD
18425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18426 if (!SWIG_IsOK(res1)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18428 }
18429 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18430 arg2 = obj1;
18431 arg3 = obj2;
c25f90f6
RD
18432 if (obj3) {
18433 ecode4 = SWIG_AsVal_int(obj3, &val4);
18434 if (!SWIG_IsOK(ecode4)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18436 }
18437 arg4 = static_cast< int >(val4);
18438 }
0085ce49
RD
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 resultobj = SWIG_Py_Void();
18446 return resultobj;
18447fail:
18448 return NULL;
d14a1e28
RD
18449}
18450
18451
0085ce49
RD
18452SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18453 PyObject *resultobj = 0;
18454 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18455 void *argp1 = 0 ;
18456 int res1 = 0 ;
18457 PyObject *swig_obj[1] ;
18458
18459 if (!args) SWIG_fail;
18460 swig_obj[0] = args;
18461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18462 if (!SWIG_IsOK(res1)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18464 }
18465 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 wxPyTaskBarIcon_Destroy(arg1);
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 resultobj = SWIG_Py_Void();
18473 return resultobj;
18474fail:
18475 return NULL;
d14a1e28
RD
18476}
18477
18478
0085ce49
RD
18479SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18480 PyObject *resultobj = 0;
18481 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18482 bool result;
18483 void *argp1 = 0 ;
18484 int res1 = 0 ;
18485 PyObject *swig_obj[1] ;
18486
18487 if (!args) SWIG_fail;
18488 swig_obj[0] = args;
18489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18490 if (!SWIG_IsOK(res1)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18492 }
18493 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 {
18501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18502 }
18503 return resultobj;
18504fail:
18505 return NULL;
d14a1e28
RD
18506}
18507
18508
0085ce49
RD
18509SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18510 PyObject *resultobj = 0;
18511 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18512 bool result;
18513 void *argp1 = 0 ;
18514 int res1 = 0 ;
18515 PyObject *swig_obj[1] ;
18516
18517 if (!args) SWIG_fail;
18518 swig_obj[0] = args;
18519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18520 if (!SWIG_IsOK(res1)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18522 }
18523 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 {
18531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18532 }
18533 return resultobj;
18534fail:
18535 return NULL;
18536}
18537
18538
18539SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj = 0;
18541 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18542 wxIcon *arg2 = 0 ;
18543 wxString const &arg3_defvalue = wxPyEmptyString ;
18544 wxString *arg3 = (wxString *) &arg3_defvalue ;
18545 bool result;
18546 void *argp1 = 0 ;
18547 int res1 = 0 ;
18548 void *argp2 = 0 ;
18549 int res2 = 0 ;
18550 bool temp3 = false ;
18551 PyObject * obj0 = 0 ;
18552 PyObject * obj1 = 0 ;
18553 PyObject * obj2 = 0 ;
18554 char * kwnames[] = {
18555 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18556 };
18557
18558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18560 if (!SWIG_IsOK(res1)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18562 }
18563 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18564 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
18565 if (!SWIG_IsOK(res2)) {
18566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18567 }
18568 if (!argp2) {
18569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18570 }
18571 arg2 = reinterpret_cast< wxIcon * >(argp2);
18572 if (obj2) {
093d3ff1 18573 {
0085ce49
RD
18574 arg3 = wxString_in_helper(obj2);
18575 if (arg3 == NULL) SWIG_fail;
18576 temp3 = true;
093d3ff1 18577 }
0085ce49
RD
18578 }
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 {
18586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18587 }
18588 {
18589 if (temp3)
18590 delete arg3;
18591 }
18592 return resultobj;
18593fail:
18594 {
18595 if (temp3)
18596 delete arg3;
18597 }
18598 return NULL;
d14a1e28
RD
18599}
18600
18601
0085ce49
RD
18602SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18603 PyObject *resultobj = 0;
18604 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18605 bool result;
18606 void *argp1 = 0 ;
18607 int res1 = 0 ;
18608 PyObject *swig_obj[1] ;
18609
18610 if (!args) SWIG_fail;
18611 swig_obj[0] = args;
18612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18613 if (!SWIG_IsOK(res1)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18615 }
18616 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = (bool)(arg1)->RemoveIcon();
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 {
18624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18625 }
18626 return resultobj;
18627fail:
18628 return NULL;
18629}
18630
18631
18632SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj = 0;
18634 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18635 wxMenu *arg2 = (wxMenu *) 0 ;
18636 bool result;
18637 void *argp1 = 0 ;
18638 int res1 = 0 ;
18639 void *argp2 = 0 ;
18640 int res2 = 0 ;
18641 PyObject * obj0 = 0 ;
18642 PyObject * obj1 = 0 ;
18643 char * kwnames[] = {
18644 (char *) "self",(char *) "menu", NULL
18645 };
18646
18647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
18648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18649 if (!SWIG_IsOK(res1)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18651 }
18652 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18653 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
18654 if (!SWIG_IsOK(res2)) {
18655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18656 }
18657 arg2 = reinterpret_cast< wxMenu * >(argp2);
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = (bool)(arg1)->PopupMenu(arg2);
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 {
18665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18666 }
18667 return resultobj;
18668fail:
18669 return NULL;
d14a1e28
RD
18670}
18671
18672
0085ce49
RD
18673SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18674 PyObject *obj;
18675 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
18677 return SWIG_Py_Void();
d14a1e28
RD
18678}
18679
0085ce49
RD
18680SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18681 return SWIG_Python_InitShadowInstance(args);
18682}
d14a1e28 18683
0085ce49
RD
18684SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj = 0;
18686 wxEventType arg1 ;
18687 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
18688 wxTaskBarIconEvent *result = 0 ;
18689 int val1 ;
18690 int ecode1 = 0 ;
18691 void *argp2 = 0 ;
18692 int res2 = 0 ;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 char * kwnames[] = {
18696 (char *) "evtType",(char *) "tbIcon", NULL
18697 };
18698
18699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18700 ecode1 = SWIG_AsVal_int(obj0, &val1);
18701 if (!SWIG_IsOK(ecode1)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18703 }
18704 arg1 = static_cast< wxEventType >(val1);
18705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
18706 if (!SWIG_IsOK(res2)) {
18707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18708 }
18709 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
18717 return resultobj;
18718fail:
18719 return NULL;
d14a1e28
RD
18720}
18721
18722
0085ce49
RD
18723SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18724 PyObject *obj;
18725 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18726 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
18727 return SWIG_Py_Void();
d14a1e28
RD
18728}
18729
0085ce49
RD
18730SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18731 return SWIG_Python_InitShadowInstance(args);
18732}
d14a1e28 18733
0085ce49
RD
18734SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
18735 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
18736 return 1;
d14a1e28
RD
18737}
18738
18739
0085ce49
RD
18740SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
18741 PyObject *pyobj = 0;
18742
18743 {
18744#if wxUSE_UNICODE
18745 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18746#else
18747 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18748#endif
18749 }
18750 return pyobj;
d14a1e28
RD
18751}
18752
18753
0085ce49
RD
18754SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
18755 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
18756 return 1;
d14a1e28
RD
18757}
18758
18759
0085ce49
RD
18760SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
18761 PyObject *pyobj = 0;
18762
18763 {
18764#if wxUSE_UNICODE
18765 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18766#else
18767 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18768#endif
18769 }
18770 return pyobj;
d14a1e28
RD
18771}
18772
18773
0085ce49
RD
18774SWIGINTERN int DirDialogNameStr_set(PyObject *) {
18775 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
18776 return 1;
d14a1e28
RD
18777}
18778
18779
0085ce49
RD
18780SWIGINTERN PyObject *DirDialogNameStr_get(void) {
18781 PyObject *pyobj = 0;
18782
18783 {
18784#if wxUSE_UNICODE
18785 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18786#else
18787 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18788#endif
18789 }
18790 return pyobj;
d14a1e28
RD
18791}
18792
18793
0085ce49
RD
18794SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
18795 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
18796 return 1;
d14a1e28
RD
18797}
18798
18799
0085ce49
RD
18800SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
18801 PyObject *pyobj = 0;
18802
18803 {
18804#if wxUSE_UNICODE
18805 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18806#else
18807 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18808#endif
18809 }
18810 return pyobj;
d14a1e28
RD
18811}
18812
18813
0085ce49
RD
18814SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
18815 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
18816 return 1;
d14a1e28
RD
18817}
18818
18819
0085ce49
RD
18820SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
18821 PyObject *pyobj = 0;
18822
18823 {
18824#if wxUSE_UNICODE
18825 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18826#else
18827 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18828#endif
18829 }
18830 return pyobj;
d14a1e28
RD
18831}
18832
18833
0085ce49
RD
18834SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
18835 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
18836 return 1;
d14a1e28
RD
18837}
18838
18839
0085ce49
RD
18840SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
18841 PyObject *pyobj = 0;
18842
18843 {
18844#if wxUSE_UNICODE
18845 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18846#else
18847 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18848#endif
18849 }
18850 return pyobj;
d14a1e28
RD
18851}
18852
18853
0085ce49
RD
18854SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18855 PyObject *resultobj = 0;
18856 wxColourData *result = 0 ;
18857
18858 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (wxColourData *)new wxColourData();
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
18866 return resultobj;
18867fail:
18868 return NULL;
d14a1e28
RD
18869}
18870
18871
0085ce49
RD
18872SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18873 PyObject *resultobj = 0;
18874 wxColourData *arg1 = (wxColourData *) 0 ;
18875 void *argp1 = 0 ;
18876 int res1 = 0 ;
18877 PyObject *swig_obj[1] ;
18878
18879 if (!args) SWIG_fail;
18880 swig_obj[0] = args;
18881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
18882 if (!SWIG_IsOK(res1)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18884 }
18885 arg1 = reinterpret_cast< wxColourData * >(argp1);
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 delete arg1;
d14a1e28 18889
0085ce49
RD
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 resultobj = SWIG_Py_Void();
18894 return resultobj;
18895fail:
18896 return NULL;
d14a1e28
RD
18897}
18898
18899
0085ce49
RD
18900SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18901 PyObject *resultobj = 0;
18902 wxColourData *arg1 = (wxColourData *) 0 ;
18903 bool result;
18904 void *argp1 = 0 ;
18905 int res1 = 0 ;
18906 PyObject *swig_obj[1] ;
18907
18908 if (!args) SWIG_fail;
18909 swig_obj[0] = args;
18910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18911 if (!SWIG_IsOK(res1)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18913 }
18914 arg1 = reinterpret_cast< wxColourData * >(argp1);
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (bool)(arg1)->GetChooseFull();
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 {
18922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18923 }
18924 return resultobj;
18925fail:
18926 return NULL;
d14a1e28
RD
18927}
18928
18929
0085ce49
RD
18930SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18931 PyObject *resultobj = 0;
18932 wxColourData *arg1 = (wxColourData *) 0 ;
18933 wxColour result;
18934 void *argp1 = 0 ;
18935 int res1 = 0 ;
18936 PyObject *swig_obj[1] ;
18937
18938 if (!args) SWIG_fail;
18939 swig_obj[0] = args;
18940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18941 if (!SWIG_IsOK(res1)) {
18942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18943 }
18944 arg1 = reinterpret_cast< wxColourData * >(argp1);
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 result = (arg1)->GetColour();
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18952 return resultobj;
18953fail:
18954 return NULL;
18955}
18956
18957
18958SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj = 0;
18960 wxColourData *arg1 = (wxColourData *) 0 ;
18961 int arg2 ;
18962 wxColour result;
18963 void *argp1 = 0 ;
18964 int res1 = 0 ;
18965 int val2 ;
18966 int ecode2 = 0 ;
18967 PyObject * obj0 = 0 ;
18968 PyObject * obj1 = 0 ;
18969 char * kwnames[] = {
18970 (char *) "self",(char *) "i", NULL
18971 };
18972
18973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
18974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18975 if (!SWIG_IsOK(res1)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18977 }
18978 arg1 = reinterpret_cast< wxColourData * >(argp1);
18979 ecode2 = SWIG_AsVal_int(obj1, &val2);
18980 if (!SWIG_IsOK(ecode2)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18982 }
18983 arg2 = static_cast< int >(val2);
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (arg1)->GetCustomColour(arg2);
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18991 return resultobj;
18992fail:
18993 return NULL;
18994}
18995
18996
18997SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj = 0;
18999 wxColourData *arg1 = (wxColourData *) 0 ;
19000 int arg2 ;
19001 void *argp1 = 0 ;
19002 int res1 = 0 ;
19003 int val2 ;
19004 int ecode2 = 0 ;
19005 PyObject * obj0 = 0 ;
19006 PyObject * obj1 = 0 ;
19007 char * kwnames[] = {
19008 (char *) "self",(char *) "flag", NULL
19009 };
19010
19011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
19012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19013 if (!SWIG_IsOK(res1)) {
19014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
19015 }
19016 arg1 = reinterpret_cast< wxColourData * >(argp1);
19017 ecode2 = SWIG_AsVal_int(obj1, &val2);
19018 if (!SWIG_IsOK(ecode2)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
19020 }
19021 arg2 = static_cast< int >(val2);
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 (arg1)->SetChooseFull(arg2);
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 resultobj = SWIG_Py_Void();
19029 return resultobj;
19030fail:
19031 return NULL;
19032}
19033
19034
19035SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj = 0;
19037 wxColourData *arg1 = (wxColourData *) 0 ;
19038 wxColour *arg2 = 0 ;
19039 void *argp1 = 0 ;
19040 int res1 = 0 ;
19041 wxColour temp2 ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char * kwnames[] = {
19045 (char *) "self",(char *) "colour", NULL
19046 };
19047
19048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19050 if (!SWIG_IsOK(res1)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19052 }
19053 arg1 = reinterpret_cast< wxColourData * >(argp1);
19054 {
19055 arg2 = &temp2;
19056 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19057 }
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->SetColour((wxColour const &)*arg2);
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 resultobj = SWIG_Py_Void();
19065 return resultobj;
19066fail:
19067 return NULL;
19068}
19069
19070
19071SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19072 PyObject *resultobj = 0;
19073 wxColourData *arg1 = (wxColourData *) 0 ;
19074 int arg2 ;
19075 wxColour *arg3 = 0 ;
19076 void *argp1 = 0 ;
19077 int res1 = 0 ;
19078 int val2 ;
19079 int ecode2 = 0 ;
19080 wxColour temp3 ;
19081 PyObject * obj0 = 0 ;
19082 PyObject * obj1 = 0 ;
19083 PyObject * obj2 = 0 ;
19084 char * kwnames[] = {
19085 (char *) "self",(char *) "i",(char *) "colour", NULL
19086 };
19087
19088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19090 if (!SWIG_IsOK(res1)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19092 }
19093 arg1 = reinterpret_cast< wxColourData * >(argp1);
19094 ecode2 = SWIG_AsVal_int(obj1, &val2);
19095 if (!SWIG_IsOK(ecode2)) {
19096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19097 }
19098 arg2 = static_cast< int >(val2);
19099 {
19100 arg3 = &temp3;
19101 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19102 }
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 resultobj = SWIG_Py_Void();
19110 return resultobj;
19111fail:
19112 return NULL;
d14a1e28
RD
19113}
19114
19115
0085ce49
RD
19116SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19117 PyObject *obj;
19118 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19119 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
19120 return SWIG_Py_Void();
d14a1e28
RD
19121}
19122
0085ce49
RD
19123SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19124 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
19125}
19126
0085ce49
RD
19127SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj = 0;
19129 wxWindow *arg1 = (wxWindow *) 0 ;
19130 wxColourData *arg2 = (wxColourData *) NULL ;
19131 wxColourDialog *result = 0 ;
19132 void *argp1 = 0 ;
19133 int res1 = 0 ;
19134 void *argp2 = 0 ;
19135 int res2 = 0 ;
19136 PyObject * obj0 = 0 ;
19137 PyObject * obj1 = 0 ;
19138 char * kwnames[] = {
19139 (char *) "parent",(char *) "data", NULL
19140 };
19141
19142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19144 if (!SWIG_IsOK(res1)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19146 }
19147 arg1 = reinterpret_cast< wxWindow * >(argp1);
19148 if (obj1) {
19149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
19150 if (!SWIG_IsOK(res2)) {
19151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
093d3ff1 19152 }
0085ce49
RD
19153 arg2 = reinterpret_cast< wxColourData * >(argp2);
19154 }
19155 {
19156 if (!wxPyCheckForApp()) SWIG_fail;
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
19163 return resultobj;
19164fail:
19165 return NULL;
d14a1e28
RD
19166}
19167
19168
0085ce49
RD
19169SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19170 PyObject *resultobj = 0;
19171 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
19172 wxColourData *result = 0 ;
19173 void *argp1 = 0 ;
19174 int res1 = 0 ;
19175 PyObject *swig_obj[1] ;
19176
19177 if (!args) SWIG_fail;
19178 swig_obj[0] = args;
19179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
19180 if (!SWIG_IsOK(res1)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19182 }
19183 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 19186 {
0085ce49
RD
19187 wxColourData &_result_ref = (arg1)->GetColourData();
19188 result = (wxColourData *) &_result_ref;
d14a1e28 19189 }
0085ce49
RD
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
19194 return resultobj;
19195fail:
19196 return NULL;
19197}
19198
19199
19200SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19201 PyObject *obj;
19202 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19203 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
19204 return SWIG_Py_Void();
19205}
19206
19207SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19208 return SWIG_Python_InitShadowInstance(args);
19209}
19210
19211SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19212 PyObject *resultobj = 0;
19213 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
19214 wxColour const &arg2_defvalue = wxNullColour ;
19215 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19216 wxString const &arg3_defvalue = wxPyEmptyString ;
19217 wxString *arg3 = (wxString *) &arg3_defvalue ;
19218 wxColour result;
19219 void *argp1 = 0 ;
19220 int res1 = 0 ;
19221 wxColour temp2 ;
19222 bool temp3 = false ;
19223 PyObject * obj0 = 0 ;
19224 PyObject * obj1 = 0 ;
19225 PyObject * obj2 = 0 ;
19226 char * kwnames[] = {
19227 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19228 };
19229
19230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19231 if (obj0) {
19232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19233 if (!SWIG_IsOK(res1)) {
19234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 19235 }
0085ce49
RD
19236 arg1 = reinterpret_cast< wxWindow * >(argp1);
19237 }
19238 if (obj1) {
d14a1e28 19239 {
0085ce49
RD
19240 arg2 = &temp2;
19241 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19242 }
19243 }
19244 if (obj2) {
d14a1e28 19245 {
0085ce49
RD
19246 arg3 = wxString_in_helper(obj2);
19247 if (arg3 == NULL) SWIG_fail;
19248 temp3 = true;
d14a1e28 19249 }
0085ce49
RD
19250 }
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
19257 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19258 {
19259 if (temp3)
19260 delete arg3;
19261 }
19262 return resultobj;
19263fail:
19264 {
19265 if (temp3)
19266 delete arg3;
19267 }
19268 return NULL;
19269}
19270
19271
19272SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj = 0;
19274 wxWindow *arg1 = (wxWindow *) 0 ;
19275 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
19276 wxString *arg2 = (wxString *) &arg2_defvalue ;
19277 wxString const &arg3_defvalue = wxPyEmptyString ;
19278 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 19279 long arg4 = (long) wxDD_DEFAULT_STYLE ;
0085ce49
RD
19280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19282 wxSize const &arg6_defvalue = wxDefaultSize ;
19283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19284 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
19285 wxString *arg7 = (wxString *) &arg7_defvalue ;
19286 wxDirDialog *result = 0 ;
19287 void *argp1 = 0 ;
19288 int res1 = 0 ;
19289 bool temp2 = false ;
19290 bool temp3 = false ;
19291 long val4 ;
19292 int ecode4 = 0 ;
19293 wxPoint temp5 ;
19294 wxSize temp6 ;
19295 bool temp7 = false ;
19296 PyObject * obj0 = 0 ;
19297 PyObject * obj1 = 0 ;
19298 PyObject * obj2 = 0 ;
19299 PyObject * obj3 = 0 ;
19300 PyObject * obj4 = 0 ;
19301 PyObject * obj5 = 0 ;
19302 PyObject * obj6 = 0 ;
19303 char * kwnames[] = {
19304 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19305 };
19306
19307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19309 if (!SWIG_IsOK(res1)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19311 }
19312 arg1 = reinterpret_cast< wxWindow * >(argp1);
19313 if (obj1) {
d14a1e28 19314 {
0085ce49
RD
19315 arg2 = wxString_in_helper(obj1);
19316 if (arg2 == NULL) SWIG_fail;
19317 temp2 = true;
d14a1e28 19318 }
0085ce49
RD
19319 }
19320 if (obj2) {
4f89f6a3 19321 {
0085ce49
RD
19322 arg3 = wxString_in_helper(obj2);
19323 if (arg3 == NULL) SWIG_fail;
19324 temp3 = true;
4f89f6a3 19325 }
0085ce49
RD
19326 }
19327 if (obj3) {
19328 ecode4 = SWIG_AsVal_long(obj3, &val4);
19329 if (!SWIG_IsOK(ecode4)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19331 }
19332 arg4 = static_cast< long >(val4);
19333 }
19334 if (obj4) {
19335 {
19336 arg5 = &temp5;
19337 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 19338 }
0085ce49
RD
19339 }
19340 if (obj5) {
d14a1e28 19341 {
0085ce49
RD
19342 arg6 = &temp6;
19343 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 19344 }
0085ce49
RD
19345 }
19346 if (obj6) {
4f89f6a3 19347 {
0085ce49
RD
19348 arg7 = wxString_in_helper(obj6);
19349 if (arg7 == NULL) SWIG_fail;
19350 temp7 = true;
4f89f6a3 19351 }
0085ce49
RD
19352 }
19353 {
19354 if (!wxPyCheckForApp()) SWIG_fail;
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
19361 {
19362 if (temp2)
19363 delete arg2;
19364 }
19365 {
19366 if (temp3)
19367 delete arg3;
19368 }
19369 {
19370 if (temp7)
19371 delete arg7;
19372 }
19373 return resultobj;
19374fail:
19375 {
19376 if (temp2)
19377 delete arg2;
19378 }
19379 {
19380 if (temp3)
19381 delete arg3;
19382 }
19383 {
19384 if (temp7)
19385 delete arg7;
19386 }
19387 return NULL;
d14a1e28
RD
19388}
19389
19390
01f6b6d3 19391SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
19392 PyObject *resultobj = 0;
19393 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19394 wxString result;
19395 void *argp1 = 0 ;
19396 int res1 = 0 ;
19397 PyObject *swig_obj[1] ;
19398
19399 if (!args) SWIG_fail;
19400 swig_obj[0] = args;
19401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19402 if (!SWIG_IsOK(res1)) {
01f6b6d3 19403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
19404 }
19405 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 19408 result = (arg1)->GetPath();
0085ce49
RD
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 {
19413#if wxUSE_UNICODE
19414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19415#else
19416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19417#endif
19418 }
19419 return resultobj;
19420fail:
19421 return NULL;
d14a1e28
RD
19422}
19423
19424
01f6b6d3 19425SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
19426 PyObject *resultobj = 0;
19427 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
01f6b6d3 19428 wxString result;
0085ce49
RD
19429 void *argp1 = 0 ;
19430 int res1 = 0 ;
19431 PyObject *swig_obj[1] ;
19432
19433 if (!args) SWIG_fail;
19434 swig_obj[0] = args;
19435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19436 if (!SWIG_IsOK(res1)) {
01f6b6d3 19437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
19438 }
19439 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 19442 result = (arg1)->GetMessage();
0085ce49
RD
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
01f6b6d3
RD
19446 {
19447#if wxUSE_UNICODE
19448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19449#else
19450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19451#endif
19452 }
0085ce49
RD
19453 return resultobj;
19454fail:
19455 return NULL;
19456}
19457
19458
19459SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj = 0;
19461 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19462 wxString *arg2 = 0 ;
19463 void *argp1 = 0 ;
19464 int res1 = 0 ;
19465 bool temp2 = false ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 char * kwnames[] = {
19469 (char *) "self",(char *) "message", NULL
19470 };
19471
19472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19474 if (!SWIG_IsOK(res1)) {
19475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19476 }
19477 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19478 {
19479 arg2 = wxString_in_helper(obj1);
19480 if (arg2 == NULL) SWIG_fail;
19481 temp2 = true;
19482 }
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 (arg1)->SetMessage((wxString const &)*arg2);
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 resultobj = SWIG_Py_Void();
19490 {
19491 if (temp2)
19492 delete arg2;
19493 }
19494 return resultobj;
19495fail:
19496 {
19497 if (temp2)
19498 delete arg2;
19499 }
19500 return NULL;
d14a1e28
RD
19501}
19502
19503
0085ce49
RD
19504SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj = 0;
19506 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19507 wxString *arg2 = 0 ;
19508 void *argp1 = 0 ;
19509 int res1 = 0 ;
19510 bool temp2 = false ;
19511 PyObject * obj0 = 0 ;
19512 PyObject * obj1 = 0 ;
19513 char * kwnames[] = {
19514 (char *) "self",(char *) "path", NULL
19515 };
19516
19517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19519 if (!SWIG_IsOK(res1)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19521 }
19522 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19523 {
19524 arg2 = wxString_in_helper(obj1);
19525 if (arg2 == NULL) SWIG_fail;
19526 temp2 = true;
19527 }
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 (arg1)->SetPath((wxString const &)*arg2);
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 resultobj = SWIG_Py_Void();
19535 {
19536 if (temp2)
19537 delete arg2;
19538 }
19539 return resultobj;
19540fail:
19541 {
19542 if (temp2)
19543 delete arg2;
19544 }
19545 return NULL;
19546}
19547
19548
19549SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19550 PyObject *obj;
19551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19552 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
19553 return SWIG_Py_Void();
19554}
19555
19556SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19557 return SWIG_Python_InitShadowInstance(args);
19558}
19559
19560SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj = 0;
19562 wxWindow *arg1 = (wxWindow *) 0 ;
19563 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
19564 wxString *arg2 = (wxString *) &arg2_defvalue ;
19565 wxString const &arg3_defvalue = wxPyEmptyString ;
19566 wxString *arg3 = (wxString *) &arg3_defvalue ;
19567 wxString const &arg4_defvalue = wxPyEmptyString ;
19568 wxString *arg4 = (wxString *) &arg4_defvalue ;
19569 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
19570 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 19571 long arg6 = (long) wxFD_DEFAULT_STYLE ;
0085ce49
RD
19572 wxPoint const &arg7_defvalue = wxDefaultPosition ;
19573 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
19574 wxFileDialog *result = 0 ;
19575 void *argp1 = 0 ;
19576 int res1 = 0 ;
19577 bool temp2 = false ;
19578 bool temp3 = false ;
19579 bool temp4 = false ;
19580 bool temp5 = false ;
19581 long val6 ;
19582 int ecode6 = 0 ;
19583 wxPoint temp7 ;
19584 PyObject * obj0 = 0 ;
19585 PyObject * obj1 = 0 ;
19586 PyObject * obj2 = 0 ;
19587 PyObject * obj3 = 0 ;
19588 PyObject * obj4 = 0 ;
19589 PyObject * obj5 = 0 ;
19590 PyObject * obj6 = 0 ;
19591 char * kwnames[] = {
19592 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19593 };
19594
19595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19597 if (!SWIG_IsOK(res1)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19599 }
19600 arg1 = reinterpret_cast< wxWindow * >(argp1);
19601 if (obj1) {
d14a1e28 19602 {
0085ce49
RD
19603 arg2 = wxString_in_helper(obj1);
19604 if (arg2 == NULL) SWIG_fail;
19605 temp2 = true;
d14a1e28 19606 }
0085ce49
RD
19607 }
19608 if (obj2) {
4f89f6a3 19609 {
0085ce49
RD
19610 arg3 = wxString_in_helper(obj2);
19611 if (arg3 == NULL) SWIG_fail;
19612 temp3 = true;
4f89f6a3 19613 }
0085ce49
RD
19614 }
19615 if (obj3) {
d14a1e28 19616 {
0085ce49
RD
19617 arg4 = wxString_in_helper(obj3);
19618 if (arg4 == NULL) SWIG_fail;
19619 temp4 = true;
d14a1e28 19620 }
0085ce49
RD
19621 }
19622 if (obj4) {
d14a1e28 19623 {
0085ce49
RD
19624 arg5 = wxString_in_helper(obj4);
19625 if (arg5 == NULL) SWIG_fail;
19626 temp5 = true;
d14a1e28 19627 }
0085ce49
RD
19628 }
19629 if (obj5) {
19630 ecode6 = SWIG_AsVal_long(obj5, &val6);
19631 if (!SWIG_IsOK(ecode6)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19633 }
19634 arg6 = static_cast< long >(val6);
19635 }
19636 if (obj6) {
d14a1e28 19637 {
0085ce49
RD
19638 arg7 = &temp7;
19639 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
994141e6 19640 }
0085ce49
RD
19641 }
19642 {
19643 if (!wxPyCheckForApp()) SWIG_fail;
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
19650 {
19651 if (temp2)
19652 delete arg2;
19653 }
19654 {
19655 if (temp3)
19656 delete arg3;
19657 }
19658 {
19659 if (temp4)
19660 delete arg4;
19661 }
19662 {
19663 if (temp5)
19664 delete arg5;
19665 }
19666 return resultobj;
19667fail:
19668 {
19669 if (temp2)
19670 delete arg2;
19671 }
19672 {
19673 if (temp3)
19674 delete arg3;
19675 }
19676 {
19677 if (temp4)
19678 delete arg4;
19679 }
19680 {
19681 if (temp5)
19682 delete arg5;
19683 }
19684 return NULL;
d14a1e28
RD
19685}
19686
19687
0085ce49
RD
19688SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj = 0;
19690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19691 wxString *arg2 = 0 ;
19692 void *argp1 = 0 ;
19693 int res1 = 0 ;
19694 bool temp2 = false ;
19695 PyObject * obj0 = 0 ;
19696 PyObject * obj1 = 0 ;
19697 char * kwnames[] = {
19698 (char *) "self",(char *) "message", NULL
19699 };
19700
19701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19703 if (!SWIG_IsOK(res1)) {
19704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19705 }
19706 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19707 {
19708 arg2 = wxString_in_helper(obj1);
19709 if (arg2 == NULL) SWIG_fail;
19710 temp2 = true;
19711 }
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 (arg1)->SetMessage((wxString const &)*arg2);
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 resultobj = SWIG_Py_Void();
19719 {
19720 if (temp2)
19721 delete arg2;
19722 }
19723 return resultobj;
19724fail:
19725 {
19726 if (temp2)
19727 delete arg2;
19728 }
19729 return NULL;
d14a1e28
RD
19730}
19731
19732
0085ce49
RD
19733SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj = 0;
19735 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19736 wxString *arg2 = 0 ;
19737 void *argp1 = 0 ;
19738 int res1 = 0 ;
19739 bool temp2 = false ;
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char * kwnames[] = {
19743 (char *) "self",(char *) "path", NULL
19744 };
19745
19746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19748 if (!SWIG_IsOK(res1)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19750 }
19751 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19752 {
19753 arg2 = wxString_in_helper(obj1);
19754 if (arg2 == NULL) SWIG_fail;
19755 temp2 = true;
19756 }
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 (arg1)->SetPath((wxString const &)*arg2);
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 resultobj = SWIG_Py_Void();
19764 {
19765 if (temp2)
19766 delete arg2;
19767 }
19768 return resultobj;
19769fail:
19770 {
19771 if (temp2)
19772 delete arg2;
19773 }
19774 return NULL;
d14a1e28
RD
19775}
19776
19777
0085ce49
RD
19778SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj = 0;
19780 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19781 wxString *arg2 = 0 ;
19782 void *argp1 = 0 ;
19783 int res1 = 0 ;
19784 bool temp2 = false ;
19785 PyObject * obj0 = 0 ;
19786 PyObject * obj1 = 0 ;
19787 char * kwnames[] = {
19788 (char *) "self",(char *) "dir", NULL
19789 };
19790
19791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
19792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19793 if (!SWIG_IsOK(res1)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19795 }
19796 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19797 {
19798 arg2 = wxString_in_helper(obj1);
19799 if (arg2 == NULL) SWIG_fail;
19800 temp2 = true;
19801 }
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 (arg1)->SetDirectory((wxString const &)*arg2);
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 resultobj = SWIG_Py_Void();
19809 {
19810 if (temp2)
19811 delete arg2;
19812 }
19813 return resultobj;
19814fail:
19815 {
19816 if (temp2)
19817 delete arg2;
19818 }
19819 return NULL;
d14a1e28
RD
19820}
19821
19822
0085ce49
RD
19823SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj = 0;
19825 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19826 wxString *arg2 = 0 ;
19827 void *argp1 = 0 ;
19828 int res1 = 0 ;
19829 bool temp2 = false ;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char * kwnames[] = {
19833 (char *) "self",(char *) "name", NULL
19834 };
19835
19836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19838 if (!SWIG_IsOK(res1)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19840 }
19841 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19842 {
19843 arg2 = wxString_in_helper(obj1);
19844 if (arg2 == NULL) SWIG_fail;
19845 temp2 = true;
19846 }
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 (arg1)->SetFilename((wxString const &)*arg2);
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 resultobj = SWIG_Py_Void();
19854 {
19855 if (temp2)
19856 delete arg2;
19857 }
19858 return resultobj;
19859fail:
19860 {
19861 if (temp2)
19862 delete arg2;
19863 }
19864 return NULL;
d14a1e28
RD
19865}
19866
19867
0085ce49
RD
19868SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19869 PyObject *resultobj = 0;
19870 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19871 wxString *arg2 = 0 ;
19872 void *argp1 = 0 ;
19873 int res1 = 0 ;
19874 bool temp2 = false ;
19875 PyObject * obj0 = 0 ;
19876 PyObject * obj1 = 0 ;
19877 char * kwnames[] = {
19878 (char *) "self",(char *) "wildCard", NULL
19879 };
19880
19881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
19882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19883 if (!SWIG_IsOK(res1)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19885 }
19886 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19887 {
19888 arg2 = wxString_in_helper(obj1);
19889 if (arg2 == NULL) SWIG_fail;
19890 temp2 = true;
19891 }
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 (arg1)->SetWildcard((wxString const &)*arg2);
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 resultobj = SWIG_Py_Void();
19899 {
19900 if (temp2)
19901 delete arg2;
19902 }
19903 return resultobj;
19904fail:
19905 {
19906 if (temp2)
19907 delete arg2;
19908 }
19909 return NULL;
19910}
19911
19912
0085ce49
RD
19913SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj = 0;
19915 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19916 int arg2 ;
19917 void *argp1 = 0 ;
19918 int res1 = 0 ;
19919 int val2 ;
19920 int ecode2 = 0 ;
19921 PyObject * obj0 = 0 ;
19922 PyObject * obj1 = 0 ;
19923 char * kwnames[] = {
19924 (char *) "self",(char *) "filterIndex", NULL
19925 };
19926
19927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
19928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19929 if (!SWIG_IsOK(res1)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19931 }
19932 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19933 ecode2 = SWIG_AsVal_int(obj1, &val2);
19934 if (!SWIG_IsOK(ecode2)) {
19935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19936 }
19937 arg2 = static_cast< int >(val2);
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 (arg1)->SetFilterIndex(arg2);
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 resultobj = SWIG_Py_Void();
19945 return resultobj;
19946fail:
19947 return NULL;
d14a1e28
RD
19948}
19949
19950
0085ce49
RD
19951SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19952 PyObject *resultobj = 0;
19953 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19954 wxString result;
19955 void *argp1 = 0 ;
19956 int res1 = 0 ;
19957 PyObject *swig_obj[1] ;
19958
19959 if (!args) SWIG_fail;
19960 swig_obj[0] = args;
19961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19962 if (!SWIG_IsOK(res1)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19964 }
19965 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = ((wxFileDialog const *)arg1)->GetMessage();
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 {
19973#if wxUSE_UNICODE
19974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19975#else
19976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19977#endif
19978 }
19979 return resultobj;
19980fail:
19981 return NULL;
d14a1e28
RD
19982}
19983
19984
0085ce49
RD
19985SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19986 PyObject *resultobj = 0;
19987 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19988 wxString result;
19989 void *argp1 = 0 ;
19990 int res1 = 0 ;
19991 PyObject *swig_obj[1] ;
19992
19993 if (!args) SWIG_fail;
19994 swig_obj[0] = args;
19995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19996 if (!SWIG_IsOK(res1)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19998 }
19999 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = ((wxFileDialog const *)arg1)->GetPath();
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 {
20007#if wxUSE_UNICODE
20008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20009#else
20010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20011#endif
20012 }
20013 return resultobj;
20014fail:
20015 return NULL;
d14a1e28
RD
20016}
20017
20018
0085ce49
RD
20019SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20020 PyObject *resultobj = 0;
20021 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20022 wxString result;
20023 void *argp1 = 0 ;
20024 int res1 = 0 ;
20025 PyObject *swig_obj[1] ;
20026
20027 if (!args) SWIG_fail;
20028 swig_obj[0] = args;
20029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20030 if (!SWIG_IsOK(res1)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20032 }
20033 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 result = ((wxFileDialog const *)arg1)->GetDirectory();
20037 wxPyEndAllowThreads(__tstate);
20038 if (PyErr_Occurred()) SWIG_fail;
20039 }
20040 {
20041#if wxUSE_UNICODE
20042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20043#else
20044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20045#endif
20046 }
20047 return resultobj;
20048fail:
20049 return NULL;
d14a1e28
RD
20050}
20051
20052
0085ce49
RD
20053SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20054 PyObject *resultobj = 0;
20055 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20056 wxString result;
20057 void *argp1 = 0 ;
20058 int res1 = 0 ;
20059 PyObject *swig_obj[1] ;
20060
20061 if (!args) SWIG_fail;
20062 swig_obj[0] = args;
20063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20064 if (!SWIG_IsOK(res1)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20066 }
20067 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = ((wxFileDialog const *)arg1)->GetFilename();
20071 wxPyEndAllowThreads(__tstate);
20072 if (PyErr_Occurred()) SWIG_fail;
20073 }
20074 {
20075#if wxUSE_UNICODE
20076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20077#else
20078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20079#endif
20080 }
20081 return resultobj;
20082fail:
20083 return NULL;
d14a1e28
RD
20084}
20085
20086
0085ce49
RD
20087SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20088 PyObject *resultobj = 0;
20089 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20090 wxString result;
20091 void *argp1 = 0 ;
20092 int res1 = 0 ;
20093 PyObject *swig_obj[1] ;
20094
20095 if (!args) SWIG_fail;
20096 swig_obj[0] = args;
20097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20098 if (!SWIG_IsOK(res1)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20100 }
20101 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = ((wxFileDialog const *)arg1)->GetWildcard();
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 {
20109#if wxUSE_UNICODE
20110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20111#else
20112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20113#endif
20114 }
20115 return resultobj;
20116fail:
20117 return NULL;
d14a1e28
RD
20118}
20119
20120
0085ce49
RD
20121SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20122 PyObject *resultobj = 0;
20123 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20124 int result;
20125 void *argp1 = 0 ;
20126 int res1 = 0 ;
20127 PyObject *swig_obj[1] ;
20128
20129 if (!args) SWIG_fail;
20130 swig_obj[0] = args;
20131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20132 if (!SWIG_IsOK(res1)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20134 }
20135 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20136 {
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 resultobj = SWIG_From_int(static_cast< int >(result));
20143 return resultobj;
20144fail:
20145 return NULL;
d14a1e28
RD
20146}
20147
20148
0085ce49
RD
20149SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20150 PyObject *resultobj = 0;
20151 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20152 PyObject *result = 0 ;
20153 void *argp1 = 0 ;
20154 int res1 = 0 ;
20155 PyObject *swig_obj[1] ;
20156
20157 if (!args) SWIG_fail;
20158 swig_obj[0] = args;
20159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20160 if (!SWIG_IsOK(res1)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20162 }
20163 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20164 {
20165 PyThreadState* __tstate = wxPyBeginAllowThreads();
20166 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 resultobj = result;
20171 return resultobj;
20172fail:
20173 return NULL;
d14a1e28
RD
20174}
20175
20176
0085ce49
RD
20177SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20178 PyObject *resultobj = 0;
20179 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20180 PyObject *result = 0 ;
20181 void *argp1 = 0 ;
20182 int res1 = 0 ;
20183 PyObject *swig_obj[1] ;
20184
20185 if (!args) SWIG_fail;
20186 swig_obj[0] = args;
20187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20188 if (!SWIG_IsOK(res1)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20190 }
20191 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 result = (PyObject *)wxFileDialog_GetPaths(arg1);
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = result;
20199 return resultobj;
20200fail:
20201 return NULL;
20202}
20203
20204
20205SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20206 PyObject *obj;
20207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20208 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
20209 return SWIG_Py_Void();
20210}
20211
20212SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20213 return SWIG_Python_InitShadowInstance(args);
20214}
20215
20216SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj = 0;
20218 wxWindow *arg1 = (wxWindow *) 0 ;
20219 wxString *arg2 = 0 ;
20220 wxString *arg3 = 0 ;
20221 int arg4 = (int) 0 ;
20222 wxString *arg5 = (wxString *) NULL ;
20223 long arg6 = (long) wxCHOICEDLG_STYLE ;
20224 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20225 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20226 wxMultiChoiceDialog *result = 0 ;
20227 void *argp1 = 0 ;
20228 int res1 = 0 ;
20229 bool temp2 = false ;
20230 bool temp3 = false ;
20231 long val6 ;
20232 int ecode6 = 0 ;
20233 wxPoint temp7 ;
20234 PyObject * obj0 = 0 ;
20235 PyObject * obj1 = 0 ;
20236 PyObject * obj2 = 0 ;
20237 PyObject * obj3 = 0 ;
20238 PyObject * obj4 = 0 ;
20239 PyObject * obj5 = 0 ;
20240 char * kwnames[] = {
20241 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20242 };
20243
20244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20246 if (!SWIG_IsOK(res1)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20248 }
20249 arg1 = reinterpret_cast< wxWindow * >(argp1);
20250 {
20251 arg2 = wxString_in_helper(obj1);
20252 if (arg2 == NULL) SWIG_fail;
20253 temp2 = true;
20254 }
20255 {
20256 arg3 = wxString_in_helper(obj2);
20257 if (arg3 == NULL) SWIG_fail;
20258 temp3 = true;
20259 }
20260 if (obj3) {
d14a1e28 20261 {
0085ce49
RD
20262 arg4 = PyList_Size(obj3);
20263 arg5 = wxString_LIST_helper(obj3);
20264 if (arg5 == NULL) SWIG_fail;
d14a1e28 20265 }
0085ce49
RD
20266 }
20267 if (obj4) {
20268 ecode6 = SWIG_AsVal_long(obj4, &val6);
20269 if (!SWIG_IsOK(ecode6)) {
20270 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20271 }
20272 arg6 = static_cast< long >(val6);
20273 }
20274 if (obj5) {
4f89f6a3 20275 {
0085ce49
RD
20276 arg7 = &temp7;
20277 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
4f89f6a3 20278 }
0085ce49
RD
20279 }
20280 {
20281 if (!wxPyCheckForApp()) SWIG_fail;
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
20288 {
20289 if (temp2)
20290 delete arg2;
20291 }
20292 {
20293 if (temp3)
20294 delete arg3;
20295 }
20296 {
20297 if (arg5) delete [] arg5;
20298 }
20299 return resultobj;
20300fail:
20301 {
20302 if (temp2)
20303 delete arg2;
20304 }
20305 {
20306 if (temp3)
20307 delete arg3;
20308 }
20309 {
20310 if (arg5) delete [] arg5;
20311 }
20312 return NULL;
d14a1e28
RD
20313}
20314
20315
0085ce49
RD
20316SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj = 0;
20318 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20319 wxArrayInt *arg2 = 0 ;
20320 void *argp1 = 0 ;
20321 int res1 = 0 ;
20322 bool temp2 = false ;
20323 PyObject * obj0 = 0 ;
20324 PyObject * obj1 = 0 ;
20325 char * kwnames[] = {
20326 (char *) "self",(char *) "selections", NULL
20327 };
20328
20329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
20330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20331 if (!SWIG_IsOK(res1)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20333 }
20334 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20335 {
20336 if (! PySequence_Check(obj1)) {
20337 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20338 SWIG_fail;
20339 }
20340 arg2 = new wxArrayInt;
20341 temp2 = true;
20342 int i, len=PySequence_Length(obj1);
20343 for (i=0; i<len; i++) {
20344 PyObject* item = PySequence_GetItem(obj1, i);
20345 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
20346 if (!number) {
20347 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20348 SWIG_fail;
20349 }
0085ce49
RD
20350 arg2->Add(PyInt_AS_LONG(number));
20351 Py_DECREF(item);
20352 Py_DECREF(number);
093d3ff1 20353 }
0085ce49
RD
20354 }
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 (arg1)->SetSelections((wxArrayInt const &)*arg2);
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 resultobj = SWIG_Py_Void();
20362 {
20363 if (temp2) delete arg2;
20364 }
20365 return resultobj;
20366fail:
20367 {
20368 if (temp2) delete arg2;
20369 }
20370 return NULL;
d14a1e28
RD
20371}
20372
20373
0085ce49
RD
20374SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20375 PyObject *resultobj = 0;
20376 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20377 PyObject *result = 0 ;
20378 void *argp1 = 0 ;
20379 int res1 = 0 ;
20380 PyObject *swig_obj[1] ;
20381
20382 if (!args) SWIG_fail;
20383 swig_obj[0] = args;
20384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20385 if (!SWIG_IsOK(res1)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20387 }
20388 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 resultobj = result;
20396 return resultobj;
20397fail:
20398 return NULL;
20399}
20400
20401
20402SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20403 PyObject *obj;
20404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20405 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
20406 return SWIG_Py_Void();
20407}
20408
20409SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20410 return SWIG_Python_InitShadowInstance(args);
20411}
20412
20413SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj = 0;
20415 wxWindow *arg1 = (wxWindow *) 0 ;
20416 wxString *arg2 = 0 ;
20417 wxString *arg3 = 0 ;
20418 int arg4 ;
20419 wxString *arg5 = (wxString *) 0 ;
20420 long arg6 = (long) wxCHOICEDLG_STYLE ;
20421 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20422 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20423 wxSingleChoiceDialog *result = 0 ;
20424 void *argp1 = 0 ;
20425 int res1 = 0 ;
20426 bool temp2 = false ;
20427 bool temp3 = false ;
20428 long val6 ;
20429 int ecode6 = 0 ;
20430 wxPoint temp7 ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 PyObject * obj2 = 0 ;
20434 PyObject * obj3 = 0 ;
20435 PyObject * obj4 = 0 ;
20436 PyObject * obj5 = 0 ;
20437 char * kwnames[] = {
20438 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20439 };
20440
20441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20443 if (!SWIG_IsOK(res1)) {
20444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20445 }
20446 arg1 = reinterpret_cast< wxWindow * >(argp1);
20447 {
20448 arg2 = wxString_in_helper(obj1);
20449 if (arg2 == NULL) SWIG_fail;
20450 temp2 = true;
20451 }
20452 {
20453 arg3 = wxString_in_helper(obj2);
20454 if (arg3 == NULL) SWIG_fail;
20455 temp3 = true;
20456 }
20457 {
20458 arg4 = PyList_Size(obj3);
20459 arg5 = wxString_LIST_helper(obj3);
20460 if (arg5 == NULL) SWIG_fail;
20461 }
20462 if (obj4) {
20463 ecode6 = SWIG_AsVal_long(obj4, &val6);
20464 if (!SWIG_IsOK(ecode6)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20466 }
20467 arg6 = static_cast< long >(val6);
20468 }
20469 if (obj5) {
093d3ff1 20470 {
0085ce49
RD
20471 arg7 = &temp7;
20472 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 20473 }
0085ce49
RD
20474 }
20475 {
20476 if (!wxPyCheckForApp()) SWIG_fail;
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
20483 {
20484 if (temp2)
20485 delete arg2;
20486 }
20487 {
20488 if (temp3)
20489 delete arg3;
20490 }
20491 {
20492 if (arg5) delete [] arg5;
20493 }
20494 return resultobj;
20495fail:
20496 {
20497 if (temp2)
20498 delete arg2;
20499 }
20500 {
20501 if (temp3)
20502 delete arg3;
20503 }
20504 {
20505 if (arg5) delete [] arg5;
20506 }
20507 return NULL;
d14a1e28
RD
20508}
20509
20510
0085ce49
RD
20511SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20512 PyObject *resultobj = 0;
20513 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20514 int result;
20515 void *argp1 = 0 ;
20516 int res1 = 0 ;
20517 PyObject *swig_obj[1] ;
20518
20519 if (!args) SWIG_fail;
20520 swig_obj[0] = args;
20521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20522 if (!SWIG_IsOK(res1)) {
20523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20524 }
20525 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 result = (int)(arg1)->GetSelection();
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 resultobj = SWIG_From_int(static_cast< int >(result));
20533 return resultobj;
20534fail:
20535 return NULL;
d14a1e28
RD
20536}
20537
20538
0085ce49
RD
20539SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20540 PyObject *resultobj = 0;
20541 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20542 wxString result;
20543 void *argp1 = 0 ;
20544 int res1 = 0 ;
20545 PyObject *swig_obj[1] ;
20546
20547 if (!args) SWIG_fail;
20548 swig_obj[0] = args;
20549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20550 if (!SWIG_IsOK(res1)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20552 }
20553 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 result = (arg1)->GetStringSelection();
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
20561#if wxUSE_UNICODE
20562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20563#else
20564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20565#endif
20566 }
20567 return resultobj;
20568fail:
20569 return NULL;
20570}
20571
20572
20573SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj = 0;
20575 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20576 int arg2 ;
20577 void *argp1 = 0 ;
20578 int res1 = 0 ;
20579 int val2 ;
20580 int ecode2 = 0 ;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char * kwnames[] = {
20584 (char *) "self",(char *) "sel", NULL
20585 };
20586
20587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20589 if (!SWIG_IsOK(res1)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20591 }
20592 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20593 ecode2 = SWIG_AsVal_int(obj1, &val2);
20594 if (!SWIG_IsOK(ecode2)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20596 }
20597 arg2 = static_cast< int >(val2);
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 (arg1)->SetSelection(arg2);
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_Py_Void();
20605 return resultobj;
20606fail:
20607 return NULL;
20608}
20609
20610
20611SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20612 PyObject *obj;
20613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
20615 return SWIG_Py_Void();
20616}
20617
20618SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20619 return SWIG_Python_InitShadowInstance(args);
20620}
20621
20622SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20623 PyObject *resultobj = 0;
20624 wxWindow *arg1 = (wxWindow *) 0 ;
20625 wxString *arg2 = 0 ;
20626 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
20627 wxString *arg3 = (wxString *) &arg3_defvalue ;
20628 wxString const &arg4_defvalue = wxPyEmptyString ;
20629 wxString *arg4 = (wxString *) &arg4_defvalue ;
20630 long arg5 = (long) wxTextEntryDialogStyle ;
20631 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20632 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20633 wxTextEntryDialog *result = 0 ;
20634 void *argp1 = 0 ;
20635 int res1 = 0 ;
20636 bool temp2 = false ;
20637 bool temp3 = false ;
20638 bool temp4 = false ;
20639 long val5 ;
20640 int ecode5 = 0 ;
20641 wxPoint temp6 ;
20642 PyObject * obj0 = 0 ;
20643 PyObject * obj1 = 0 ;
20644 PyObject * obj2 = 0 ;
20645 PyObject * obj3 = 0 ;
20646 PyObject * obj4 = 0 ;
20647 PyObject * obj5 = 0 ;
20648 char * kwnames[] = {
20649 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20650 };
20651
20652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20654 if (!SWIG_IsOK(res1)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20656 }
20657 arg1 = reinterpret_cast< wxWindow * >(argp1);
20658 {
20659 arg2 = wxString_in_helper(obj1);
20660 if (arg2 == NULL) SWIG_fail;
20661 temp2 = true;
20662 }
20663 if (obj2) {
d14a1e28 20664 {
0085ce49
RD
20665 arg3 = wxString_in_helper(obj2);
20666 if (arg3 == NULL) SWIG_fail;
20667 temp3 = true;
d14a1e28 20668 }
0085ce49
RD
20669 }
20670 if (obj3) {
d14a1e28 20671 {
0085ce49
RD
20672 arg4 = wxString_in_helper(obj3);
20673 if (arg4 == NULL) SWIG_fail;
20674 temp4 = true;
d14a1e28 20675 }
0085ce49
RD
20676 }
20677 if (obj4) {
20678 ecode5 = SWIG_AsVal_long(obj4, &val5);
20679 if (!SWIG_IsOK(ecode5)) {
20680 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20681 }
20682 arg5 = static_cast< long >(val5);
20683 }
20684 if (obj5) {
093d3ff1 20685 {
0085ce49
RD
20686 arg6 = &temp6;
20687 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 20688 }
0085ce49
RD
20689 }
20690 {
20691 if (!wxPyCheckForApp()) SWIG_fail;
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
20698 {
20699 if (temp2)
20700 delete arg2;
20701 }
20702 {
20703 if (temp3)
20704 delete arg3;
20705 }
20706 {
20707 if (temp4)
20708 delete arg4;
20709 }
20710 return resultobj;
20711fail:
20712 {
20713 if (temp2)
20714 delete arg2;
20715 }
20716 {
20717 if (temp3)
20718 delete arg3;
20719 }
20720 {
20721 if (temp4)
20722 delete arg4;
20723 }
20724 return NULL;
d14a1e28
RD
20725}
20726
20727
0085ce49
RD
20728SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20729 PyObject *resultobj = 0;
20730 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20731 wxString result;
20732 void *argp1 = 0 ;
20733 int res1 = 0 ;
20734 PyObject *swig_obj[1] ;
20735
20736 if (!args) SWIG_fail;
20737 swig_obj[0] = args;
20738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20739 if (!SWIG_IsOK(res1)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20741 }
20742 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 result = (arg1)->GetValue();
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 {
20750#if wxUSE_UNICODE
20751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20752#else
20753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20754#endif
20755 }
20756 return resultobj;
20757fail:
20758 return NULL;
20759}
20760
20761
20762SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj = 0;
20764 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20765 wxString *arg2 = 0 ;
20766 void *argp1 = 0 ;
20767 int res1 = 0 ;
20768 bool temp2 = false ;
20769 PyObject * obj0 = 0 ;
20770 PyObject * obj1 = 0 ;
20771 char * kwnames[] = {
20772 (char *) "self",(char *) "value", NULL
20773 };
20774
20775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
20776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20777 if (!SWIG_IsOK(res1)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20779 }
20780 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20781 {
20782 arg2 = wxString_in_helper(obj1);
20783 if (arg2 == NULL) SWIG_fail;
20784 temp2 = true;
20785 }
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 (arg1)->SetValue((wxString const &)*arg2);
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 resultobj = SWIG_Py_Void();
20793 {
20794 if (temp2)
20795 delete arg2;
20796 }
20797 return resultobj;
20798fail:
20799 {
20800 if (temp2)
20801 delete arg2;
20802 }
20803 return NULL;
d14a1e28
RD
20804}
20805
20806
0085ce49
RD
20807SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20808 PyObject *obj;
20809 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20810 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
20811 return SWIG_Py_Void();
d14a1e28
RD
20812}
20813
0085ce49
RD
20814SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20815 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
20816}
20817
0085ce49
RD
20818SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
20819 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
20820 return 1;
d14a1e28
RD
20821}
20822
20823
0085ce49
RD
20824SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
20825 PyObject *pyobj = 0;
20826
20827 {
20828#if wxUSE_UNICODE
20829 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20830#else
20831 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20832#endif
20833 }
20834 return pyobj;
20835}
20836
20837
20838SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj = 0;
20840 wxWindow *arg1 = (wxWindow *) 0 ;
20841 wxString *arg2 = 0 ;
20842 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
20843 wxString *arg3 = (wxString *) &arg3_defvalue ;
20844 wxString const &arg4_defvalue = wxPyEmptyString ;
20845 wxString *arg4 = (wxString *) &arg4_defvalue ;
20846 long arg5 = (long) wxTextEntryDialogStyle ;
20847 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20848 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20849 wxPasswordEntryDialog *result = 0 ;
20850 void *argp1 = 0 ;
20851 int res1 = 0 ;
20852 bool temp2 = false ;
20853 bool temp3 = false ;
20854 bool temp4 = false ;
20855 long val5 ;
20856 int ecode5 = 0 ;
20857 wxPoint temp6 ;
20858 PyObject * obj0 = 0 ;
20859 PyObject * obj1 = 0 ;
20860 PyObject * obj2 = 0 ;
20861 PyObject * obj3 = 0 ;
20862 PyObject * obj4 = 0 ;
20863 PyObject * obj5 = 0 ;
20864 char * kwnames[] = {
20865 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20866 };
20867
20868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20870 if (!SWIG_IsOK(res1)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20872 }
20873 arg1 = reinterpret_cast< wxWindow * >(argp1);
20874 {
20875 arg2 = wxString_in_helper(obj1);
20876 if (arg2 == NULL) SWIG_fail;
20877 temp2 = true;
20878 }
20879 if (obj2) {
093d3ff1 20880 {
0085ce49
RD
20881 arg3 = wxString_in_helper(obj2);
20882 if (arg3 == NULL) SWIG_fail;
20883 temp3 = true;
093d3ff1 20884 }
0085ce49
RD
20885 }
20886 if (obj3) {
d14a1e28 20887 {
0085ce49
RD
20888 arg4 = wxString_in_helper(obj3);
20889 if (arg4 == NULL) SWIG_fail;
20890 temp4 = true;
d14a1e28 20891 }
0085ce49
RD
20892 }
20893 if (obj4) {
20894 ecode5 = SWIG_AsVal_long(obj4, &val5);
20895 if (!SWIG_IsOK(ecode5)) {
20896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20897 }
20898 arg5 = static_cast< long >(val5);
20899 }
20900 if (obj5) {
4f89f6a3 20901 {
0085ce49
RD
20902 arg6 = &temp6;
20903 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4f89f6a3 20904 }
0085ce49
RD
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
20913 {
20914 if (temp2)
20915 delete arg2;
20916 }
20917 {
20918 if (temp3)
20919 delete arg3;
20920 }
20921 {
20922 if (temp4)
20923 delete arg4;
20924 }
20925 return resultobj;
20926fail:
20927 {
20928 if (temp2)
20929 delete arg2;
20930 }
20931 {
20932 if (temp3)
20933 delete arg3;
20934 }
20935 {
20936 if (temp4)
20937 delete arg4;
20938 }
20939 return NULL;
d14a1e28
RD
20940}
20941
20942
0085ce49
RD
20943SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20944 PyObject *obj;
20945 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20946 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
20947 return SWIG_Py_Void();
70b7a5fe
RD
20948}
20949
0085ce49
RD
20950SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20951 return SWIG_Python_InitShadowInstance(args);
20952}
70b7a5fe 20953
27e45892
RD
20954SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj = 0;
20956 wxWindow *arg1 = (wxWindow *) 0 ;
20957 wxString *arg2 = 0 ;
20958 wxString *arg3 = 0 ;
20959 wxString *arg4 = 0 ;
20960 long arg5 ;
20961 long arg6 ;
20962 long arg7 ;
20963 wxPoint const &arg8_defvalue = wxDefaultPosition ;
20964 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
20965 wxNumberEntryDialog *result = 0 ;
20966 void *argp1 = 0 ;
20967 int res1 = 0 ;
20968 bool temp2 = false ;
20969 bool temp3 = false ;
20970 bool temp4 = false ;
20971 long val5 ;
20972 int ecode5 = 0 ;
20973 long val6 ;
20974 int ecode6 = 0 ;
20975 long val7 ;
20976 int ecode7 = 0 ;
20977 wxPoint temp8 ;
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 PyObject * obj2 = 0 ;
20981 PyObject * obj3 = 0 ;
20982 PyObject * obj4 = 0 ;
20983 PyObject * obj5 = 0 ;
20984 PyObject * obj6 = 0 ;
20985 PyObject * obj7 = 0 ;
20986 char * kwnames[] = {
20987 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20988 };
20989
20990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20992 if (!SWIG_IsOK(res1)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20994 }
20995 arg1 = reinterpret_cast< wxWindow * >(argp1);
20996 {
20997 arg2 = wxString_in_helper(obj1);
20998 if (arg2 == NULL) SWIG_fail;
20999 temp2 = true;
21000 }
21001 {
21002 arg3 = wxString_in_helper(obj2);
21003 if (arg3 == NULL) SWIG_fail;
21004 temp3 = true;
21005 }
21006 {
21007 arg4 = wxString_in_helper(obj3);
21008 if (arg4 == NULL) SWIG_fail;
21009 temp4 = true;
21010 }
21011 ecode5 = SWIG_AsVal_long(obj4, &val5);
21012 if (!SWIG_IsOK(ecode5)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
21014 }
21015 arg5 = static_cast< long >(val5);
21016 ecode6 = SWIG_AsVal_long(obj5, &val6);
21017 if (!SWIG_IsOK(ecode6)) {
21018 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
21019 }
21020 arg6 = static_cast< long >(val6);
21021 ecode7 = SWIG_AsVal_long(obj6, &val7);
21022 if (!SWIG_IsOK(ecode7)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
21024 }
21025 arg7 = static_cast< long >(val7);
21026 if (obj7) {
21027 {
21028 arg8 = &temp8;
21029 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
21030 }
21031 }
21032 {
21033 if (!wxPyCheckForApp()) SWIG_fail;
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
21040 {
21041 if (temp2)
21042 delete arg2;
21043 }
21044 {
21045 if (temp3)
21046 delete arg3;
21047 }
21048 {
21049 if (temp4)
21050 delete arg4;
21051 }
21052 return resultobj;
21053fail:
21054 {
21055 if (temp2)
21056 delete arg2;
21057 }
21058 {
21059 if (temp3)
21060 delete arg3;
21061 }
21062 {
21063 if (temp4)
21064 delete arg4;
21065 }
21066 return NULL;
21067}
21068
21069
21070SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21071 PyObject *resultobj = 0;
21072 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
21073 long result;
21074 void *argp1 = 0 ;
21075 int res1 = 0 ;
21076 PyObject *swig_obj[1] ;
21077
21078 if (!args) SWIG_fail;
21079 swig_obj[0] = args;
21080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
21081 if (!SWIG_IsOK(res1)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21083 }
21084 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
21085 {
21086 PyThreadState* __tstate = wxPyBeginAllowThreads();
21087 result = (long)(arg1)->GetValue();
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 resultobj = SWIG_From_long(static_cast< long >(result));
21092 return resultobj;
21093fail:
21094 return NULL;
21095}
21096
21097
21098SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21099 PyObject *obj;
21100 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21101 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
21102 return SWIG_Py_Void();
21103}
21104
21105SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21106 return SWIG_Python_InitShadowInstance(args);
21107}
21108
0085ce49
RD
21109SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21110 PyObject *resultobj = 0;
21111 wxFontData *result = 0 ;
21112
21113 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
21114 {
21115 PyThreadState* __tstate = wxPyBeginAllowThreads();
21116 result = (wxFontData *)new wxFontData();
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
21121 return resultobj;
21122fail:
21123 return NULL;
70b7a5fe
RD
21124}
21125
21126
0085ce49
RD
21127SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21128 PyObject *resultobj = 0;
21129 wxFontData *arg1 = (wxFontData *) 0 ;
21130 void *argp1 = 0 ;
21131 int res1 = 0 ;
21132 PyObject *swig_obj[1] ;
21133
21134 if (!args) SWIG_fail;
21135 swig_obj[0] = args;
21136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
21137 if (!SWIG_IsOK(res1)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21139 }
21140 arg1 = reinterpret_cast< wxFontData * >(argp1);
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 delete arg1;
21144
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 resultobj = SWIG_Py_Void();
21149 return resultobj;
21150fail:
21151 return NULL;
21152}
21153
21154
21155SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21156 PyObject *resultobj = 0;
21157 wxFontData *arg1 = (wxFontData *) 0 ;
21158 bool arg2 ;
21159 void *argp1 = 0 ;
21160 int res1 = 0 ;
21161 bool val2 ;
21162 int ecode2 = 0 ;
21163 PyObject * obj0 = 0 ;
21164 PyObject * obj1 = 0 ;
21165 char * kwnames[] = {
21166 (char *) "self",(char *) "enable", NULL
21167 };
21168
21169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
21170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21171 if (!SWIG_IsOK(res1)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21173 }
21174 arg1 = reinterpret_cast< wxFontData * >(argp1);
21175 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21176 if (!SWIG_IsOK(ecode2)) {
21177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21178 }
21179 arg2 = static_cast< bool >(val2);
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 (arg1)->EnableEffects(arg2);
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 resultobj = SWIG_Py_Void();
21187 return resultobj;
21188fail:
21189 return NULL;
b2dc1044
RD
21190}
21191
21192
0085ce49
RD
21193SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21194 PyObject *resultobj = 0;
21195 wxFontData *arg1 = (wxFontData *) 0 ;
21196 bool result;
21197 void *argp1 = 0 ;
21198 int res1 = 0 ;
21199 PyObject *swig_obj[1] ;
21200
21201 if (!args) SWIG_fail;
21202 swig_obj[0] = args;
21203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21204 if (!SWIG_IsOK(res1)) {
21205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21206 }
21207 arg1 = reinterpret_cast< wxFontData * >(argp1);
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (bool)(arg1)->GetAllowSymbols();
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 {
21215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21216 }
21217 return resultobj;
21218fail:
21219 return NULL;
d14a1e28
RD
21220}
21221
21222
0085ce49
RD
21223SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21224 PyObject *resultobj = 0;
21225 wxFontData *arg1 = (wxFontData *) 0 ;
21226 wxColour result;
21227 void *argp1 = 0 ;
21228 int res1 = 0 ;
21229 PyObject *swig_obj[1] ;
21230
21231 if (!args) SWIG_fail;
21232 swig_obj[0] = args;
21233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21234 if (!SWIG_IsOK(res1)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21236 }
21237 arg1 = reinterpret_cast< wxFontData * >(argp1);
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (arg1)->GetColour();
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21245 return resultobj;
21246fail:
21247 return NULL;
d14a1e28
RD
21248}
21249
21250
0085ce49
RD
21251SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21252 PyObject *resultobj = 0;
21253 wxFontData *arg1 = (wxFontData *) 0 ;
21254 wxFont result;
21255 void *argp1 = 0 ;
21256 int res1 = 0 ;
21257 PyObject *swig_obj[1] ;
21258
21259 if (!args) SWIG_fail;
21260 swig_obj[0] = args;
21261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21262 if (!SWIG_IsOK(res1)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21264 }
21265 arg1 = reinterpret_cast< wxFontData * >(argp1);
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 result = (arg1)->GetChosenFont();
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21273 return resultobj;
21274fail:
21275 return NULL;
d14a1e28
RD
21276}
21277
21278
0085ce49
RD
21279SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21280 PyObject *resultobj = 0;
21281 wxFontData *arg1 = (wxFontData *) 0 ;
21282 bool result;
21283 void *argp1 = 0 ;
21284 int res1 = 0 ;
21285 PyObject *swig_obj[1] ;
21286
21287 if (!args) SWIG_fail;
21288 swig_obj[0] = args;
21289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21290 if (!SWIG_IsOK(res1)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21292 }
21293 arg1 = reinterpret_cast< wxFontData * >(argp1);
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 result = (bool)(arg1)->GetEnableEffects();
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21302 }
21303 return resultobj;
21304fail:
21305 return NULL;
d14a1e28
RD
21306}
21307
21308
0085ce49
RD
21309SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21310 PyObject *resultobj = 0;
21311 wxFontData *arg1 = (wxFontData *) 0 ;
21312 wxFont result;
21313 void *argp1 = 0 ;
21314 int res1 = 0 ;
21315 PyObject *swig_obj[1] ;
21316
21317 if (!args) SWIG_fail;
21318 swig_obj[0] = args;
21319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21320 if (!SWIG_IsOK(res1)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21322 }
21323 arg1 = reinterpret_cast< wxFontData * >(argp1);
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (arg1)->GetInitialFont();
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21331 return resultobj;
21332fail:
21333 return NULL;
d14a1e28
RD
21334}
21335
21336
0085ce49
RD
21337SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21338 PyObject *resultobj = 0;
21339 wxFontData *arg1 = (wxFontData *) 0 ;
21340 bool result;
21341 void *argp1 = 0 ;
21342 int res1 = 0 ;
21343 PyObject *swig_obj[1] ;
21344
21345 if (!args) SWIG_fail;
21346 swig_obj[0] = args;
21347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21348 if (!SWIG_IsOK(res1)) {
21349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21350 }
21351 arg1 = reinterpret_cast< wxFontData * >(argp1);
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (bool)(arg1)->GetShowHelp();
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 {
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 }
21361 return resultobj;
21362fail:
21363 return NULL;
21364}
21365
21366
21367SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj = 0;
21369 wxFontData *arg1 = (wxFontData *) 0 ;
21370 bool arg2 ;
21371 void *argp1 = 0 ;
21372 int res1 = 0 ;
21373 bool val2 ;
21374 int ecode2 = 0 ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 char * kwnames[] = {
21378 (char *) "self",(char *) "allowSymbols", NULL
21379 };
21380
21381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
21382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21383 if (!SWIG_IsOK(res1)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21385 }
21386 arg1 = reinterpret_cast< wxFontData * >(argp1);
21387 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21388 if (!SWIG_IsOK(ecode2)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21390 }
21391 arg2 = static_cast< bool >(val2);
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 (arg1)->SetAllowSymbols(arg2);
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 resultobj = SWIG_Py_Void();
21399 return resultobj;
21400fail:
21401 return NULL;
21402}
21403
21404
21405SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj = 0;
21407 wxFontData *arg1 = (wxFontData *) 0 ;
21408 wxFont *arg2 = 0 ;
21409 void *argp1 = 0 ;
21410 int res1 = 0 ;
21411 void *argp2 = 0 ;
21412 int res2 = 0 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char * kwnames[] = {
21416 (char *) "self",(char *) "font", NULL
21417 };
21418
21419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
21420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21421 if (!SWIG_IsOK(res1)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21423 }
21424 arg1 = reinterpret_cast< wxFontData * >(argp1);
21425 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21426 if (!SWIG_IsOK(res2)) {
21427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21428 }
21429 if (!argp2) {
21430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21431 }
21432 arg2 = reinterpret_cast< wxFont * >(argp2);
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 (arg1)->SetChosenFont((wxFont const &)*arg2);
21436 wxPyEndAllowThreads(__tstate);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 }
21439 resultobj = SWIG_Py_Void();
21440 return resultobj;
21441fail:
21442 return NULL;
21443}
21444
21445
21446SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21447 PyObject *resultobj = 0;
21448 wxFontData *arg1 = (wxFontData *) 0 ;
21449 wxColour *arg2 = 0 ;
21450 void *argp1 = 0 ;
21451 int res1 = 0 ;
21452 wxColour temp2 ;
21453 PyObject * obj0 = 0 ;
21454 PyObject * obj1 = 0 ;
21455 char * kwnames[] = {
21456 (char *) "self",(char *) "colour", NULL
21457 };
21458
21459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
21460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21461 if (!SWIG_IsOK(res1)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21463 }
21464 arg1 = reinterpret_cast< wxFontData * >(argp1);
21465 {
21466 arg2 = &temp2;
21467 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21468 }
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 (arg1)->SetColour((wxColour const &)*arg2);
21472 wxPyEndAllowThreads(__tstate);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 resultobj = SWIG_Py_Void();
21476 return resultobj;
21477fail:
21478 return NULL;
21479}
21480
21481
21482SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21483 PyObject *resultobj = 0;
21484 wxFontData *arg1 = (wxFontData *) 0 ;
21485 wxFont *arg2 = 0 ;
21486 void *argp1 = 0 ;
21487 int res1 = 0 ;
21488 void *argp2 = 0 ;
21489 int res2 = 0 ;
21490 PyObject * obj0 = 0 ;
21491 PyObject * obj1 = 0 ;
21492 char * kwnames[] = {
21493 (char *) "self",(char *) "font", NULL
21494 };
21495
21496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
21497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21498 if (!SWIG_IsOK(res1)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21500 }
21501 arg1 = reinterpret_cast< wxFontData * >(argp1);
21502 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21503 if (!SWIG_IsOK(res2)) {
21504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21505 }
21506 if (!argp2) {
21507 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21508 }
21509 arg2 = reinterpret_cast< wxFont * >(argp2);
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 (arg1)->SetInitialFont((wxFont const &)*arg2);
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = SWIG_Py_Void();
21517 return resultobj;
21518fail:
21519 return NULL;
21520}
21521
21522
21523SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj = 0;
21525 wxFontData *arg1 = (wxFontData *) 0 ;
21526 int arg2 ;
21527 int arg3 ;
21528 void *argp1 = 0 ;
21529 int res1 = 0 ;
21530 int val2 ;
21531 int ecode2 = 0 ;
21532 int val3 ;
21533 int ecode3 = 0 ;
21534 PyObject * obj0 = 0 ;
21535 PyObject * obj1 = 0 ;
21536 PyObject * obj2 = 0 ;
21537 char * kwnames[] = {
21538 (char *) "self",(char *) "min",(char *) "max", NULL
21539 };
21540
21541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21543 if (!SWIG_IsOK(res1)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21545 }
21546 arg1 = reinterpret_cast< wxFontData * >(argp1);
21547 ecode2 = SWIG_AsVal_int(obj1, &val2);
21548 if (!SWIG_IsOK(ecode2)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21550 }
21551 arg2 = static_cast< int >(val2);
21552 ecode3 = SWIG_AsVal_int(obj2, &val3);
21553 if (!SWIG_IsOK(ecode3)) {
21554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21555 }
21556 arg3 = static_cast< int >(val3);
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 (arg1)->SetRange(arg2,arg3);
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 resultobj = SWIG_Py_Void();
21564 return resultobj;
21565fail:
21566 return NULL;
21567}
21568
21569
21570SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj = 0;
21572 wxFontData *arg1 = (wxFontData *) 0 ;
21573 bool arg2 ;
21574 void *argp1 = 0 ;
21575 int res1 = 0 ;
21576 bool val2 ;
21577 int ecode2 = 0 ;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 char * kwnames[] = {
21581 (char *) "self",(char *) "showHelp", NULL
21582 };
21583
21584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
21585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21586 if (!SWIG_IsOK(res1)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21588 }
21589 arg1 = reinterpret_cast< wxFontData * >(argp1);
21590 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21591 if (!SWIG_IsOK(ecode2)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21593 }
21594 arg2 = static_cast< bool >(val2);
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 (arg1)->SetShowHelp(arg2);
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 resultobj = SWIG_Py_Void();
21602 return resultobj;
21603fail:
21604 return NULL;
d14a1e28
RD
21605}
21606
21607
0085ce49
RD
21608SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21609 PyObject *obj;
21610 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21611 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
21612 return SWIG_Py_Void();
d14a1e28
RD
21613}
21614
0085ce49
RD
21615SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21616 return SWIG_Python_InitShadowInstance(args);
21617}
d14a1e28 21618
0085ce49
RD
21619SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21620 PyObject *resultobj = 0;
21621 wxWindow *arg1 = (wxWindow *) 0 ;
21622 wxFontData *arg2 = 0 ;
21623 wxFontDialog *result = 0 ;
21624 void *argp1 = 0 ;
21625 int res1 = 0 ;
21626 void *argp2 = 0 ;
21627 int res2 = 0 ;
21628 PyObject * obj0 = 0 ;
21629 PyObject * obj1 = 0 ;
21630 char * kwnames[] = {
21631 (char *) "parent",(char *) "data", NULL
21632 };
21633
21634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
21635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21636 if (!SWIG_IsOK(res1)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21638 }
21639 arg1 = reinterpret_cast< wxWindow * >(argp1);
21640 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
21641 if (!SWIG_IsOK(res2)) {
21642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21643 }
21644 if (!argp2) {
21645 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21646 }
21647 arg2 = reinterpret_cast< wxFontData * >(argp2);
21648 {
21649 if (!wxPyCheckForApp()) SWIG_fail;
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
21656 return resultobj;
21657fail:
21658 return NULL;
21659}
21660
21661
21662SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21663 PyObject *resultobj = 0;
21664 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
21665 wxFontData *result = 0 ;
21666 void *argp1 = 0 ;
21667 int res1 = 0 ;
21668 PyObject *swig_obj[1] ;
21669
21670 if (!args) SWIG_fail;
21671 swig_obj[0] = args;
21672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
21673 if (!SWIG_IsOK(res1)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21675 }
21676 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21679 {
0085ce49
RD
21680 wxFontData &_result_ref = (arg1)->GetFontData();
21681 result = (wxFontData *) &_result_ref;
093d3ff1 21682 }
0085ce49
RD
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
21687 return resultobj;
21688fail:
21689 return NULL;
21690}
21691
21692
21693SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21694 PyObject *obj;
21695 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21696 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
21697 return SWIG_Py_Void();
21698}
21699
21700SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21701 return SWIG_Python_InitShadowInstance(args);
21702}
21703
21704SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj = 0;
21706 wxWindow *arg1 = (wxWindow *) NULL ;
21707 wxFont const &arg2_defvalue = wxNullFont ;
21708 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
21709 wxString const &arg3_defvalue = wxPyEmptyString ;
21710 wxString *arg3 = (wxString *) &arg3_defvalue ;
21711 wxFont result;
21712 void *argp1 = 0 ;
21713 int res1 = 0 ;
21714 void *argp2 = 0 ;
21715 int res2 = 0 ;
21716 bool temp3 = false ;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 PyObject * obj2 = 0 ;
21720 char * kwnames[] = {
21721 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21722 };
21723
21724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21725 if (obj0) {
21726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21727 if (!SWIG_IsOK(res1)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21729 }
21730 arg1 = reinterpret_cast< wxWindow * >(argp1);
21731 }
21732 if (obj1) {
21733 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21734 if (!SWIG_IsOK(res2)) {
21735 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21736 }
21737 if (!argp2) {
21738 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d14a1e28 21739 }
0085ce49
RD
21740 arg2 = reinterpret_cast< wxFont * >(argp2);
21741 }
21742 if (obj2) {
4f89f6a3 21743 {
0085ce49
RD
21744 arg3 = wxString_in_helper(obj2);
21745 if (arg3 == NULL) SWIG_fail;
21746 temp3 = true;
4f89f6a3 21747 }
0085ce49
RD
21748 }
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
21752 wxPyEndAllowThreads(__tstate);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21756 {
21757 if (temp3)
21758 delete arg3;
21759 }
21760 return resultobj;
21761fail:
21762 {
21763 if (temp3)
21764 delete arg3;
21765 }
21766 return NULL;
21767}
21768
21769
21770SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21771 PyObject *resultobj = 0;
21772 wxWindow *arg1 = (wxWindow *) 0 ;
21773 wxString *arg2 = 0 ;
21774 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
21775 wxString *arg3 = (wxString *) &arg3_defvalue ;
21776 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
21777 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21778 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21779 wxMessageDialog *result = 0 ;
21780 void *argp1 = 0 ;
21781 int res1 = 0 ;
21782 bool temp2 = false ;
21783 bool temp3 = false ;
21784 long val4 ;
21785 int ecode4 = 0 ;
21786 wxPoint temp5 ;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 PyObject * obj2 = 0 ;
21790 PyObject * obj3 = 0 ;
21791 PyObject * obj4 = 0 ;
21792 char * kwnames[] = {
21793 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21794 };
21795
21796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21798 if (!SWIG_IsOK(res1)) {
21799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21800 }
21801 arg1 = reinterpret_cast< wxWindow * >(argp1);
21802 {
21803 arg2 = wxString_in_helper(obj1);
21804 if (arg2 == NULL) SWIG_fail;
21805 temp2 = true;
21806 }
21807 if (obj2) {
093d3ff1 21808 {
0085ce49
RD
21809 arg3 = wxString_in_helper(obj2);
21810 if (arg3 == NULL) SWIG_fail;
21811 temp3 = true;
093d3ff1 21812 }
0085ce49
RD
21813 }
21814 if (obj3) {
21815 ecode4 = SWIG_AsVal_long(obj3, &val4);
21816 if (!SWIG_IsOK(ecode4)) {
21817 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21818 }
21819 arg4 = static_cast< long >(val4);
21820 }
21821 if (obj4) {
d14a1e28 21822 {
0085ce49
RD
21823 arg5 = &temp5;
21824 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21825 }
21826 }
21827 {
21828 if (!wxPyCheckForApp()) SWIG_fail;
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
21835 {
21836 if (temp2)
21837 delete arg2;
21838 }
21839 {
21840 if (temp3)
21841 delete arg3;
21842 }
21843 return resultobj;
21844fail:
21845 {
21846 if (temp2)
21847 delete arg2;
21848 }
21849 {
21850 if (temp3)
21851 delete arg3;
21852 }
21853 return NULL;
21854}
21855
21856
21857SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21858 PyObject *obj;
21859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21860 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
21861 return SWIG_Py_Void();
21862}
21863
21864SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21865 return SWIG_Python_InitShadowInstance(args);
21866}
21867
21868SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21869 PyObject *resultobj = 0;
21870 wxString *arg1 = 0 ;
21871 wxString *arg2 = 0 ;
21872 int arg3 = (int) 100 ;
21873 wxWindow *arg4 = (wxWindow *) NULL ;
21874 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
21875 wxProgressDialog *result = 0 ;
21876 bool temp1 = false ;
21877 bool temp2 = false ;
21878 int val3 ;
21879 int ecode3 = 0 ;
21880 void *argp4 = 0 ;
21881 int res4 = 0 ;
21882 int val5 ;
21883 int ecode5 = 0 ;
21884 PyObject * obj0 = 0 ;
21885 PyObject * obj1 = 0 ;
21886 PyObject * obj2 = 0 ;
21887 PyObject * obj3 = 0 ;
21888 PyObject * obj4 = 0 ;
21889 char * kwnames[] = {
21890 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21891 };
21892
21893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21894 {
21895 arg1 = wxString_in_helper(obj0);
21896 if (arg1 == NULL) SWIG_fail;
21897 temp1 = true;
21898 }
21899 {
21900 arg2 = wxString_in_helper(obj1);
21901 if (arg2 == NULL) SWIG_fail;
21902 temp2 = true;
21903 }
21904 if (obj2) {
21905 ecode3 = SWIG_AsVal_int(obj2, &val3);
21906 if (!SWIG_IsOK(ecode3)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21908 }
21909 arg3 = static_cast< int >(val3);
21910 }
21911 if (obj3) {
21912 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
21913 if (!SWIG_IsOK(res4)) {
21914 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d14a1e28 21915 }
0085ce49
RD
21916 arg4 = reinterpret_cast< wxWindow * >(argp4);
21917 }
21918 if (obj4) {
21919 ecode5 = SWIG_AsVal_int(obj4, &val5);
21920 if (!SWIG_IsOK(ecode5)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21922 }
21923 arg5 = static_cast< int >(val5);
21924 }
21925 {
21926 if (!wxPyCheckForApp()) SWIG_fail;
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
21929 wxPyEndAllowThreads(__tstate);
21930 if (PyErr_Occurred()) SWIG_fail;
21931 }
21932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
21933 {
21934 if (temp1)
21935 delete arg1;
21936 }
21937 {
21938 if (temp2)
21939 delete arg2;
21940 }
21941 return resultobj;
21942fail:
21943 {
21944 if (temp1)
21945 delete arg1;
21946 }
21947 {
21948 if (temp2)
21949 delete arg2;
21950 }
21951 return NULL;
21952}
21953
21954
21955SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj = 0;
21957 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21958 int arg2 ;
21959 wxString const &arg3_defvalue = wxPyEmptyString ;
21960 wxString *arg3 = (wxString *) &arg3_defvalue ;
01f6b6d3 21961 bool *arg4 = (bool *) 0 ;
0085ce49
RD
21962 bool result;
21963 void *argp1 = 0 ;
21964 int res1 = 0 ;
21965 int val2 ;
21966 int ecode2 = 0 ;
21967 bool temp3 = false ;
01f6b6d3
RD
21968 bool temp4 ;
21969 int res4 = SWIG_TMPOBJ ;
0085ce49
RD
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char * kwnames[] = {
21974 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21975 };
21976
01f6b6d3 21977 arg4 = &temp4;
0085ce49
RD
21978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21980 if (!SWIG_IsOK(res1)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21982 }
21983 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21984 ecode2 = SWIG_AsVal_int(obj1, &val2);
21985 if (!SWIG_IsOK(ecode2)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21987 }
21988 arg2 = static_cast< int >(val2);
21989 if (obj2) {
4f89f6a3 21990 {
0085ce49
RD
21991 arg3 = wxString_in_helper(obj2);
21992 if (arg3 == NULL) SWIG_fail;
21993 temp3 = true;
4f89f6a3 21994 }
0085ce49
RD
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 21998 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
0085ce49
RD
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 {
22003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22004 }
01f6b6d3
RD
22005 if (SWIG_IsTmpObj(res4)) {
22006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
22007 } else {
22008 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
22010 }
0085ce49
RD
22011 {
22012 if (temp3)
22013 delete arg3;
22014 }
22015 return resultobj;
22016fail:
22017 {
22018 if (temp3)
22019 delete arg3;
22020 }
22021 return NULL;
d14a1e28
RD
22022}
22023
22024
6b449b19 22025SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
ae5bc7f3
RD
22026 PyObject *resultobj = 0;
22027 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22028 wxString const &arg2_defvalue = wxPyEmptyString ;
22029 wxString *arg2 = (wxString *) &arg2_defvalue ;
22030 bool *arg3 = (bool *) 0 ;
22031 bool result;
22032 void *argp1 = 0 ;
22033 int res1 = 0 ;
22034 bool temp2 = false ;
22035 bool temp3 ;
22036 int res3 = SWIG_TMPOBJ ;
22037 PyObject * obj0 = 0 ;
22038 PyObject * obj1 = 0 ;
22039 char * kwnames[] = {
22040 (char *) "self",(char *) "newmsg", NULL
22041 };
22042
22043 arg3 = &temp3;
6b449b19 22044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
ae5bc7f3
RD
22045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22046 if (!SWIG_IsOK(res1)) {
6b449b19 22047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
ae5bc7f3
RD
22048 }
22049 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22050 if (obj1) {
22051 {
22052 arg2 = wxString_in_helper(obj1);
22053 if (arg2 == NULL) SWIG_fail;
22054 temp2 = true;
22055 }
22056 }
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 22059 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
ae5bc7f3
RD
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 {
22064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22065 }
22066 if (SWIG_IsTmpObj(res3)) {
22067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
22068 } else {
22069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
22071 }
22072 {
22073 if (temp2)
22074 delete arg2;
22075 }
22076 return resultobj;
22077fail:
22078 {
22079 if (temp2)
22080 delete arg2;
22081 }
22082 return NULL;
22083}
22084
22085
0085ce49
RD
22086SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22087 PyObject *resultobj = 0;
22088 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22089 void *argp1 = 0 ;
22090 int res1 = 0 ;
22091 PyObject *swig_obj[1] ;
22092
22093 if (!args) SWIG_fail;
22094 swig_obj[0] = args;
22095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22096 if (!SWIG_IsOK(res1)) {
22097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22098 }
22099 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22100 {
22101 PyThreadState* __tstate = wxPyBeginAllowThreads();
22102 (arg1)->Resume();
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 resultobj = SWIG_Py_Void();
22107 return resultobj;
22108fail:
22109 return NULL;
d14a1e28
RD
22110}
22111
22112
0085ce49
RD
22113SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22114 PyObject *obj;
22115 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22116 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
22117 return SWIG_Py_Void();
d14a1e28
RD
22118}
22119
0085ce49
RD
22120SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22121 return SWIG_Python_InitShadowInstance(args);
22122}
d14a1e28 22123
0085ce49
RD
22124SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj = 0;
22126 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22127 int arg2 = (int) 0 ;
22128 wxFindDialogEvent *result = 0 ;
22129 int val1 ;
22130 int ecode1 = 0 ;
22131 int val2 ;
22132 int ecode2 = 0 ;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 char * kwnames[] = {
22136 (char *) "commandType",(char *) "id", NULL
22137 };
22138
22139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
22140 if (obj0) {
22141 ecode1 = SWIG_AsVal_int(obj0, &val1);
22142 if (!SWIG_IsOK(ecode1)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22144 }
22145 arg1 = static_cast< wxEventType >(val1);
22146 }
22147 if (obj1) {
22148 ecode2 = SWIG_AsVal_int(obj1, &val2);
22149 if (!SWIG_IsOK(ecode2)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22151 }
22152 arg2 = static_cast< int >(val2);
22153 }
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
22161 return resultobj;
22162fail:
22163 return NULL;
d14a1e28
RD
22164}
22165
22166
0085ce49
RD
22167SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22168 PyObject *resultobj = 0;
22169 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22170 int result;
22171 void *argp1 = 0 ;
22172 int res1 = 0 ;
22173 PyObject *swig_obj[1] ;
22174
22175 if (!args) SWIG_fail;
22176 swig_obj[0] = args;
22177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22178 if (!SWIG_IsOK(res1)) {
22179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22180 }
22181 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 result = (int)(arg1)->GetFlags();
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 resultobj = SWIG_From_int(static_cast< int >(result));
22189 return resultobj;
22190fail:
22191 return NULL;
d14a1e28
RD
22192}
22193
22194
0085ce49
RD
22195SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22196 PyObject *resultobj = 0;
22197 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22198 wxString *result = 0 ;
22199 void *argp1 = 0 ;
22200 int res1 = 0 ;
22201 PyObject *swig_obj[1] ;
22202
22203 if (!args) SWIG_fail;
22204 swig_obj[0] = args;
22205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22206 if (!SWIG_IsOK(res1)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22208 }
22209 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 22212 {
0085ce49
RD
22213 wxString const &_result_ref = (arg1)->GetFindString();
22214 result = (wxString *) &_result_ref;
d14a1e28 22215 }
0085ce49
RD
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220#if wxUSE_UNICODE
22221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22222#else
22223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22224#endif
22225 }
22226 return resultobj;
22227fail:
22228 return NULL;
d14a1e28
RD
22229}
22230
22231
0085ce49
RD
22232SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22233 PyObject *resultobj = 0;
22234 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22235 wxString *result = 0 ;
22236 void *argp1 = 0 ;
22237 int res1 = 0 ;
22238 PyObject *swig_obj[1] ;
22239
22240 if (!args) SWIG_fail;
22241 swig_obj[0] = args;
22242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22243 if (!SWIG_IsOK(res1)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22245 }
22246 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22249 {
0085ce49
RD
22250 wxString const &_result_ref = (arg1)->GetReplaceString();
22251 result = (wxString *) &_result_ref;
093d3ff1 22252 }
0085ce49
RD
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257#if wxUSE_UNICODE
22258 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22259#else
22260 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22261#endif
22262 }
22263 return resultobj;
22264fail:
22265 return NULL;
d14a1e28
RD
22266}
22267
22268
0085ce49
RD
22269SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22270 PyObject *resultobj = 0;
22271 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22272 wxFindReplaceDialog *result = 0 ;
22273 void *argp1 = 0 ;
22274 int res1 = 0 ;
22275 PyObject *swig_obj[1] ;
22276
22277 if (!args) SWIG_fail;
22278 swig_obj[0] = args;
22279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22280 if (!SWIG_IsOK(res1)) {
22281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22282 }
22283 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22284 {
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22291 return resultobj;
22292fail:
22293 return NULL;
22294}
22295
22296
22297SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22298 PyObject *resultobj = 0;
22299 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22300 int arg2 ;
22301 void *argp1 = 0 ;
22302 int res1 = 0 ;
22303 int val2 ;
22304 int ecode2 = 0 ;
22305 PyObject * obj0 = 0 ;
22306 PyObject * obj1 = 0 ;
22307 char * kwnames[] = {
22308 (char *) "self",(char *) "flags", NULL
22309 };
22310
22311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22313 if (!SWIG_IsOK(res1)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22315 }
22316 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22317 ecode2 = SWIG_AsVal_int(obj1, &val2);
22318 if (!SWIG_IsOK(ecode2)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22320 }
22321 arg2 = static_cast< int >(val2);
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 (arg1)->SetFlags(arg2);
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 resultobj = SWIG_Py_Void();
22329 return resultobj;
22330fail:
22331 return NULL;
22332}
22333
22334
22335SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj = 0;
22337 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22338 wxString *arg2 = 0 ;
22339 void *argp1 = 0 ;
22340 int res1 = 0 ;
22341 bool temp2 = false ;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
22344 char * kwnames[] = {
22345 (char *) "self",(char *) "str", NULL
22346 };
22347
22348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22350 if (!SWIG_IsOK(res1)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22352 }
22353 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22354 {
22355 arg2 = wxString_in_helper(obj1);
22356 if (arg2 == NULL) SWIG_fail;
22357 temp2 = true;
22358 }
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 (arg1)->SetFindString((wxString const &)*arg2);
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 resultobj = SWIG_Py_Void();
22366 {
22367 if (temp2)
22368 delete arg2;
22369 }
22370 return resultobj;
22371fail:
22372 {
22373 if (temp2)
22374 delete arg2;
22375 }
22376 return NULL;
d14a1e28
RD
22377}
22378
22379
0085ce49
RD
22380SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj = 0;
22382 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22383 wxString *arg2 = 0 ;
22384 void *argp1 = 0 ;
22385 int res1 = 0 ;
22386 bool temp2 = false ;
22387 PyObject * obj0 = 0 ;
22388 PyObject * obj1 = 0 ;
22389 char * kwnames[] = {
22390 (char *) "self",(char *) "str", NULL
22391 };
22392
22393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22395 if (!SWIG_IsOK(res1)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22397 }
22398 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22399 {
22400 arg2 = wxString_in_helper(obj1);
22401 if (arg2 == NULL) SWIG_fail;
22402 temp2 = true;
22403 }
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 (arg1)->SetReplaceString((wxString const &)*arg2);
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 resultobj = SWIG_Py_Void();
22411 {
22412 if (temp2)
22413 delete arg2;
22414 }
22415 return resultobj;
22416fail:
22417 {
22418 if (temp2)
22419 delete arg2;
22420 }
22421 return NULL;
d14a1e28
RD
22422}
22423
22424
0085ce49
RD
22425SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22426 PyObject *obj;
22427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22428 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
22429 return SWIG_Py_Void();
d14a1e28
RD
22430}
22431
0085ce49
RD
22432SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22433 return SWIG_Python_InitShadowInstance(args);
22434}
d14a1e28 22435
0085ce49
RD
22436SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj = 0;
22438 int arg1 = (int) 0 ;
22439 wxFindReplaceData *result = 0 ;
22440 int val1 ;
22441 int ecode1 = 0 ;
22442 PyObject * obj0 = 0 ;
22443 char * kwnames[] = {
22444 (char *) "flags", NULL
22445 };
22446
22447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
22448 if (obj0) {
22449 ecode1 = SWIG_AsVal_int(obj0, &val1);
22450 if (!SWIG_IsOK(ecode1)) {
22451 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22452 }
22453 arg1 = static_cast< int >(val1);
22454 }
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
22462 return resultobj;
22463fail:
22464 return NULL;
d14a1e28
RD
22465}
22466
22467
0085ce49
RD
22468SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22469 PyObject *resultobj = 0;
22470 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22471 void *argp1 = 0 ;
22472 int res1 = 0 ;
22473 PyObject *swig_obj[1] ;
22474
22475 if (!args) SWIG_fail;
22476 swig_obj[0] = args;
22477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22480 }
22481 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 delete arg1;
d14a1e28 22485
0085ce49
RD
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 resultobj = SWIG_Py_Void();
22490 return resultobj;
22491fail:
22492 return NULL;
d14a1e28
RD
22493}
22494
22495
0085ce49
RD
22496SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22497 PyObject *resultobj = 0;
22498 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22499 wxString *result = 0 ;
22500 void *argp1 = 0 ;
22501 int res1 = 0 ;
22502 PyObject *swig_obj[1] ;
22503
22504 if (!args) SWIG_fail;
22505 swig_obj[0] = args;
22506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22507 if (!SWIG_IsOK(res1)) {
22508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22509 }
22510 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 22513 {
0085ce49
RD
22514 wxString const &_result_ref = (arg1)->GetFindString();
22515 result = (wxString *) &_result_ref;
4f89f6a3 22516 }
0085ce49
RD
22517 wxPyEndAllowThreads(__tstate);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 {
22521#if wxUSE_UNICODE
22522 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22523#else
22524 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22525#endif
22526 }
22527 return resultobj;
22528fail:
22529 return NULL;
d14a1e28
RD
22530}
22531
22532
0085ce49
RD
22533SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22534 PyObject *resultobj = 0;
22535 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22536 wxString *result = 0 ;
22537 void *argp1 = 0 ;
22538 int res1 = 0 ;
22539 PyObject *swig_obj[1] ;
22540
22541 if (!args) SWIG_fail;
22542 swig_obj[0] = args;
22543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22544 if (!SWIG_IsOK(res1)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22546 }
22547 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 22550 {
0085ce49
RD
22551 wxString const &_result_ref = (arg1)->GetReplaceString();
22552 result = (wxString *) &_result_ref;
4f89f6a3 22553 }
0085ce49
RD
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 {
22558#if wxUSE_UNICODE
22559 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22560#else
22561 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22562#endif
22563 }
22564 return resultobj;
22565fail:
22566 return NULL;
d14a1e28
RD
22567}
22568
22569
0085ce49
RD
22570SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *resultobj = 0;
22572 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22573 int result;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 PyObject *swig_obj[1] ;
22577
22578 if (!args) SWIG_fail;
22579 swig_obj[0] = args;
22580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22581 if (!SWIG_IsOK(res1)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22583 }
22584 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = (int)(arg1)->GetFlags();
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 resultobj = SWIG_From_int(static_cast< int >(result));
22592 return resultobj;
22593fail:
22594 return NULL;
22595}
22596
22597
22598SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj = 0;
22600 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22601 int arg2 ;
22602 void *argp1 = 0 ;
22603 int res1 = 0 ;
22604 int val2 ;
22605 int ecode2 = 0 ;
22606 PyObject * obj0 = 0 ;
22607 PyObject * obj1 = 0 ;
22608 char * kwnames[] = {
22609 (char *) "self",(char *) "flags", NULL
22610 };
22611
22612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22614 if (!SWIG_IsOK(res1)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22616 }
22617 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22618 ecode2 = SWIG_AsVal_int(obj1, &val2);
22619 if (!SWIG_IsOK(ecode2)) {
22620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22621 }
22622 arg2 = static_cast< int >(val2);
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 (arg1)->SetFlags(arg2);
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 resultobj = SWIG_Py_Void();
22630 return resultobj;
22631fail:
22632 return NULL;
22633}
22634
22635
22636SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj = 0;
22638 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22639 wxString *arg2 = 0 ;
22640 void *argp1 = 0 ;
22641 int res1 = 0 ;
22642 bool temp2 = false ;
22643 PyObject * obj0 = 0 ;
22644 PyObject * obj1 = 0 ;
22645 char * kwnames[] = {
22646 (char *) "self",(char *) "str", NULL
22647 };
22648
22649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22651 if (!SWIG_IsOK(res1)) {
22652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22653 }
22654 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22655 {
22656 arg2 = wxString_in_helper(obj1);
22657 if (arg2 == NULL) SWIG_fail;
22658 temp2 = true;
22659 }
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 (arg1)->SetFindString((wxString const &)*arg2);
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_Py_Void();
22667 {
22668 if (temp2)
22669 delete arg2;
22670 }
22671 return resultobj;
22672fail:
22673 {
22674 if (temp2)
22675 delete arg2;
22676 }
22677 return NULL;
d14a1e28
RD
22678}
22679
22680
0085ce49
RD
22681SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj = 0;
22683 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22684 wxString *arg2 = 0 ;
22685 void *argp1 = 0 ;
22686 int res1 = 0 ;
22687 bool temp2 = false ;
22688 PyObject * obj0 = 0 ;
22689 PyObject * obj1 = 0 ;
22690 char * kwnames[] = {
22691 (char *) "self",(char *) "str", NULL
22692 };
22693
22694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22696 if (!SWIG_IsOK(res1)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22698 }
22699 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22700 {
22701 arg2 = wxString_in_helper(obj1);
22702 if (arg2 == NULL) SWIG_fail;
22703 temp2 = true;
22704 }
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->SetReplaceString((wxString const &)*arg2);
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 resultobj = SWIG_Py_Void();
22712 {
22713 if (temp2)
22714 delete arg2;
22715 }
22716 return resultobj;
22717fail:
22718 {
22719 if (temp2)
22720 delete arg2;
22721 }
22722 return NULL;
22723}
22724
22725
22726SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22727 PyObject *obj;
22728 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22729 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
22730 return SWIG_Py_Void();
22731}
22732
22733SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22734 return SWIG_Python_InitShadowInstance(args);
22735}
22736
22737SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj = 0;
22739 wxWindow *arg1 = (wxWindow *) 0 ;
22740 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22741 wxString *arg3 = 0 ;
22742 int arg4 = (int) 0 ;
22743 wxFindReplaceDialog *result = 0 ;
22744 void *argp1 = 0 ;
22745 int res1 = 0 ;
22746 void *argp2 = 0 ;
22747 int res2 = 0 ;
22748 bool temp3 = false ;
22749 int val4 ;
22750 int ecode4 = 0 ;
22751 PyObject * obj0 = 0 ;
22752 PyObject * obj1 = 0 ;
22753 PyObject * obj2 = 0 ;
22754 PyObject * obj3 = 0 ;
22755 char * kwnames[] = {
22756 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22757 };
22758
22759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22761 if (!SWIG_IsOK(res1)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22763 }
22764 arg1 = reinterpret_cast< wxWindow * >(argp1);
22765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22766 if (!SWIG_IsOK(res2)) {
22767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22768 }
22769 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22770 {
22771 arg3 = wxString_in_helper(obj2);
22772 if (arg3 == NULL) SWIG_fail;
22773 temp3 = true;
22774 }
22775 if (obj3) {
22776 ecode4 = SWIG_AsVal_int(obj3, &val4);
22777 if (!SWIG_IsOK(ecode4)) {
22778 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22779 }
22780 arg4 = static_cast< int >(val4);
22781 }
22782 {
22783 if (!wxPyCheckForApp()) SWIG_fail;
22784 PyThreadState* __tstate = wxPyBeginAllowThreads();
22785 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
22790 {
22791 if (temp3)
22792 delete arg3;
22793 }
22794 return resultobj;
22795fail:
22796 {
22797 if (temp3)
22798 delete arg3;
22799 }
22800 return NULL;
d14a1e28
RD
22801}
22802
22803
0085ce49
RD
22804SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22805 PyObject *resultobj = 0;
22806 wxFindReplaceDialog *result = 0 ;
22807
22808 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
22809 {
22810 if (!wxPyCheckForApp()) SWIG_fail;
22811 PyThreadState* __tstate = wxPyBeginAllowThreads();
22812 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
22817 return resultobj;
22818fail:
22819 return NULL;
22820}
22821
22822
22823SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj = 0;
22825 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22826 wxWindow *arg2 = (wxWindow *) 0 ;
22827 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
22828 wxString *arg4 = 0 ;
22829 int arg5 = (int) 0 ;
22830 bool result;
22831 void *argp1 = 0 ;
22832 int res1 = 0 ;
22833 void *argp2 = 0 ;
22834 int res2 = 0 ;
22835 void *argp3 = 0 ;
22836 int res3 = 0 ;
22837 bool temp4 = false ;
22838 int val5 ;
22839 int ecode5 = 0 ;
22840 PyObject * obj0 = 0 ;
22841 PyObject * obj1 = 0 ;
22842 PyObject * obj2 = 0 ;
22843 PyObject * obj3 = 0 ;
22844 PyObject * obj4 = 0 ;
22845 char * kwnames[] = {
22846 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22847 };
22848
22849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22851 if (!SWIG_IsOK(res1)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22853 }
22854 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22855 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22856 if (!SWIG_IsOK(res2)) {
22857 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22858 }
22859 arg2 = reinterpret_cast< wxWindow * >(argp2);
22860 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22861 if (!SWIG_IsOK(res3)) {
22862 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22863 }
22864 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
22865 {
22866 arg4 = wxString_in_helper(obj3);
22867 if (arg4 == NULL) SWIG_fail;
22868 temp4 = true;
22869 }
22870 if (obj4) {
22871 ecode5 = SWIG_AsVal_int(obj4, &val5);
22872 if (!SWIG_IsOK(ecode5)) {
22873 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22874 }
22875 arg5 = static_cast< int >(val5);
22876 }
22877 {
22878 PyThreadState* __tstate = wxPyBeginAllowThreads();
22879 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 {
22884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22885 }
22886 {
22887 if (temp4)
22888 delete arg4;
22889 }
22890 return resultobj;
22891fail:
22892 {
22893 if (temp4)
22894 delete arg4;
22895 }
22896 return NULL;
d14a1e28
RD
22897}
22898
22899
0085ce49
RD
22900SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22901 PyObject *resultobj = 0;
22902 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22903 wxFindReplaceData *result = 0 ;
22904 void *argp1 = 0 ;
22905 int res1 = 0 ;
22906 PyObject *swig_obj[1] ;
22907
22908 if (!args) SWIG_fail;
22909 swig_obj[0] = args;
22910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22911 if (!SWIG_IsOK(res1)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22913 }
22914 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 result = (wxFindReplaceData *)(arg1)->GetData();
22918 wxPyEndAllowThreads(__tstate);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 }
22921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22922 return resultobj;
22923fail:
22924 return NULL;
22925}
22926
22927
22928SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj = 0;
22930 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22931 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22932 void *argp1 = 0 ;
22933 int res1 = 0 ;
22934 void *argp2 = 0 ;
22935 int res2 = 0 ;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 char * kwnames[] = {
22939 (char *) "self",(char *) "data", NULL
22940 };
22941
22942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
22943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22944 if (!SWIG_IsOK(res1)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22946 }
22947 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22949 if (!SWIG_IsOK(res2)) {
22950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22951 }
22952 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22953 {
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 (arg1)->SetData(arg2);
22956 wxPyEndAllowThreads(__tstate);
22957 if (PyErr_Occurred()) SWIG_fail;
22958 }
22959 resultobj = SWIG_Py_Void();
22960 return resultobj;
22961fail:
22962 return NULL;
22963}
22964
22965
22966SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22967 PyObject *obj;
22968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22969 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
22970 return SWIG_Py_Void();
22971}
22972
22973SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22974 return SWIG_Python_InitShadowInstance(args);
22975}
22976
22977SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj = 0;
22979 wxWindow *arg1 = (wxWindow *) 0 ;
22980 int arg2 = (int) (int)-1 ;
22981 wxString const &arg3_defvalue = wxPyEmptyString ;
22982 wxString *arg3 = (wxString *) &arg3_defvalue ;
22983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22985 wxSize const &arg5_defvalue = wxDefaultSize ;
22986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22987 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
22988 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22989 wxString *arg7 = (wxString *) &arg7_defvalue ;
22990 wxMDIParentFrame *result = 0 ;
22991 void *argp1 = 0 ;
22992 int res1 = 0 ;
22993 int val2 ;
22994 int ecode2 = 0 ;
22995 bool temp3 = false ;
22996 wxPoint temp4 ;
22997 wxSize temp5 ;
22998 long val6 ;
22999 int ecode6 = 0 ;
23000 bool temp7 = false ;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 PyObject * obj2 = 0 ;
23004 PyObject * obj3 = 0 ;
23005 PyObject * obj4 = 0 ;
23006 PyObject * obj5 = 0 ;
23007 PyObject * obj6 = 0 ;
23008 char * kwnames[] = {
23009 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23010 };
23011
23012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23014 if (!SWIG_IsOK(res1)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
23016 }
23017 arg1 = reinterpret_cast< wxWindow * >(argp1);
23018 if (obj1) {
23019 ecode2 = SWIG_AsVal_int(obj1, &val2);
23020 if (!SWIG_IsOK(ecode2)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
23022 }
23023 arg2 = static_cast< int >(val2);
23024 }
23025 if (obj2) {
d14a1e28 23026 {
0085ce49
RD
23027 arg3 = wxString_in_helper(obj2);
23028 if (arg3 == NULL) SWIG_fail;
23029 temp3 = true;
d14a1e28 23030 }
0085ce49
RD
23031 }
23032 if (obj3) {
d14a1e28 23033 {
0085ce49
RD
23034 arg4 = &temp4;
23035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 23036 }
0085ce49
RD
23037 }
23038 if (obj4) {
d14a1e28 23039 {
0085ce49
RD
23040 arg5 = &temp5;
23041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23042 }
23043 }
23044 if (obj5) {
23045 ecode6 = SWIG_AsVal_long(obj5, &val6);
23046 if (!SWIG_IsOK(ecode6)) {
23047 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23048 }
23049 arg6 = static_cast< long >(val6);
23050 }
23051 if (obj6) {
d14a1e28 23052 {
0085ce49
RD
23053 arg7 = wxString_in_helper(obj6);
23054 if (arg7 == NULL) SWIG_fail;
23055 temp7 = true;
23056 }
23057 }
23058 {
23059 if (!wxPyCheckForApp()) SWIG_fail;
23060 PyThreadState* __tstate = wxPyBeginAllowThreads();
23061 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
23066 {
23067 if (temp3)
23068 delete arg3;
23069 }
23070 {
23071 if (temp7)
23072 delete arg7;
23073 }
23074 return resultobj;
23075fail:
23076 {
23077 if (temp3)
23078 delete arg3;
23079 }
23080 {
23081 if (temp7)
23082 delete arg7;
23083 }
23084 return NULL;
d14a1e28
RD
23085}
23086
23087
0085ce49
RD
23088SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23089 PyObject *resultobj = 0;
23090 wxMDIParentFrame *result = 0 ;
23091
23092 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
23093 {
23094 if (!wxPyCheckForApp()) SWIG_fail;
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (wxMDIParentFrame *)new wxMDIParentFrame();
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
23101 return resultobj;
23102fail:
23103 return NULL;
23104}
23105
23106
23107SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23108 PyObject *resultobj = 0;
23109 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23110 wxWindow *arg2 = (wxWindow *) 0 ;
23111 int arg3 = (int) (int)-1 ;
23112 wxString const &arg4_defvalue = wxPyEmptyString ;
23113 wxString *arg4 = (wxString *) &arg4_defvalue ;
23114 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23115 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23116 wxSize const &arg6_defvalue = wxDefaultSize ;
23117 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23118 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
23119 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23120 wxString *arg8 = (wxString *) &arg8_defvalue ;
23121 bool result;
23122 void *argp1 = 0 ;
23123 int res1 = 0 ;
23124 void *argp2 = 0 ;
23125 int res2 = 0 ;
23126 int val3 ;
23127 int ecode3 = 0 ;
23128 bool temp4 = false ;
23129 wxPoint temp5 ;
23130 wxSize temp6 ;
23131 long val7 ;
23132 int ecode7 = 0 ;
23133 bool temp8 = false ;
23134 PyObject * obj0 = 0 ;
23135 PyObject * obj1 = 0 ;
23136 PyObject * obj2 = 0 ;
23137 PyObject * obj3 = 0 ;
23138 PyObject * obj4 = 0 ;
23139 PyObject * obj5 = 0 ;
23140 PyObject * obj6 = 0 ;
23141 PyObject * obj7 = 0 ;
23142 char * kwnames[] = {
23143 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23144 };
23145
23146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23148 if (!SWIG_IsOK(res1)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23150 }
23151 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
23153 if (!SWIG_IsOK(res2)) {
23154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23155 }
23156 arg2 = reinterpret_cast< wxWindow * >(argp2);
23157 if (obj2) {
23158 ecode3 = SWIG_AsVal_int(obj2, &val3);
23159 if (!SWIG_IsOK(ecode3)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23161 }
23162 arg3 = static_cast< int >(val3);
23163 }
23164 if (obj3) {
d14a1e28 23165 {
0085ce49
RD
23166 arg4 = wxString_in_helper(obj3);
23167 if (arg4 == NULL) SWIG_fail;
23168 temp4 = true;
d14a1e28 23169 }
0085ce49
RD
23170 }
23171 if (obj4) {
4f89f6a3 23172 {
0085ce49
RD
23173 arg5 = &temp5;
23174 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 23175 }
0085ce49
RD
23176 }
23177 if (obj5) {
d14a1e28 23178 {
0085ce49
RD
23179 arg6 = &temp6;
23180 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 23181 }
0085ce49
RD
23182 }
23183 if (obj6) {
23184 ecode7 = SWIG_AsVal_long(obj6, &val7);
23185 if (!SWIG_IsOK(ecode7)) {
23186 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23187 }
23188 arg7 = static_cast< long >(val7);
23189 }
23190 if (obj7) {
d14a1e28 23191 {
0085ce49
RD
23192 arg8 = wxString_in_helper(obj7);
23193 if (arg8 == NULL) SWIG_fail;
23194 temp8 = true;
d14a1e28 23195 }
0085ce49
RD
23196 }
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 {
23204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23205 }
23206 {
23207 if (temp4)
23208 delete arg4;
23209 }
23210 {
23211 if (temp8)
23212 delete arg8;
23213 }
23214 return resultobj;
23215fail:
23216 {
23217 if (temp4)
23218 delete arg4;
23219 }
23220 {
23221 if (temp8)
23222 delete arg8;
23223 }
23224 return NULL;
d14a1e28
RD
23225}
23226
23227
0085ce49
RD
23228SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23229 PyObject *resultobj = 0;
23230 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 PyObject *swig_obj[1] ;
23234
23235 if (!args) SWIG_fail;
23236 swig_obj[0] = args;
23237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23240 }
23241 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 (arg1)->ActivateNext();
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_Py_Void();
23249 return resultobj;
23250fail:
23251 return NULL;
d14a1e28
RD
23252}
23253
23254
0085ce49
RD
23255SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23256 PyObject *resultobj = 0;
23257 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23258 void *argp1 = 0 ;
23259 int res1 = 0 ;
23260 PyObject *swig_obj[1] ;
23261
23262 if (!args) SWIG_fail;
23263 swig_obj[0] = args;
23264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23265 if (!SWIG_IsOK(res1)) {
23266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23267 }
23268 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 (arg1)->ActivatePrevious();
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 resultobj = SWIG_Py_Void();
23276 return resultobj;
23277fail:
23278 return NULL;
d14a1e28
RD
23279}
23280
23281
0085ce49
RD
23282SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23283 PyObject *resultobj = 0;
23284 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23285 void *argp1 = 0 ;
23286 int res1 = 0 ;
23287 PyObject *swig_obj[1] ;
23288
23289 if (!args) SWIG_fail;
23290 swig_obj[0] = args;
23291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23292 if (!SWIG_IsOK(res1)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23294 }
23295 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 (arg1)->ArrangeIcons();
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 resultobj = SWIG_Py_Void();
23303 return resultobj;
23304fail:
23305 return NULL;
7fdaaabe
RD
23306}
23307
23308
0085ce49
RD
23309SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23310 PyObject *resultobj = 0;
23311 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23312 void *argp1 = 0 ;
23313 int res1 = 0 ;
23314 PyObject *swig_obj[1] ;
23315
23316 if (!args) SWIG_fail;
23317 swig_obj[0] = args;
23318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23319 if (!SWIG_IsOK(res1)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23321 }
23322 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 (arg1)->Cascade();
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
23329 resultobj = SWIG_Py_Void();
23330 return resultobj;
23331fail:
23332 return NULL;
d14a1e28
RD
23333}
23334
23335
0085ce49
RD
23336SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23337 PyObject *resultobj = 0;
23338 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23339 wxMDIChildFrame *result = 0 ;
23340 void *argp1 = 0 ;
23341 int res1 = 0 ;
23342 PyObject *swig_obj[1] ;
23343
23344 if (!args) SWIG_fail;
23345 swig_obj[0] = args;
23346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23347 if (!SWIG_IsOK(res1)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23349 }
23350 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 {
23358 resultobj = wxPyMake_wxObject(result, (bool)0);
23359 }
23360 return resultobj;
23361fail:
23362 return NULL;
d14a1e28
RD
23363}
23364
23365
0085ce49
RD
23366SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23367 PyObject *resultobj = 0;
23368 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23369 wxMDIClientWindow *result = 0 ;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 PyObject *swig_obj[1] ;
23373
23374 if (!args) SWIG_fail;
23375 swig_obj[0] = args;
23376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23377 if (!SWIG_IsOK(res1)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23379 }
23380 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 {
23388 resultobj = wxPyMake_wxObject(result, (bool)0);
23389 }
23390 return resultobj;
23391fail:
23392 return NULL;
74a57fcd
RD
23393}
23394
23395
0085ce49
RD
23396SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23397 PyObject *resultobj = 0;
23398 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23399 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
23400 void *argp1 = 0 ;
23401 int res1 = 0 ;
23402 int val2 ;
23403 int ecode2 = 0 ;
23404 PyObject * obj0 = 0 ;
23405 PyObject * obj1 = 0 ;
23406 char * kwnames[] = {
23407 (char *) "self",(char *) "orient", NULL
23408 };
23409
23410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
23411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23412 if (!SWIG_IsOK(res1)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23414 }
23415 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23416 if (obj1) {
23417 ecode2 = SWIG_AsVal_int(obj1, &val2);
23418 if (!SWIG_IsOK(ecode2)) {
23419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23420 }
23421 arg2 = static_cast< wxOrientation >(val2);
23422 }
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 (arg1)->Tile(arg2);
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 resultobj = SWIG_Py_Void();
23430 return resultobj;
23431fail:
23432 return NULL;
23433}
23434
23435
23436SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23437 PyObject *obj;
23438 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23439 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
23440 return SWIG_Py_Void();
23441}
23442
23443SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23444 return SWIG_Python_InitShadowInstance(args);
23445}
23446
23447SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj = 0;
23449 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23450 int arg2 = (int) (int)-1 ;
23451 wxString const &arg3_defvalue = wxPyEmptyString ;
23452 wxString *arg3 = (wxString *) &arg3_defvalue ;
23453 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23454 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23455 wxSize const &arg5_defvalue = wxDefaultSize ;
23456 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23457 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23458 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23459 wxString *arg7 = (wxString *) &arg7_defvalue ;
23460 wxMDIChildFrame *result = 0 ;
23461 void *argp1 = 0 ;
23462 int res1 = 0 ;
23463 int val2 ;
23464 int ecode2 = 0 ;
23465 bool temp3 = false ;
23466 wxPoint temp4 ;
23467 wxSize temp5 ;
23468 long val6 ;
23469 int ecode6 = 0 ;
23470 bool temp7 = false ;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 PyObject * obj2 = 0 ;
23474 PyObject * obj3 = 0 ;
23475 PyObject * obj4 = 0 ;
23476 PyObject * obj5 = 0 ;
23477 PyObject * obj6 = 0 ;
23478 char * kwnames[] = {
23479 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23480 };
23481
23482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23484 if (!SWIG_IsOK(res1)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23486 }
23487 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23488 if (obj1) {
23489 ecode2 = SWIG_AsVal_int(obj1, &val2);
23490 if (!SWIG_IsOK(ecode2)) {
23491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23492 }
23493 arg2 = static_cast< int >(val2);
23494 }
23495 if (obj2) {
d14a1e28 23496 {
0085ce49
RD
23497 arg3 = wxString_in_helper(obj2);
23498 if (arg3 == NULL) SWIG_fail;
23499 temp3 = true;
d14a1e28 23500 }
0085ce49
RD
23501 }
23502 if (obj3) {
4f89f6a3 23503 {
0085ce49
RD
23504 arg4 = &temp4;
23505 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 23506 }
0085ce49
RD
23507 }
23508 if (obj4) {
d14a1e28 23509 {
0085ce49
RD
23510 arg5 = &temp5;
23511 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 23512 }
0085ce49
RD
23513 }
23514 if (obj5) {
23515 ecode6 = SWIG_AsVal_long(obj5, &val6);
23516 if (!SWIG_IsOK(ecode6)) {
23517 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23518 }
23519 arg6 = static_cast< long >(val6);
23520 }
23521 if (obj6) {
4f89f6a3 23522 {
0085ce49
RD
23523 arg7 = wxString_in_helper(obj6);
23524 if (arg7 == NULL) SWIG_fail;
23525 temp7 = true;
4f89f6a3 23526 }
0085ce49
RD
23527 }
23528 {
23529 if (!wxPyCheckForApp()) SWIG_fail;
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
23536 {
23537 if (temp3)
23538 delete arg3;
23539 }
23540 {
23541 if (temp7)
23542 delete arg7;
23543 }
23544 return resultobj;
23545fail:
23546 {
23547 if (temp3)
23548 delete arg3;
23549 }
23550 {
23551 if (temp7)
23552 delete arg7;
23553 }
23554 return NULL;
d14a1e28
RD
23555}
23556
23557
0085ce49
RD
23558SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23559 PyObject *resultobj = 0;
23560 wxMDIChildFrame *result = 0 ;
23561
23562 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
23563 {
23564 if (!wxPyCheckForApp()) SWIG_fail;
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 result = (wxMDIChildFrame *)new wxMDIChildFrame();
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
23571 return resultobj;
23572fail:
23573 return NULL;
23574}
23575
23576
23577SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23578 PyObject *resultobj = 0;
23579 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23580 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23581 int arg3 = (int) (int)-1 ;
23582 wxString const &arg4_defvalue = wxPyEmptyString ;
23583 wxString *arg4 = (wxString *) &arg4_defvalue ;
23584 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23585 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23586 wxSize const &arg6_defvalue = wxDefaultSize ;
23587 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23588 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
23589 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23590 wxString *arg8 = (wxString *) &arg8_defvalue ;
23591 bool result;
23592 void *argp1 = 0 ;
23593 int res1 = 0 ;
23594 void *argp2 = 0 ;
23595 int res2 = 0 ;
23596 int val3 ;
23597 int ecode3 = 0 ;
23598 bool temp4 = false ;
23599 wxPoint temp5 ;
23600 wxSize temp6 ;
23601 long val7 ;
23602 int ecode7 = 0 ;
23603 bool temp8 = false ;
23604 PyObject * obj0 = 0 ;
23605 PyObject * obj1 = 0 ;
23606 PyObject * obj2 = 0 ;
23607 PyObject * obj3 = 0 ;
23608 PyObject * obj4 = 0 ;
23609 PyObject * obj5 = 0 ;
23610 PyObject * obj6 = 0 ;
23611 PyObject * obj7 = 0 ;
23612 char * kwnames[] = {
23613 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23614 };
23615
23616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23618 if (!SWIG_IsOK(res1)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23620 }
23621 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23622 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23623 if (!SWIG_IsOK(res2)) {
23624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23625 }
23626 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23627 if (obj2) {
23628 ecode3 = SWIG_AsVal_int(obj2, &val3);
23629 if (!SWIG_IsOK(ecode3)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23631 }
23632 arg3 = static_cast< int >(val3);
23633 }
23634 if (obj3) {
d14a1e28 23635 {
0085ce49
RD
23636 arg4 = wxString_in_helper(obj3);
23637 if (arg4 == NULL) SWIG_fail;
23638 temp4 = true;
d14a1e28 23639 }
0085ce49
RD
23640 }
23641 if (obj4) {
4f89f6a3 23642 {
0085ce49
RD
23643 arg5 = &temp5;
23644 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 23645 }
0085ce49
RD
23646 }
23647 if (obj5) {
d14a1e28 23648 {
0085ce49
RD
23649 arg6 = &temp6;
23650 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 23651 }
0085ce49
RD
23652 }
23653 if (obj6) {
23654 ecode7 = SWIG_AsVal_long(obj6, &val7);
23655 if (!SWIG_IsOK(ecode7)) {
23656 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23657 }
23658 arg7 = static_cast< long >(val7);
23659 }
23660 if (obj7) {
d14a1e28 23661 {
0085ce49
RD
23662 arg8 = wxString_in_helper(obj7);
23663 if (arg8 == NULL) SWIG_fail;
23664 temp8 = true;
d14a1e28 23665 }
0085ce49
RD
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 {
23674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23675 }
23676 {
23677 if (temp4)
23678 delete arg4;
23679 }
23680 {
23681 if (temp8)
23682 delete arg8;
23683 }
23684 return resultobj;
23685fail:
23686 {
23687 if (temp4)
23688 delete arg4;
23689 }
23690 {
23691 if (temp8)
23692 delete arg8;
23693 }
23694 return NULL;
d14a1e28
RD
23695}
23696
23697
0085ce49
RD
23698SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23699 PyObject *resultobj = 0;
23700 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23701 void *argp1 = 0 ;
23702 int res1 = 0 ;
23703 PyObject *swig_obj[1] ;
23704
23705 if (!args) SWIG_fail;
23706 swig_obj[0] = args;
23707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23708 if (!SWIG_IsOK(res1)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23710 }
23711 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 (arg1)->Activate();
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 resultobj = SWIG_Py_Void();
23719 return resultobj;
23720fail:
23721 return NULL;
d14a1e28
RD
23722}
23723
23724
0085ce49
RD
23725SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23726 PyObject *obj;
23727 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23728 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
23729 return SWIG_Py_Void();
d14a1e28
RD
23730}
23731
0085ce49
RD
23732SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23733 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
23734}
23735
0085ce49
RD
23736SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23737 PyObject *resultobj = 0;
23738 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23739 long arg2 = (long) 0 ;
23740 wxMDIClientWindow *result = 0 ;
23741 void *argp1 = 0 ;
23742 int res1 = 0 ;
23743 long val2 ;
23744 int ecode2 = 0 ;
23745 PyObject * obj0 = 0 ;
23746 PyObject * obj1 = 0 ;
23747 char * kwnames[] = {
23748 (char *) "parent",(char *) "style", NULL
23749 };
23750
23751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
23752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23753 if (!SWIG_IsOK(res1)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23755 }
23756 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23757 if (obj1) {
23758 ecode2 = SWIG_AsVal_long(obj1, &val2);
23759 if (!SWIG_IsOK(ecode2)) {
23760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23761 }
23762 arg2 = static_cast< long >(val2);
23763 }
23764 {
23765 if (!wxPyCheckForApp()) SWIG_fail;
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
23772 return resultobj;
23773fail:
23774 return NULL;
b2dc1044
RD
23775}
23776
23777
0085ce49
RD
23778SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23779 PyObject *resultobj = 0;
23780 wxMDIClientWindow *result = 0 ;
23781
23782 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
23783 {
23784 if (!wxPyCheckForApp()) SWIG_fail;
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 result = (wxMDIClientWindow *)new wxMDIClientWindow();
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
23791 return resultobj;
23792fail:
23793 return NULL;
23794}
23795
23796
23797SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj = 0;
23799 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
23800 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23801 long arg3 = (long) 0 ;
23802 bool result;
23803 void *argp1 = 0 ;
23804 int res1 = 0 ;
23805 void *argp2 = 0 ;
23806 int res2 = 0 ;
23807 long val3 ;
23808 int ecode3 = 0 ;
23809 PyObject * obj0 = 0 ;
23810 PyObject * obj1 = 0 ;
23811 PyObject * obj2 = 0 ;
23812 char * kwnames[] = {
23813 (char *) "self",(char *) "parent",(char *) "style", NULL
23814 };
23815
23816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
23818 if (!SWIG_IsOK(res1)) {
23819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23820 }
23821 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
23822 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23823 if (!SWIG_IsOK(res2)) {
23824 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23825 }
23826 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23827 if (obj2) {
23828 ecode3 = SWIG_AsVal_long(obj2, &val3);
23829 if (!SWIG_IsOK(ecode3)) {
23830 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23831 }
23832 arg3 = static_cast< long >(val3);
23833 }
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 result = (bool)(arg1)->Create(arg2,arg3);
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 {
23841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23842 }
23843 return resultobj;
23844fail:
23845 return NULL;
23846}
23847
23848
23849SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23850 PyObject *obj;
23851 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23852 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
23853 return SWIG_Py_Void();
23854}
23855
23856SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23857 return SWIG_Python_InitShadowInstance(args);
23858}
23859
23860SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj = 0;
23862 wxWindow *arg1 = (wxWindow *) 0 ;
23863 int arg2 = (int) (int)-1 ;
23864 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23865 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23866 wxSize const &arg4_defvalue = wxDefaultSize ;
23867 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23868 long arg5 = (long) 0 ;
23869 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23870 wxString *arg6 = (wxString *) &arg6_defvalue ;
23871 wxPyWindow *result = 0 ;
23872 void *argp1 = 0 ;
23873 int res1 = 0 ;
23874 int val2 ;
23875 int ecode2 = 0 ;
23876 wxPoint temp3 ;
23877 wxSize temp4 ;
23878 long val5 ;
23879 int ecode5 = 0 ;
23880 bool temp6 = false ;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 PyObject * obj2 = 0 ;
23884 PyObject * obj3 = 0 ;
23885 PyObject * obj4 = 0 ;
23886 PyObject * obj5 = 0 ;
23887 char * kwnames[] = {
23888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23889 };
23890
23891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23893 if (!SWIG_IsOK(res1)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23895 }
23896 arg1 = reinterpret_cast< wxWindow * >(argp1);
23897 if (obj1) {
23898 ecode2 = SWIG_AsVal_int(obj1, &val2);
23899 if (!SWIG_IsOK(ecode2)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23901 }
23902 arg2 = static_cast< int >(val2);
23903 }
23904 if (obj2) {
b2dc1044 23905 {
0085ce49
RD
23906 arg3 = &temp3;
23907 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23908 }
23909 }
23910 if (obj3) {
23911 {
23912 arg4 = &temp4;
23913 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23914 }
23915 }
23916 if (obj4) {
23917 ecode5 = SWIG_AsVal_long(obj4, &val5);
23918 if (!SWIG_IsOK(ecode5)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23920 }
23921 arg5 = static_cast< long >(val5);
23922 }
23923 if (obj5) {
23924 {
23925 arg6 = wxString_in_helper(obj5);
23926 if (arg6 == NULL) SWIG_fail;
23927 temp6 = true;
b2dc1044 23928 }
0085ce49
RD
23929 }
23930 {
23931 if (!wxPyCheckForApp()) SWIG_fail;
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23934 wxPyEndAllowThreads(__tstate);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 }
23937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
23938 {
23939 if (temp6)
23940 delete arg6;
23941 }
23942 return resultobj;
23943fail:
23944 {
23945 if (temp6)
23946 delete arg6;
23947 }
23948 return NULL;
b2dc1044
RD
23949}
23950
23951
0085ce49
RD
23952SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23953 PyObject *resultobj = 0;
23954 wxPyWindow *result = 0 ;
23955
23956 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
23957 {
23958 if (!wxPyCheckForApp()) SWIG_fail;
23959 PyThreadState* __tstate = wxPyBeginAllowThreads();
23960 result = (wxPyWindow *)new wxPyWindow();
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
23965 return resultobj;
23966fail:
23967 return NULL;
23968}
23969
23970
23971SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj = 0;
23973 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23974 PyObject *arg2 = (PyObject *) 0 ;
23975 PyObject *arg3 = (PyObject *) 0 ;
23976 void *argp1 = 0 ;
23977 int res1 = 0 ;
23978 PyObject * obj0 = 0 ;
23979 PyObject * obj1 = 0 ;
23980 PyObject * obj2 = 0 ;
23981 char * kwnames[] = {
23982 (char *) "self",(char *) "self",(char *) "_class", NULL
23983 };
23984
23985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23987 if (!SWIG_IsOK(res1)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23989 }
23990 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23991 arg2 = obj1;
23992 arg3 = obj2;
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 (arg1)->_setCallbackInfo(arg2,arg3);
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 resultobj = SWIG_Py_Void();
24000 return resultobj;
24001fail:
24002 return NULL;
24003}
24004
24005
0085ce49
RD
24006SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj = 0;
24008 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24009 wxDC *arg2 = (wxDC *) 0 ;
24010 bool result;
24011 void *argp1 = 0 ;
24012 int res1 = 0 ;
24013 void *argp2 = 0 ;
24014 int res2 = 0 ;
24015 PyObject * obj0 = 0 ;
24016 PyObject * obj1 = 0 ;
24017 char * kwnames[] = {
24018 (char *) "self",(char *) "dc", NULL
24019 };
24020
24021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24023 if (!SWIG_IsOK(res1)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24025 }
24026 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24027 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24028 if (!SWIG_IsOK(res2)) {
24029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24030 }
24031 arg2 = reinterpret_cast< wxDC * >(argp2);
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (bool)(arg1)->DoEraseBackground(arg2);
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 {
24039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24040 }
24041 return resultobj;
24042fail:
24043 return NULL;
24044}
24045
24046
24047SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24048 PyObject *resultobj = 0;
24049 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24050 int arg2 ;
24051 int arg3 ;
24052 int arg4 ;
24053 int arg5 ;
24054 void *argp1 = 0 ;
24055 int res1 = 0 ;
24056 int val2 ;
24057 int ecode2 = 0 ;
24058 int val3 ;
24059 int ecode3 = 0 ;
24060 int val4 ;
24061 int ecode4 = 0 ;
24062 int val5 ;
24063 int ecode5 = 0 ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 PyObject * obj2 = 0 ;
24067 PyObject * obj3 = 0 ;
24068 PyObject * obj4 = 0 ;
24069 char * kwnames[] = {
24070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24071 };
24072
24073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24075 if (!SWIG_IsOK(res1)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24077 }
24078 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24079 ecode2 = SWIG_AsVal_int(obj1, &val2);
24080 if (!SWIG_IsOK(ecode2)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24082 }
24083 arg2 = static_cast< int >(val2);
24084 ecode3 = SWIG_AsVal_int(obj2, &val3);
24085 if (!SWIG_IsOK(ecode3)) {
24086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24087 }
24088 arg3 = static_cast< int >(val3);
24089 ecode4 = SWIG_AsVal_int(obj3, &val4);
24090 if (!SWIG_IsOK(ecode4)) {
24091 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24092 }
24093 arg4 = static_cast< int >(val4);
24094 ecode5 = SWIG_AsVal_int(obj4, &val5);
24095 if (!SWIG_IsOK(ecode5)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24097 }
24098 arg5 = static_cast< int >(val5);
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24102 wxPyEndAllowThreads(__tstate);
24103 if (PyErr_Occurred()) SWIG_fail;
24104 }
24105 resultobj = SWIG_Py_Void();
24106 return resultobj;
24107fail:
24108 return NULL;
24109}
24110
24111
24112SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj = 0;
24114 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24115 int arg2 ;
24116 int arg3 ;
24117 int arg4 ;
24118 int arg5 ;
24119 int arg6 = (int) wxSIZE_AUTO ;
24120 void *argp1 = 0 ;
24121 int res1 = 0 ;
24122 int val2 ;
24123 int ecode2 = 0 ;
24124 int val3 ;
24125 int ecode3 = 0 ;
24126 int val4 ;
24127 int ecode4 = 0 ;
24128 int val5 ;
24129 int ecode5 = 0 ;
24130 int val6 ;
24131 int ecode6 = 0 ;
24132 PyObject * obj0 = 0 ;
24133 PyObject * obj1 = 0 ;
24134 PyObject * obj2 = 0 ;
24135 PyObject * obj3 = 0 ;
24136 PyObject * obj4 = 0 ;
24137 PyObject * obj5 = 0 ;
24138 char * kwnames[] = {
24139 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24140 };
24141
24142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24144 if (!SWIG_IsOK(res1)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24146 }
24147 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24148 ecode2 = SWIG_AsVal_int(obj1, &val2);
24149 if (!SWIG_IsOK(ecode2)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24151 }
24152 arg2 = static_cast< int >(val2);
24153 ecode3 = SWIG_AsVal_int(obj2, &val3);
24154 if (!SWIG_IsOK(ecode3)) {
24155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24156 }
24157 arg3 = static_cast< int >(val3);
24158 ecode4 = SWIG_AsVal_int(obj3, &val4);
24159 if (!SWIG_IsOK(ecode4)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24161 }
24162 arg4 = static_cast< int >(val4);
24163 ecode5 = SWIG_AsVal_int(obj4, &val5);
24164 if (!SWIG_IsOK(ecode5)) {
24165 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24166 }
24167 arg5 = static_cast< int >(val5);
24168 if (obj5) {
24169 ecode6 = SWIG_AsVal_int(obj5, &val6);
24170 if (!SWIG_IsOK(ecode6)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24172 }
24173 arg6 = static_cast< int >(val6);
24174 }
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 resultobj = SWIG_Py_Void();
24182 return resultobj;
24183fail:
24184 return NULL;
24185}
24186
24187
24188SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj = 0;
24190 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24191 int arg2 ;
24192 int arg3 ;
24193 void *argp1 = 0 ;
24194 int res1 = 0 ;
24195 int val2 ;
24196 int ecode2 = 0 ;
24197 int val3 ;
24198 int ecode3 = 0 ;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 PyObject * obj2 = 0 ;
24202 char * kwnames[] = {
24203 (char *) "self",(char *) "width",(char *) "height", NULL
24204 };
24205
24206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24208 if (!SWIG_IsOK(res1)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24210 }
24211 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24212 ecode2 = SWIG_AsVal_int(obj1, &val2);
24213 if (!SWIG_IsOK(ecode2)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24215 }
24216 arg2 = static_cast< int >(val2);
24217 ecode3 = SWIG_AsVal_int(obj2, &val3);
24218 if (!SWIG_IsOK(ecode3)) {
24219 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24220 }
24221 arg3 = static_cast< int >(val3);
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 (arg1)->DoSetClientSize(arg2,arg3);
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 resultobj = SWIG_Py_Void();
24229 return resultobj;
24230fail:
24231 return NULL;
24232}
24233
24234
24235SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj = 0;
24237 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24238 int arg2 ;
24239 int arg3 ;
24240 void *argp1 = 0 ;
24241 int res1 = 0 ;
24242 int val2 ;
24243 int ecode2 = 0 ;
24244 int val3 ;
24245 int ecode3 = 0 ;
24246 PyObject * obj0 = 0 ;
24247 PyObject * obj1 = 0 ;
24248 PyObject * obj2 = 0 ;
24249 char * kwnames[] = {
24250 (char *) "self",(char *) "x",(char *) "y", NULL
24251 };
24252
24253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24255 if (!SWIG_IsOK(res1)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24257 }
24258 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24259 ecode2 = SWIG_AsVal_int(obj1, &val2);
24260 if (!SWIG_IsOK(ecode2)) {
24261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24262 }
24263 arg2 = static_cast< int >(val2);
24264 ecode3 = SWIG_AsVal_int(obj2, &val3);
24265 if (!SWIG_IsOK(ecode3)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24267 }
24268 arg3 = static_cast< int >(val3);
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 (arg1)->DoSetVirtualSize(arg2,arg3);
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 resultobj = SWIG_Py_Void();
24276 return resultobj;
24277fail:
24278 return NULL;
24279}
24280
24281
24282SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24283 PyObject *resultobj = 0;
24284 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24285 int *arg2 = (int *) 0 ;
24286 int *arg3 = (int *) 0 ;
24287 void *argp1 = 0 ;
24288 int res1 = 0 ;
24289 int temp2 ;
24290 int res2 = SWIG_TMPOBJ ;
24291 int temp3 ;
24292 int res3 = SWIG_TMPOBJ ;
24293 PyObject *swig_obj[1] ;
24294
24295 arg2 = &temp2;
24296 arg3 = &temp3;
24297 if (!args) SWIG_fail;
24298 swig_obj[0] = args;
24299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24300 if (!SWIG_IsOK(res1)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24302 }
24303 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
24307 wxPyEndAllowThreads(__tstate);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 resultobj = SWIG_Py_Void();
24311 if (SWIG_IsTmpObj(res2)) {
24312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24313 } else {
24314 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24316 }
24317 if (SWIG_IsTmpObj(res3)) {
24318 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24319 } else {
24320 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24321 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24322 }
24323 return resultobj;
24324fail:
24325 return NULL;
24326}
24327
24328
24329SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24330 PyObject *resultobj = 0;
24331 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24332 int *arg2 = (int *) 0 ;
24333 int *arg3 = (int *) 0 ;
24334 void *argp1 = 0 ;
24335 int res1 = 0 ;
24336 int temp2 ;
24337 int res2 = SWIG_TMPOBJ ;
24338 int temp3 ;
24339 int res3 = SWIG_TMPOBJ ;
24340 PyObject *swig_obj[1] ;
24341
24342 arg2 = &temp2;
24343 arg3 = &temp3;
24344 if (!args) SWIG_fail;
24345 swig_obj[0] = args;
24346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24347 if (!SWIG_IsOK(res1)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24349 }
24350 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 resultobj = SWIG_Py_Void();
24358 if (SWIG_IsTmpObj(res2)) {
24359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24360 } else {
24361 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24363 }
24364 if (SWIG_IsTmpObj(res3)) {
24365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24366 } else {
24367 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24368 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24369 }
24370 return resultobj;
24371fail:
24372 return NULL;
24373}
24374
24375
24376SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24377 PyObject *resultobj = 0;
24378 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24379 int *arg2 = (int *) 0 ;
24380 int *arg3 = (int *) 0 ;
24381 void *argp1 = 0 ;
24382 int res1 = 0 ;
24383 int temp2 ;
24384 int res2 = SWIG_TMPOBJ ;
24385 int temp3 ;
24386 int res3 = SWIG_TMPOBJ ;
24387 PyObject *swig_obj[1] ;
24388
24389 arg2 = &temp2;
24390 arg3 = &temp3;
24391 if (!args) SWIG_fail;
24392 swig_obj[0] = args;
24393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24394 if (!SWIG_IsOK(res1)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24396 }
24397 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 resultobj = SWIG_Py_Void();
24405 if (SWIG_IsTmpObj(res2)) {
24406 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24407 } else {
24408 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24409 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24410 }
24411 if (SWIG_IsTmpObj(res3)) {
24412 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24413 } else {
24414 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24415 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24416 }
24417 return resultobj;
24418fail:
24419 return NULL;
b2dc1044
RD
24420}
24421
24422
0085ce49
RD
24423SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24424 PyObject *resultobj = 0;
24425 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24426 wxSize result;
24427 void *argp1 = 0 ;
24428 int res1 = 0 ;
24429 PyObject *swig_obj[1] ;
24430
24431 if (!args) SWIG_fail;
24432 swig_obj[0] = args;
24433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24434 if (!SWIG_IsOK(res1)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24436 }
24437 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
24440 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
24444 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24445 return resultobj;
24446fail:
24447 return NULL;
b2dc1044
RD
24448}
24449
24450
0085ce49
RD
24451SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24452 PyObject *resultobj = 0;
24453 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24454 wxSize result;
24455 void *argp1 = 0 ;
24456 int res1 = 0 ;
24457 PyObject *swig_obj[1] ;
24458
24459 if (!args) SWIG_fail;
24460 swig_obj[0] = args;
24461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24462 if (!SWIG_IsOK(res1)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24464 }
24465 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
24469 wxPyEndAllowThreads(__tstate);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24473 return resultobj;
24474fail:
24475 return NULL;
b2dc1044
RD
24476}
24477
24478
0085ce49
RD
24479SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24480 PyObject *resultobj = 0;
24481 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24482 SwigValueWrapper<wxVisualAttributes > result;
24483 void *argp1 = 0 ;
24484 int res1 = 0 ;
24485 PyObject *swig_obj[1] ;
24486
24487 if (!args) SWIG_fail;
24488 swig_obj[0] = args;
24489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24490 if (!SWIG_IsOK(res1)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24492 }
24493 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (arg1)->GetDefaultAttributes();
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
24501 return resultobj;
24502fail:
24503 return NULL;
d14a1e28
RD
24504}
24505
24506
0085ce49
RD
24507SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24508 PyObject *resultobj = 0;
24509 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24510 void *argp1 = 0 ;
24511 int res1 = 0 ;
24512 PyObject *swig_obj[1] ;
24513
24514 if (!args) SWIG_fail;
24515 swig_obj[0] = args;
24516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24517 if (!SWIG_IsOK(res1)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24519 }
24520 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 (arg1)->OnInternalIdle();
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 resultobj = SWIG_Py_Void();
24528 return resultobj;
24529fail:
24530 return NULL;
24531}
24532
24533
24534SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24535 PyObject *obj;
24536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24537 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
24538 return SWIG_Py_Void();
24539}
24540
24541SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24542 return SWIG_Python_InitShadowInstance(args);
24543}
24544
24545SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24546 PyObject *resultobj = 0;
24547 wxWindow *arg1 = (wxWindow *) 0 ;
24548 int arg2 = (int) (int)-1 ;
24549 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24550 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24551 wxSize const &arg4_defvalue = wxDefaultSize ;
24552 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24553 long arg5 = (long) 0 ;
24554 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24555 wxString *arg6 = (wxString *) &arg6_defvalue ;
24556 wxPyPanel *result = 0 ;
24557 void *argp1 = 0 ;
24558 int res1 = 0 ;
24559 int val2 ;
24560 int ecode2 = 0 ;
24561 wxPoint temp3 ;
24562 wxSize temp4 ;
24563 long val5 ;
24564 int ecode5 = 0 ;
24565 bool temp6 = false ;
24566 PyObject * obj0 = 0 ;
24567 PyObject * obj1 = 0 ;
24568 PyObject * obj2 = 0 ;
24569 PyObject * obj3 = 0 ;
24570 PyObject * obj4 = 0 ;
24571 PyObject * obj5 = 0 ;
24572 char * kwnames[] = {
24573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24574 };
24575
24576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24578 if (!SWIG_IsOK(res1)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24580 }
24581 arg1 = reinterpret_cast< wxWindow * >(argp1);
24582 if (obj1) {
24583 ecode2 = SWIG_AsVal_int(obj1, &val2);
24584 if (!SWIG_IsOK(ecode2)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24586 }
24587 arg2 = static_cast< int >(val2);
24588 }
24589 if (obj2) {
d14a1e28 24590 {
0085ce49
RD
24591 arg3 = &temp3;
24592 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 24593 }
0085ce49
RD
24594 }
24595 if (obj3) {
d14a1e28 24596 {
0085ce49
RD
24597 arg4 = &temp4;
24598 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 24599 }
0085ce49
RD
24600 }
24601 if (obj4) {
24602 ecode5 = SWIG_AsVal_long(obj4, &val5);
24603 if (!SWIG_IsOK(ecode5)) {
24604 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24605 }
24606 arg5 = static_cast< long >(val5);
24607 }
24608 if (obj5) {
093d3ff1 24609 {
0085ce49
RD
24610 arg6 = wxString_in_helper(obj5);
24611 if (arg6 == NULL) SWIG_fail;
24612 temp6 = true;
093d3ff1 24613 }
0085ce49
RD
24614 }
24615 {
24616 if (!wxPyCheckForApp()) SWIG_fail;
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
24622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
24623 {
24624 if (temp6)
24625 delete arg6;
24626 }
24627 return resultobj;
24628fail:
24629 {
24630 if (temp6)
24631 delete arg6;
24632 }
24633 return NULL;
d14a1e28
RD
24634}
24635
24636
0085ce49
RD
24637SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24638 PyObject *resultobj = 0;
24639 wxPyPanel *result = 0 ;
24640
24641 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
24642 {
24643 if (!wxPyCheckForApp()) SWIG_fail;
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (wxPyPanel *)new wxPyPanel();
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
24650 return resultobj;
24651fail:
24652 return NULL;
24653}
24654
24655
24656SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24657 PyObject *resultobj = 0;
24658 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24659 PyObject *arg2 = (PyObject *) 0 ;
24660 PyObject *arg3 = (PyObject *) 0 ;
24661 void *argp1 = 0 ;
24662 int res1 = 0 ;
24663 PyObject * obj0 = 0 ;
24664 PyObject * obj1 = 0 ;
24665 PyObject * obj2 = 0 ;
24666 char * kwnames[] = {
24667 (char *) "self",(char *) "self",(char *) "_class", NULL
24668 };
24669
24670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24672 if (!SWIG_IsOK(res1)) {
24673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24674 }
24675 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24676 arg2 = obj1;
24677 arg3 = obj2;
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 (arg1)->_setCallbackInfo(arg2,arg3);
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 resultobj = SWIG_Py_Void();
24685 return resultobj;
24686fail:
24687 return NULL;
24688}
24689
24690
0085ce49
RD
24691SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24692 PyObject *resultobj = 0;
24693 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24694 wxDC *arg2 = (wxDC *) 0 ;
24695 bool result;
24696 void *argp1 = 0 ;
24697 int res1 = 0 ;
24698 void *argp2 = 0 ;
24699 int res2 = 0 ;
24700 PyObject * obj0 = 0 ;
24701 PyObject * obj1 = 0 ;
24702 char * kwnames[] = {
24703 (char *) "self",(char *) "dc", NULL
24704 };
24705
24706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24708 if (!SWIG_IsOK(res1)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24710 }
24711 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24713 if (!SWIG_IsOK(res2)) {
24714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24715 }
24716 arg2 = reinterpret_cast< wxDC * >(argp2);
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = (bool)(arg1)->DoEraseBackground(arg2);
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 {
24724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24725 }
24726 return resultobj;
24727fail:
24728 return NULL;
24729}
24730
24731
24732SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24733 PyObject *resultobj = 0;
24734 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24735 int arg2 ;
24736 int arg3 ;
24737 int arg4 ;
24738 int arg5 ;
24739 void *argp1 = 0 ;
24740 int res1 = 0 ;
24741 int val2 ;
24742 int ecode2 = 0 ;
24743 int val3 ;
24744 int ecode3 = 0 ;
24745 int val4 ;
24746 int ecode4 = 0 ;
24747 int val5 ;
24748 int ecode5 = 0 ;
24749 PyObject * obj0 = 0 ;
24750 PyObject * obj1 = 0 ;
24751 PyObject * obj2 = 0 ;
24752 PyObject * obj3 = 0 ;
24753 PyObject * obj4 = 0 ;
24754 char * kwnames[] = {
24755 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24756 };
24757
24758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24760 if (!SWIG_IsOK(res1)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24762 }
24763 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24764 ecode2 = SWIG_AsVal_int(obj1, &val2);
24765 if (!SWIG_IsOK(ecode2)) {
24766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24767 }
24768 arg2 = static_cast< int >(val2);
24769 ecode3 = SWIG_AsVal_int(obj2, &val3);
24770 if (!SWIG_IsOK(ecode3)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24772 }
24773 arg3 = static_cast< int >(val3);
24774 ecode4 = SWIG_AsVal_int(obj3, &val4);
24775 if (!SWIG_IsOK(ecode4)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24777 }
24778 arg4 = static_cast< int >(val4);
24779 ecode5 = SWIG_AsVal_int(obj4, &val5);
24780 if (!SWIG_IsOK(ecode5)) {
24781 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24782 }
24783 arg5 = static_cast< int >(val5);
24784 {
24785 PyThreadState* __tstate = wxPyBeginAllowThreads();
24786 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 resultobj = SWIG_Py_Void();
24791 return resultobj;
24792fail:
24793 return NULL;
24794}
24795
24796
24797SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj = 0;
24799 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24800 int arg2 ;
24801 int arg3 ;
24802 int arg4 ;
24803 int arg5 ;
24804 int arg6 = (int) wxSIZE_AUTO ;
24805 void *argp1 = 0 ;
24806 int res1 = 0 ;
24807 int val2 ;
24808 int ecode2 = 0 ;
24809 int val3 ;
24810 int ecode3 = 0 ;
24811 int val4 ;
24812 int ecode4 = 0 ;
24813 int val5 ;
24814 int ecode5 = 0 ;
24815 int val6 ;
24816 int ecode6 = 0 ;
24817 PyObject * obj0 = 0 ;
24818 PyObject * obj1 = 0 ;
24819 PyObject * obj2 = 0 ;
24820 PyObject * obj3 = 0 ;
24821 PyObject * obj4 = 0 ;
24822 PyObject * obj5 = 0 ;
24823 char * kwnames[] = {
24824 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24825 };
24826
24827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24829 if (!SWIG_IsOK(res1)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24831 }
24832 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24833 ecode2 = SWIG_AsVal_int(obj1, &val2);
24834 if (!SWIG_IsOK(ecode2)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24836 }
24837 arg2 = static_cast< int >(val2);
24838 ecode3 = SWIG_AsVal_int(obj2, &val3);
24839 if (!SWIG_IsOK(ecode3)) {
24840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24841 }
24842 arg3 = static_cast< int >(val3);
24843 ecode4 = SWIG_AsVal_int(obj3, &val4);
24844 if (!SWIG_IsOK(ecode4)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24846 }
24847 arg4 = static_cast< int >(val4);
24848 ecode5 = SWIG_AsVal_int(obj4, &val5);
24849 if (!SWIG_IsOK(ecode5)) {
24850 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24851 }
24852 arg5 = static_cast< int >(val5);
24853 if (obj5) {
24854 ecode6 = SWIG_AsVal_int(obj5, &val6);
24855 if (!SWIG_IsOK(ecode6)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24857 }
24858 arg6 = static_cast< int >(val6);
24859 }
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
24866 resultobj = SWIG_Py_Void();
24867 return resultobj;
24868fail:
24869 return NULL;
24870}
24871
24872
24873SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj = 0;
24875 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24876 int arg2 ;
24877 int arg3 ;
24878 void *argp1 = 0 ;
24879 int res1 = 0 ;
24880 int val2 ;
24881 int ecode2 = 0 ;
24882 int val3 ;
24883 int ecode3 = 0 ;
24884 PyObject * obj0 = 0 ;
24885 PyObject * obj1 = 0 ;
24886 PyObject * obj2 = 0 ;
24887 char * kwnames[] = {
24888 (char *) "self",(char *) "width",(char *) "height", NULL
24889 };
24890
24891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24893 if (!SWIG_IsOK(res1)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24895 }
24896 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24897 ecode2 = SWIG_AsVal_int(obj1, &val2);
24898 if (!SWIG_IsOK(ecode2)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24900 }
24901 arg2 = static_cast< int >(val2);
24902 ecode3 = SWIG_AsVal_int(obj2, &val3);
24903 if (!SWIG_IsOK(ecode3)) {
24904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24905 }
24906 arg3 = static_cast< int >(val3);
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 (arg1)->DoSetClientSize(arg2,arg3);
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 resultobj = SWIG_Py_Void();
24914 return resultobj;
24915fail:
24916 return NULL;
24917}
24918
24919
24920SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj = 0;
24922 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24923 int arg2 ;
24924 int arg3 ;
24925 void *argp1 = 0 ;
24926 int res1 = 0 ;
24927 int val2 ;
24928 int ecode2 = 0 ;
24929 int val3 ;
24930 int ecode3 = 0 ;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 PyObject * obj2 = 0 ;
24934 char * kwnames[] = {
24935 (char *) "self",(char *) "x",(char *) "y", NULL
24936 };
24937
24938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24940 if (!SWIG_IsOK(res1)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24942 }
24943 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24944 ecode2 = SWIG_AsVal_int(obj1, &val2);
24945 if (!SWIG_IsOK(ecode2)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24947 }
24948 arg2 = static_cast< int >(val2);
24949 ecode3 = SWIG_AsVal_int(obj2, &val3);
24950 if (!SWIG_IsOK(ecode3)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24952 }
24953 arg3 = static_cast< int >(val3);
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 (arg1)->DoSetVirtualSize(arg2,arg3);
24957 wxPyEndAllowThreads(__tstate);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 }
24960 resultobj = SWIG_Py_Void();
24961 return resultobj;
24962fail:
24963 return NULL;
24964}
24965
24966
24967SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24968 PyObject *resultobj = 0;
24969 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24970 int *arg2 = (int *) 0 ;
24971 int *arg3 = (int *) 0 ;
24972 void *argp1 = 0 ;
24973 int res1 = 0 ;
24974 int temp2 ;
24975 int res2 = SWIG_TMPOBJ ;
24976 int temp3 ;
24977 int res3 = SWIG_TMPOBJ ;
24978 PyObject *swig_obj[1] ;
24979
24980 arg2 = &temp2;
24981 arg3 = &temp3;
24982 if (!args) SWIG_fail;
24983 swig_obj[0] = args;
24984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24985 if (!SWIG_IsOK(res1)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24987 }
24988 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 resultobj = SWIG_Py_Void();
24996 if (SWIG_IsTmpObj(res2)) {
24997 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24998 } else {
24999 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25001 }
25002 if (SWIG_IsTmpObj(res3)) {
25003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25004 } else {
25005 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25007 }
25008 return resultobj;
25009fail:
25010 return NULL;
25011}
25012
25013
25014SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25015 PyObject *resultobj = 0;
25016 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25017 int *arg2 = (int *) 0 ;
25018 int *arg3 = (int *) 0 ;
25019 void *argp1 = 0 ;
25020 int res1 = 0 ;
25021 int temp2 ;
25022 int res2 = SWIG_TMPOBJ ;
25023 int temp3 ;
25024 int res3 = SWIG_TMPOBJ ;
25025 PyObject *swig_obj[1] ;
25026
25027 arg2 = &temp2;
25028 arg3 = &temp3;
25029 if (!args) SWIG_fail;
25030 swig_obj[0] = args;
25031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25032 if (!SWIG_IsOK(res1)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25034 }
25035 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25036 {
25037 PyThreadState* __tstate = wxPyBeginAllowThreads();
25038 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
25039 wxPyEndAllowThreads(__tstate);
25040 if (PyErr_Occurred()) SWIG_fail;
25041 }
25042 resultobj = SWIG_Py_Void();
25043 if (SWIG_IsTmpObj(res2)) {
25044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25045 } else {
25046 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25048 }
25049 if (SWIG_IsTmpObj(res3)) {
25050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25051 } else {
25052 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25054 }
25055 return resultobj;
25056fail:
25057 return NULL;
25058}
25059
25060
25061SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25062 PyObject *resultobj = 0;
25063 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25064 int *arg2 = (int *) 0 ;
25065 int *arg3 = (int *) 0 ;
25066 void *argp1 = 0 ;
25067 int res1 = 0 ;
25068 int temp2 ;
25069 int res2 = SWIG_TMPOBJ ;
25070 int temp3 ;
25071 int res3 = SWIG_TMPOBJ ;
25072 PyObject *swig_obj[1] ;
25073
25074 arg2 = &temp2;
25075 arg3 = &temp3;
25076 if (!args) SWIG_fail;
25077 swig_obj[0] = args;
25078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25079 if (!SWIG_IsOK(res1)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25081 }
25082 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 resultobj = SWIG_Py_Void();
25090 if (SWIG_IsTmpObj(res2)) {
25091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25092 } else {
25093 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25095 }
25096 if (SWIG_IsTmpObj(res3)) {
25097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25098 } else {
25099 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25101 }
25102 return resultobj;
25103fail:
25104 return NULL;
d14a1e28
RD
25105}
25106
25107
0085ce49
RD
25108SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25109 PyObject *resultobj = 0;
25110 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25111 wxSize result;
25112 void *argp1 = 0 ;
25113 int res1 = 0 ;
25114 PyObject *swig_obj[1] ;
25115
25116 if (!args) SWIG_fail;
25117 swig_obj[0] = args;
25118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25119 if (!SWIG_IsOK(res1)) {
25120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25121 }
25122 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25123 {
25124 PyThreadState* __tstate = wxPyBeginAllowThreads();
25125 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
25126 wxPyEndAllowThreads(__tstate);
25127 if (PyErr_Occurred()) SWIG_fail;
25128 }
25129 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25130 return resultobj;
25131fail:
25132 return NULL;
d14a1e28
RD
25133}
25134
25135
0085ce49
RD
25136SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25137 PyObject *resultobj = 0;
25138 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25139 wxSize result;
25140 void *argp1 = 0 ;
25141 int res1 = 0 ;
25142 PyObject *swig_obj[1] ;
25143
25144 if (!args) SWIG_fail;
25145 swig_obj[0] = args;
25146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25147 if (!SWIG_IsOK(res1)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25149 }
25150 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
25157 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25158 return resultobj;
25159fail:
25160 return NULL;
d14a1e28
RD
25161}
25162
25163
0085ce49
RD
25164SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25165 PyObject *resultobj = 0;
25166 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25167 SwigValueWrapper<wxVisualAttributes > result;
25168 void *argp1 = 0 ;
25169 int res1 = 0 ;
25170 PyObject *swig_obj[1] ;
25171
25172 if (!args) SWIG_fail;
25173 swig_obj[0] = args;
25174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25175 if (!SWIG_IsOK(res1)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25177 }
25178 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 result = (arg1)->GetDefaultAttributes();
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25186 return resultobj;
25187fail:
25188 return NULL;
d14a1e28
RD
25189}
25190
25191
0085ce49
RD
25192SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25193 PyObject *resultobj = 0;
25194 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25195 void *argp1 = 0 ;
25196 int res1 = 0 ;
25197 PyObject *swig_obj[1] ;
25198
25199 if (!args) SWIG_fail;
25200 swig_obj[0] = args;
25201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25202 if (!SWIG_IsOK(res1)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25204 }
25205 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 (arg1)->OnInternalIdle();
25209 wxPyEndAllowThreads(__tstate);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 resultobj = SWIG_Py_Void();
25213 return resultobj;
25214fail:
25215 return NULL;
25216}
25217
25218
25219SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25220 PyObject *obj;
25221 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
25223 return SWIG_Py_Void();
25224}
25225
25226SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25227 return SWIG_Python_InitShadowInstance(args);
25228}
25229
25230SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj = 0;
25232 wxWindow *arg1 = (wxWindow *) 0 ;
25233 int arg2 = (int) (int)-1 ;
25234 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25235 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25236 wxSize const &arg4_defvalue = wxDefaultSize ;
25237 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25238 long arg5 = (long) 0 ;
25239 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25240 wxString *arg6 = (wxString *) &arg6_defvalue ;
25241 wxPyScrolledWindow *result = 0 ;
25242 void *argp1 = 0 ;
25243 int res1 = 0 ;
25244 int val2 ;
25245 int ecode2 = 0 ;
25246 wxPoint temp3 ;
25247 wxSize temp4 ;
25248 long val5 ;
25249 int ecode5 = 0 ;
25250 bool temp6 = false ;
25251 PyObject * obj0 = 0 ;
25252 PyObject * obj1 = 0 ;
25253 PyObject * obj2 = 0 ;
25254 PyObject * obj3 = 0 ;
25255 PyObject * obj4 = 0 ;
25256 PyObject * obj5 = 0 ;
25257 char * kwnames[] = {
25258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25259 };
25260
25261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25263 if (!SWIG_IsOK(res1)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25265 }
25266 arg1 = reinterpret_cast< wxWindow * >(argp1);
25267 if (obj1) {
25268 ecode2 = SWIG_AsVal_int(obj1, &val2);
25269 if (!SWIG_IsOK(ecode2)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25271 }
25272 arg2 = static_cast< int >(val2);
25273 }
25274 if (obj2) {
32fe5131 25275 {
0085ce49
RD
25276 arg3 = &temp3;
25277 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 25278 }
0085ce49
RD
25279 }
25280 if (obj3) {
32fe5131 25281 {
0085ce49
RD
25282 arg4 = &temp4;
25283 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 25284 }
0085ce49
RD
25285 }
25286 if (obj4) {
25287 ecode5 = SWIG_AsVal_long(obj4, &val5);
25288 if (!SWIG_IsOK(ecode5)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25290 }
25291 arg5 = static_cast< long >(val5);
25292 }
25293 if (obj5) {
32fe5131 25294 {
0085ce49
RD
25295 arg6 = wxString_in_helper(obj5);
25296 if (arg6 == NULL) SWIG_fail;
25297 temp6 = true;
32fe5131 25298 }
0085ce49
RD
25299 }
25300 {
25301 if (!wxPyCheckForApp()) SWIG_fail;
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
25308 {
25309 if (temp6)
25310 delete arg6;
25311 }
25312 return resultobj;
25313fail:
25314 {
25315 if (temp6)
25316 delete arg6;
25317 }
25318 return NULL;
32fe5131
RD
25319}
25320
25321
0085ce49
RD
25322SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25323 PyObject *resultobj = 0;
25324 wxPyScrolledWindow *result = 0 ;
25325
25326 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
25327 {
25328 if (!wxPyCheckForApp()) SWIG_fail;
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
25335 return resultobj;
25336fail:
25337 return NULL;
25338}
25339
25340
25341SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj = 0;
25343 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25344 PyObject *arg2 = (PyObject *) 0 ;
25345 PyObject *arg3 = (PyObject *) 0 ;
25346 void *argp1 = 0 ;
25347 int res1 = 0 ;
25348 PyObject * obj0 = 0 ;
25349 PyObject * obj1 = 0 ;
25350 PyObject * obj2 = 0 ;
25351 char * kwnames[] = {
25352 (char *) "self",(char *) "self",(char *) "_class", NULL
25353 };
25354
25355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25357 if (!SWIG_IsOK(res1)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25359 }
25360 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25361 arg2 = obj1;
25362 arg3 = obj2;
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 (arg1)->_setCallbackInfo(arg2,arg3);
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 resultobj = SWIG_Py_Void();
25370 return resultobj;
25371fail:
25372 return NULL;
25373}
25374
25375
0085ce49
RD
25376SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj = 0;
25378 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25379 wxDC *arg2 = (wxDC *) 0 ;
25380 bool result;
25381 void *argp1 = 0 ;
25382 int res1 = 0 ;
25383 void *argp2 = 0 ;
25384 int res2 = 0 ;
25385 PyObject * obj0 = 0 ;
25386 PyObject * obj1 = 0 ;
25387 char * kwnames[] = {
25388 (char *) "self",(char *) "dc", NULL
25389 };
25390
25391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
25392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25397 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
25398 if (!SWIG_IsOK(res2)) {
25399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25400 }
25401 arg2 = reinterpret_cast< wxDC * >(argp2);
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 result = (bool)(arg1)->DoEraseBackground(arg2);
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 {
25409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25410 }
25411 return resultobj;
25412fail:
25413 return NULL;
25414}
25415
25416
25417SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj = 0;
25419 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25420 int arg2 ;
25421 int arg3 ;
25422 int arg4 ;
25423 int arg5 ;
25424 void *argp1 = 0 ;
25425 int res1 = 0 ;
25426 int val2 ;
25427 int ecode2 = 0 ;
25428 int val3 ;
25429 int ecode3 = 0 ;
25430 int val4 ;
25431 int ecode4 = 0 ;
25432 int val5 ;
25433 int ecode5 = 0 ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 PyObject * obj2 = 0 ;
25437 PyObject * obj3 = 0 ;
25438 PyObject * obj4 = 0 ;
25439 char * kwnames[] = {
25440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25441 };
25442
25443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
25444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25445 if (!SWIG_IsOK(res1)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25447 }
25448 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25449 ecode2 = SWIG_AsVal_int(obj1, &val2);
25450 if (!SWIG_IsOK(ecode2)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25452 }
25453 arg2 = static_cast< int >(val2);
25454 ecode3 = SWIG_AsVal_int(obj2, &val3);
25455 if (!SWIG_IsOK(ecode3)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25457 }
25458 arg3 = static_cast< int >(val3);
25459 ecode4 = SWIG_AsVal_int(obj3, &val4);
25460 if (!SWIG_IsOK(ecode4)) {
25461 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25462 }
25463 arg4 = static_cast< int >(val4);
25464 ecode5 = SWIG_AsVal_int(obj4, &val5);
25465 if (!SWIG_IsOK(ecode5)) {
25466 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25467 }
25468 arg5 = static_cast< int >(val5);
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
25472 wxPyEndAllowThreads(__tstate);
25473 if (PyErr_Occurred()) SWIG_fail;
25474 }
25475 resultobj = SWIG_Py_Void();
25476 return resultobj;
25477fail:
25478 return NULL;
25479}
25480
25481
25482SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25483 PyObject *resultobj = 0;
25484 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25485 int arg2 ;
25486 int arg3 ;
25487 int arg4 ;
25488 int arg5 ;
25489 int arg6 = (int) wxSIZE_AUTO ;
25490 void *argp1 = 0 ;
25491 int res1 = 0 ;
25492 int val2 ;
25493 int ecode2 = 0 ;
25494 int val3 ;
25495 int ecode3 = 0 ;
25496 int val4 ;
25497 int ecode4 = 0 ;
25498 int val5 ;
25499 int ecode5 = 0 ;
25500 int val6 ;
25501 int ecode6 = 0 ;
25502 PyObject * obj0 = 0 ;
25503 PyObject * obj1 = 0 ;
25504 PyObject * obj2 = 0 ;
25505 PyObject * obj3 = 0 ;
25506 PyObject * obj4 = 0 ;
25507 PyObject * obj5 = 0 ;
25508 char * kwnames[] = {
25509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25510 };
25511
25512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25514 if (!SWIG_IsOK(res1)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25516 }
25517 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25518 ecode2 = SWIG_AsVal_int(obj1, &val2);
25519 if (!SWIG_IsOK(ecode2)) {
25520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25521 }
25522 arg2 = static_cast< int >(val2);
25523 ecode3 = SWIG_AsVal_int(obj2, &val3);
25524 if (!SWIG_IsOK(ecode3)) {
25525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25526 }
25527 arg3 = static_cast< int >(val3);
25528 ecode4 = SWIG_AsVal_int(obj3, &val4);
25529 if (!SWIG_IsOK(ecode4)) {
25530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25531 }
25532 arg4 = static_cast< int >(val4);
25533 ecode5 = SWIG_AsVal_int(obj4, &val5);
25534 if (!SWIG_IsOK(ecode5)) {
25535 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25536 }
25537 arg5 = static_cast< int >(val5);
25538 if (obj5) {
25539 ecode6 = SWIG_AsVal_int(obj5, &val6);
25540 if (!SWIG_IsOK(ecode6)) {
25541 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25542 }
25543 arg6 = static_cast< int >(val6);
25544 }
25545 {
25546 PyThreadState* __tstate = wxPyBeginAllowThreads();
25547 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 resultobj = SWIG_Py_Void();
25552 return resultobj;
25553fail:
25554 return NULL;
25555}
25556
25557
25558SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25559 PyObject *resultobj = 0;
25560 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25561 int arg2 ;
25562 int arg3 ;
25563 void *argp1 = 0 ;
25564 int res1 = 0 ;
25565 int val2 ;
25566 int ecode2 = 0 ;
25567 int val3 ;
25568 int ecode3 = 0 ;
25569 PyObject * obj0 = 0 ;
25570 PyObject * obj1 = 0 ;
25571 PyObject * obj2 = 0 ;
25572 char * kwnames[] = {
25573 (char *) "self",(char *) "width",(char *) "height", NULL
25574 };
25575
25576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25580 }
25581 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25582 ecode2 = SWIG_AsVal_int(obj1, &val2);
25583 if (!SWIG_IsOK(ecode2)) {
25584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25585 }
25586 arg2 = static_cast< int >(val2);
25587 ecode3 = SWIG_AsVal_int(obj2, &val3);
25588 if (!SWIG_IsOK(ecode3)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25590 }
25591 arg3 = static_cast< int >(val3);
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 (arg1)->DoSetClientSize(arg2,arg3);
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 resultobj = SWIG_Py_Void();
25599 return resultobj;
25600fail:
25601 return NULL;
25602}
25603
25604
25605SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25606 PyObject *resultobj = 0;
25607 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25608 int arg2 ;
25609 int arg3 ;
25610 void *argp1 = 0 ;
25611 int res1 = 0 ;
25612 int val2 ;
25613 int ecode2 = 0 ;
25614 int val3 ;
25615 int ecode3 = 0 ;
25616 PyObject * obj0 = 0 ;
25617 PyObject * obj1 = 0 ;
25618 PyObject * obj2 = 0 ;
25619 char * kwnames[] = {
25620 (char *) "self",(char *) "x",(char *) "y", NULL
25621 };
25622
25623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25625 if (!SWIG_IsOK(res1)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25627 }
25628 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25629 ecode2 = SWIG_AsVal_int(obj1, &val2);
25630 if (!SWIG_IsOK(ecode2)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25632 }
25633 arg2 = static_cast< int >(val2);
25634 ecode3 = SWIG_AsVal_int(obj2, &val3);
25635 if (!SWIG_IsOK(ecode3)) {
25636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25637 }
25638 arg3 = static_cast< int >(val3);
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 (arg1)->DoSetVirtualSize(arg2,arg3);
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 resultobj = SWIG_Py_Void();
25646 return resultobj;
25647fail:
25648 return NULL;
25649}
25650
25651
25652SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25653 PyObject *resultobj = 0;
25654 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25655 int *arg2 = (int *) 0 ;
25656 int *arg3 = (int *) 0 ;
25657 void *argp1 = 0 ;
25658 int res1 = 0 ;
25659 int temp2 ;
25660 int res2 = SWIG_TMPOBJ ;
25661 int temp3 ;
25662 int res3 = SWIG_TMPOBJ ;
25663 PyObject *swig_obj[1] ;
25664
25665 arg2 = &temp2;
25666 arg3 = &temp3;
25667 if (!args) SWIG_fail;
25668 swig_obj[0] = args;
25669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25670 if (!SWIG_IsOK(res1)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25672 }
25673 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 resultobj = SWIG_Py_Void();
25681 if (SWIG_IsTmpObj(res2)) {
25682 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25683 } else {
25684 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25685 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25686 }
25687 if (SWIG_IsTmpObj(res3)) {
25688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25689 } else {
25690 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25691 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25692 }
25693 return resultobj;
25694fail:
25695 return NULL;
25696}
25697
25698
25699SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25700 PyObject *resultobj = 0;
25701 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25702 int *arg2 = (int *) 0 ;
25703 int *arg3 = (int *) 0 ;
25704 void *argp1 = 0 ;
25705 int res1 = 0 ;
25706 int temp2 ;
25707 int res2 = SWIG_TMPOBJ ;
25708 int temp3 ;
25709 int res3 = SWIG_TMPOBJ ;
25710 PyObject *swig_obj[1] ;
25711
25712 arg2 = &temp2;
25713 arg3 = &temp3;
25714 if (!args) SWIG_fail;
25715 swig_obj[0] = args;
25716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25717 if (!SWIG_IsOK(res1)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25719 }
25720 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 resultobj = SWIG_Py_Void();
25728 if (SWIG_IsTmpObj(res2)) {
25729 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25730 } else {
25731 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25732 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25733 }
25734 if (SWIG_IsTmpObj(res3)) {
25735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25736 } else {
25737 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25738 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25739 }
25740 return resultobj;
25741fail:
25742 return NULL;
25743}
25744
25745
25746SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25747 PyObject *resultobj = 0;
25748 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25749 int *arg2 = (int *) 0 ;
25750 int *arg3 = (int *) 0 ;
25751 void *argp1 = 0 ;
25752 int res1 = 0 ;
25753 int temp2 ;
25754 int res2 = SWIG_TMPOBJ ;
25755 int temp3 ;
25756 int res3 = SWIG_TMPOBJ ;
25757 PyObject *swig_obj[1] ;
25758
25759 arg2 = &temp2;
25760 arg3 = &temp3;
25761 if (!args) SWIG_fail;
25762 swig_obj[0] = args;
25763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25764 if (!SWIG_IsOK(res1)) {
25765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25766 }
25767 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 resultobj = SWIG_Py_Void();
25775 if (SWIG_IsTmpObj(res2)) {
25776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25777 } else {
25778 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25780 }
25781 if (SWIG_IsTmpObj(res3)) {
25782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25783 } else {
25784 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25786 }
25787 return resultobj;
25788fail:
25789 return NULL;
d14a1e28
RD
25790}
25791
25792
0085ce49
RD
25793SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25794 PyObject *resultobj = 0;
25795 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25796 wxSize result;
25797 void *argp1 = 0 ;
25798 int res1 = 0 ;
25799 PyObject *swig_obj[1] ;
25800
25801 if (!args) SWIG_fail;
25802 swig_obj[0] = args;
25803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25804 if (!SWIG_IsOK(res1)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25806 }
25807 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25815 return resultobj;
25816fail:
25817 return NULL;
d14a1e28
RD
25818}
25819
25820
0085ce49
RD
25821SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25822 PyObject *resultobj = 0;
25823 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25824 wxSize result;
25825 void *argp1 = 0 ;
25826 int res1 = 0 ;
25827 PyObject *swig_obj[1] ;
25828
25829 if (!args) SWIG_fail;
25830 swig_obj[0] = args;
25831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25832 if (!SWIG_IsOK(res1)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25834 }
25835 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
25839 wxPyEndAllowThreads(__tstate);
25840 if (PyErr_Occurred()) SWIG_fail;
25841 }
25842 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25843 return resultobj;
25844fail:
25845 return NULL;
d14a1e28
RD
25846}
25847
25848
0085ce49
RD
25849SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25850 PyObject *resultobj = 0;
25851 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25852 SwigValueWrapper<wxVisualAttributes > result;
25853 void *argp1 = 0 ;
25854 int res1 = 0 ;
25855 PyObject *swig_obj[1] ;
25856
25857 if (!args) SWIG_fail;
25858 swig_obj[0] = args;
25859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25860 if (!SWIG_IsOK(res1)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25862 }
25863 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = (arg1)->GetDefaultAttributes();
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25871 return resultobj;
25872fail:
25873 return NULL;
d14a1e28
RD
25874}
25875
25876
0085ce49
RD
25877SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25878 PyObject *resultobj = 0;
25879 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25880 void *argp1 = 0 ;
25881 int res1 = 0 ;
25882 PyObject *swig_obj[1] ;
25883
25884 if (!args) SWIG_fail;
25885 swig_obj[0] = args;
25886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25887 if (!SWIG_IsOK(res1)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25889 }
25890 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25891 {
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 (arg1)->OnInternalIdle();
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 resultobj = SWIG_Py_Void();
25898 return resultobj;
25899fail:
25900 return NULL;
d14a1e28
RD
25901}
25902
25903
0085ce49
RD
25904SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25905 PyObject *obj;
25906 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
25908 return SWIG_Py_Void();
d14a1e28
RD
25909}
25910
0085ce49
RD
25911SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25912 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
25913}
25914
0085ce49
RD
25915SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
25916 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
25917 return 1;
d14a1e28
RD
25918}
25919
25920
0085ce49
RD
25921SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
25922 PyObject *pyobj = 0;
25923
25924 {
25925#if wxUSE_UNICODE
25926 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
25927#else
25928 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
25929#endif
25930 }
25931 return pyobj;
d14a1e28
RD
25932}
25933
25934
0085ce49
RD
25935SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
25936 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
25937 return 1;
d14a1e28
RD
25938}
25939
25940
0085ce49
RD
25941SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
25942 PyObject *pyobj = 0;
25943
25944 {
25945#if wxUSE_UNICODE
25946 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
25947#else
25948 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
25949#endif
25950 }
25951 return pyobj;
d14a1e28
RD
25952}
25953
25954
0085ce49
RD
25955SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25956 PyObject *resultobj = 0;
25957 wxPrintData *result = 0 ;
25958
25959 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 result = (wxPrintData *)new wxPrintData();
25963 wxPyEndAllowThreads(__tstate);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25967 return resultobj;
25968fail:
25969 return NULL;
d14a1e28
RD
25970}
25971
25972
0085ce49
RD
25973SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25974 PyObject *resultobj = 0;
25975 wxPrintData *arg1 = 0 ;
25976 wxPrintData *result = 0 ;
25977 void *argp1 = 0 ;
25978 int res1 = 0 ;
25979
25980 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25982 if (!SWIG_IsOK(res1)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25984 }
25985 if (!argp1) {
25986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25987 }
25988 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
25992 wxPyEndAllowThreads(__tstate);
25993 if (PyErr_Occurred()) SWIG_fail;
25994 }
25995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25996 return resultobj;
25997fail:
25998 return NULL;
d14a1e28
RD
25999}
26000
26001
0085ce49
RD
26002SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
26003 int argc;
26004 PyObject *argv[2];
26005
26006 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
26007 --argc;
26008 if (argc == 0) {
26009 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
26010 }
26011 if (argc == 1) {
26012 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
26013 }
26014
26015fail:
26016 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
26017 return NULL;
d14a1e28
RD
26018}
26019
26020
0085ce49
RD
26021SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26022 PyObject *resultobj = 0;
26023 wxPrintData *arg1 = (wxPrintData *) 0 ;
26024 void *argp1 = 0 ;
26025 int res1 = 0 ;
26026 PyObject *swig_obj[1] ;
26027
26028 if (!args) SWIG_fail;
26029 swig_obj[0] = args;
26030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
26031 if (!SWIG_IsOK(res1)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26033 }
26034 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 delete arg1;
d14a1e28 26038
0085ce49
RD
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 resultobj = SWIG_Py_Void();
26043 return resultobj;
26044fail:
26045 return NULL;
d14a1e28
RD
26046}
26047
26048
0085ce49
RD
26049SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26050 PyObject *resultobj = 0;
26051 wxPrintData *arg1 = (wxPrintData *) 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_wxPrintData, 0 | 0 );
26060 if (!SWIG_IsOK(res1)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26062 }
26063 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (int)(arg1)->GetNoCopies();
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;
d14a1e28
RD
26074}
26075
26076
0085ce49
RD
26077SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26078 PyObject *resultobj = 0;
26079 wxPrintData *arg1 = (wxPrintData *) 0 ;
26080 bool result;
26081 void *argp1 = 0 ;
26082 int res1 = 0 ;
26083 PyObject *swig_obj[1] ;
26084
26085 if (!args) SWIG_fail;
26086 swig_obj[0] = args;
26087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26088 if (!SWIG_IsOK(res1)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26090 }
26091 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (bool)(arg1)->GetCollate();
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 {
26099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26100 }
26101 return resultobj;
26102fail:
26103 return NULL;
d14a1e28
RD
26104}
26105
26106
0085ce49
RD
26107SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26108 PyObject *resultobj = 0;
26109 wxPrintData *arg1 = (wxPrintData *) 0 ;
26110 int result;
26111 void *argp1 = 0 ;
26112 int res1 = 0 ;
26113 PyObject *swig_obj[1] ;
26114
26115 if (!args) SWIG_fail;
26116 swig_obj[0] = args;
26117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26118 if (!SWIG_IsOK(res1)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26120 }
26121 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (int)(arg1)->GetOrientation();
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 resultobj = SWIG_From_int(static_cast< int >(result));
26129 return resultobj;
26130fail:
26131 return NULL;
d14a1e28
RD
26132}
26133
26134
5172800e
RD
26135SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26136 PyObject *resultobj = 0;
26137 wxPrintData *arg1 = (wxPrintData *) 0 ;
26138 bool result;
26139 void *argp1 = 0 ;
26140 int res1 = 0 ;
26141 PyObject *swig_obj[1] ;
26142
26143 if (!args) SWIG_fail;
26144 swig_obj[0] = args;
26145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26146 if (!SWIG_IsOK(res1)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26148 }
26149 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 {
26157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26158 }
26159 return resultobj;
26160fail:
26161 return NULL;
26162}
26163
26164
b39fe951 26165SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
26166 PyObject *resultobj = 0;
26167 wxPrintData *arg1 = (wxPrintData *) 0 ;
26168 bool result;
26169 void *argp1 = 0 ;
26170 int res1 = 0 ;
26171 PyObject *swig_obj[1] ;
26172
26173 if (!args) SWIG_fail;
26174 swig_obj[0] = args;
26175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26176 if (!SWIG_IsOK(res1)) {
b39fe951 26177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
0085ce49
RD
26178 }
26179 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 26182 result = (bool)(arg1)->IsOk();
0085ce49
RD
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 {
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 }
26189 return resultobj;
26190fail:
26191 return NULL;
26192}
26193
26194
26195SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxPrintData *arg1 = (wxPrintData *) 0 ;
26198 wxString *result = 0 ;
26199 void *argp1 = 0 ;
26200 int res1 = 0 ;
26201 PyObject *swig_obj[1] ;
26202
26203 if (!args) SWIG_fail;
26204 swig_obj[0] = args;
26205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26206 if (!SWIG_IsOK(res1)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26208 }
26209 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 26212 {
0085ce49
RD
26213 wxString const &_result_ref = (arg1)->GetPrinterName();
26214 result = (wxString *) &_result_ref;
d14a1e28 26215 }
0085ce49
RD
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 {
d14a1e28 26220#if wxUSE_UNICODE
0085ce49 26221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 26222#else
0085ce49 26223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28 26224#endif
0085ce49
RD
26225 }
26226 return resultobj;
26227fail:
26228 return NULL;
d14a1e28
RD
26229}
26230
26231
0085ce49
RD
26232SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26233 PyObject *resultobj = 0;
26234 wxPrintData *arg1 = (wxPrintData *) 0 ;
26235 bool result;
26236 void *argp1 = 0 ;
26237 int res1 = 0 ;
26238 PyObject *swig_obj[1] ;
26239
26240 if (!args) SWIG_fail;
26241 swig_obj[0] = args;
26242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26243 if (!SWIG_IsOK(res1)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26245 }
26246 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 result = (bool)(arg1)->GetColour();
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 {
26254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26255 }
26256 return resultobj;
26257fail:
26258 return NULL;
d14a1e28
RD
26259}
26260
26261
0085ce49
RD
26262SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26263 PyObject *resultobj = 0;
26264 wxPrintData *arg1 = (wxPrintData *) 0 ;
26265 wxDuplexMode result;
26266 void *argp1 = 0 ;
26267 int res1 = 0 ;
26268 PyObject *swig_obj[1] ;
26269
26270 if (!args) SWIG_fail;
26271 swig_obj[0] = args;
26272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26273 if (!SWIG_IsOK(res1)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26275 }
26276 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26277 {
26278 PyThreadState* __tstate = wxPyBeginAllowThreads();
26279 result = (wxDuplexMode)(arg1)->GetDuplex();
26280 wxPyEndAllowThreads(__tstate);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 }
26283 resultobj = SWIG_From_int(static_cast< int >(result));
26284 return resultobj;
26285fail:
26286 return NULL;
d14a1e28
RD
26287}
26288
26289
0085ce49
RD
26290SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26291 PyObject *resultobj = 0;
26292 wxPrintData *arg1 = (wxPrintData *) 0 ;
26293 wxPaperSize result;
26294 void *argp1 = 0 ;
26295 int res1 = 0 ;
26296 PyObject *swig_obj[1] ;
26297
26298 if (!args) SWIG_fail;
26299 swig_obj[0] = args;
26300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26301 if (!SWIG_IsOK(res1)) {
26302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26303 }
26304 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 result = (wxPaperSize)(arg1)->GetPaperId();
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 resultobj = SWIG_From_int(static_cast< int >(result));
26312 return resultobj;
26313fail:
26314 return NULL;
d14a1e28
RD
26315}
26316
26317
0085ce49
RD
26318SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26319 PyObject *resultobj = 0;
26320 wxPrintData *arg1 = (wxPrintData *) 0 ;
26321 wxSize *result = 0 ;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 PyObject *swig_obj[1] ;
26325
26326 if (!args) SWIG_fail;
26327 swig_obj[0] = args;
26328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26329 if (!SWIG_IsOK(res1)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26331 }
26332 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 26335 {
0085ce49
RD
26336 wxSize const &_result_ref = (arg1)->GetPaperSize();
26337 result = (wxSize *) &_result_ref;
26338 }
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
26343 return resultobj;
26344fail:
26345 return NULL;
d14a1e28
RD
26346}
26347
26348
0085ce49
RD
26349SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26350 PyObject *resultobj = 0;
26351 wxPrintData *arg1 = (wxPrintData *) 0 ;
26352 int result;
26353 void *argp1 = 0 ;
26354 int res1 = 0 ;
26355 PyObject *swig_obj[1] ;
26356
26357 if (!args) SWIG_fail;
26358 swig_obj[0] = args;
26359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26360 if (!SWIG_IsOK(res1)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26362 }
26363 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (int)(arg1)->GetQuality();
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 resultobj = SWIG_From_int(static_cast< int >(result));
26371 return resultobj;
26372fail:
26373 return NULL;
d14a1e28
RD
26374}
26375
26376
0085ce49
RD
26377SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26378 PyObject *resultobj = 0;
26379 wxPrintData *arg1 = (wxPrintData *) 0 ;
26380 wxPrintBin result;
26381 void *argp1 = 0 ;
26382 int res1 = 0 ;
26383 PyObject *swig_obj[1] ;
26384
26385 if (!args) SWIG_fail;
26386 swig_obj[0] = args;
26387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26388 if (!SWIG_IsOK(res1)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26390 }
26391 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26392 {
26393 PyThreadState* __tstate = wxPyBeginAllowThreads();
26394 result = (wxPrintBin)(arg1)->GetBin();
26395 wxPyEndAllowThreads(__tstate);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 }
26398 resultobj = SWIG_From_int(static_cast< int >(result));
26399 return resultobj;
26400fail:
26401 return NULL;
d14a1e28
RD
26402}
26403
26404
0085ce49
RD
26405SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26406 PyObject *resultobj = 0;
26407 wxPrintData *arg1 = (wxPrintData *) 0 ;
26408 wxPrintMode result;
26409 void *argp1 = 0 ;
26410 int res1 = 0 ;
26411 PyObject *swig_obj[1] ;
26412
26413 if (!args) SWIG_fail;
26414 swig_obj[0] = args;
26415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26418 }
26419 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 resultobj = SWIG_From_int(static_cast< int >(result));
26427 return resultobj;
26428fail:
26429 return NULL;
26430}
26431
26432
8f514ab4
RD
26433SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26434 PyObject *resultobj = 0;
26435 wxPrintData *arg1 = (wxPrintData *) 0 ;
26436 int result;
26437 void *argp1 = 0 ;
26438 int res1 = 0 ;
26439 PyObject *swig_obj[1] ;
26440
26441 if (!args) SWIG_fail;
26442 swig_obj[0] = args;
26443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26444 if (!SWIG_IsOK(res1)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26446 }
26447 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26448 {
26449 PyThreadState* __tstate = wxPyBeginAllowThreads();
26450 result = (int)((wxPrintData const *)arg1)->GetMedia();
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 resultobj = SWIG_From_int(static_cast< int >(result));
26455 return resultobj;
26456fail:
26457 return NULL;
26458}
26459
26460
0085ce49
RD
26461SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26462 PyObject *resultobj = 0;
26463 wxPrintData *arg1 = (wxPrintData *) 0 ;
26464 int arg2 ;
26465 void *argp1 = 0 ;
26466 int res1 = 0 ;
26467 int val2 ;
26468 int ecode2 = 0 ;
26469 PyObject * obj0 = 0 ;
26470 PyObject * obj1 = 0 ;
26471 char * kwnames[] = {
26472 (char *) "self",(char *) "v", NULL
26473 };
26474
26475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26477 if (!SWIG_IsOK(res1)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26479 }
26480 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26481 ecode2 = SWIG_AsVal_int(obj1, &val2);
26482 if (!SWIG_IsOK(ecode2)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26484 }
26485 arg2 = static_cast< int >(val2);
26486 {
26487 PyThreadState* __tstate = wxPyBeginAllowThreads();
26488 (arg1)->SetNoCopies(arg2);
26489 wxPyEndAllowThreads(__tstate);
26490 if (PyErr_Occurred()) SWIG_fail;
26491 }
26492 resultobj = SWIG_Py_Void();
26493 return resultobj;
26494fail:
26495 return NULL;
26496}
26497
26498
26499SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26500 PyObject *resultobj = 0;
26501 wxPrintData *arg1 = (wxPrintData *) 0 ;
26502 bool arg2 ;
26503 void *argp1 = 0 ;
26504 int res1 = 0 ;
26505 bool val2 ;
26506 int ecode2 = 0 ;
26507 PyObject * obj0 = 0 ;
26508 PyObject * obj1 = 0 ;
26509 char * kwnames[] = {
26510 (char *) "self",(char *) "flag", NULL
26511 };
26512
26513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26515 if (!SWIG_IsOK(res1)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26517 }
26518 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26519 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26520 if (!SWIG_IsOK(ecode2)) {
26521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26522 }
26523 arg2 = static_cast< bool >(val2);
26524 {
26525 PyThreadState* __tstate = wxPyBeginAllowThreads();
26526 (arg1)->SetCollate(arg2);
26527 wxPyEndAllowThreads(__tstate);
26528 if (PyErr_Occurred()) SWIG_fail;
26529 }
26530 resultobj = SWIG_Py_Void();
26531 return resultobj;
26532fail:
26533 return NULL;
26534}
26535
26536
26537SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26538 PyObject *resultobj = 0;
26539 wxPrintData *arg1 = (wxPrintData *) 0 ;
26540 int arg2 ;
26541 void *argp1 = 0 ;
26542 int res1 = 0 ;
26543 int val2 ;
26544 int ecode2 = 0 ;
26545 PyObject * obj0 = 0 ;
26546 PyObject * obj1 = 0 ;
26547 char * kwnames[] = {
26548 (char *) "self",(char *) "orient", NULL
26549 };
26550
26551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
26552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26553 if (!SWIG_IsOK(res1)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26555 }
26556 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26557 ecode2 = SWIG_AsVal_int(obj1, &val2);
26558 if (!SWIG_IsOK(ecode2)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26560 }
26561 arg2 = static_cast< int >(val2);
26562 {
26563 PyThreadState* __tstate = wxPyBeginAllowThreads();
26564 (arg1)->SetOrientation(arg2);
26565 wxPyEndAllowThreads(__tstate);
26566 if (PyErr_Occurred()) SWIG_fail;
26567 }
26568 resultobj = SWIG_Py_Void();
26569 return resultobj;
26570fail:
26571 return NULL;
26572}
26573
26574
5172800e
RD
26575SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26576 PyObject *resultobj = 0;
26577 wxPrintData *arg1 = (wxPrintData *) 0 ;
26578 bool arg2 ;
26579 void *argp1 = 0 ;
26580 int res1 = 0 ;
26581 bool val2 ;
26582 int ecode2 = 0 ;
26583 PyObject * obj0 = 0 ;
26584 PyObject * obj1 = 0 ;
26585 char * kwnames[] = {
26586 (char *) "self",(char *) "reversed", NULL
26587 };
26588
26589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
26590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26591 if (!SWIG_IsOK(res1)) {
26592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26593 }
26594 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26596 if (!SWIG_IsOK(ecode2)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26598 }
26599 arg2 = static_cast< bool >(val2);
26600 {
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 (arg1)->SetOrientationReversed(arg2);
26603 wxPyEndAllowThreads(__tstate);
26604 if (PyErr_Occurred()) SWIG_fail;
26605 }
26606 resultobj = SWIG_Py_Void();
26607 return resultobj;
26608fail:
26609 return NULL;
26610}
26611
26612
0085ce49
RD
26613SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj = 0;
26615 wxPrintData *arg1 = (wxPrintData *) 0 ;
26616 wxString *arg2 = 0 ;
26617 void *argp1 = 0 ;
26618 int res1 = 0 ;
26619 bool temp2 = false ;
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 char * kwnames[] = {
26623 (char *) "self",(char *) "name", NULL
26624 };
26625
26626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
26627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26628 if (!SWIG_IsOK(res1)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26630 }
26631 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26632 {
26633 arg2 = wxString_in_helper(obj1);
26634 if (arg2 == NULL) SWIG_fail;
26635 temp2 = true;
26636 }
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 (arg1)->SetPrinterName((wxString const &)*arg2);
26640 wxPyEndAllowThreads(__tstate);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
26643 resultobj = SWIG_Py_Void();
26644 {
26645 if (temp2)
26646 delete arg2;
26647 }
26648 return resultobj;
26649fail:
26650 {
26651 if (temp2)
26652 delete arg2;
26653 }
26654 return NULL;
26655}
26656
26657
26658SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj = 0;
26660 wxPrintData *arg1 = (wxPrintData *) 0 ;
26661 bool arg2 ;
26662 void *argp1 = 0 ;
26663 int res1 = 0 ;
26664 bool val2 ;
26665 int ecode2 = 0 ;
26666 PyObject * obj0 = 0 ;
26667 PyObject * obj1 = 0 ;
26668 char * kwnames[] = {
26669 (char *) "self",(char *) "colour", NULL
26670 };
26671
26672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
26673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26674 if (!SWIG_IsOK(res1)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26676 }
26677 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26678 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26679 if (!SWIG_IsOK(ecode2)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26681 }
26682 arg2 = static_cast< bool >(val2);
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 (arg1)->SetColour(arg2);
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_Py_Void();
26690 return resultobj;
26691fail:
26692 return NULL;
26693}
26694
26695
26696SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj = 0;
26698 wxPrintData *arg1 = (wxPrintData *) 0 ;
26699 wxDuplexMode arg2 ;
26700 void *argp1 = 0 ;
26701 int res1 = 0 ;
26702 int val2 ;
26703 int ecode2 = 0 ;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char * kwnames[] = {
26707 (char *) "self",(char *) "duplex", NULL
26708 };
26709
26710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
26711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26712 if (!SWIG_IsOK(res1)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26714 }
26715 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26716 ecode2 = SWIG_AsVal_int(obj1, &val2);
26717 if (!SWIG_IsOK(ecode2)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26719 }
26720 arg2 = static_cast< wxDuplexMode >(val2);
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 (arg1)->SetDuplex(arg2);
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 resultobj = SWIG_Py_Void();
26728 return resultobj;
26729fail:
26730 return NULL;
26731}
26732
26733
26734SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj = 0;
26736 wxPrintData *arg1 = (wxPrintData *) 0 ;
26737 wxPaperSize arg2 ;
26738 void *argp1 = 0 ;
26739 int res1 = 0 ;
26740 int val2 ;
26741 int ecode2 = 0 ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char * kwnames[] = {
26745 (char *) "self",(char *) "sizeId", NULL
26746 };
26747
26748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26750 if (!SWIG_IsOK(res1)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26752 }
26753 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26754 ecode2 = SWIG_AsVal_int(obj1, &val2);
26755 if (!SWIG_IsOK(ecode2)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26757 }
26758 arg2 = static_cast< wxPaperSize >(val2);
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->SetPaperId(arg2);
26762 wxPyEndAllowThreads(__tstate);
26763 if (PyErr_Occurred()) SWIG_fail;
26764 }
26765 resultobj = SWIG_Py_Void();
26766 return resultobj;
26767fail:
26768 return NULL;
26769}
26770
26771
26772SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26773 PyObject *resultobj = 0;
26774 wxPrintData *arg1 = (wxPrintData *) 0 ;
26775 wxSize *arg2 = 0 ;
26776 void *argp1 = 0 ;
26777 int res1 = 0 ;
26778 wxSize temp2 ;
26779 PyObject * obj0 = 0 ;
26780 PyObject * obj1 = 0 ;
26781 char * kwnames[] = {
26782 (char *) "self",(char *) "sz", NULL
26783 };
26784
26785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26787 if (!SWIG_IsOK(res1)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26789 }
26790 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26791 {
26792 arg2 = &temp2;
26793 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26794 }
26795 {
26796 PyThreadState* __tstate = wxPyBeginAllowThreads();
26797 (arg1)->SetPaperSize((wxSize const &)*arg2);
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 resultobj = SWIG_Py_Void();
26802 return resultobj;
26803fail:
26804 return NULL;
26805}
26806
26807
26808SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj = 0;
26810 wxPrintData *arg1 = (wxPrintData *) 0 ;
26811 int arg2 ;
26812 void *argp1 = 0 ;
26813 int res1 = 0 ;
26814 int val2 ;
26815 int ecode2 = 0 ;
26816 PyObject * obj0 = 0 ;
26817 PyObject * obj1 = 0 ;
26818 char * kwnames[] = {
26819 (char *) "self",(char *) "quality", NULL
26820 };
26821
26822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
26823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26824 if (!SWIG_IsOK(res1)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26826 }
26827 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26828 ecode2 = SWIG_AsVal_int(obj1, &val2);
26829 if (!SWIG_IsOK(ecode2)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26831 }
26832 arg2 = static_cast< int >(val2);
26833 {
26834 PyThreadState* __tstate = wxPyBeginAllowThreads();
26835 (arg1)->SetQuality(arg2);
26836 wxPyEndAllowThreads(__tstate);
26837 if (PyErr_Occurred()) SWIG_fail;
26838 }
26839 resultobj = SWIG_Py_Void();
26840 return resultobj;
26841fail:
26842 return NULL;
26843}
26844
26845
26846SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26847 PyObject *resultobj = 0;
26848 wxPrintData *arg1 = (wxPrintData *) 0 ;
26849 wxPrintBin arg2 ;
26850 void *argp1 = 0 ;
26851 int res1 = 0 ;
26852 int val2 ;
26853 int ecode2 = 0 ;
26854 PyObject * obj0 = 0 ;
26855 PyObject * obj1 = 0 ;
26856 char * kwnames[] = {
26857 (char *) "self",(char *) "bin", NULL
26858 };
26859
26860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
26861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26862 if (!SWIG_IsOK(res1)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26864 }
26865 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26866 ecode2 = SWIG_AsVal_int(obj1, &val2);
26867 if (!SWIG_IsOK(ecode2)) {
26868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26869 }
26870 arg2 = static_cast< wxPrintBin >(val2);
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 (arg1)->SetBin(arg2);
26874 wxPyEndAllowThreads(__tstate);
26875 if (PyErr_Occurred()) SWIG_fail;
26876 }
26877 resultobj = SWIG_Py_Void();
26878 return resultobj;
26879fail:
26880 return NULL;
26881}
26882
26883
26884SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26885 PyObject *resultobj = 0;
26886 wxPrintData *arg1 = (wxPrintData *) 0 ;
26887 wxPrintMode arg2 ;
26888 void *argp1 = 0 ;
26889 int res1 = 0 ;
26890 int val2 ;
26891 int ecode2 = 0 ;
26892 PyObject * obj0 = 0 ;
26893 PyObject * obj1 = 0 ;
26894 char * kwnames[] = {
26895 (char *) "self",(char *) "printMode", NULL
26896 };
26897
26898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
26899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26900 if (!SWIG_IsOK(res1)) {
26901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26902 }
26903 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26904 ecode2 = SWIG_AsVal_int(obj1, &val2);
26905 if (!SWIG_IsOK(ecode2)) {
26906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26907 }
26908 arg2 = static_cast< wxPrintMode >(val2);
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 (arg1)->SetPrintMode(arg2);
26912 wxPyEndAllowThreads(__tstate);
26913 if (PyErr_Occurred()) SWIG_fail;
26914 }
26915 resultobj = SWIG_Py_Void();
26916 return resultobj;
26917fail:
26918 return NULL;
d14a1e28
RD
26919}
26920
26921
8f514ab4
RD
26922SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26923 PyObject *resultobj = 0;
26924 wxPrintData *arg1 = (wxPrintData *) 0 ;
26925 int arg2 ;
26926 void *argp1 = 0 ;
26927 int res1 = 0 ;
26928 int val2 ;
26929 int ecode2 = 0 ;
26930 PyObject * obj0 = 0 ;
26931 PyObject * obj1 = 0 ;
26932 char * kwnames[] = {
26933 (char *) "self",(char *) "media", NULL
26934 };
26935
26936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
26937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26938 if (!SWIG_IsOK(res1)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26940 }
26941 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26942 ecode2 = SWIG_AsVal_int(obj1, &val2);
26943 if (!SWIG_IsOK(ecode2)) {
26944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26945 }
26946 arg2 = static_cast< int >(val2);
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->SetMedia(arg2);
26950 wxPyEndAllowThreads(__tstate);
26951 if (PyErr_Occurred()) SWIG_fail;
26952 }
26953 resultobj = SWIG_Py_Void();
26954 return resultobj;
26955fail:
26956 return NULL;
26957}
26958
26959
0085ce49
RD
26960SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26961 PyObject *resultobj = 0;
26962 wxPrintData *arg1 = (wxPrintData *) 0 ;
26963 wxString result;
26964 void *argp1 = 0 ;
26965 int res1 = 0 ;
26966 PyObject *swig_obj[1] ;
26967
26968 if (!args) SWIG_fail;
26969 swig_obj[0] = args;
26970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26973 }
26974 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26975 {
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 result = ((wxPrintData const *)arg1)->GetFilename();
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 {
d14a1e28 26982#if wxUSE_UNICODE
0085ce49 26983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 26984#else
0085ce49 26985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 26986#endif
0085ce49
RD
26987 }
26988 return resultobj;
26989fail:
26990 return NULL;
26991}
26992
26993
26994SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26995 PyObject *resultobj = 0;
26996 wxPrintData *arg1 = (wxPrintData *) 0 ;
26997 wxString *arg2 = 0 ;
26998 void *argp1 = 0 ;
26999 int res1 = 0 ;
27000 bool temp2 = false ;
27001 PyObject * obj0 = 0 ;
27002 PyObject * obj1 = 0 ;
27003 char * kwnames[] = {
27004 (char *) "self",(char *) "filename", NULL
27005 };
27006
27007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
27008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27009 if (!SWIG_IsOK(res1)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
27011 }
27012 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27013 {
27014 arg2 = wxString_in_helper(obj1);
27015 if (arg2 == NULL) SWIG_fail;
27016 temp2 = true;
27017 }
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 (arg1)->SetFilename((wxString const &)*arg2);
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 resultobj = SWIG_Py_Void();
27025 {
27026 if (temp2)
27027 delete arg2;
27028 }
27029 return resultobj;
27030fail:
27031 {
27032 if (temp2)
27033 delete arg2;
27034 }
27035 return NULL;
d14a1e28
RD
27036}
27037
27038
0085ce49
RD
27039SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27040 PyObject *resultobj = 0;
27041 wxPrintData *arg1 = (wxPrintData *) 0 ;
27042 PyObject *result = 0 ;
27043 void *argp1 = 0 ;
27044 int res1 = 0 ;
27045 PyObject *swig_obj[1] ;
27046
27047 if (!args) SWIG_fail;
27048 swig_obj[0] = args;
27049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27050 if (!SWIG_IsOK(res1)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27052 }
27053 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 result = (PyObject *)wxPrintData_GetPrivData(arg1);
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 resultobj = result;
27061 return resultobj;
27062fail:
27063 return NULL;
27064}
27065
27066
27067SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27068 PyObject *resultobj = 0;
27069 wxPrintData *arg1 = (wxPrintData *) 0 ;
27070 PyObject *arg2 = (PyObject *) 0 ;
27071 void *argp1 = 0 ;
27072 int res1 = 0 ;
27073 PyObject * obj0 = 0 ;
27074 PyObject * obj1 = 0 ;
27075 char * kwnames[] = {
27076 (char *) "self",(char *) "data", NULL
27077 };
27078
27079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
27080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27081 if (!SWIG_IsOK(res1)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27083 }
27084 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27085 arg2 = obj1;
27086 {
27087 PyThreadState* __tstate = wxPyBeginAllowThreads();
27088 wxPrintData_SetPrivData(arg1,arg2);
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 resultobj = SWIG_Py_Void();
27093 return resultobj;
27094fail:
27095 return NULL;
d14a1e28
RD
27096}
27097
27098
0085ce49
RD
27099SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27100 PyObject *obj;
27101 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27102 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
27103 return SWIG_Py_Void();
d14a1e28
RD
27104}
27105
0085ce49
RD
27106SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27107 return SWIG_Python_InitShadowInstance(args);
27108}
d14a1e28 27109
0085ce49
RD
27110SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
27111 PyObject *resultobj = 0;
27112 wxPageSetupDialogData *result = 0 ;
27113
27114 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
27118 wxPyEndAllowThreads(__tstate);
27119 if (PyErr_Occurred()) SWIG_fail;
27120 }
27121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27122 return resultobj;
27123fail:
27124 return NULL;
d14a1e28
RD
27125}
27126
27127
0085ce49
RD
27128SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27129 PyObject *resultobj = 0;
27130 wxPageSetupDialogData *arg1 = 0 ;
27131 wxPageSetupDialogData *result = 0 ;
27132 void *argp1 = 0 ;
27133 int res1 = 0 ;
27134
27135 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27137 if (!SWIG_IsOK(res1)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27139 }
27140 if (!argp1) {
27141 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27142 }
27143 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
27147 wxPyEndAllowThreads(__tstate);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27151 return resultobj;
27152fail:
27153 return NULL;
d14a1e28
RD
27154}
27155
27156
0085ce49
RD
27157SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27158 PyObject *resultobj = 0;
27159 wxPrintData *arg1 = 0 ;
27160 wxPageSetupDialogData *result = 0 ;
27161 void *argp1 = 0 ;
27162 int res1 = 0 ;
27163
27164 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
27166 if (!SWIG_IsOK(res1)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27168 }
27169 if (!argp1) {
27170 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27171 }
27172 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27173 {
27174 PyThreadState* __tstate = wxPyBeginAllowThreads();
27175 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27180 return resultobj;
27181fail:
27182 return NULL;
d3b6e4ff
RD
27183}
27184
27185
0085ce49
RD
27186SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
27187 int argc;
27188 PyObject *argv[2];
27189
27190 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
27191 --argc;
27192 if (argc == 0) {
27193 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
27194 }
27195 if (argc == 1) {
27196 int _v = 0;
d3b6e4ff 27197 {
0085ce49
RD
27198 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
27199 _v = SWIG_CheckState(res);
d3b6e4ff 27200 }
0085ce49
RD
27201 if (!_v) goto check_2;
27202 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
27203 }
27204check_2:
27205
27206 if (argc == 1) {
27207 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
27208 }
27209
27210fail:
27211 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
27212 return NULL;
d3b6e4ff
RD
27213}
27214
27215
0085ce49
RD
27216SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27217 PyObject *resultobj = 0;
27218 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27219 void *argp1 = 0 ;
27220 int res1 = 0 ;
27221 PyObject *swig_obj[1] ;
27222
27223 if (!args) SWIG_fail;
27224 swig_obj[0] = args;
27225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
27226 if (!SWIG_IsOK(res1)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27228 }
27229 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27230 {
27231 PyThreadState* __tstate = wxPyBeginAllowThreads();
27232 delete arg1;
d14a1e28 27233
0085ce49
RD
27234 wxPyEndAllowThreads(__tstate);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 resultobj = SWIG_Py_Void();
27238 return resultobj;
27239fail:
27240 return NULL;
27241}
27242
27243
27244SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27245 PyObject *resultobj = 0;
27246 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27247 bool arg2 ;
27248 void *argp1 = 0 ;
27249 int res1 = 0 ;
27250 bool val2 ;
27251 int ecode2 = 0 ;
27252 PyObject * obj0 = 0 ;
27253 PyObject * obj1 = 0 ;
27254 char * kwnames[] = {
27255 (char *) "self",(char *) "flag", NULL
27256 };
27257
27258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27260 if (!SWIG_IsOK(res1)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27262 }
27263 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27264 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27265 if (!SWIG_IsOK(ecode2)) {
27266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27267 }
27268 arg2 = static_cast< bool >(val2);
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 (arg1)->EnableHelp(arg2);
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 resultobj = SWIG_Py_Void();
27276 return resultobj;
27277fail:
27278 return NULL;
27279}
27280
27281
27282SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27283 PyObject *resultobj = 0;
27284 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27285 bool arg2 ;
27286 void *argp1 = 0 ;
27287 int res1 = 0 ;
27288 bool val2 ;
27289 int ecode2 = 0 ;
27290 PyObject * obj0 = 0 ;
27291 PyObject * obj1 = 0 ;
27292 char * kwnames[] = {
27293 (char *) "self",(char *) "flag", NULL
27294 };
27295
27296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27298 if (!SWIG_IsOK(res1)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27300 }
27301 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27302 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27303 if (!SWIG_IsOK(ecode2)) {
27304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27305 }
27306 arg2 = static_cast< bool >(val2);
27307 {
27308 PyThreadState* __tstate = wxPyBeginAllowThreads();
27309 (arg1)->EnableMargins(arg2);
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 resultobj = SWIG_Py_Void();
27314 return resultobj;
27315fail:
27316 return NULL;
27317}
27318
27319
27320SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27321 PyObject *resultobj = 0;
27322 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27323 bool arg2 ;
27324 void *argp1 = 0 ;
27325 int res1 = 0 ;
27326 bool val2 ;
27327 int ecode2 = 0 ;
27328 PyObject * obj0 = 0 ;
27329 PyObject * obj1 = 0 ;
27330 char * kwnames[] = {
27331 (char *) "self",(char *) "flag", NULL
27332 };
27333
27334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
27335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27336 if (!SWIG_IsOK(res1)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27338 }
27339 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27340 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27341 if (!SWIG_IsOK(ecode2)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27343 }
27344 arg2 = static_cast< bool >(val2);
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 (arg1)->EnableOrientation(arg2);
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 resultobj = SWIG_Py_Void();
27352 return resultobj;
27353fail:
27354 return NULL;
27355}
27356
27357
27358SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27359 PyObject *resultobj = 0;
27360 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27361 bool arg2 ;
27362 void *argp1 = 0 ;
27363 int res1 = 0 ;
27364 bool val2 ;
27365 int ecode2 = 0 ;
27366 PyObject * obj0 = 0 ;
27367 PyObject * obj1 = 0 ;
27368 char * kwnames[] = {
27369 (char *) "self",(char *) "flag", NULL
27370 };
27371
27372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
27373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27374 if (!SWIG_IsOK(res1)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27376 }
27377 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27378 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27379 if (!SWIG_IsOK(ecode2)) {
27380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27381 }
27382 arg2 = static_cast< bool >(val2);
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 (arg1)->EnablePaper(arg2);
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 resultobj = SWIG_Py_Void();
27390 return resultobj;
27391fail:
27392 return NULL;
27393}
27394
27395
27396SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27397 PyObject *resultobj = 0;
27398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27399 bool arg2 ;
27400 void *argp1 = 0 ;
27401 int res1 = 0 ;
27402 bool val2 ;
27403 int ecode2 = 0 ;
27404 PyObject * obj0 = 0 ;
27405 PyObject * obj1 = 0 ;
27406 char * kwnames[] = {
27407 (char *) "self",(char *) "flag", NULL
27408 };
27409
27410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
27411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27412 if (!SWIG_IsOK(res1)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27414 }
27415 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27416 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27417 if (!SWIG_IsOK(ecode2)) {
27418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27419 }
27420 arg2 = static_cast< bool >(val2);
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 (arg1)->EnablePrinter(arg2);
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = SWIG_Py_Void();
27428 return resultobj;
27429fail:
27430 return NULL;
d14a1e28
RD
27431}
27432
27433
0085ce49
RD
27434SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27435 PyObject *resultobj = 0;
27436 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27437 bool result;
27438 void *argp1 = 0 ;
27439 int res1 = 0 ;
27440 PyObject *swig_obj[1] ;
27441
27442 if (!args) SWIG_fail;
27443 swig_obj[0] = args;
27444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27445 if (!SWIG_IsOK(res1)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27447 }
27448 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = (bool)(arg1)->GetDefaultMinMargins();
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 {
27456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27457 }
27458 return resultobj;
27459fail:
27460 return NULL;
d14a1e28
RD
27461}
27462
27463
0085ce49
RD
27464SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27465 PyObject *resultobj = 0;
27466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27467 bool result;
27468 void *argp1 = 0 ;
27469 int res1 = 0 ;
27470 PyObject *swig_obj[1] ;
27471
27472 if (!args) SWIG_fail;
27473 swig_obj[0] = args;
27474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27475 if (!SWIG_IsOK(res1)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27477 }
27478 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27479 {
27480 PyThreadState* __tstate = wxPyBeginAllowThreads();
27481 result = (bool)(arg1)->GetEnableMargins();
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 {
27486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27487 }
27488 return resultobj;
27489fail:
27490 return NULL;
d14a1e28
RD
27491}
27492
27493
0085ce49
RD
27494SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27495 PyObject *resultobj = 0;
27496 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27497 bool result;
27498 void *argp1 = 0 ;
27499 int res1 = 0 ;
27500 PyObject *swig_obj[1] ;
27501
27502 if (!args) SWIG_fail;
27503 swig_obj[0] = args;
27504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27505 if (!SWIG_IsOK(res1)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27507 }
27508 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 result = (bool)(arg1)->GetEnableOrientation();
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 {
27516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27517 }
27518 return resultobj;
27519fail:
27520 return NULL;
d14a1e28
RD
27521}
27522
27523
0085ce49
RD
27524SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27525 PyObject *resultobj = 0;
27526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27527 bool result;
27528 void *argp1 = 0 ;
27529 int res1 = 0 ;
27530 PyObject *swig_obj[1] ;
27531
27532 if (!args) SWIG_fail;
27533 swig_obj[0] = args;
27534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27535 if (!SWIG_IsOK(res1)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27537 }
27538 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27539 {
27540 PyThreadState* __tstate = wxPyBeginAllowThreads();
27541 result = (bool)(arg1)->GetEnablePaper();
27542 wxPyEndAllowThreads(__tstate);
27543 if (PyErr_Occurred()) SWIG_fail;
27544 }
27545 {
27546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27547 }
27548 return resultobj;
27549fail:
27550 return NULL;
d14a1e28
RD
27551}
27552
27553
0085ce49
RD
27554SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27555 PyObject *resultobj = 0;
27556 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27557 bool result;
27558 void *argp1 = 0 ;
27559 int res1 = 0 ;
27560 PyObject *swig_obj[1] ;
27561
27562 if (!args) SWIG_fail;
27563 swig_obj[0] = args;
27564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27565 if (!SWIG_IsOK(res1)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27567 }
27568 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 result = (bool)(arg1)->GetEnablePrinter();
27572 wxPyEndAllowThreads(__tstate);
27573 if (PyErr_Occurred()) SWIG_fail;
27574 }
27575 {
27576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27577 }
27578 return resultobj;
27579fail:
27580 return NULL;
d14a1e28
RD
27581}
27582
27583
0085ce49
RD
27584SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27585 PyObject *resultobj = 0;
27586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27587 bool result;
27588 void *argp1 = 0 ;
27589 int res1 = 0 ;
27590 PyObject *swig_obj[1] ;
27591
27592 if (!args) SWIG_fail;
27593 swig_obj[0] = args;
27594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27595 if (!SWIG_IsOK(res1)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27597 }
27598 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 result = (bool)(arg1)->GetEnableHelp();
27602 wxPyEndAllowThreads(__tstate);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 {
27606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27607 }
27608 return resultobj;
27609fail:
27610 return NULL;
d14a1e28
RD
27611}
27612
27613
0085ce49
RD
27614SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27615 PyObject *resultobj = 0;
27616 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27617 bool result;
27618 void *argp1 = 0 ;
27619 int res1 = 0 ;
27620 PyObject *swig_obj[1] ;
27621
27622 if (!args) SWIG_fail;
27623 swig_obj[0] = args;
27624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27625 if (!SWIG_IsOK(res1)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27627 }
27628 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 result = (bool)(arg1)->GetDefaultInfo();
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 {
27636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27637 }
27638 return resultobj;
27639fail:
27640 return NULL;
d14a1e28
RD
27641}
27642
27643
0085ce49
RD
27644SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27645 PyObject *resultobj = 0;
27646 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27647 wxPoint result;
27648 void *argp1 = 0 ;
27649 int res1 = 0 ;
27650 PyObject *swig_obj[1] ;
27651
27652 if (!args) SWIG_fail;
27653 swig_obj[0] = args;
27654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27655 if (!SWIG_IsOK(res1)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27657 }
27658 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27659 {
27660 PyThreadState* __tstate = wxPyBeginAllowThreads();
27661 result = (arg1)->GetMarginTopLeft();
27662 wxPyEndAllowThreads(__tstate);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
27665 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27666 return resultobj;
27667fail:
27668 return NULL;
d14a1e28
RD
27669}
27670
27671
0085ce49
RD
27672SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27673 PyObject *resultobj = 0;
27674 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27675 wxPoint result;
27676 void *argp1 = 0 ;
27677 int res1 = 0 ;
27678 PyObject *swig_obj[1] ;
27679
27680 if (!args) SWIG_fail;
27681 swig_obj[0] = args;
27682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27683 if (!SWIG_IsOK(res1)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27685 }
27686 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27687 {
27688 PyThreadState* __tstate = wxPyBeginAllowThreads();
27689 result = (arg1)->GetMarginBottomRight();
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27694 return resultobj;
27695fail:
27696 return NULL;
d14a1e28
RD
27697}
27698
27699
0085ce49
RD
27700SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27701 PyObject *resultobj = 0;
27702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27703 wxPoint result;
27704 void *argp1 = 0 ;
27705 int res1 = 0 ;
27706 PyObject *swig_obj[1] ;
27707
27708 if (!args) SWIG_fail;
27709 swig_obj[0] = args;
27710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27711 if (!SWIG_IsOK(res1)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27713 }
27714 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27715 {
27716 PyThreadState* __tstate = wxPyBeginAllowThreads();
27717 result = (arg1)->GetMinMarginTopLeft();
27718 wxPyEndAllowThreads(__tstate);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
27721 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27722 return resultobj;
27723fail:
27724 return NULL;
d14a1e28
RD
27725}
27726
27727
0085ce49
RD
27728SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27729 PyObject *resultobj = 0;
27730 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27731 wxPoint result;
27732 void *argp1 = 0 ;
27733 int res1 = 0 ;
27734 PyObject *swig_obj[1] ;
27735
27736 if (!args) SWIG_fail;
27737 swig_obj[0] = args;
27738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27739 if (!SWIG_IsOK(res1)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27741 }
27742 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27743 {
27744 PyThreadState* __tstate = wxPyBeginAllowThreads();
27745 result = (arg1)->GetMinMarginBottomRight();
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27750 return resultobj;
27751fail:
27752 return NULL;
d14a1e28
RD
27753}
27754
27755
0085ce49
RD
27756SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27757 PyObject *resultobj = 0;
27758 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27759 wxPaperSize result;
27760 void *argp1 = 0 ;
27761 int res1 = 0 ;
27762 PyObject *swig_obj[1] ;
27763
27764 if (!args) SWIG_fail;
27765 swig_obj[0] = args;
27766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27767 if (!SWIG_IsOK(res1)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27769 }
27770 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27771 {
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 result = (wxPaperSize)(arg1)->GetPaperId();
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 resultobj = SWIG_From_int(static_cast< int >(result));
27778 return resultobj;
27779fail:
27780 return NULL;
d14a1e28
RD
27781}
27782
27783
0085ce49
RD
27784SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27785 PyObject *resultobj = 0;
27786 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27787 wxSize result;
27788 void *argp1 = 0 ;
27789 int res1 = 0 ;
27790 PyObject *swig_obj[1] ;
27791
27792 if (!args) SWIG_fail;
27793 swig_obj[0] = args;
27794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27795 if (!SWIG_IsOK(res1)) {
27796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27797 }
27798 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27799 {
27800 PyThreadState* __tstate = wxPyBeginAllowThreads();
27801 result = (arg1)->GetPaperSize();
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
27806 return resultobj;
27807fail:
27808 return NULL;
d14a1e28
RD
27809}
27810
27811
0085ce49
RD
27812SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27813 PyObject *resultobj = 0;
27814 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27815 wxPrintData *result = 0 ;
27816 void *argp1 = 0 ;
27817 int res1 = 0 ;
27818 PyObject *swig_obj[1] ;
27819
27820 if (!args) SWIG_fail;
27821 swig_obj[0] = args;
27822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27823 if (!SWIG_IsOK(res1)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27825 }
27826 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27827 {
27828 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 27829 {
0085ce49
RD
27830 wxPrintData &_result_ref = (arg1)->GetPrintData();
27831 result = (wxPrintData *) &_result_ref;
093d3ff1 27832 }
0085ce49
RD
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27837 return resultobj;
27838fail:
27839 return NULL;
d14a1e28
RD
27840}
27841
27842
b39fe951 27843SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
27844 PyObject *resultobj = 0;
27845 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27846 bool result;
27847 void *argp1 = 0 ;
27848 int res1 = 0 ;
27849 PyObject *swig_obj[1] ;
27850
27851 if (!args) SWIG_fail;
27852 swig_obj[0] = args;
27853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27854 if (!SWIG_IsOK(res1)) {
b39fe951 27855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
0085ce49
RD
27856 }
27857 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 27860 result = (bool)(arg1)->IsOk();
0085ce49
RD
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 {
27865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27866 }
27867 return resultobj;
27868fail:
27869 return NULL;
27870}
27871
27872
27873SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27874 PyObject *resultobj = 0;
27875 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27876 bool arg2 ;
27877 void *argp1 = 0 ;
27878 int res1 = 0 ;
27879 bool val2 ;
27880 int ecode2 = 0 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 char * kwnames[] = {
27884 (char *) "self",(char *) "flag", NULL
27885 };
27886
27887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
27888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27889 if (!SWIG_IsOK(res1)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27891 }
27892 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27893 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27894 if (!SWIG_IsOK(ecode2)) {
27895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27896 }
27897 arg2 = static_cast< bool >(val2);
27898 {
27899 PyThreadState* __tstate = wxPyBeginAllowThreads();
27900 (arg1)->SetDefaultInfo(arg2);
27901 wxPyEndAllowThreads(__tstate);
27902 if (PyErr_Occurred()) SWIG_fail;
27903 }
27904 resultobj = SWIG_Py_Void();
27905 return resultobj;
27906fail:
27907 return NULL;
27908}
27909
27910
27911SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27912 PyObject *resultobj = 0;
27913 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27914 bool arg2 ;
27915 void *argp1 = 0 ;
27916 int res1 = 0 ;
27917 bool val2 ;
27918 int ecode2 = 0 ;
27919 PyObject * obj0 = 0 ;
27920 PyObject * obj1 = 0 ;
27921 char * kwnames[] = {
27922 (char *) "self",(char *) "flag", NULL
27923 };
27924
27925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27927 if (!SWIG_IsOK(res1)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27929 }
27930 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27931 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27932 if (!SWIG_IsOK(ecode2)) {
27933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27934 }
27935 arg2 = static_cast< bool >(val2);
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 (arg1)->SetDefaultMinMargins(arg2);
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 resultobj = SWIG_Py_Void();
27943 return resultobj;
27944fail:
27945 return NULL;
27946}
27947
27948
27949SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27950 PyObject *resultobj = 0;
27951 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27952 wxPoint *arg2 = 0 ;
27953 void *argp1 = 0 ;
27954 int res1 = 0 ;
27955 wxPoint temp2 ;
27956 PyObject * obj0 = 0 ;
27957 PyObject * obj1 = 0 ;
27958 char * kwnames[] = {
27959 (char *) "self",(char *) "pt", NULL
27960 };
27961
27962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27964 if (!SWIG_IsOK(res1)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27966 }
27967 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27968 {
27969 arg2 = &temp2;
27970 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27971 }
27972 {
27973 PyThreadState* __tstate = wxPyBeginAllowThreads();
27974 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
27975 wxPyEndAllowThreads(__tstate);
27976 if (PyErr_Occurred()) SWIG_fail;
27977 }
27978 resultobj = SWIG_Py_Void();
27979 return resultobj;
27980fail:
27981 return NULL;
27982}
27983
27984
27985SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27986 PyObject *resultobj = 0;
27987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27988 wxPoint *arg2 = 0 ;
27989 void *argp1 = 0 ;
27990 int res1 = 0 ;
27991 wxPoint temp2 ;
27992 PyObject * obj0 = 0 ;
27993 PyObject * obj1 = 0 ;
27994 char * kwnames[] = {
27995 (char *) "self",(char *) "pt", NULL
27996 };
27997
27998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
27999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28000 if (!SWIG_IsOK(res1)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28002 }
28003 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28004 {
28005 arg2 = &temp2;
28006 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28007 }
28008 {
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 resultobj = SWIG_Py_Void();
28015 return resultobj;
28016fail:
28017 return NULL;
28018}
28019
28020
28021SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28022 PyObject *resultobj = 0;
28023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28024 wxPoint *arg2 = 0 ;
28025 void *argp1 = 0 ;
28026 int res1 = 0 ;
28027 wxPoint temp2 ;
28028 PyObject * obj0 = 0 ;
28029 PyObject * obj1 = 0 ;
28030 char * kwnames[] = {
28031 (char *) "self",(char *) "pt", NULL
28032 };
28033
28034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
28035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28036 if (!SWIG_IsOK(res1)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28038 }
28039 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28040 {
28041 arg2 = &temp2;
28042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28043 }
28044 {
28045 PyThreadState* __tstate = wxPyBeginAllowThreads();
28046 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
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_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28058 PyObject *resultobj = 0;
28059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28060 wxPoint *arg2 = 0 ;
28061 void *argp1 = 0 ;
28062 int res1 = 0 ;
28063 wxPoint temp2 ;
28064 PyObject * obj0 = 0 ;
28065 PyObject * obj1 = 0 ;
28066 char * kwnames[] = {
28067 (char *) "self",(char *) "pt", NULL
28068 };
28069
28070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
28071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28076 {
28077 arg2 = &temp2;
28078 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28079 }
28080 {
28081 PyThreadState* __tstate = wxPyBeginAllowThreads();
28082 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
28083 wxPyEndAllowThreads(__tstate);
28084 if (PyErr_Occurred()) SWIG_fail;
28085 }
28086 resultobj = SWIG_Py_Void();
28087 return resultobj;
28088fail:
28089 return NULL;
28090}
28091
28092
28093SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28094 PyObject *resultobj = 0;
28095 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28096 wxPaperSize arg2 ;
28097 void *argp1 = 0 ;
28098 int res1 = 0 ;
28099 int val2 ;
28100 int ecode2 = 0 ;
28101 PyObject * obj0 = 0 ;
28102 PyObject * obj1 = 0 ;
28103 char * kwnames[] = {
28104 (char *) "self",(char *) "id", NULL
28105 };
28106
28107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
28108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28113 ecode2 = SWIG_AsVal_int(obj1, &val2);
28114 if (!SWIG_IsOK(ecode2)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28116 }
28117 arg2 = static_cast< wxPaperSize >(val2);
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 (arg1)->SetPaperId(arg2);
28121 wxPyEndAllowThreads(__tstate);
28122 if (PyErr_Occurred()) SWIG_fail;
28123 }
28124 resultobj = SWIG_Py_Void();
28125 return resultobj;
28126fail:
28127 return NULL;
28128}
28129
28130
28131SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28132 PyObject *resultobj = 0;
28133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28134 wxSize *arg2 = 0 ;
28135 void *argp1 = 0 ;
28136 int res1 = 0 ;
28137 wxSize temp2 ;
28138 PyObject * obj0 = 0 ;
28139 PyObject * obj1 = 0 ;
28140 char * kwnames[] = {
28141 (char *) "self",(char *) "size", NULL
28142 };
28143
28144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
28145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28146 if (!SWIG_IsOK(res1)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28148 }
28149 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28150 {
28151 arg2 = &temp2;
28152 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28153 }
28154 {
28155 PyThreadState* __tstate = wxPyBeginAllowThreads();
28156 (arg1)->SetPaperSize((wxSize const &)*arg2);
28157 wxPyEndAllowThreads(__tstate);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 }
28160 resultobj = SWIG_Py_Void();
28161 return resultobj;
28162fail:
28163 return NULL;
28164}
28165
28166
28167SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28168 PyObject *resultobj = 0;
28169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28170 wxPrintData *arg2 = 0 ;
28171 void *argp1 = 0 ;
28172 int res1 = 0 ;
28173 void *argp2 = 0 ;
28174 int res2 = 0 ;
28175 PyObject * obj0 = 0 ;
28176 PyObject * obj1 = 0 ;
28177 char * kwnames[] = {
28178 (char *) "self",(char *) "printData", NULL
28179 };
28180
28181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
28182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28183 if (!SWIG_IsOK(res1)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28185 }
28186 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28187 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
28188 if (!SWIG_IsOK(res2)) {
28189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28190 }
28191 if (!argp2) {
28192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28193 }
28194 arg2 = reinterpret_cast< wxPrintData * >(argp2);
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 (arg1)->SetPrintData((wxPrintData const &)*arg2);
28198 wxPyEndAllowThreads(__tstate);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 }
28201 resultobj = SWIG_Py_Void();
28202 return resultobj;
28203fail:
28204 return NULL;
d14a1e28
RD
28205}
28206
28207
0085ce49
RD
28208SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28209 PyObject *resultobj = 0;
28210 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28211 void *argp1 = 0 ;
28212 int res1 = 0 ;
28213 PyObject *swig_obj[1] ;
28214
28215 if (!args) SWIG_fail;
28216 swig_obj[0] = args;
28217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28218 if (!SWIG_IsOK(res1)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28220 }
28221 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 (arg1)->CalculateIdFromPaperSize();
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
28228 resultobj = SWIG_Py_Void();
28229 return resultobj;
28230fail:
28231 return NULL;
32fe5131
RD
28232}
28233
28234
0085ce49
RD
28235SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28236 PyObject *resultobj = 0;
28237 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28238 void *argp1 = 0 ;
28239 int res1 = 0 ;
28240 PyObject *swig_obj[1] ;
28241
28242 if (!args) SWIG_fail;
28243 swig_obj[0] = args;
28244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28245 if (!SWIG_IsOK(res1)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28247 }
28248 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 (arg1)->CalculatePaperSizeFromId();
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 resultobj = SWIG_Py_Void();
28256 return resultobj;
28257fail:
28258 return NULL;
d14a1e28
RD
28259}
28260
28261
0085ce49
RD
28262SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28263 PyObject *obj;
28264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
28266 return SWIG_Py_Void();
d14a1e28
RD
28267}
28268
0085ce49
RD
28269SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28270 return SWIG_Python_InitShadowInstance(args);
28271}
d14a1e28 28272
0085ce49
RD
28273SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28274 PyObject *resultobj = 0;
28275 wxWindow *arg1 = (wxWindow *) 0 ;
28276 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
28277 wxPageSetupDialog *result = 0 ;
28278 void *argp1 = 0 ;
28279 int res1 = 0 ;
28280 void *argp2 = 0 ;
28281 int res2 = 0 ;
28282 PyObject * obj0 = 0 ;
28283 PyObject * obj1 = 0 ;
28284 char * kwnames[] = {
28285 (char *) "parent",(char *) "data", NULL
28286 };
28287
28288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28290 if (!SWIG_IsOK(res1)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28292 }
28293 arg1 = reinterpret_cast< wxWindow * >(argp1);
28294 if (obj1) {
28295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28296 if (!SWIG_IsOK(res2)) {
28297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d14a1e28 28298 }
0085ce49
RD
28299 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28300 }
28301 {
28302 if (!wxPyCheckForApp()) SWIG_fail;
28303 PyThreadState* __tstate = wxPyBeginAllowThreads();
28304 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
28305 wxPyEndAllowThreads(__tstate);
28306 if (PyErr_Occurred()) SWIG_fail;
28307 }
28308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
28309 return resultobj;
28310fail:
28311 return NULL;
d14a1e28
RD
28312}
28313
28314
f05326ba
RD
28315SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28316 PyObject *resultobj = 0;
28317 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28318 void *argp1 = 0 ;
28319 int res1 = 0 ;
28320 PyObject *swig_obj[1] ;
28321
28322 if (!args) SWIG_fail;
28323 swig_obj[0] = args;
28324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
28325 if (!SWIG_IsOK(res1)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28327 }
28328 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 delete arg1;
28332
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
0085ce49
RD
28343SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28344 PyObject *resultobj = 0;
28345 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28346 wxPageSetupDialogData *result = 0 ;
28347 void *argp1 = 0 ;
28348 int res1 = 0 ;
28349 PyObject *swig_obj[1] ;
28350
28351 if (!args) SWIG_fail;
28352 swig_obj[0] = args;
28353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28354 if (!SWIG_IsOK(res1)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28356 }
28357 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28358 {
28359 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 28360 {
0085ce49
RD
28361 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
28362 result = (wxPageSetupDialogData *) &_result_ref;
d14a1e28 28363 }
0085ce49
RD
28364 wxPyEndAllowThreads(__tstate);
28365 if (PyErr_Occurred()) SWIG_fail;
28366 }
28367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28368 return resultobj;
28369fail:
28370 return NULL;
28371}
28372
28373
28374SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28375 PyObject *resultobj = 0;
28376 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28377 wxPageSetupDialogData *result = 0 ;
28378 void *argp1 = 0 ;
28379 int res1 = 0 ;
28380 PyObject *swig_obj[1] ;
28381
28382 if (!args) SWIG_fail;
28383 swig_obj[0] = args;
28384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28385 if (!SWIG_IsOK(res1)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28387 }
28388 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 28391 {
0085ce49
RD
28392 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
28393 result = (wxPageSetupDialogData *) &_result_ref;
d14a1e28 28394 }
0085ce49
RD
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28399 return resultobj;
28400fail:
28401 return NULL;
d14a1e28
RD
28402}
28403
28404
0085ce49
RD
28405SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28406 PyObject *resultobj = 0;
28407 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28408 int result;
28409 void *argp1 = 0 ;
28410 int res1 = 0 ;
28411 PyObject *swig_obj[1] ;
28412
28413 if (!args) SWIG_fail;
28414 swig_obj[0] = args;
28415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28416 if (!SWIG_IsOK(res1)) {
28417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28418 }
28419 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28420 {
28421 PyThreadState* __tstate = wxPyBeginAllowThreads();
28422 result = (int)(arg1)->ShowModal();
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 resultobj = SWIG_From_int(static_cast< int >(result));
28427 return resultobj;
28428fail:
28429 return NULL;
d14a1e28
RD
28430}
28431
28432
0085ce49
RD
28433SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28434 PyObject *obj;
28435 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28436 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
28437 return SWIG_Py_Void();
d14a1e28
RD
28438}
28439
0085ce49
RD
28440SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28441 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
28442}
28443
0085ce49
RD
28444SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
28445 PyObject *resultobj = 0;
28446 wxPrintDialogData *result = 0 ;
28447
28448 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = (wxPrintDialogData *)new wxPrintDialogData();
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28456 return resultobj;
28457fail:
28458 return NULL;
d14a1e28
RD
28459}
28460
28461
0085ce49
RD
28462SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28463 PyObject *resultobj = 0;
28464 wxPrintData *arg1 = 0 ;
28465 wxPrintDialogData *result = 0 ;
28466 void *argp1 = 0 ;
28467 int res1 = 0 ;
28468
28469 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
28471 if (!SWIG_IsOK(res1)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28473 }
28474 if (!argp1) {
28475 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28476 }
28477 arg1 = reinterpret_cast< wxPrintData * >(argp1);
28478 {
28479 PyThreadState* __tstate = wxPyBeginAllowThreads();
28480 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
28481 wxPyEndAllowThreads(__tstate);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28485 return resultobj;
28486fail:
28487 return NULL;
d14a1e28
RD
28488}
28489
28490
0085ce49
RD
28491SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28492 PyObject *resultobj = 0;
28493 wxPrintDialogData *arg1 = 0 ;
28494 wxPrintDialogData *result = 0 ;
28495 void *argp1 = 0 ;
28496 int res1 = 0 ;
28497
28498 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
28500 if (!SWIG_IsOK(res1)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28502 }
28503 if (!argp1) {
28504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28505 }
28506 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28507 {
28508 PyThreadState* __tstate = wxPyBeginAllowThreads();
28509 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
28510 wxPyEndAllowThreads(__tstate);
28511 if (PyErr_Occurred()) SWIG_fail;
28512 }
28513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28514 return resultobj;
28515fail:
28516 return NULL;
d14a1e28
RD
28517}
28518
28519
0085ce49
RD
28520SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
28521 int argc;
28522 PyObject *argv[2];
28523
28524 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
28525 --argc;
28526 if (argc == 0) {
28527 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
28528 }
28529 if (argc == 1) {
28530 int _v = 0;
093d3ff1 28531 {
0085ce49
RD
28532 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
28533 _v = SWIG_CheckState(res);
093d3ff1 28534 }
0085ce49
RD
28535 if (!_v) goto check_2;
28536 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
28537 }
28538check_2:
28539
28540 if (argc == 1) {
28541 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
28542 }
28543
28544fail:
28545 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
28546 return NULL;
d14a1e28
RD
28547}
28548
28549
0085ce49
RD
28550SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28551 PyObject *resultobj = 0;
28552 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28553 void *argp1 = 0 ;
28554 int res1 = 0 ;
28555 PyObject *swig_obj[1] ;
28556
28557 if (!args) SWIG_fail;
28558 swig_obj[0] = args;
28559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
28560 if (!SWIG_IsOK(res1)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28562 }
28563 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 delete arg1;
d14a1e28 28567
0085ce49
RD
28568 wxPyEndAllowThreads(__tstate);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 }
28571 resultobj = SWIG_Py_Void();
28572 return resultobj;
28573fail:
28574 return NULL;
d14a1e28
RD
28575}
28576
28577
0085ce49
RD
28578SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28579 PyObject *resultobj = 0;
28580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28581 int result;
28582 void *argp1 = 0 ;
28583 int res1 = 0 ;
28584 PyObject *swig_obj[1] ;
28585
28586 if (!args) SWIG_fail;
28587 swig_obj[0] = args;
28588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28589 if (!SWIG_IsOK(res1)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28591 }
28592 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28593 {
28594 PyThreadState* __tstate = wxPyBeginAllowThreads();
28595 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
28596 wxPyEndAllowThreads(__tstate);
28597 if (PyErr_Occurred()) SWIG_fail;
28598 }
28599 resultobj = SWIG_From_int(static_cast< int >(result));
28600 return resultobj;
28601fail:
28602 return NULL;
d14a1e28
RD
28603}
28604
28605
0085ce49
RD
28606SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28607 PyObject *resultobj = 0;
28608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28609 int result;
28610 void *argp1 = 0 ;
28611 int res1 = 0 ;
28612 PyObject *swig_obj[1] ;
28613
28614 if (!args) SWIG_fail;
28615 swig_obj[0] = args;
28616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28617 if (!SWIG_IsOK(res1)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28619 }
28620 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28621 {
28622 PyThreadState* __tstate = wxPyBeginAllowThreads();
28623 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
28624 wxPyEndAllowThreads(__tstate);
28625 if (PyErr_Occurred()) SWIG_fail;
28626 }
28627 resultobj = SWIG_From_int(static_cast< int >(result));
28628 return resultobj;
28629fail:
28630 return NULL;
d14a1e28 28631}
0085ce49
RD
28632
28633
28634SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28635 PyObject *resultobj = 0;
28636 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28637 int result;
28638 void *argp1 = 0 ;
28639 int res1 = 0 ;
28640 PyObject *swig_obj[1] ;
28641
28642 if (!args) SWIG_fail;
28643 swig_obj[0] = args;
28644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28645 if (!SWIG_IsOK(res1)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28647 }
28648 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 resultobj = SWIG_From_int(static_cast< int >(result));
28656 return resultobj;
28657fail:
28658 return NULL;
d14a1e28
RD
28659}
28660
28661
0085ce49
RD
28662SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28663 PyObject *resultobj = 0;
28664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28665 int result;
28666 void *argp1 = 0 ;
28667 int res1 = 0 ;
28668 PyObject *swig_obj[1] ;
28669
28670 if (!args) SWIG_fail;
28671 swig_obj[0] = args;
28672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28673 if (!SWIG_IsOK(res1)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28675 }
28676 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
28683 resultobj = SWIG_From_int(static_cast< int >(result));
28684 return resultobj;
28685fail:
28686 return NULL;
d14a1e28
RD
28687}
28688
28689
0085ce49
RD
28690SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28691 PyObject *resultobj = 0;
28692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28693 int result;
28694 void *argp1 = 0 ;
28695 int res1 = 0 ;
28696 PyObject *swig_obj[1] ;
28697
28698 if (!args) SWIG_fail;
28699 swig_obj[0] = args;
28700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28701 if (!SWIG_IsOK(res1)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28703 }
28704 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
28708 wxPyEndAllowThreads(__tstate);
28709 if (PyErr_Occurred()) SWIG_fail;
28710 }
28711 resultobj = SWIG_From_int(static_cast< int >(result));
28712 return resultobj;
28713fail:
28714 return NULL;
d14a1e28
RD
28715}
28716
28717
0085ce49
RD
28718SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28719 PyObject *resultobj = 0;
28720 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28721 bool result;
28722 void *argp1 = 0 ;
28723 int res1 = 0 ;
28724 PyObject *swig_obj[1] ;
28725
28726 if (!args) SWIG_fail;
28727 swig_obj[0] = args;
28728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28729 if (!SWIG_IsOK(res1)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28731 }
28732 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 {
28740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28741 }
28742 return resultobj;
28743fail:
28744 return NULL;
d14a1e28
RD
28745}
28746
28747
0085ce49
RD
28748SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28749 PyObject *resultobj = 0;
28750 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28751 bool result;
28752 void *argp1 = 0 ;
28753 int res1 = 0 ;
28754 PyObject *swig_obj[1] ;
28755
28756 if (!args) SWIG_fail;
28757 swig_obj[0] = args;
28758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28759 if (!SWIG_IsOK(res1)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28761 }
28762 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28763 {
28764 PyThreadState* __tstate = wxPyBeginAllowThreads();
28765 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 {
28770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28771 }
28772 return resultobj;
28773fail:
28774 return NULL;
d14a1e28
RD
28775}
28776
28777
0085ce49
RD
28778SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28779 PyObject *resultobj = 0;
28780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28781 bool result;
28782 void *argp1 = 0 ;
28783 int res1 = 0 ;
28784 PyObject *swig_obj[1] ;
28785
28786 if (!args) SWIG_fail;
28787 swig_obj[0] = args;
28788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28789 if (!SWIG_IsOK(res1)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28791 }
28792 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28793 {
28794 PyThreadState* __tstate = wxPyBeginAllowThreads();
28795 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
28796 wxPyEndAllowThreads(__tstate);
28797 if (PyErr_Occurred()) SWIG_fail;
28798 }
28799 {
28800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28801 }
28802 return resultobj;
28803fail:
28804 return NULL;
d14a1e28
RD
28805}
28806
28807
0085ce49
RD
28808SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28809 PyObject *resultobj = 0;
28810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28811 bool result;
28812 void *argp1 = 0 ;
28813 int res1 = 0 ;
28814 PyObject *swig_obj[1] ;
28815
28816 if (!args) SWIG_fail;
28817 swig_obj[0] = args;
28818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28819 if (!SWIG_IsOK(res1)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28821 }
28822 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28823 {
28824 PyThreadState* __tstate = wxPyBeginAllowThreads();
28825 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 {
28830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28831 }
28832 return resultobj;
28833fail:
28834 return NULL;
28835}
28836
28837
28838SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28839 PyObject *resultobj = 0;
28840 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28841 int arg2 ;
28842 void *argp1 = 0 ;
28843 int res1 = 0 ;
28844 int val2 ;
28845 int ecode2 = 0 ;
28846 PyObject * obj0 = 0 ;
28847 PyObject * obj1 = 0 ;
28848 char * kwnames[] = {
28849 (char *) "self",(char *) "v", NULL
28850 };
28851
28852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
28853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28854 if (!SWIG_IsOK(res1)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28856 }
28857 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28858 ecode2 = SWIG_AsVal_int(obj1, &val2);
28859 if (!SWIG_IsOK(ecode2)) {
28860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28861 }
28862 arg2 = static_cast< int >(val2);
28863 {
28864 PyThreadState* __tstate = wxPyBeginAllowThreads();
28865 (arg1)->SetFromPage(arg2);
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 resultobj = SWIG_Py_Void();
28870 return resultobj;
28871fail:
28872 return NULL;
28873}
28874
28875
28876SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28877 PyObject *resultobj = 0;
28878 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28879 int arg2 ;
28880 void *argp1 = 0 ;
28881 int res1 = 0 ;
28882 int val2 ;
28883 int ecode2 = 0 ;
28884 PyObject * obj0 = 0 ;
28885 PyObject * obj1 = 0 ;
28886 char * kwnames[] = {
28887 (char *) "self",(char *) "v", NULL
28888 };
28889
28890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28892 if (!SWIG_IsOK(res1)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28894 }
28895 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28896 ecode2 = SWIG_AsVal_int(obj1, &val2);
28897 if (!SWIG_IsOK(ecode2)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28899 }
28900 arg2 = static_cast< int >(val2);
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 (arg1)->SetToPage(arg2);
28904 wxPyEndAllowThreads(__tstate);
28905 if (PyErr_Occurred()) SWIG_fail;
28906 }
28907 resultobj = SWIG_Py_Void();
28908 return resultobj;
28909fail:
28910 return NULL;
28911}
28912
28913
28914SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28915 PyObject *resultobj = 0;
28916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28917 int arg2 ;
28918 void *argp1 = 0 ;
28919 int res1 = 0 ;
28920 int val2 ;
28921 int ecode2 = 0 ;
28922 PyObject * obj0 = 0 ;
28923 PyObject * obj1 = 0 ;
28924 char * kwnames[] = {
28925 (char *) "self",(char *) "v", NULL
28926 };
28927
28928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
28929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28930 if (!SWIG_IsOK(res1)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28932 }
28933 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28934 ecode2 = SWIG_AsVal_int(obj1, &val2);
28935 if (!SWIG_IsOK(ecode2)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28937 }
28938 arg2 = static_cast< int >(val2);
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 (arg1)->SetMinPage(arg2);
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 resultobj = SWIG_Py_Void();
28946 return resultobj;
28947fail:
28948 return NULL;
28949}
28950
28951
28952SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28953 PyObject *resultobj = 0;
28954 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28955 int arg2 ;
28956 void *argp1 = 0 ;
28957 int res1 = 0 ;
28958 int val2 ;
28959 int ecode2 = 0 ;
28960 PyObject * obj0 = 0 ;
28961 PyObject * obj1 = 0 ;
28962 char * kwnames[] = {
28963 (char *) "self",(char *) "v", NULL
28964 };
28965
28966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
28967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28968 if (!SWIG_IsOK(res1)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28970 }
28971 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28972 ecode2 = SWIG_AsVal_int(obj1, &val2);
28973 if (!SWIG_IsOK(ecode2)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28975 }
28976 arg2 = static_cast< int >(val2);
28977 {
28978 PyThreadState* __tstate = wxPyBeginAllowThreads();
28979 (arg1)->SetMaxPage(arg2);
28980 wxPyEndAllowThreads(__tstate);
28981 if (PyErr_Occurred()) SWIG_fail;
28982 }
28983 resultobj = SWIG_Py_Void();
28984 return resultobj;
28985fail:
28986 return NULL;
28987}
28988
28989
28990SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28991 PyObject *resultobj = 0;
28992 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28993 int arg2 ;
28994 void *argp1 = 0 ;
28995 int res1 = 0 ;
28996 int val2 ;
28997 int ecode2 = 0 ;
28998 PyObject * obj0 = 0 ;
28999 PyObject * obj1 = 0 ;
29000 char * kwnames[] = {
29001 (char *) "self",(char *) "v", NULL
29002 };
29003
29004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
29005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29006 if (!SWIG_IsOK(res1)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29008 }
29009 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29010 ecode2 = SWIG_AsVal_int(obj1, &val2);
29011 if (!SWIG_IsOK(ecode2)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
29013 }
29014 arg2 = static_cast< int >(val2);
29015 {
29016 PyThreadState* __tstate = wxPyBeginAllowThreads();
29017 (arg1)->SetNoCopies(arg2);
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 resultobj = SWIG_Py_Void();
29022 return resultobj;
29023fail:
29024 return NULL;
29025}
29026
29027
29028SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29029 PyObject *resultobj = 0;
29030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29031 bool arg2 ;
29032 void *argp1 = 0 ;
29033 int res1 = 0 ;
29034 bool val2 ;
29035 int ecode2 = 0 ;
29036 PyObject * obj0 = 0 ;
29037 PyObject * obj1 = 0 ;
29038 char * kwnames[] = {
29039 (char *) "self",(char *) "flag", NULL
29040 };
29041
29042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
29043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29044 if (!SWIG_IsOK(res1)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29046 }
29047 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29048 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29049 if (!SWIG_IsOK(ecode2)) {
29050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29051 }
29052 arg2 = static_cast< bool >(val2);
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
29055 (arg1)->SetAllPages(arg2);
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 resultobj = SWIG_Py_Void();
29060 return resultobj;
29061fail:
29062 return NULL;
29063}
29064
29065
29066SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29067 PyObject *resultobj = 0;
29068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29069 bool arg2 ;
29070 void *argp1 = 0 ;
29071 int res1 = 0 ;
29072 bool val2 ;
29073 int ecode2 = 0 ;
29074 PyObject * obj0 = 0 ;
29075 PyObject * obj1 = 0 ;
29076 char * kwnames[] = {
29077 (char *) "self",(char *) "flag", NULL
29078 };
29079
29080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29082 if (!SWIG_IsOK(res1)) {
29083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29084 }
29085 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29087 if (!SWIG_IsOK(ecode2)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29089 }
29090 arg2 = static_cast< bool >(val2);
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
29093 (arg1)->SetSelection(arg2);
29094 wxPyEndAllowThreads(__tstate);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 }
29097 resultobj = SWIG_Py_Void();
29098 return resultobj;
29099fail:
29100 return NULL;
29101}
29102
29103
29104SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29105 PyObject *resultobj = 0;
29106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29107 bool arg2 ;
29108 void *argp1 = 0 ;
29109 int res1 = 0 ;
29110 bool val2 ;
29111 int ecode2 = 0 ;
29112 PyObject * obj0 = 0 ;
29113 PyObject * obj1 = 0 ;
29114 char * kwnames[] = {
29115 (char *) "self",(char *) "flag", NULL
29116 };
29117
29118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
29119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29120 if (!SWIG_IsOK(res1)) {
29121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29122 }
29123 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29124 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29125 if (!SWIG_IsOK(ecode2)) {
29126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29127 }
29128 arg2 = static_cast< bool >(val2);
29129 {
29130 PyThreadState* __tstate = wxPyBeginAllowThreads();
29131 (arg1)->SetCollate(arg2);
29132 wxPyEndAllowThreads(__tstate);
29133 if (PyErr_Occurred()) SWIG_fail;
29134 }
29135 resultobj = SWIG_Py_Void();
29136 return resultobj;
29137fail:
29138 return NULL;
29139}
29140
29141
29142SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29143 PyObject *resultobj = 0;
29144 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29145 bool arg2 ;
29146 void *argp1 = 0 ;
29147 int res1 = 0 ;
29148 bool val2 ;
29149 int ecode2 = 0 ;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj1 = 0 ;
29152 char * kwnames[] = {
29153 (char *) "self",(char *) "flag", NULL
29154 };
29155
29156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29158 if (!SWIG_IsOK(res1)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29160 }
29161 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29162 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29163 if (!SWIG_IsOK(ecode2)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29165 }
29166 arg2 = static_cast< bool >(val2);
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 (arg1)->SetPrintToFile(arg2);
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
29173 resultobj = SWIG_Py_Void();
29174 return resultobj;
29175fail:
29176 return NULL;
29177}
29178
29179
29180SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29181 PyObject *resultobj = 0;
29182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29183 bool arg2 ;
29184 void *argp1 = 0 ;
29185 int res1 = 0 ;
29186 bool val2 ;
29187 int ecode2 = 0 ;
29188 PyObject * obj0 = 0 ;
29189 PyObject * obj1 = 0 ;
29190 char * kwnames[] = {
29191 (char *) "self",(char *) "flag", NULL
29192 };
29193
29194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29196 if (!SWIG_IsOK(res1)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29198 }
29199 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29200 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29201 if (!SWIG_IsOK(ecode2)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29203 }
29204 arg2 = static_cast< bool >(val2);
29205 {
29206 PyThreadState* __tstate = wxPyBeginAllowThreads();
29207 (arg1)->EnablePrintToFile(arg2);
29208 wxPyEndAllowThreads(__tstate);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 resultobj = SWIG_Py_Void();
29212 return resultobj;
29213fail:
29214 return NULL;
29215}
29216
29217
29218SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29219 PyObject *resultobj = 0;
29220 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29221 bool arg2 ;
29222 void *argp1 = 0 ;
29223 int res1 = 0 ;
29224 bool val2 ;
29225 int ecode2 = 0 ;
29226 PyObject * obj0 = 0 ;
29227 PyObject * obj1 = 0 ;
29228 char * kwnames[] = {
29229 (char *) "self",(char *) "flag", NULL
29230 };
29231
29232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29234 if (!SWIG_IsOK(res1)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29236 }
29237 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29238 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29239 if (!SWIG_IsOK(ecode2)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29241 }
29242 arg2 = static_cast< bool >(val2);
29243 {
29244 PyThreadState* __tstate = wxPyBeginAllowThreads();
29245 (arg1)->EnableSelection(arg2);
29246 wxPyEndAllowThreads(__tstate);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 }
29249 resultobj = SWIG_Py_Void();
29250 return resultobj;
29251fail:
29252 return NULL;
29253}
29254
29255
29256SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29257 PyObject *resultobj = 0;
29258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29259 bool arg2 ;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 bool val2 ;
29263 int ecode2 = 0 ;
29264 PyObject * obj0 = 0 ;
29265 PyObject * obj1 = 0 ;
29266 char * kwnames[] = {
29267 (char *) "self",(char *) "flag", NULL
29268 };
29269
29270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
29271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29272 if (!SWIG_IsOK(res1)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29274 }
29275 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29276 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29277 if (!SWIG_IsOK(ecode2)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29279 }
29280 arg2 = static_cast< bool >(val2);
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 (arg1)->EnablePageNumbers(arg2);
29284 wxPyEndAllowThreads(__tstate);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 resultobj = SWIG_Py_Void();
29288 return resultobj;
29289fail:
29290 return NULL;
29291}
29292
29293
29294SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29295 PyObject *resultobj = 0;
29296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29297 bool arg2 ;
29298 void *argp1 = 0 ;
29299 int res1 = 0 ;
29300 bool val2 ;
29301 int ecode2 = 0 ;
29302 PyObject * obj0 = 0 ;
29303 PyObject * obj1 = 0 ;
29304 char * kwnames[] = {
29305 (char *) "self",(char *) "flag", NULL
29306 };
29307
29308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
29309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29310 if (!SWIG_IsOK(res1)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29312 }
29313 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29315 if (!SWIG_IsOK(ecode2)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29317 }
29318 arg2 = static_cast< bool >(val2);
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 (arg1)->EnableHelp(arg2);
29322 wxPyEndAllowThreads(__tstate);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
29325 resultobj = SWIG_Py_Void();
29326 return resultobj;
29327fail:
29328 return NULL;
d14a1e28
RD
29329}
29330
29331
0085ce49
RD
29332SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29333 PyObject *resultobj = 0;
29334 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29335 bool result;
29336 void *argp1 = 0 ;
29337 int res1 = 0 ;
29338 PyObject *swig_obj[1] ;
29339
29340 if (!args) SWIG_fail;
29341 swig_obj[0] = args;
29342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29343 if (!SWIG_IsOK(res1)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29345 }
29346 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29347 {
29348 PyThreadState* __tstate = wxPyBeginAllowThreads();
29349 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
29350 wxPyEndAllowThreads(__tstate);
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
29353 {
29354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29355 }
29356 return resultobj;
29357fail:
29358 return NULL;
d14a1e28
RD
29359}
29360
29361
0085ce49
RD
29362SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29363 PyObject *resultobj = 0;
29364 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29365 bool result;
29366 void *argp1 = 0 ;
29367 int res1 = 0 ;
29368 PyObject *swig_obj[1] ;
29369
29370 if (!args) SWIG_fail;
29371 swig_obj[0] = args;
29372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29373 if (!SWIG_IsOK(res1)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29375 }
29376 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29377 {
29378 PyThreadState* __tstate = wxPyBeginAllowThreads();
29379 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
29380 wxPyEndAllowThreads(__tstate);
29381 if (PyErr_Occurred()) SWIG_fail;
29382 }
29383 {
29384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29385 }
29386 return resultobj;
29387fail:
29388 return NULL;
d14a1e28
RD
29389}
29390
29391
0085ce49
RD
29392SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29393 PyObject *resultobj = 0;
29394 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29395 bool result;
29396 void *argp1 = 0 ;
29397 int res1 = 0 ;
29398 PyObject *swig_obj[1] ;
29399
29400 if (!args) SWIG_fail;
29401 swig_obj[0] = args;
29402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29403 if (!SWIG_IsOK(res1)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29405 }
29406 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29407 {
29408 PyThreadState* __tstate = wxPyBeginAllowThreads();
29409 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
29410 wxPyEndAllowThreads(__tstate);
29411 if (PyErr_Occurred()) SWIG_fail;
29412 }
29413 {
29414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29415 }
29416 return resultobj;
29417fail:
29418 return NULL;
d14a1e28
RD
29419}
29420
29421
0085ce49
RD
29422SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29423 PyObject *resultobj = 0;
29424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29425 bool result;
29426 void *argp1 = 0 ;
29427 int res1 = 0 ;
29428 PyObject *swig_obj[1] ;
29429
29430 if (!args) SWIG_fail;
29431 swig_obj[0] = args;
29432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29433 if (!SWIG_IsOK(res1)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29435 }
29436 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29437 {
29438 PyThreadState* __tstate = wxPyBeginAllowThreads();
29439 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
29440 wxPyEndAllowThreads(__tstate);
29441 if (PyErr_Occurred()) SWIG_fail;
29442 }
29443 {
29444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29445 }
29446 return resultobj;
29447fail:
29448 return NULL;
d14a1e28
RD
29449}
29450
29451
b39fe951 29452SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
29453 PyObject *resultobj = 0;
29454 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29455 bool result;
29456 void *argp1 = 0 ;
29457 int res1 = 0 ;
29458 PyObject *swig_obj[1] ;
29459
29460 if (!args) SWIG_fail;
29461 swig_obj[0] = args;
29462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29463 if (!SWIG_IsOK(res1)) {
b39fe951 29464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
0085ce49
RD
29465 }
29466 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29467 {
29468 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 29469 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
0085ce49
RD
29470 wxPyEndAllowThreads(__tstate);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 }
29473 {
29474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29475 }
29476 return resultobj;
29477fail:
29478 return NULL;
d14a1e28
RD
29479}
29480
29481
0085ce49
RD
29482SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29483 PyObject *resultobj = 0;
29484 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29485 wxPrintData *result = 0 ;
29486 void *argp1 = 0 ;
29487 int res1 = 0 ;
29488 PyObject *swig_obj[1] ;
29489
29490 if (!args) SWIG_fail;
29491 swig_obj[0] = args;
29492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29493 if (!SWIG_IsOK(res1)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29495 }
29496 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29497 {
29498 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 29499 {
0085ce49
RD
29500 wxPrintData &_result_ref = (arg1)->GetPrintData();
29501 result = (wxPrintData *) &_result_ref;
d14a1e28 29502 }
0085ce49
RD
29503 wxPyEndAllowThreads(__tstate);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
29506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29507 return resultobj;
29508fail:
29509 return NULL;
29510}
29511
29512
29513SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29514 PyObject *resultobj = 0;
29515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29516 wxPrintData *arg2 = 0 ;
29517 void *argp1 = 0 ;
29518 int res1 = 0 ;
29519 void *argp2 = 0 ;
29520 int res2 = 0 ;
29521 PyObject * obj0 = 0 ;
29522 PyObject * obj1 = 0 ;
29523 char * kwnames[] = {
29524 (char *) "self",(char *) "printData", NULL
29525 };
29526
29527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
29528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29529 if (!SWIG_IsOK(res1)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29531 }
29532 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29533 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
29534 if (!SWIG_IsOK(res2)) {
29535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29536 }
29537 if (!argp2) {
29538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29539 }
29540 arg2 = reinterpret_cast< wxPrintData * >(argp2);
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 (arg1)->SetPrintData((wxPrintData const &)*arg2);
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 resultobj = SWIG_Py_Void();
29548 return resultobj;
29549fail:
29550 return NULL;
d14a1e28
RD
29551}
29552
29553
0085ce49
RD
29554SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29555 PyObject *obj;
29556 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29557 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
29558 return SWIG_Py_Void();
d14a1e28
RD
29559}
29560
0085ce49
RD
29561SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29562 return SWIG_Python_InitShadowInstance(args);
29563}
d14a1e28 29564
0085ce49
RD
29565SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29566 PyObject *resultobj = 0;
29567 wxWindow *arg1 = (wxWindow *) 0 ;
29568 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
29569 wxPrintDialog *result = 0 ;
29570 void *argp1 = 0 ;
29571 int res1 = 0 ;
29572 void *argp2 = 0 ;
29573 int res2 = 0 ;
29574 PyObject * obj0 = 0 ;
29575 PyObject * obj1 = 0 ;
29576 char * kwnames[] = {
29577 (char *) "parent",(char *) "data", NULL
29578 };
29579
29580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29582 if (!SWIG_IsOK(res1)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29584 }
29585 arg1 = reinterpret_cast< wxWindow * >(argp1);
29586 if (obj1) {
29587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29588 if (!SWIG_IsOK(res2)) {
29589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d14a1e28 29590 }
0085ce49
RD
29591 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
29592 }
29593 {
29594 if (!wxPyCheckForApp()) SWIG_fail;
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
29601 return resultobj;
29602fail:
29603 return NULL;
d14a1e28
RD
29604}
29605
29606
f05326ba
RD
29607SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29608 PyObject *resultobj = 0;
29609 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29610 void *argp1 = 0 ;
29611 int res1 = 0 ;
29612 PyObject *swig_obj[1] ;
29613
29614 if (!args) SWIG_fail;
29615 swig_obj[0] = args;
29616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
29617 if (!SWIG_IsOK(res1)) {
29618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29619 }
29620 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29621 {
29622 PyThreadState* __tstate = wxPyBeginAllowThreads();
29623 delete arg1;
29624
29625 wxPyEndAllowThreads(__tstate);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 }
29628 resultobj = SWIG_Py_Void();
29629 return resultobj;
29630fail:
29631 return NULL;
29632}
29633
29634
0085ce49
RD
29635SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29636 PyObject *resultobj = 0;
29637 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29638 int result;
29639 void *argp1 = 0 ;
29640 int res1 = 0 ;
29641 PyObject *swig_obj[1] ;
29642
29643 if (!args) SWIG_fail;
29644 swig_obj[0] = args;
29645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29646 if (!SWIG_IsOK(res1)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29648 }
29649 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (int)(arg1)->ShowModal();
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 resultobj = SWIG_From_int(static_cast< int >(result));
29657 return resultobj;
29658fail:
29659 return NULL;
d14a1e28
RD
29660}
29661
29662
0085ce49
RD
29663SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29664 PyObject *resultobj = 0;
29665 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29666 wxPrintDialogData *result = 0 ;
29667 void *argp1 = 0 ;
29668 int res1 = 0 ;
29669 PyObject *swig_obj[1] ;
29670
29671 if (!args) SWIG_fail;
29672 swig_obj[0] = args;
29673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29674 if (!SWIG_IsOK(res1)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29676 }
29677 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29678 {
29679 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 29680 {
0085ce49
RD
29681 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29682 result = (wxPrintDialogData *) &_result_ref;
29683 }
29684 wxPyEndAllowThreads(__tstate);
29685 if (PyErr_Occurred()) SWIG_fail;
29686 }
29687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29688 return resultobj;
29689fail:
29690 return NULL;
d14a1e28
RD
29691}
29692
29693
0085ce49
RD
29694SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29695 PyObject *resultobj = 0;
29696 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29697 wxPrintData *result = 0 ;
29698 void *argp1 = 0 ;
29699 int res1 = 0 ;
29700 PyObject *swig_obj[1] ;
29701
29702 if (!args) SWIG_fail;
29703 swig_obj[0] = args;
29704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29705 if (!SWIG_IsOK(res1)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29707 }
29708 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 29711 {
0085ce49
RD
29712 wxPrintData &_result_ref = (arg1)->GetPrintData();
29713 result = (wxPrintData *) &_result_ref;
29714 }
29715 wxPyEndAllowThreads(__tstate);
29716 if (PyErr_Occurred()) SWIG_fail;
29717 }
29718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29719 return resultobj;
29720fail:
29721 return NULL;
d14a1e28
RD
29722}
29723
29724
0085ce49
RD
29725SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29726 PyObject *resultobj = 0;
29727 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29728 wxDC *result = 0 ;
29729 void *argp1 = 0 ;
29730 int res1 = 0 ;
29731 PyObject *swig_obj[1] ;
29732
29733 if (!args) SWIG_fail;
29734 swig_obj[0] = args;
29735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29736 if (!SWIG_IsOK(res1)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29738 }
29739 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 result = (wxDC *)(arg1)->GetPrintDC();
29743 wxPyEndAllowThreads(__tstate);
29744 if (PyErr_Occurred()) SWIG_fail;
29745 }
29746 {
29747 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
29748 }
29749 return resultobj;
29750fail:
29751 return NULL;
d14a1e28
RD
29752}
29753
29754
0085ce49
RD
29755SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29756 PyObject *obj;
29757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
29759 return SWIG_Py_Void();
d14a1e28
RD
29760}
29761
0085ce49
RD
29762SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29763 return SWIG_Python_InitShadowInstance(args);
29764}
d14a1e28 29765
0085ce49
RD
29766SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29767 PyObject *resultobj = 0;
29768 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
29769 wxPrinter *result = 0 ;
29770 void *argp1 = 0 ;
29771 int res1 = 0 ;
29772 PyObject * obj0 = 0 ;
29773 char * kwnames[] = {
29774 (char *) "data", NULL
29775 };
29776
29777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
29778 if (obj0) {
29779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29780 if (!SWIG_IsOK(res1)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d14a1e28 29782 }
0085ce49
RD
29783 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29784 }
29785 {
29786 if (!wxPyCheckForApp()) SWIG_fail;
29787 PyThreadState* __tstate = wxPyBeginAllowThreads();
29788 result = (wxPrinter *)new wxPrinter(arg1);
29789 wxPyEndAllowThreads(__tstate);
29790 if (PyErr_Occurred()) SWIG_fail;
29791 }
29792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
29793 return resultobj;
29794fail:
29795 return NULL;
d14a1e28
RD
29796}
29797
29798
0085ce49
RD
29799SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29800 PyObject *resultobj = 0;
29801 wxPrinter *arg1 = (wxPrinter *) 0 ;
29802 void *argp1 = 0 ;
29803 int res1 = 0 ;
29804 PyObject *swig_obj[1] ;
29805
29806 if (!args) SWIG_fail;
29807 swig_obj[0] = args;
29808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
29809 if (!SWIG_IsOK(res1)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29811 }
29812 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29813 {
29814 PyThreadState* __tstate = wxPyBeginAllowThreads();
29815 delete arg1;
d14a1e28 29816
0085ce49
RD
29817 wxPyEndAllowThreads(__tstate);
29818 if (PyErr_Occurred()) SWIG_fail;
29819 }
29820 resultobj = SWIG_Py_Void();
29821 return resultobj;
29822fail:
29823 return NULL;
29824}
29825
29826
29827SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29828 PyObject *resultobj = 0;
29829 wxPrinter *arg1 = (wxPrinter *) 0 ;
29830 wxWindow *arg2 = (wxWindow *) 0 ;
29831 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29832 wxWindow *result = 0 ;
29833 void *argp1 = 0 ;
29834 int res1 = 0 ;
29835 void *argp2 = 0 ;
29836 int res2 = 0 ;
29837 void *argp3 = 0 ;
29838 int res3 = 0 ;
29839 PyObject * obj0 = 0 ;
29840 PyObject * obj1 = 0 ;
29841 PyObject * obj2 = 0 ;
29842 char * kwnames[] = {
29843 (char *) "self",(char *) "parent",(char *) "printout", NULL
29844 };
29845
29846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29848 if (!SWIG_IsOK(res1)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29850 }
29851 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29853 if (!SWIG_IsOK(res2)) {
29854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29855 }
29856 arg2 = reinterpret_cast< wxWindow * >(argp2);
29857 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29858 if (!SWIG_IsOK(res3)) {
29859 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29860 }
29861 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
29865 wxPyEndAllowThreads(__tstate);
29866 if (PyErr_Occurred()) SWIG_fail;
29867 }
29868 {
29869 resultobj = wxPyMake_wxObject(result, 0);
29870 }
29871 return resultobj;
29872fail:
29873 return NULL;
29874}
29875
29876
29877SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj = 0;
29879 wxPrinter *arg1 = (wxPrinter *) 0 ;
29880 wxWindow *arg2 = (wxWindow *) 0 ;
29881 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29882 wxString *arg4 = 0 ;
29883 void *argp1 = 0 ;
29884 int res1 = 0 ;
29885 void *argp2 = 0 ;
29886 int res2 = 0 ;
29887 void *argp3 = 0 ;
29888 int res3 = 0 ;
29889 bool temp4 = false ;
29890 PyObject * obj0 = 0 ;
29891 PyObject * obj1 = 0 ;
29892 PyObject * obj2 = 0 ;
29893 PyObject * obj3 = 0 ;
29894 char * kwnames[] = {
29895 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29896 };
29897
29898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29900 if (!SWIG_IsOK(res1)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29902 }
29903 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29905 if (!SWIG_IsOK(res2)) {
29906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29907 }
29908 arg2 = reinterpret_cast< wxWindow * >(argp2);
29909 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29910 if (!SWIG_IsOK(res3)) {
29911 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29912 }
29913 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29914 {
29915 arg4 = wxString_in_helper(obj3);
29916 if (arg4 == NULL) SWIG_fail;
29917 temp4 = true;
29918 }
29919 {
29920 PyThreadState* __tstate = wxPyBeginAllowThreads();
29921 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
29922 wxPyEndAllowThreads(__tstate);
29923 if (PyErr_Occurred()) SWIG_fail;
29924 }
29925 resultobj = SWIG_Py_Void();
29926 {
29927 if (temp4)
29928 delete arg4;
29929 }
29930 return resultobj;
29931fail:
29932 {
29933 if (temp4)
29934 delete arg4;
29935 }
29936 return NULL;
29937}
29938
29939
29940SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29941 PyObject *resultobj = 0;
29942 wxPrinter *arg1 = (wxPrinter *) 0 ;
29943 wxWindow *arg2 = (wxWindow *) 0 ;
29944 bool result;
29945 void *argp1 = 0 ;
29946 int res1 = 0 ;
29947 void *argp2 = 0 ;
29948 int res2 = 0 ;
29949 PyObject * obj0 = 0 ;
29950 PyObject * obj1 = 0 ;
29951 char * kwnames[] = {
29952 (char *) "self",(char *) "parent", NULL
29953 };
29954
29955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
29956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29957 if (!SWIG_IsOK(res1)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29959 }
29960 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29962 if (!SWIG_IsOK(res2)) {
29963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29964 }
29965 arg2 = reinterpret_cast< wxWindow * >(argp2);
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 result = (bool)(arg1)->Setup(arg2);
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 {
29973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29974 }
29975 return resultobj;
29976fail:
29977 return NULL;
29978}
29979
29980
29981SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29982 PyObject *resultobj = 0;
29983 wxPrinter *arg1 = (wxPrinter *) 0 ;
29984 wxWindow *arg2 = (wxWindow *) 0 ;
29985 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29986 bool arg4 = (bool) true ;
29987 bool result;
29988 void *argp1 = 0 ;
29989 int res1 = 0 ;
29990 void *argp2 = 0 ;
29991 int res2 = 0 ;
29992 void *argp3 = 0 ;
29993 int res3 = 0 ;
29994 bool val4 ;
29995 int ecode4 = 0 ;
29996 PyObject * obj0 = 0 ;
29997 PyObject * obj1 = 0 ;
29998 PyObject * obj2 = 0 ;
29999 PyObject * obj3 = 0 ;
30000 char * kwnames[] = {
30001 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
30002 };
30003
30004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30006 if (!SWIG_IsOK(res1)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
30008 }
30009 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30011 if (!SWIG_IsOK(res2)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
30013 }
30014 arg2 = reinterpret_cast< wxWindow * >(argp2);
30015 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30016 if (!SWIG_IsOK(res3)) {
30017 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30018 }
30019 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
30020 if (obj3) {
30021 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30022 if (!SWIG_IsOK(ecode4)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
30024 }
30025 arg4 = static_cast< bool >(val4);
30026 }
30027 {
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
30029 result = (bool)(arg1)->Print(arg2,arg3,arg4);
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 {
30034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30035 }
30036 return resultobj;
30037fail:
30038 return NULL;
30039}
30040
30041
30042SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30043 PyObject *resultobj = 0;
30044 wxPrinter *arg1 = (wxPrinter *) 0 ;
30045 wxWindow *arg2 = (wxWindow *) 0 ;
30046 wxDC *result = 0 ;
30047 void *argp1 = 0 ;
30048 int res1 = 0 ;
30049 void *argp2 = 0 ;
30050 int res2 = 0 ;
30051 PyObject * obj0 = 0 ;
30052 PyObject * obj1 = 0 ;
30053 char * kwnames[] = {
30054 (char *) "self",(char *) "parent", NULL
30055 };
30056
30057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
30058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30059 if (!SWIG_IsOK(res1)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30061 }
30062 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30064 if (!SWIG_IsOK(res2)) {
30065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30066 }
30067 arg2 = reinterpret_cast< wxWindow * >(argp2);
30068 {
30069 PyThreadState* __tstate = wxPyBeginAllowThreads();
30070 result = (wxDC *)(arg1)->PrintDialog(arg2);
30071 wxPyEndAllowThreads(__tstate);
30072 if (PyErr_Occurred()) SWIG_fail;
30073 }
30074 {
30075 resultobj = wxPyMake_wxObject(result, (bool)0);
30076 }
30077 return resultobj;
30078fail:
30079 return NULL;
d14a1e28
RD
30080}
30081
30082
0085ce49
RD
30083SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30084 PyObject *resultobj = 0;
30085 wxPrinter *arg1 = (wxPrinter *) 0 ;
30086 wxPrintDialogData *result = 0 ;
30087 void *argp1 = 0 ;
30088 int res1 = 0 ;
30089 PyObject *swig_obj[1] ;
30090
30091 if (!args) SWIG_fail;
30092 swig_obj[0] = args;
30093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30094 if (!SWIG_IsOK(res1)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30096 }
30097 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30098 {
30099 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 30100 {
0085ce49
RD
30101 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
30102 result = (wxPrintDialogData *) &_result_ref;
30103 }
30104 wxPyEndAllowThreads(__tstate);
30105 if (PyErr_Occurred()) SWIG_fail;
30106 }
30107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30108 return resultobj;
30109fail:
30110 return NULL;
d14a1e28
RD
30111}
30112
30113
0085ce49
RD
30114SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30115 PyObject *resultobj = 0;
30116 wxPrinter *arg1 = (wxPrinter *) 0 ;
30117 bool result;
30118 void *argp1 = 0 ;
30119 int res1 = 0 ;
30120 PyObject *swig_obj[1] ;
30121
30122 if (!args) SWIG_fail;
30123 swig_obj[0] = args;
30124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30125 if (!SWIG_IsOK(res1)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30127 }
30128 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30129 {
30130 PyThreadState* __tstate = wxPyBeginAllowThreads();
30131 result = (bool)(arg1)->GetAbort();
30132 wxPyEndAllowThreads(__tstate);
30133 if (PyErr_Occurred()) SWIG_fail;
30134 }
30135 {
30136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30137 }
30138 return resultobj;
30139fail:
30140 return NULL;
d14a1e28
RD
30141}
30142
30143
0085ce49
RD
30144SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30145 PyObject *resultobj = 0;
30146 wxPrinterError result;
30147
30148 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
30149 {
30150 PyThreadState* __tstate = wxPyBeginAllowThreads();
30151 result = (wxPrinterError)wxPrinter::GetLastError();
30152 wxPyEndAllowThreads(__tstate);
30153 if (PyErr_Occurred()) SWIG_fail;
30154 }
30155 resultobj = SWIG_From_int(static_cast< int >(result));
30156 return resultobj;
30157fail:
30158 return NULL;
d14a1e28
RD
30159}
30160
30161
0085ce49
RD
30162SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30163 PyObject *obj;
30164 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
30166 return SWIG_Py_Void();
d14a1e28
RD
30167}
30168
0085ce49
RD
30169SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30170 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
30171}
30172
0085ce49
RD
30173SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30174 PyObject *resultobj = 0;
30175 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
30176 wxString *arg1 = (wxString *) &arg1_defvalue ;
30177 wxPyPrintout *result = 0 ;
30178 bool temp1 = false ;
30179 PyObject * obj0 = 0 ;
30180 char * kwnames[] = {
30181 (char *) "title", NULL
30182 };
30183
30184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
30185 if (obj0) {
d14a1e28 30186 {
0085ce49
RD
30187 arg1 = wxString_in_helper(obj0);
30188 if (arg1 == NULL) SWIG_fail;
30189 temp1 = true;
30190 }
30191 }
30192 {
30193 if (!wxPyCheckForApp()) SWIG_fail;
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
30200 {
30201 if (temp1)
30202 delete arg1;
30203 }
30204 return resultobj;
30205fail:
30206 {
30207 if (temp1)
30208 delete arg1;
30209 }
30210 return NULL;
d14a1e28
RD
30211}
30212
30213
0085ce49
RD
30214SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30215 PyObject *resultobj = 0;
30216 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30217 void *argp1 = 0 ;
30218 int res1 = 0 ;
30219 PyObject *swig_obj[1] ;
30220
30221 if (!args) SWIG_fail;
30222 swig_obj[0] = args;
30223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30224 if (!SWIG_IsOK(res1)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30226 }
30227 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30228 {
30229 PyThreadState* __tstate = wxPyBeginAllowThreads();
30230 delete arg1;
d14a1e28 30231
0085ce49
RD
30232 wxPyEndAllowThreads(__tstate);
30233 if (PyErr_Occurred()) SWIG_fail;
30234 }
30235 resultobj = SWIG_Py_Void();
30236 return resultobj;
30237fail:
30238 return NULL;
30239}
30240
30241
30242SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30243 PyObject *resultobj = 0;
30244 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30245 PyObject *arg2 = (PyObject *) 0 ;
30246 PyObject *arg3 = (PyObject *) 0 ;
30247 void *argp1 = 0 ;
30248 int res1 = 0 ;
30249 PyObject * obj0 = 0 ;
30250 PyObject * obj1 = 0 ;
30251 PyObject * obj2 = 0 ;
30252 char * kwnames[] = {
30253 (char *) "self",(char *) "self",(char *) "_class", NULL
30254 };
30255
30256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30258 if (!SWIG_IsOK(res1)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30260 }
30261 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30262 arg2 = obj1;
30263 arg3 = obj2;
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 (arg1)->_setCallbackInfo(arg2,arg3);
30267 wxPyEndAllowThreads(__tstate);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 }
30270 resultobj = SWIG_Py_Void();
30271 return resultobj;
30272fail:
30273 return NULL;
d14a1e28
RD
30274}
30275
30276
0085ce49
RD
30277SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30278 PyObject *resultobj = 0;
30279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30280 wxString result;
30281 void *argp1 = 0 ;
30282 int res1 = 0 ;
30283 PyObject *swig_obj[1] ;
30284
30285 if (!args) SWIG_fail;
30286 swig_obj[0] = args;
30287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30288 if (!SWIG_IsOK(res1)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30290 }
30291 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 result = ((wxPyPrintout const *)arg1)->GetTitle();
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 {
30299#if wxUSE_UNICODE
30300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30301#else
30302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30303#endif
30304 }
30305 return resultobj;
30306fail:
30307 return NULL;
d14a1e28
RD
30308}
30309
30310
0085ce49
RD
30311SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30312 PyObject *resultobj = 0;
30313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30314 wxDC *result = 0 ;
30315 void *argp1 = 0 ;
30316 int res1 = 0 ;
30317 PyObject *swig_obj[1] ;
30318
30319 if (!args) SWIG_fail;
30320 swig_obj[0] = args;
30321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30322 if (!SWIG_IsOK(res1)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30324 }
30325 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 result = (wxDC *)(arg1)->GetDC();
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 {
30333 resultobj = wxPyMake_wxObject(result, (bool)0);
30334 }
30335 return resultobj;
30336fail:
30337 return NULL;
30338}
30339
30340
30341SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30342 PyObject *resultobj = 0;
30343 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30344 wxDC *arg2 = (wxDC *) 0 ;
30345 void *argp1 = 0 ;
30346 int res1 = 0 ;
30347 void *argp2 = 0 ;
30348 int res2 = 0 ;
30349 PyObject * obj0 = 0 ;
30350 PyObject * obj1 = 0 ;
30351 char * kwnames[] = {
30352 (char *) "self",(char *) "dc", NULL
30353 };
30354
30355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
30356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30357 if (!SWIG_IsOK(res1)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30359 }
30360 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
30362 if (!SWIG_IsOK(res2)) {
30363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30364 }
30365 arg2 = reinterpret_cast< wxDC * >(argp2);
30366 {
30367 PyThreadState* __tstate = wxPyBeginAllowThreads();
30368 (arg1)->SetDC(arg2);
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 resultobj = SWIG_Py_Void();
30373 return resultobj;
30374fail:
30375 return NULL;
30376}
30377
30378
70d7cb34
RD
30379SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30380 PyObject *resultobj = 0;
30381 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30382 wxSize *arg2 = 0 ;
30383 void *argp1 = 0 ;
30384 int res1 = 0 ;
30385 wxSize temp2 ;
30386 PyObject * obj0 = 0 ;
30387 PyObject * obj1 = 0 ;
30388 char * kwnames[] = {
30389 (char *) "self",(char *) "imageSize", NULL
30390 };
30391
30392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
30393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30394 if (!SWIG_IsOK(res1)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30396 }
30397 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30398 {
30399 arg2 = &temp2;
30400 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30401 }
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
30405 wxPyEndAllowThreads(__tstate);
30406 if (PyErr_Occurred()) SWIG_fail;
30407 }
30408 resultobj = SWIG_Py_Void();
30409 return resultobj;
30410fail:
30411 return NULL;
30412}
30413
30414
30415SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30416 PyObject *resultobj = 0;
30417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30418 wxSize *arg2 = 0 ;
30419 void *argp1 = 0 ;
30420 int res1 = 0 ;
30421 wxSize temp2 ;
30422 PyObject * obj0 = 0 ;
30423 PyObject * obj1 = 0 ;
30424 char * kwnames[] = {
30425 (char *) "self",(char *) "imageSize", NULL
30426 };
30427
30428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
30429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30430 if (!SWIG_IsOK(res1)) {
30431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30432 }
30433 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30434 {
30435 arg2 = &temp2;
30436 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30437 }
30438 {
30439 PyThreadState* __tstate = wxPyBeginAllowThreads();
30440 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
30441 wxPyEndAllowThreads(__tstate);
30442 if (PyErr_Occurred()) SWIG_fail;
30443 }
30444 resultobj = SWIG_Py_Void();
30445 return resultobj;
30446fail:
30447 return NULL;
30448}
30449
30450
30451SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30452 PyObject *resultobj = 0;
30453 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30454 wxSize *arg2 = 0 ;
30455 wxPageSetupDialogData *arg3 = 0 ;
30456 void *argp1 = 0 ;
30457 int res1 = 0 ;
30458 wxSize temp2 ;
30459 void *argp3 = 0 ;
30460 int res3 = 0 ;
30461 PyObject * obj0 = 0 ;
30462 PyObject * obj1 = 0 ;
30463 PyObject * obj2 = 0 ;
30464 char * kwnames[] = {
30465 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30466 };
30467
30468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30470 if (!SWIG_IsOK(res1)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30472 }
30473 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30474 {
30475 arg2 = &temp2;
30476 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30477 }
30478 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30479 if (!SWIG_IsOK(res3)) {
30480 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30481 }
30482 if (!argp3) {
30483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30484 }
30485 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
30488 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
30489 wxPyEndAllowThreads(__tstate);
30490 if (PyErr_Occurred()) SWIG_fail;
30491 }
30492 resultobj = SWIG_Py_Void();
30493 return resultobj;
30494fail:
30495 return NULL;
30496}
30497
30498
30499SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30500 PyObject *resultobj = 0;
30501 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30502 void *argp1 = 0 ;
30503 int res1 = 0 ;
30504 PyObject *swig_obj[1] ;
30505
30506 if (!args) SWIG_fail;
30507 swig_obj[0] = args;
30508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30509 if (!SWIG_IsOK(res1)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30511 }
30512 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30513 {
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 (arg1)->MapScreenSizeToPaper();
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 resultobj = SWIG_Py_Void();
30520 return resultobj;
30521fail:
30522 return NULL;
30523}
30524
30525
30526SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30527 PyObject *resultobj = 0;
30528 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30529 void *argp1 = 0 ;
30530 int res1 = 0 ;
30531 PyObject *swig_obj[1] ;
30532
30533 if (!args) SWIG_fail;
30534 swig_obj[0] = args;
30535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30536 if (!SWIG_IsOK(res1)) {
30537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30538 }
30539 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 (arg1)->MapScreenSizeToPage();
30543 wxPyEndAllowThreads(__tstate);
30544 if (PyErr_Occurred()) SWIG_fail;
30545 }
30546 resultobj = SWIG_Py_Void();
30547 return resultobj;
30548fail:
30549 return NULL;
30550}
30551
30552
30553SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30554 PyObject *resultobj = 0;
30555 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30556 wxPageSetupDialogData *arg2 = 0 ;
30557 void *argp1 = 0 ;
30558 int res1 = 0 ;
30559 void *argp2 = 0 ;
30560 int res2 = 0 ;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 char * kwnames[] = {
30564 (char *) "self",(char *) "pageSetupData", NULL
30565 };
30566
30567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
30568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30569 if (!SWIG_IsOK(res1)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30571 }
30572 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30574 if (!SWIG_IsOK(res2)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30576 }
30577 if (!argp2) {
30578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30579 }
30580 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30581 {
30582 PyThreadState* __tstate = wxPyBeginAllowThreads();
30583 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
30584 wxPyEndAllowThreads(__tstate);
30585 if (PyErr_Occurred()) SWIG_fail;
30586 }
30587 resultobj = SWIG_Py_Void();
30588 return resultobj;
30589fail:
30590 return NULL;
30591}
30592
30593
30594SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30595 PyObject *resultobj = 0;
30596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30597 void *argp1 = 0 ;
30598 int res1 = 0 ;
30599 PyObject *swig_obj[1] ;
30600
30601 if (!args) SWIG_fail;
30602 swig_obj[0] = args;
30603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30604 if (!SWIG_IsOK(res1)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30606 }
30607 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 (arg1)->MapScreenSizeToDevice();
30611 wxPyEndAllowThreads(__tstate);
30612 if (PyErr_Occurred()) SWIG_fail;
30613 }
30614 resultobj = SWIG_Py_Void();
30615 return resultobj;
30616fail:
30617 return NULL;
30618}
30619
30620
30621SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30622 PyObject *resultobj = 0;
30623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30624 wxRect result;
30625 void *argp1 = 0 ;
30626 int res1 = 0 ;
30627 PyObject *swig_obj[1] ;
30628
30629 if (!args) SWIG_fail;
30630 swig_obj[0] = args;
30631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30632 if (!SWIG_IsOK(res1)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30634 }
30635 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
30639 wxPyEndAllowThreads(__tstate);
30640 if (PyErr_Occurred()) SWIG_fail;
30641 }
30642 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30643 return resultobj;
30644fail:
30645 return NULL;
30646}
30647
30648
30649SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30650 PyObject *resultobj = 0;
30651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30652 wxRect result;
30653 void *argp1 = 0 ;
30654 int res1 = 0 ;
30655 PyObject *swig_obj[1] ;
30656
30657 if (!args) SWIG_fail;
30658 swig_obj[0] = args;
30659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30660 if (!SWIG_IsOK(res1)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30662 }
30663 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30664 {
30665 PyThreadState* __tstate = wxPyBeginAllowThreads();
30666 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
30667 wxPyEndAllowThreads(__tstate);
30668 if (PyErr_Occurred()) SWIG_fail;
30669 }
30670 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30671 return resultobj;
30672fail:
30673 return NULL;
30674}
30675
30676
30677SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30678 PyObject *resultobj = 0;
30679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30680 wxPageSetupDialogData *arg2 = 0 ;
30681 wxRect result;
30682 void *argp1 = 0 ;
30683 int res1 = 0 ;
30684 void *argp2 = 0 ;
30685 int res2 = 0 ;
30686 PyObject * obj0 = 0 ;
30687 PyObject * obj1 = 0 ;
30688 char * kwnames[] = {
30689 (char *) "self",(char *) "pageSetupData", NULL
30690 };
30691
30692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
30693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30694 if (!SWIG_IsOK(res1)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30696 }
30697 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30699 if (!SWIG_IsOK(res2)) {
30700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30701 }
30702 if (!argp2) {
30703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30704 }
30705 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30706 {
30707 PyThreadState* __tstate = wxPyBeginAllowThreads();
30708 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
30709 wxPyEndAllowThreads(__tstate);
30710 if (PyErr_Occurred()) SWIG_fail;
30711 }
30712 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30713 return resultobj;
30714fail:
30715 return NULL;
30716}
30717
30718
30719SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30720 PyObject *resultobj = 0;
30721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30722 int arg2 ;
30723 int arg3 ;
30724 void *argp1 = 0 ;
30725 int res1 = 0 ;
30726 int val2 ;
30727 int ecode2 = 0 ;
30728 int val3 ;
30729 int ecode3 = 0 ;
30730 PyObject * obj0 = 0 ;
30731 PyObject * obj1 = 0 ;
30732 PyObject * obj2 = 0 ;
30733 char * kwnames[] = {
30734 (char *) "self",(char *) "x",(char *) "y", NULL
30735 };
30736
30737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30739 if (!SWIG_IsOK(res1)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30741 }
30742 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30743 ecode2 = SWIG_AsVal_int(obj1, &val2);
30744 if (!SWIG_IsOK(ecode2)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30746 }
30747 arg2 = static_cast< int >(val2);
30748 ecode3 = SWIG_AsVal_int(obj2, &val3);
30749 if (!SWIG_IsOK(ecode3)) {
30750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30751 }
30752 arg3 = static_cast< int >(val3);
30753 {
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 (arg1)->SetLogicalOrigin(arg2,arg3);
30756 wxPyEndAllowThreads(__tstate);
30757 if (PyErr_Occurred()) SWIG_fail;
30758 }
30759 resultobj = SWIG_Py_Void();
30760 return resultobj;
30761fail:
30762 return NULL;
30763}
30764
30765
30766SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30767 PyObject *resultobj = 0;
30768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30769 int arg2 ;
30770 int arg3 ;
30771 void *argp1 = 0 ;
30772 int res1 = 0 ;
30773 int val2 ;
30774 int ecode2 = 0 ;
30775 int val3 ;
30776 int ecode3 = 0 ;
30777 PyObject * obj0 = 0 ;
30778 PyObject * obj1 = 0 ;
30779 PyObject * obj2 = 0 ;
30780 char * kwnames[] = {
30781 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30782 };
30783
30784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30786 if (!SWIG_IsOK(res1)) {
30787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30788 }
30789 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30790 ecode2 = SWIG_AsVal_int(obj1, &val2);
30791 if (!SWIG_IsOK(ecode2)) {
30792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30793 }
30794 arg2 = static_cast< int >(val2);
30795 ecode3 = SWIG_AsVal_int(obj2, &val3);
30796 if (!SWIG_IsOK(ecode3)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30798 }
30799 arg3 = static_cast< int >(val3);
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 (arg1)->OffsetLogicalOrigin(arg2,arg3);
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 resultobj = SWIG_Py_Void();
30807 return resultobj;
30808fail:
30809 return NULL;
30810}
30811
30812
0085ce49
RD
30813SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30814 PyObject *resultobj = 0;
30815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30816 int arg2 ;
30817 int arg3 ;
30818 void *argp1 = 0 ;
30819 int res1 = 0 ;
30820 int val2 ;
30821 int ecode2 = 0 ;
30822 int val3 ;
30823 int ecode3 = 0 ;
30824 PyObject * obj0 = 0 ;
30825 PyObject * obj1 = 0 ;
30826 PyObject * obj2 = 0 ;
30827 char * kwnames[] = {
30828 (char *) "self",(char *) "w",(char *) "h", NULL
30829 };
30830
30831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30833 if (!SWIG_IsOK(res1)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30835 }
30836 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30837 ecode2 = SWIG_AsVal_int(obj1, &val2);
30838 if (!SWIG_IsOK(ecode2)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30840 }
30841 arg2 = static_cast< int >(val2);
30842 ecode3 = SWIG_AsVal_int(obj2, &val3);
30843 if (!SWIG_IsOK(ecode3)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30845 }
30846 arg3 = static_cast< int >(val3);
30847 {
30848 PyThreadState* __tstate = wxPyBeginAllowThreads();
30849 (arg1)->SetPageSizePixels(arg2,arg3);
30850 wxPyEndAllowThreads(__tstate);
30851 if (PyErr_Occurred()) SWIG_fail;
30852 }
30853 resultobj = SWIG_Py_Void();
30854 return resultobj;
30855fail:
30856 return NULL;
30857}
30858
30859
30860SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30861 PyObject *resultobj = 0;
30862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30863 int *arg2 = (int *) 0 ;
30864 int *arg3 = (int *) 0 ;
30865 void *argp1 = 0 ;
30866 int res1 = 0 ;
30867 int temp2 ;
30868 int res2 = SWIG_TMPOBJ ;
30869 int temp3 ;
30870 int res3 = SWIG_TMPOBJ ;
30871 PyObject *swig_obj[1] ;
30872
30873 arg2 = &temp2;
30874 arg3 = &temp3;
30875 if (!args) SWIG_fail;
30876 swig_obj[0] = args;
30877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30878 if (!SWIG_IsOK(res1)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30880 }
30881 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30882 {
30883 PyThreadState* __tstate = wxPyBeginAllowThreads();
30884 (arg1)->GetPageSizePixels(arg2,arg3);
30885 wxPyEndAllowThreads(__tstate);
30886 if (PyErr_Occurred()) SWIG_fail;
30887 }
30888 resultobj = SWIG_Py_Void();
30889 if (SWIG_IsTmpObj(res2)) {
30890 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30891 } else {
30892 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30894 }
30895 if (SWIG_IsTmpObj(res3)) {
30896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30897 } else {
30898 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30900 }
30901 return resultobj;
30902fail:
30903 return NULL;
30904}
30905
30906
30907SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30908 PyObject *resultobj = 0;
30909 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30910 int arg2 ;
30911 int arg3 ;
30912 void *argp1 = 0 ;
30913 int res1 = 0 ;
30914 int val2 ;
30915 int ecode2 = 0 ;
30916 int val3 ;
30917 int ecode3 = 0 ;
30918 PyObject * obj0 = 0 ;
30919 PyObject * obj1 = 0 ;
30920 PyObject * obj2 = 0 ;
30921 char * kwnames[] = {
30922 (char *) "self",(char *) "w",(char *) "h", NULL
30923 };
30924
30925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30927 if (!SWIG_IsOK(res1)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30929 }
30930 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30931 ecode2 = SWIG_AsVal_int(obj1, &val2);
30932 if (!SWIG_IsOK(ecode2)) {
30933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30934 }
30935 arg2 = static_cast< int >(val2);
30936 ecode3 = SWIG_AsVal_int(obj2, &val3);
30937 if (!SWIG_IsOK(ecode3)) {
30938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30939 }
30940 arg3 = static_cast< int >(val3);
30941 {
30942 PyThreadState* __tstate = wxPyBeginAllowThreads();
30943 (arg1)->SetPageSizeMM(arg2,arg3);
30944 wxPyEndAllowThreads(__tstate);
30945 if (PyErr_Occurred()) SWIG_fail;
30946 }
30947 resultobj = SWIG_Py_Void();
30948 return resultobj;
30949fail:
30950 return NULL;
30951}
30952
30953
30954SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30955 PyObject *resultobj = 0;
30956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30957 int *arg2 = (int *) 0 ;
30958 int *arg3 = (int *) 0 ;
30959 void *argp1 = 0 ;
30960 int res1 = 0 ;
30961 int temp2 ;
30962 int res2 = SWIG_TMPOBJ ;
30963 int temp3 ;
30964 int res3 = SWIG_TMPOBJ ;
30965 PyObject *swig_obj[1] ;
30966
30967 arg2 = &temp2;
30968 arg3 = &temp3;
30969 if (!args) SWIG_fail;
30970 swig_obj[0] = args;
30971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30972 if (!SWIG_IsOK(res1)) {
30973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30974 }
30975 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30976 {
30977 PyThreadState* __tstate = wxPyBeginAllowThreads();
30978 (arg1)->GetPageSizeMM(arg2,arg3);
30979 wxPyEndAllowThreads(__tstate);
30980 if (PyErr_Occurred()) SWIG_fail;
30981 }
30982 resultobj = SWIG_Py_Void();
30983 if (SWIG_IsTmpObj(res2)) {
30984 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30985 } else {
30986 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30987 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30988 }
30989 if (SWIG_IsTmpObj(res3)) {
30990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30991 } else {
30992 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30994 }
30995 return resultobj;
30996fail:
30997 return NULL;
30998}
30999
31000
31001SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31002 PyObject *resultobj = 0;
31003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31004 int arg2 ;
31005 int arg3 ;
31006 void *argp1 = 0 ;
31007 int res1 = 0 ;
31008 int val2 ;
31009 int ecode2 = 0 ;
31010 int val3 ;
31011 int ecode3 = 0 ;
31012 PyObject * obj0 = 0 ;
31013 PyObject * obj1 = 0 ;
31014 PyObject * obj2 = 0 ;
31015 char * kwnames[] = {
31016 (char *) "self",(char *) "x",(char *) "y", NULL
31017 };
31018
31019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31021 if (!SWIG_IsOK(res1)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31023 }
31024 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31025 ecode2 = SWIG_AsVal_int(obj1, &val2);
31026 if (!SWIG_IsOK(ecode2)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
31028 }
31029 arg2 = static_cast< int >(val2);
31030 ecode3 = SWIG_AsVal_int(obj2, &val3);
31031 if (!SWIG_IsOK(ecode3)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
31033 }
31034 arg3 = static_cast< int >(val3);
31035 {
31036 PyThreadState* __tstate = wxPyBeginAllowThreads();
31037 (arg1)->SetPPIScreen(arg2,arg3);
31038 wxPyEndAllowThreads(__tstate);
31039 if (PyErr_Occurred()) SWIG_fail;
31040 }
31041 resultobj = SWIG_Py_Void();
31042 return resultobj;
31043fail:
31044 return NULL;
31045}
31046
31047
31048SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31049 PyObject *resultobj = 0;
31050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31051 int *arg2 = (int *) 0 ;
31052 int *arg3 = (int *) 0 ;
31053 void *argp1 = 0 ;
31054 int res1 = 0 ;
31055 int temp2 ;
31056 int res2 = SWIG_TMPOBJ ;
31057 int temp3 ;
31058 int res3 = SWIG_TMPOBJ ;
31059 PyObject *swig_obj[1] ;
31060
31061 arg2 = &temp2;
31062 arg3 = &temp3;
31063 if (!args) SWIG_fail;
31064 swig_obj[0] = args;
31065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31066 if (!SWIG_IsOK(res1)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31068 }
31069 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31070 {
31071 PyThreadState* __tstate = wxPyBeginAllowThreads();
31072 (arg1)->GetPPIScreen(arg2,arg3);
31073 wxPyEndAllowThreads(__tstate);
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
31076 resultobj = SWIG_Py_Void();
31077 if (SWIG_IsTmpObj(res2)) {
31078 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31079 } else {
31080 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31081 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31082 }
31083 if (SWIG_IsTmpObj(res3)) {
31084 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31085 } else {
31086 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31088 }
31089 return resultobj;
31090fail:
31091 return NULL;
31092}
31093
31094
31095SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31096 PyObject *resultobj = 0;
31097 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31098 int arg2 ;
31099 int arg3 ;
31100 void *argp1 = 0 ;
31101 int res1 = 0 ;
31102 int val2 ;
31103 int ecode2 = 0 ;
31104 int val3 ;
31105 int ecode3 = 0 ;
31106 PyObject * obj0 = 0 ;
31107 PyObject * obj1 = 0 ;
31108 PyObject * obj2 = 0 ;
31109 char * kwnames[] = {
31110 (char *) "self",(char *) "x",(char *) "y", NULL
31111 };
31112
31113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31115 if (!SWIG_IsOK(res1)) {
31116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31117 }
31118 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31119 ecode2 = SWIG_AsVal_int(obj1, &val2);
31120 if (!SWIG_IsOK(ecode2)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31122 }
31123 arg2 = static_cast< int >(val2);
31124 ecode3 = SWIG_AsVal_int(obj2, &val3);
31125 if (!SWIG_IsOK(ecode3)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31127 }
31128 arg3 = static_cast< int >(val3);
31129 {
31130 PyThreadState* __tstate = wxPyBeginAllowThreads();
31131 (arg1)->SetPPIPrinter(arg2,arg3);
31132 wxPyEndAllowThreads(__tstate);
31133 if (PyErr_Occurred()) SWIG_fail;
31134 }
31135 resultobj = SWIG_Py_Void();
31136 return resultobj;
31137fail:
31138 return NULL;
31139}
31140
31141
31142SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31143 PyObject *resultobj = 0;
31144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31145 int *arg2 = (int *) 0 ;
31146 int *arg3 = (int *) 0 ;
31147 void *argp1 = 0 ;
31148 int res1 = 0 ;
31149 int temp2 ;
31150 int res2 = SWIG_TMPOBJ ;
31151 int temp3 ;
31152 int res3 = SWIG_TMPOBJ ;
31153 PyObject *swig_obj[1] ;
31154
31155 arg2 = &temp2;
31156 arg3 = &temp3;
31157 if (!args) SWIG_fail;
31158 swig_obj[0] = args;
31159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31160 if (!SWIG_IsOK(res1)) {
31161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31162 }
31163 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31164 {
31165 PyThreadState* __tstate = wxPyBeginAllowThreads();
31166 (arg1)->GetPPIPrinter(arg2,arg3);
31167 wxPyEndAllowThreads(__tstate);
31168 if (PyErr_Occurred()) SWIG_fail;
31169 }
31170 resultobj = SWIG_Py_Void();
31171 if (SWIG_IsTmpObj(res2)) {
31172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31173 } else {
31174 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31176 }
31177 if (SWIG_IsTmpObj(res3)) {
31178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31179 } else {
31180 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31182 }
31183 return resultobj;
31184fail:
31185 return NULL;
d14a1e28
RD
31186}
31187
31188
70d7cb34
RD
31189SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31190 PyObject *resultobj = 0;
31191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31192 wxRect *arg2 = 0 ;
31193 void *argp1 = 0 ;
31194 int res1 = 0 ;
31195 wxRect temp2 ;
31196 PyObject * obj0 = 0 ;
31197 PyObject * obj1 = 0 ;
31198 char * kwnames[] = {
31199 (char *) "self",(char *) "paperRectPixels", NULL
31200 };
31201
31202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
31203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31204 if (!SWIG_IsOK(res1)) {
31205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31206 }
31207 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31208 {
31209 arg2 = &temp2;
31210 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
31211 }
31212 {
31213 PyThreadState* __tstate = wxPyBeginAllowThreads();
31214 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
31215 wxPyEndAllowThreads(__tstate);
31216 if (PyErr_Occurred()) SWIG_fail;
31217 }
31218 resultobj = SWIG_Py_Void();
31219 return resultobj;
31220fail:
31221 return NULL;
31222}
31223
31224
31225SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31226 PyObject *resultobj = 0;
31227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31228 wxRect result;
31229 void *argp1 = 0 ;
31230 int res1 = 0 ;
31231 PyObject *swig_obj[1] ;
31232
31233 if (!args) SWIG_fail;
31234 swig_obj[0] = args;
31235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31236 if (!SWIG_IsOK(res1)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31238 }
31239 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31240 {
31241 PyThreadState* __tstate = wxPyBeginAllowThreads();
31242 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
31243 wxPyEndAllowThreads(__tstate);
31244 if (PyErr_Occurred()) SWIG_fail;
31245 }
31246 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
31247 return resultobj;
31248fail:
31249 return NULL;
31250}
31251
31252
0085ce49
RD
31253SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31254 PyObject *resultobj = 0;
31255 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31256 bool result;
31257 void *argp1 = 0 ;
31258 int res1 = 0 ;
31259 PyObject *swig_obj[1] ;
31260
31261 if (!args) SWIG_fail;
31262 swig_obj[0] = args;
31263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31264 if (!SWIG_IsOK(res1)) {
31265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31266 }
31267 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31268 {
31269 PyThreadState* __tstate = wxPyBeginAllowThreads();
31270 result = (bool)(arg1)->IsPreview();
31271 wxPyEndAllowThreads(__tstate);
31272 if (PyErr_Occurred()) SWIG_fail;
31273 }
31274 {
31275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31276 }
31277 return resultobj;
31278fail:
31279 return NULL;
31280}
31281
31282
31283SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31284 PyObject *resultobj = 0;
31285 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31286 bool arg2 ;
31287 void *argp1 = 0 ;
31288 int res1 = 0 ;
31289 bool val2 ;
31290 int ecode2 = 0 ;
31291 PyObject * obj0 = 0 ;
31292 PyObject * obj1 = 0 ;
31293 char * kwnames[] = {
31294 (char *) "self",(char *) "p", NULL
31295 };
31296
31297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31299 if (!SWIG_IsOK(res1)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31301 }
31302 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31303 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31304 if (!SWIG_IsOK(ecode2)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31306 }
31307 arg2 = static_cast< bool >(val2);
31308 {
31309 PyThreadState* __tstate = wxPyBeginAllowThreads();
31310 (arg1)->SetIsPreview(arg2);
31311 wxPyEndAllowThreads(__tstate);
31312 if (PyErr_Occurred()) SWIG_fail;
31313 }
31314 resultobj = SWIG_Py_Void();
31315 return resultobj;
31316fail:
31317 return NULL;
31318}
31319
31320
31321SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31322 PyObject *resultobj = 0;
31323 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31324 int arg2 ;
31325 int arg3 ;
31326 bool result;
31327 void *argp1 = 0 ;
31328 int res1 = 0 ;
31329 int val2 ;
31330 int ecode2 = 0 ;
31331 int val3 ;
31332 int ecode3 = 0 ;
31333 PyObject * obj0 = 0 ;
31334 PyObject * obj1 = 0 ;
31335 PyObject * obj2 = 0 ;
31336 char * kwnames[] = {
31337 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31338 };
31339
31340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31342 if (!SWIG_IsOK(res1)) {
31343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31344 }
31345 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31346 ecode2 = SWIG_AsVal_int(obj1, &val2);
31347 if (!SWIG_IsOK(ecode2)) {
31348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31349 }
31350 arg2 = static_cast< int >(val2);
31351 ecode3 = SWIG_AsVal_int(obj2, &val3);
31352 if (!SWIG_IsOK(ecode3)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31354 }
31355 arg3 = static_cast< int >(val3);
31356 {
31357 PyThreadState* __tstate = wxPyBeginAllowThreads();
31358 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
31359 wxPyEndAllowThreads(__tstate);
31360 if (PyErr_Occurred()) SWIG_fail;
31361 }
31362 {
31363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31364 }
31365 return resultobj;
31366fail:
31367 return NULL;
d14a1e28
RD
31368}
31369
31370
0085ce49
RD
31371SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31372 PyObject *resultobj = 0;
31373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31374 void *argp1 = 0 ;
31375 int res1 = 0 ;
31376 PyObject *swig_obj[1] ;
31377
31378 if (!args) SWIG_fail;
31379 swig_obj[0] = args;
31380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31381 if (!SWIG_IsOK(res1)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31383 }
31384 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31385 {
31386 PyThreadState* __tstate = wxPyBeginAllowThreads();
31387 (arg1)->OnEndDocument();
31388 wxPyEndAllowThreads(__tstate);
31389 if (PyErr_Occurred()) SWIG_fail;
31390 }
31391 resultobj = SWIG_Py_Void();
31392 return resultobj;
31393fail:
31394 return NULL;
1cb4a8aa
RD
31395}
31396
31397
0085ce49
RD
31398SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31399 PyObject *resultobj = 0;
31400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31401 void *argp1 = 0 ;
31402 int res1 = 0 ;
31403 PyObject *swig_obj[1] ;
31404
31405 if (!args) SWIG_fail;
31406 swig_obj[0] = args;
31407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31408 if (!SWIG_IsOK(res1)) {
31409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31410 }
31411 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31412 {
31413 PyThreadState* __tstate = wxPyBeginAllowThreads();
31414 (arg1)->OnBeginPrinting();
31415 wxPyEndAllowThreads(__tstate);
31416 if (PyErr_Occurred()) SWIG_fail;
31417 }
31418 resultobj = SWIG_Py_Void();
31419 return resultobj;
31420fail:
31421 return NULL;
d14a1e28
RD
31422}
31423
31424
0085ce49
RD
31425SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31426 PyObject *resultobj = 0;
31427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31428 void *argp1 = 0 ;
31429 int res1 = 0 ;
31430 PyObject *swig_obj[1] ;
31431
31432 if (!args) SWIG_fail;
31433 swig_obj[0] = args;
31434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31435 if (!SWIG_IsOK(res1)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31437 }
31438 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31439 {
31440 PyThreadState* __tstate = wxPyBeginAllowThreads();
31441 (arg1)->OnEndPrinting();
31442 wxPyEndAllowThreads(__tstate);
31443 if (PyErr_Occurred()) SWIG_fail;
31444 }
31445 resultobj = SWIG_Py_Void();
31446 return resultobj;
31447fail:
31448 return NULL;
db3e571a
RD
31449}
31450
31451
0085ce49
RD
31452SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31453 PyObject *resultobj = 0;
31454 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31455 void *argp1 = 0 ;
31456 int res1 = 0 ;
31457 PyObject *swig_obj[1] ;
31458
31459 if (!args) SWIG_fail;
31460 swig_obj[0] = args;
31461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31462 if (!SWIG_IsOK(res1)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31464 }
31465 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31466 {
31467 PyThreadState* __tstate = wxPyBeginAllowThreads();
31468 (arg1)->OnPreparePrinting();
31469 wxPyEndAllowThreads(__tstate);
31470 if (PyErr_Occurred()) SWIG_fail;
31471 }
31472 resultobj = SWIG_Py_Void();
31473 return resultobj;
31474fail:
31475 return NULL;
31476}
31477
31478
31479SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31480 PyObject *resultobj = 0;
31481 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31482 int arg2 ;
31483 bool result;
31484 void *argp1 = 0 ;
31485 int res1 = 0 ;
31486 int val2 ;
31487 int ecode2 = 0 ;
31488 PyObject * obj0 = 0 ;
31489 PyObject * obj1 = 0 ;
31490 char * kwnames[] = {
31491 (char *) "self",(char *) "page", NULL
31492 };
31493
31494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
31495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31496 if (!SWIG_IsOK(res1)) {
31497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31498 }
31499 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31500 ecode2 = SWIG_AsVal_int(obj1, &val2);
31501 if (!SWIG_IsOK(ecode2)) {
31502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31503 }
31504 arg2 = static_cast< int >(val2);
31505 {
31506 PyThreadState* __tstate = wxPyBeginAllowThreads();
31507 result = (bool)(arg1)->HasPage(arg2);
31508 wxPyEndAllowThreads(__tstate);
31509 if (PyErr_Occurred()) SWIG_fail;
31510 }
31511 {
31512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31513 }
31514 return resultobj;
31515fail:
31516 return NULL;
31517}
31518
31519
31520SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31521 PyObject *resultobj = 0;
31522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31523 int *arg2 = (int *) 0 ;
31524 int *arg3 = (int *) 0 ;
31525 int *arg4 = (int *) 0 ;
31526 int *arg5 = (int *) 0 ;
31527 void *argp1 = 0 ;
31528 int res1 = 0 ;
31529 int temp2 ;
31530 int res2 = SWIG_TMPOBJ ;
31531 int temp3 ;
31532 int res3 = SWIG_TMPOBJ ;
31533 int temp4 ;
31534 int res4 = SWIG_TMPOBJ ;
31535 int temp5 ;
31536 int res5 = SWIG_TMPOBJ ;
31537 PyObject *swig_obj[1] ;
31538
31539 arg2 = &temp2;
31540 arg3 = &temp3;
31541 arg4 = &temp4;
31542 arg5 = &temp5;
31543 if (!args) SWIG_fail;
31544 swig_obj[0] = args;
31545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31546 if (!SWIG_IsOK(res1)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31548 }
31549 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31550 {
31551 PyThreadState* __tstate = wxPyBeginAllowThreads();
31552 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
31553 wxPyEndAllowThreads(__tstate);
31554 if (PyErr_Occurred()) SWIG_fail;
31555 }
31556 resultobj = SWIG_Py_Void();
31557 if (SWIG_IsTmpObj(res2)) {
31558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31559 } else {
31560 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31562 }
31563 if (SWIG_IsTmpObj(res3)) {
31564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31565 } else {
31566 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31568 }
31569 if (SWIG_IsTmpObj(res4)) {
31570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
31571 } else {
31572 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
31574 }
31575 if (SWIG_IsTmpObj(res5)) {
31576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
31577 } else {
31578 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
31580 }
31581 return resultobj;
31582fail:
31583 return NULL;
31584}
31585
31586
31587SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31588 PyObject *obj;
31589 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31590 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
31591 return SWIG_Py_Void();
31592}
31593
31594SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31595 return SWIG_Python_InitShadowInstance(args);
31596}
31597
31598SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31599 PyObject *resultobj = 0;
31600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31601 wxWindow *arg2 = (wxWindow *) 0 ;
31602 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31603 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31604 wxSize const &arg4_defvalue = wxDefaultSize ;
31605 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31606 long arg5 = (long) 0 ;
31607 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
31608 wxString *arg6 = (wxString *) &arg6_defvalue ;
31609 wxPreviewCanvas *result = 0 ;
31610 void *argp1 = 0 ;
31611 int res1 = 0 ;
31612 void *argp2 = 0 ;
31613 int res2 = 0 ;
31614 wxPoint temp3 ;
31615 wxSize temp4 ;
31616 long val5 ;
31617 int ecode5 = 0 ;
31618 bool temp6 = false ;
31619 PyObject * obj0 = 0 ;
31620 PyObject * obj1 = 0 ;
31621 PyObject * obj2 = 0 ;
31622 PyObject * obj3 = 0 ;
31623 PyObject * obj4 = 0 ;
31624 PyObject * obj5 = 0 ;
31625 char * kwnames[] = {
31626 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31627 };
31628
31629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
31630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31631 if (!SWIG_IsOK(res1)) {
31632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31633 }
31634 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31635 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31636 if (!SWIG_IsOK(res2)) {
31637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31638 }
31639 arg2 = reinterpret_cast< wxWindow * >(argp2);
31640 if (obj2) {
093d3ff1 31641 {
0085ce49
RD
31642 arg3 = &temp3;
31643 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 31644 }
0085ce49
RD
31645 }
31646 if (obj3) {
093d3ff1 31647 {
0085ce49
RD
31648 arg4 = &temp4;
31649 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
994141e6 31650 }
0085ce49
RD
31651 }
31652 if (obj4) {
31653 ecode5 = SWIG_AsVal_long(obj4, &val5);
31654 if (!SWIG_IsOK(ecode5)) {
31655 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31656 }
31657 arg5 = static_cast< long >(val5);
31658 }
31659 if (obj5) {
d14a1e28 31660 {
0085ce49
RD
31661 arg6 = wxString_in_helper(obj5);
31662 if (arg6 == NULL) SWIG_fail;
31663 temp6 = true;
093d3ff1 31664 }
0085ce49
RD
31665 }
31666 {
31667 if (!wxPyCheckForApp()) SWIG_fail;
31668 PyThreadState* __tstate = wxPyBeginAllowThreads();
31669 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31670 wxPyEndAllowThreads(__tstate);
31671 if (PyErr_Occurred()) SWIG_fail;
31672 }
31673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
31674 {
31675 if (temp6)
31676 delete arg6;
31677 }
31678 return resultobj;
31679fail:
31680 {
31681 if (temp6)
31682 delete arg6;
31683 }
31684 return NULL;
31685}
31686
31687
31688SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31689 PyObject *obj;
31690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
31692 return SWIG_Py_Void();
31693}
31694
31695SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31696 return SWIG_Python_InitShadowInstance(args);
31697}
31698
31699SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31700 PyObject *resultobj = 0;
31701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31702 wxFrame *arg2 = (wxFrame *) 0 ;
31703 wxString *arg3 = 0 ;
31704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31706 wxSize const &arg5_defvalue = wxDefaultSize ;
31707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31708 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31709 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31710 wxString *arg7 = (wxString *) &arg7_defvalue ;
31711 wxPreviewFrame *result = 0 ;
31712 int res1 = 0 ;
31713 void *argp2 = 0 ;
31714 int res2 = 0 ;
31715 bool temp3 = false ;
31716 wxPoint temp4 ;
31717 wxSize temp5 ;
31718 long val6 ;
31719 int ecode6 = 0 ;
31720 bool temp7 = false ;
31721 PyObject * obj0 = 0 ;
31722 PyObject * obj1 = 0 ;
31723 PyObject * obj2 = 0 ;
31724 PyObject * obj3 = 0 ;
31725 PyObject * obj4 = 0 ;
31726 PyObject * obj5 = 0 ;
31727 PyObject * obj6 = 0 ;
31728 char * kwnames[] = {
31729 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31730 };
31731
31732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31733 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31734 if (!SWIG_IsOK(res1)) {
31735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31736 }
31737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31738 if (!SWIG_IsOK(res2)) {
31739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31740 }
31741 arg2 = reinterpret_cast< wxFrame * >(argp2);
31742 {
31743 arg3 = wxString_in_helper(obj2);
31744 if (arg3 == NULL) SWIG_fail;
31745 temp3 = true;
31746 }
31747 if (obj3) {
093d3ff1 31748 {
0085ce49
RD
31749 arg4 = &temp4;
31750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 31751 }
0085ce49
RD
31752 }
31753 if (obj4) {
d14a1e28 31754 {
0085ce49
RD
31755 arg5 = &temp5;
31756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 31757 }
0085ce49
RD
31758 }
31759 if (obj5) {
31760 ecode6 = SWIG_AsVal_long(obj5, &val6);
31761 if (!SWIG_IsOK(ecode6)) {
31762 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31763 }
31764 arg6 = static_cast< long >(val6);
31765 }
31766 if (obj6) {
093d3ff1 31767 {
0085ce49
RD
31768 arg7 = wxString_in_helper(obj6);
31769 if (arg7 == NULL) SWIG_fail;
31770 temp7 = true;
093d3ff1 31771 }
0085ce49
RD
31772 }
31773 {
31774 if (!wxPyCheckForApp()) SWIG_fail;
31775 PyThreadState* __tstate = wxPyBeginAllowThreads();
31776 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31777 wxPyEndAllowThreads(__tstate);
31778 if (PyErr_Occurred()) SWIG_fail;
31779 }
31780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
31781 {
31782 if (temp3)
31783 delete arg3;
31784 }
31785 {
31786 if (temp7)
31787 delete arg7;
31788 }
31789 return resultobj;
31790fail:
31791 {
31792 if (temp3)
31793 delete arg3;
31794 }
31795 {
31796 if (temp7)
31797 delete arg7;
31798 }
31799 return NULL;
d14a1e28
RD
31800}
31801
31802
0085ce49
RD
31803SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31804 PyObject *resultobj = 0;
31805 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31806 void *argp1 = 0 ;
31807 int res1 = 0 ;
31808 PyObject *swig_obj[1] ;
31809
31810 if (!args) SWIG_fail;
31811 swig_obj[0] = args;
31812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31813 if (!SWIG_IsOK(res1)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31815 }
31816 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31817 {
31818 PyThreadState* __tstate = wxPyBeginAllowThreads();
31819 (arg1)->Initialize();
31820 wxPyEndAllowThreads(__tstate);
31821 if (PyErr_Occurred()) SWIG_fail;
31822 }
31823 resultobj = SWIG_Py_Void();
31824 return resultobj;
31825fail:
31826 return NULL;
d14a1e28
RD
31827}
31828
31829
0085ce49
RD
31830SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31831 PyObject *resultobj = 0;
31832 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31833 void *argp1 = 0 ;
31834 int res1 = 0 ;
31835 PyObject *swig_obj[1] ;
31836
31837 if (!args) SWIG_fail;
31838 swig_obj[0] = args;
31839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31840 if (!SWIG_IsOK(res1)) {
31841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31842 }
31843 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31844 {
31845 PyThreadState* __tstate = wxPyBeginAllowThreads();
31846 (arg1)->CreateControlBar();
31847 wxPyEndAllowThreads(__tstate);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
31850 resultobj = SWIG_Py_Void();
31851 return resultobj;
31852fail:
31853 return NULL;
d14a1e28
RD
31854}
31855
31856
0085ce49
RD
31857SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31858 PyObject *resultobj = 0;
31859 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31860 void *argp1 = 0 ;
31861 int res1 = 0 ;
31862 PyObject *swig_obj[1] ;
31863
31864 if (!args) SWIG_fail;
31865 swig_obj[0] = args;
31866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31867 if (!SWIG_IsOK(res1)) {
31868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31869 }
31870 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31871 {
31872 PyThreadState* __tstate = wxPyBeginAllowThreads();
31873 (arg1)->CreateCanvas();
31874 wxPyEndAllowThreads(__tstate);
31875 if (PyErr_Occurred()) SWIG_fail;
31876 }
31877 resultobj = SWIG_Py_Void();
31878 return resultobj;
31879fail:
31880 return NULL;
d14a1e28
RD
31881}
31882
31883
0085ce49
RD
31884SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31885 PyObject *resultobj = 0;
31886 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31887 wxPreviewControlBar *result = 0 ;
31888 void *argp1 = 0 ;
31889 int res1 = 0 ;
31890 PyObject *swig_obj[1] ;
31891
31892 if (!args) SWIG_fail;
31893 swig_obj[0] = args;
31894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31895 if (!SWIG_IsOK(res1)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31897 }
31898 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31899 {
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31906 return resultobj;
31907fail:
31908 return NULL;
31909}
31910
31911
31912SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31913 PyObject *obj;
31914 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31915 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
31916 return SWIG_Py_Void();
31917}
31918
31919SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31920 return SWIG_Python_InitShadowInstance(args);
31921}
31922
31923SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31924 PyObject *resultobj = 0;
31925 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31926 long arg2 ;
31927 wxWindow *arg3 = (wxWindow *) 0 ;
31928 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31929 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31930 wxSize const &arg5_defvalue = wxDefaultSize ;
31931 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31932 long arg6 = (long) wxTAB_TRAVERSAL ;
31933 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31934 wxString *arg7 = (wxString *) &arg7_defvalue ;
31935 wxPreviewControlBar *result = 0 ;
31936 void *argp1 = 0 ;
31937 int res1 = 0 ;
31938 long val2 ;
31939 int ecode2 = 0 ;
31940 void *argp3 = 0 ;
31941 int res3 = 0 ;
31942 wxPoint temp4 ;
31943 wxSize temp5 ;
31944 long val6 ;
31945 int ecode6 = 0 ;
31946 bool temp7 = false ;
31947 PyObject * obj0 = 0 ;
31948 PyObject * obj1 = 0 ;
31949 PyObject * obj2 = 0 ;
31950 PyObject * obj3 = 0 ;
31951 PyObject * obj4 = 0 ;
31952 PyObject * obj5 = 0 ;
31953 PyObject * obj6 = 0 ;
31954 char * kwnames[] = {
31955 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31956 };
31957
31958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31960 if (!SWIG_IsOK(res1)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31962 }
31963 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31964 ecode2 = SWIG_AsVal_long(obj1, &val2);
31965 if (!SWIG_IsOK(ecode2)) {
31966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31967 }
31968 arg2 = static_cast< long >(val2);
31969 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31970 if (!SWIG_IsOK(res3)) {
31971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31972 }
31973 arg3 = reinterpret_cast< wxWindow * >(argp3);
31974 if (obj3) {
d14a1e28 31975 {
0085ce49
RD
31976 arg4 = &temp4;
31977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 31978 }
0085ce49
RD
31979 }
31980 if (obj4) {
d14a1e28 31981 {
0085ce49
RD
31982 arg5 = &temp5;
31983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 31984 }
0085ce49
RD
31985 }
31986 if (obj5) {
31987 ecode6 = SWIG_AsVal_long(obj5, &val6);
31988 if (!SWIG_IsOK(ecode6)) {
31989 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31990 }
31991 arg6 = static_cast< long >(val6);
31992 }
31993 if (obj6) {
d14a1e28 31994 {
0085ce49
RD
31995 arg7 = wxString_in_helper(obj6);
31996 if (arg7 == NULL) SWIG_fail;
31997 temp7 = true;
d14a1e28 31998 }
0085ce49
RD
31999 }
32000 {
32001 if (!wxPyCheckForApp()) SWIG_fail;
32002 PyThreadState* __tstate = wxPyBeginAllowThreads();
32003 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
32004 wxPyEndAllowThreads(__tstate);
32005 if (PyErr_Occurred()) SWIG_fail;
32006 }
32007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
32008 {
32009 if (temp7)
32010 delete arg7;
32011 }
32012 return resultobj;
32013fail:
32014 {
32015 if (temp7)
32016 delete arg7;
32017 }
32018 return NULL;
d14a1e28
RD
32019}
32020
32021
0085ce49
RD
32022SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32023 PyObject *resultobj = 0;
32024 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32025 int result;
32026 void *argp1 = 0 ;
32027 int res1 = 0 ;
32028 PyObject *swig_obj[1] ;
32029
32030 if (!args) SWIG_fail;
32031 swig_obj[0] = args;
32032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32033 if (!SWIG_IsOK(res1)) {
32034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32035 }
32036 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32037 {
32038 PyThreadState* __tstate = wxPyBeginAllowThreads();
32039 result = (int)(arg1)->GetZoomControl();
32040 wxPyEndAllowThreads(__tstate);
32041 if (PyErr_Occurred()) SWIG_fail;
32042 }
32043 resultobj = SWIG_From_int(static_cast< int >(result));
32044 return resultobj;
32045fail:
32046 return NULL;
32047}
32048
32049
32050SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32051 PyObject *resultobj = 0;
32052 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32053 int arg2 ;
32054 void *argp1 = 0 ;
32055 int res1 = 0 ;
32056 int val2 ;
32057 int ecode2 = 0 ;
32058 PyObject * obj0 = 0 ;
32059 PyObject * obj1 = 0 ;
32060 char * kwnames[] = {
32061 (char *) "self",(char *) "zoom", NULL
32062 };
32063
32064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
32065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32066 if (!SWIG_IsOK(res1)) {
32067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32068 }
32069 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32070 ecode2 = SWIG_AsVal_int(obj1, &val2);
32071 if (!SWIG_IsOK(ecode2)) {
32072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32073 }
32074 arg2 = static_cast< int >(val2);
32075 {
32076 PyThreadState* __tstate = wxPyBeginAllowThreads();
32077 (arg1)->SetZoomControl(arg2);
32078 wxPyEndAllowThreads(__tstate);
32079 if (PyErr_Occurred()) SWIG_fail;
32080 }
32081 resultobj = SWIG_Py_Void();
32082 return resultobj;
32083fail:
32084 return NULL;
d14a1e28
RD
32085}
32086
32087
0085ce49
RD
32088SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32089 PyObject *resultobj = 0;
32090 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32091 wxPrintPreview *result = 0 ;
32092 void *argp1 = 0 ;
32093 int res1 = 0 ;
32094 PyObject *swig_obj[1] ;
32095
32096 if (!args) SWIG_fail;
32097 swig_obj[0] = args;
32098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32099 if (!SWIG_IsOK(res1)) {
32100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32101 }
32102 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32103 {
32104 PyThreadState* __tstate = wxPyBeginAllowThreads();
32105 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
32106 wxPyEndAllowThreads(__tstate);
32107 if (PyErr_Occurred()) SWIG_fail;
32108 }
32109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32110 return resultobj;
32111fail:
32112 return NULL;
d14a1e28
RD
32113}
32114
32115
0085ce49
RD
32116SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32117 PyObject *resultobj = 0;
32118 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32119 void *argp1 = 0 ;
32120 int res1 = 0 ;
32121 PyObject *swig_obj[1] ;
32122
32123 if (!args) SWIG_fail;
32124 swig_obj[0] = args;
32125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32126 if (!SWIG_IsOK(res1)) {
32127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32128 }
32129 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32130 {
32131 PyThreadState* __tstate = wxPyBeginAllowThreads();
32132 (arg1)->OnNext();
32133 wxPyEndAllowThreads(__tstate);
32134 if (PyErr_Occurred()) SWIG_fail;
32135 }
32136 resultobj = SWIG_Py_Void();
32137 return resultobj;
32138fail:
32139 return NULL;
d14a1e28
RD
32140}
32141
32142
0085ce49
RD
32143SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32144 PyObject *resultobj = 0;
32145 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32146 void *argp1 = 0 ;
32147 int res1 = 0 ;
32148 PyObject *swig_obj[1] ;
32149
32150 if (!args) SWIG_fail;
32151 swig_obj[0] = args;
32152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32153 if (!SWIG_IsOK(res1)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32155 }
32156 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32157 {
32158 PyThreadState* __tstate = wxPyBeginAllowThreads();
32159 (arg1)->OnPrevious();
32160 wxPyEndAllowThreads(__tstate);
32161 if (PyErr_Occurred()) SWIG_fail;
32162 }
32163 resultobj = SWIG_Py_Void();
32164 return resultobj;
32165fail:
32166 return NULL;
d14a1e28
RD
32167}
32168
32169
0085ce49
RD
32170SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32171 PyObject *resultobj = 0;
32172 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32173 void *argp1 = 0 ;
32174 int res1 = 0 ;
32175 PyObject *swig_obj[1] ;
32176
32177 if (!args) SWIG_fail;
32178 swig_obj[0] = args;
32179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32180 if (!SWIG_IsOK(res1)) {
32181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32182 }
32183 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32184 {
32185 PyThreadState* __tstate = wxPyBeginAllowThreads();
32186 (arg1)->OnFirst();
32187 wxPyEndAllowThreads(__tstate);
32188 if (PyErr_Occurred()) SWIG_fail;
32189 }
32190 resultobj = SWIG_Py_Void();
32191 return resultobj;
32192fail:
32193 return NULL;
d14a1e28
RD
32194}
32195
32196
0085ce49
RD
32197SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32198 PyObject *resultobj = 0;
32199 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32200 void *argp1 = 0 ;
32201 int res1 = 0 ;
32202 PyObject *swig_obj[1] ;
32203
32204 if (!args) SWIG_fail;
32205 swig_obj[0] = args;
32206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32207 if (!SWIG_IsOK(res1)) {
32208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32209 }
32210 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32211 {
32212 PyThreadState* __tstate = wxPyBeginAllowThreads();
32213 (arg1)->OnLast();
32214 wxPyEndAllowThreads(__tstate);
32215 if (PyErr_Occurred()) SWIG_fail;
32216 }
32217 resultobj = SWIG_Py_Void();
32218 return resultobj;
32219fail:
32220 return NULL;
d14a1e28
RD
32221}
32222
32223
0085ce49
RD
32224SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32225 PyObject *resultobj = 0;
32226 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32227 void *argp1 = 0 ;
32228 int res1 = 0 ;
32229 PyObject *swig_obj[1] ;
32230
32231 if (!args) SWIG_fail;
32232 swig_obj[0] = args;
32233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32234 if (!SWIG_IsOK(res1)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32236 }
32237 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32238 {
32239 PyThreadState* __tstate = wxPyBeginAllowThreads();
32240 (arg1)->OnGoto();
32241 wxPyEndAllowThreads(__tstate);
32242 if (PyErr_Occurred()) SWIG_fail;
32243 }
32244 resultobj = SWIG_Py_Void();
32245 return resultobj;
32246fail:
32247 return NULL;
d14a1e28
RD
32248}
32249
32250
0085ce49
RD
32251SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32252 PyObject *obj;
32253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
32255 return SWIG_Py_Void();
d14a1e28
RD
32256}
32257
0085ce49
RD
32258SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32259 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
32260}
32261
0085ce49
RD
32262SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32263 PyObject *resultobj = 0;
32264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32265 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32266 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
32267 wxPrintPreview *result = 0 ;
32268 int res1 = 0 ;
32269 int res2 = 0 ;
32270 void *argp3 = 0 ;
32271 int res3 = 0 ;
32272
32273 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
32274 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32275 if (!SWIG_IsOK(res1)) {
32276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32277 }
32278 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32279 if (!SWIG_IsOK(res2)) {
32280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32281 }
32282 if (swig_obj[2]) {
32283 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32284 if (!SWIG_IsOK(res3)) {
32285 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
1cb4a8aa 32286 }
0085ce49
RD
32287 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
32288 }
32289 {
32290 if (!wxPyCheckForApp()) SWIG_fail;
32291 PyThreadState* __tstate = wxPyBeginAllowThreads();
32292 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32293 wxPyEndAllowThreads(__tstate);
32294 if (PyErr_Occurred()) SWIG_fail;
32295 }
32296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32297 return resultobj;
32298fail:
32299 return NULL;
32300}
32301
32302
32303SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32304 PyObject *resultobj = 0;
32305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32306 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32307 wxPrintData *arg3 = (wxPrintData *) 0 ;
32308 wxPrintPreview *result = 0 ;
32309 int res1 = 0 ;
32310 int res2 = 0 ;
32311 void *argp3 = 0 ;
32312 int res3 = 0 ;
32313
32314 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
32315 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32316 if (!SWIG_IsOK(res1)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32318 }
32319 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32320 if (!SWIG_IsOK(res2)) {
32321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32322 }
32323 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
32324 if (!SWIG_IsOK(res3)) {
32325 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32326 }
32327 arg3 = reinterpret_cast< wxPrintData * >(argp3);
32328 {
32329 if (!wxPyCheckForApp()) SWIG_fail;
32330 PyThreadState* __tstate = wxPyBeginAllowThreads();
32331 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32332 wxPyEndAllowThreads(__tstate);
32333 if (PyErr_Occurred()) SWIG_fail;
32334 }
32335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32336 return resultobj;
32337fail:
32338 return NULL;
1cb4a8aa
RD
32339}
32340
32341
0085ce49
RD
32342SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
32343 int argc;
32344 PyObject *argv[4];
32345
32346 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
32347 --argc;
32348 if ((argc >= 2) && (argc <= 3)) {
32349 int _v = 0;
32350 if (argc > 2) {
32351 {
32352 void *vptr = 0;
32353 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
32354 _v = SWIG_CheckState(res);
32355 }
32356 if (!_v) goto check_1;
db3e571a 32357 }
0085ce49
RD
32358 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
32359 }
32360check_1:
32361
32362 if (argc == 3) {
32363 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
32364 }
32365
32366fail:
32367 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
32368 return NULL;
db3e571a
RD
32369}
32370
32371
0085ce49
RD
32372SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32373 PyObject *resultobj = 0;
32374 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32375 void *argp1 = 0 ;
32376 int res1 = 0 ;
32377 PyObject *swig_obj[1] ;
32378
32379 if (!args) SWIG_fail;
32380 swig_obj[0] = args;
32381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
32382 if (!SWIG_IsOK(res1)) {
32383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32384 }
32385 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32386 {
32387 PyThreadState* __tstate = wxPyBeginAllowThreads();
32388 delete arg1;
32389
32390 wxPyEndAllowThreads(__tstate);
32391 if (PyErr_Occurred()) SWIG_fail;
32392 }
32393 resultobj = SWIG_Py_Void();
32394 return resultobj;
32395fail:
32396 return NULL;
32397}
32398
32399
32400SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32401 PyObject *resultobj = 0;
32402 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32403 int arg2 ;
32404 bool result;
32405 void *argp1 = 0 ;
32406 int res1 = 0 ;
32407 int val2 ;
32408 int ecode2 = 0 ;
32409 PyObject * obj0 = 0 ;
32410 PyObject * obj1 = 0 ;
32411 char * kwnames[] = {
32412 (char *) "self",(char *) "pageNum", NULL
32413 };
32414
32415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
32416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32417 if (!SWIG_IsOK(res1)) {
32418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32419 }
32420 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32421 ecode2 = SWIG_AsVal_int(obj1, &val2);
32422 if (!SWIG_IsOK(ecode2)) {
32423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32424 }
32425 arg2 = static_cast< int >(val2);
32426 {
32427 PyThreadState* __tstate = wxPyBeginAllowThreads();
32428 result = (bool)(arg1)->SetCurrentPage(arg2);
32429 wxPyEndAllowThreads(__tstate);
32430 if (PyErr_Occurred()) SWIG_fail;
32431 }
32432 {
32433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32434 }
32435 return resultobj;
32436fail:
32437 return NULL;
8d38bd1d
RD
32438}
32439
32440
0085ce49
RD
32441SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32442 PyObject *resultobj = 0;
32443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32444 int result;
32445 void *argp1 = 0 ;
32446 int res1 = 0 ;
32447 PyObject *swig_obj[1] ;
32448
32449 if (!args) SWIG_fail;
32450 swig_obj[0] = args;
32451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32452 if (!SWIG_IsOK(res1)) {
32453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32454 }
32455 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32456 {
32457 PyThreadState* __tstate = wxPyBeginAllowThreads();
32458 result = (int)(arg1)->GetCurrentPage();
32459 wxPyEndAllowThreads(__tstate);
32460 if (PyErr_Occurred()) SWIG_fail;
32461 }
32462 resultobj = SWIG_From_int(static_cast< int >(result));
32463 return resultobj;
32464fail:
32465 return NULL;
32466}
32467
32468
32469SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32470 PyObject *resultobj = 0;
32471 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32472 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32473 void *argp1 = 0 ;
32474 int res1 = 0 ;
32475 int res2 = 0 ;
32476 PyObject * obj0 = 0 ;
32477 PyObject * obj1 = 0 ;
32478 char * kwnames[] = {
32479 (char *) "self",(char *) "printout", NULL
32480 };
32481
32482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
32483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32484 if (!SWIG_IsOK(res1)) {
32485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32486 }
32487 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32488 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32489 if (!SWIG_IsOK(res2)) {
32490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32491 }
32492 {
32493 PyThreadState* __tstate = wxPyBeginAllowThreads();
32494 (arg1)->SetPrintout(arg2);
32495 wxPyEndAllowThreads(__tstate);
32496 if (PyErr_Occurred()) SWIG_fail;
32497 }
32498 resultobj = SWIG_Py_Void();
32499 return resultobj;
32500fail:
32501 return NULL;
d14a1e28
RD
32502}
32503
32504
0085ce49
RD
32505SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32506 PyObject *resultobj = 0;
32507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32508 wxPyPrintout *result = 0 ;
32509 void *argp1 = 0 ;
32510 int res1 = 0 ;
32511 PyObject *swig_obj[1] ;
32512
32513 if (!args) SWIG_fail;
32514 swig_obj[0] = args;
32515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32516 if (!SWIG_IsOK(res1)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32518 }
32519 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32520 {
32521 PyThreadState* __tstate = wxPyBeginAllowThreads();
32522 result = (wxPyPrintout *)(arg1)->GetPrintout();
32523 wxPyEndAllowThreads(__tstate);
32524 if (PyErr_Occurred()) SWIG_fail;
32525 }
32526 {
32527 resultobj = wxPyMake_wxObject(result, 0);
32528 }
32529 return resultobj;
32530fail:
32531 return NULL;
1cb4a8aa
RD
32532}
32533
32534
0085ce49
RD
32535SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32536 PyObject *resultobj = 0;
32537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32538 wxPyPrintout *result = 0 ;
32539 void *argp1 = 0 ;
32540 int res1 = 0 ;
32541 PyObject *swig_obj[1] ;
32542
32543 if (!args) SWIG_fail;
32544 swig_obj[0] = args;
32545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32546 if (!SWIG_IsOK(res1)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32548 }
32549 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32550 {
32551 PyThreadState* __tstate = wxPyBeginAllowThreads();
32552 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
32553 wxPyEndAllowThreads(__tstate);
32554 if (PyErr_Occurred()) SWIG_fail;
32555 }
32556 {
32557 resultobj = wxPyMake_wxObject(result, 0);
32558 }
32559 return resultobj;
32560fail:
32561 return NULL;
32562}
32563
32564
32565SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32566 PyObject *resultobj = 0;
32567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32568 wxFrame *arg2 = (wxFrame *) 0 ;
32569 void *argp1 = 0 ;
32570 int res1 = 0 ;
32571 void *argp2 = 0 ;
32572 int res2 = 0 ;
32573 PyObject * obj0 = 0 ;
32574 PyObject * obj1 = 0 ;
32575 char * kwnames[] = {
32576 (char *) "self",(char *) "frame", NULL
32577 };
32578
32579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
32580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32581 if (!SWIG_IsOK(res1)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32583 }
32584 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
32586 if (!SWIG_IsOK(res2)) {
32587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32588 }
32589 arg2 = reinterpret_cast< wxFrame * >(argp2);
32590 {
32591 PyThreadState* __tstate = wxPyBeginAllowThreads();
32592 (arg1)->SetFrame(arg2);
32593 wxPyEndAllowThreads(__tstate);
32594 if (PyErr_Occurred()) SWIG_fail;
32595 }
32596 resultobj = SWIG_Py_Void();
32597 return resultobj;
32598fail:
32599 return NULL;
32600}
32601
32602
32603SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32604 PyObject *resultobj = 0;
32605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32606 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32607 void *argp1 = 0 ;
32608 int res1 = 0 ;
32609 void *argp2 = 0 ;
32610 int res2 = 0 ;
32611 PyObject * obj0 = 0 ;
32612 PyObject * obj1 = 0 ;
32613 char * kwnames[] = {
32614 (char *) "self",(char *) "canvas", NULL
32615 };
32616
32617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
32618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32619 if (!SWIG_IsOK(res1)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32621 }
32622 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32624 if (!SWIG_IsOK(res2)) {
32625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32626 }
32627 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32628 {
32629 PyThreadState* __tstate = wxPyBeginAllowThreads();
32630 (arg1)->SetCanvas(arg2);
32631 wxPyEndAllowThreads(__tstate);
32632 if (PyErr_Occurred()) SWIG_fail;
32633 }
32634 resultobj = SWIG_Py_Void();
32635 return resultobj;
32636fail:
32637 return NULL;
d14a1e28
RD
32638}
32639
32640
0085ce49
RD
32641SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32642 PyObject *resultobj = 0;
32643 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32644 wxFrame *result = 0 ;
32645 void *argp1 = 0 ;
32646 int res1 = 0 ;
32647 PyObject *swig_obj[1] ;
32648
32649 if (!args) SWIG_fail;
32650 swig_obj[0] = args;
32651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32652 if (!SWIG_IsOK(res1)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32654 }
32655 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32656 {
32657 PyThreadState* __tstate = wxPyBeginAllowThreads();
32658 result = (wxFrame *)(arg1)->GetFrame();
32659 wxPyEndAllowThreads(__tstate);
32660 if (PyErr_Occurred()) SWIG_fail;
32661 }
32662 {
32663 resultobj = wxPyMake_wxObject(result, 0);
32664 }
32665 return resultobj;
32666fail:
32667 return NULL;
db3e571a
RD
32668}
32669
32670
0085ce49
RD
32671SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32672 PyObject *resultobj = 0;
32673 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32674 wxPreviewCanvas *result = 0 ;
32675 void *argp1 = 0 ;
32676 int res1 = 0 ;
32677 PyObject *swig_obj[1] ;
32678
32679 if (!args) SWIG_fail;
32680 swig_obj[0] = args;
32681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32682 if (!SWIG_IsOK(res1)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32684 }
32685 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32686 {
32687 PyThreadState* __tstate = wxPyBeginAllowThreads();
32688 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
32689 wxPyEndAllowThreads(__tstate);
32690 if (PyErr_Occurred()) SWIG_fail;
32691 }
32692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32693 return resultobj;
32694fail:
32695 return NULL;
32696}
32697
32698
32699SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32700 PyObject *resultobj = 0;
32701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32702 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32703 wxDC *arg3 = 0 ;
32704 bool result;
32705 void *argp1 = 0 ;
32706 int res1 = 0 ;
32707 void *argp2 = 0 ;
32708 int res2 = 0 ;
32709 void *argp3 = 0 ;
32710 int res3 = 0 ;
32711 PyObject * obj0 = 0 ;
32712 PyObject * obj1 = 0 ;
32713 PyObject * obj2 = 0 ;
32714 char * kwnames[] = {
32715 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32716 };
32717
32718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32720 if (!SWIG_IsOK(res1)) {
32721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32722 }
32723 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32724 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32725 if (!SWIG_IsOK(res2)) {
32726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32727 }
32728 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32729 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32730 if (!SWIG_IsOK(res3)) {
32731 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32732 }
32733 if (!argp3) {
32734 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32735 }
32736 arg3 = reinterpret_cast< wxDC * >(argp3);
32737 {
32738 PyThreadState* __tstate = wxPyBeginAllowThreads();
32739 result = (bool)(arg1)->PaintPage(arg2,*arg3);
32740 wxPyEndAllowThreads(__tstate);
32741 if (PyErr_Occurred()) SWIG_fail;
32742 }
32743 {
32744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32745 }
32746 return resultobj;
32747fail:
32748 return NULL;
32749}
32750
32751
32752SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32753 PyObject *resultobj = 0;
32754 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32755 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32756 wxDC *arg3 = 0 ;
32757 bool result;
32758 void *argp1 = 0 ;
32759 int res1 = 0 ;
32760 void *argp2 = 0 ;
32761 int res2 = 0 ;
32762 void *argp3 = 0 ;
32763 int res3 = 0 ;
32764 PyObject * obj0 = 0 ;
32765 PyObject * obj1 = 0 ;
32766 PyObject * obj2 = 0 ;
32767 char * kwnames[] = {
32768 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32769 };
32770
32771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32773 if (!SWIG_IsOK(res1)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32775 }
32776 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32777 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32778 if (!SWIG_IsOK(res2)) {
32779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32780 }
32781 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32782 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32783 if (!SWIG_IsOK(res3)) {
32784 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32785 }
32786 if (!argp3) {
32787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32788 }
32789 arg3 = reinterpret_cast< wxDC * >(argp3);
32790 {
32791 PyThreadState* __tstate = wxPyBeginAllowThreads();
32792 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
32793 wxPyEndAllowThreads(__tstate);
32794 if (PyErr_Occurred()) SWIG_fail;
32795 }
32796 {
32797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32798 }
32799 return resultobj;
32800fail:
32801 return NULL;
32802}
32803
32804
32805SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32806 PyObject *resultobj = 0;
32807 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32808 int arg2 ;
32809 bool result;
32810 void *argp1 = 0 ;
32811 int res1 = 0 ;
32812 int val2 ;
32813 int ecode2 = 0 ;
32814 PyObject * obj0 = 0 ;
32815 PyObject * obj1 = 0 ;
32816 char * kwnames[] = {
32817 (char *) "self",(char *) "pageNum", NULL
32818 };
32819
32820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
32821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32822 if (!SWIG_IsOK(res1)) {
32823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32824 }
32825 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32826 ecode2 = SWIG_AsVal_int(obj1, &val2);
32827 if (!SWIG_IsOK(ecode2)) {
32828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32829 }
32830 arg2 = static_cast< int >(val2);
32831 {
32832 PyThreadState* __tstate = wxPyBeginAllowThreads();
32833 result = (bool)(arg1)->RenderPage(arg2);
32834 wxPyEndAllowThreads(__tstate);
32835 if (PyErr_Occurred()) SWIG_fail;
32836 }
32837 {
32838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32839 }
32840 return resultobj;
32841fail:
32842 return NULL;
32843}
32844
32845
32846SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32847 PyObject *resultobj = 0;
32848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32849 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32850 void *argp1 = 0 ;
32851 int res1 = 0 ;
32852 void *argp2 = 0 ;
32853 int res2 = 0 ;
32854 PyObject * obj0 = 0 ;
32855 PyObject * obj1 = 0 ;
32856 char * kwnames[] = {
32857 (char *) "self",(char *) "canvas", NULL
32858 };
32859
32860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
32861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32862 if (!SWIG_IsOK(res1)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32864 }
32865 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32866 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32867 if (!SWIG_IsOK(res2)) {
32868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32869 }
32870 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32871 {
32872 PyThreadState* __tstate = wxPyBeginAllowThreads();
32873 (arg1)->AdjustScrollbars(arg2);
32874 wxPyEndAllowThreads(__tstate);
32875 if (PyErr_Occurred()) SWIG_fail;
32876 }
32877 resultobj = SWIG_Py_Void();
32878 return resultobj;
32879fail:
32880 return NULL;
976dbff5
RD
32881}
32882
32883
0085ce49
RD
32884SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32885 PyObject *resultobj = 0;
32886 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32887 wxPrintDialogData *result = 0 ;
32888 void *argp1 = 0 ;
32889 int res1 = 0 ;
32890 PyObject *swig_obj[1] ;
32891
32892 if (!args) SWIG_fail;
32893 swig_obj[0] = args;
32894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32895 if (!SWIG_IsOK(res1)) {
32896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32897 }
32898 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32899 {
32900 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 32901 {
0085ce49
RD
32902 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
32903 result = (wxPrintDialogData *) &_result_ref;
093d3ff1 32904 }
0085ce49
RD
32905 wxPyEndAllowThreads(__tstate);
32906 if (PyErr_Occurred()) SWIG_fail;
32907 }
32908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32909 return resultobj;
32910fail:
32911 return NULL;
32912}
32913
32914
32915SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32916 PyObject *resultobj = 0;
32917 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32918 int arg2 ;
32919 void *argp1 = 0 ;
32920 int res1 = 0 ;
32921 int val2 ;
32922 int ecode2 = 0 ;
32923 PyObject * obj0 = 0 ;
32924 PyObject * obj1 = 0 ;
32925 char * kwnames[] = {
32926 (char *) "self",(char *) "percent", NULL
32927 };
32928
32929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
32930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32931 if (!SWIG_IsOK(res1)) {
32932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32933 }
32934 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32935 ecode2 = SWIG_AsVal_int(obj1, &val2);
32936 if (!SWIG_IsOK(ecode2)) {
32937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32938 }
32939 arg2 = static_cast< int >(val2);
32940 {
32941 PyThreadState* __tstate = wxPyBeginAllowThreads();
32942 (arg1)->SetZoom(arg2);
32943 wxPyEndAllowThreads(__tstate);
32944 if (PyErr_Occurred()) SWIG_fail;
32945 }
32946 resultobj = SWIG_Py_Void();
32947 return resultobj;
32948fail:
32949 return NULL;
d14a1e28
RD
32950}
32951
32952
0085ce49
RD
32953SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32954 PyObject *resultobj = 0;
32955 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32956 int result;
32957 void *argp1 = 0 ;
32958 int res1 = 0 ;
32959 PyObject *swig_obj[1] ;
32960
32961 if (!args) SWIG_fail;
32962 swig_obj[0] = args;
32963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32964 if (!SWIG_IsOK(res1)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32966 }
32967 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32968 {
32969 PyThreadState* __tstate = wxPyBeginAllowThreads();
32970 result = (int)(arg1)->GetZoom();
32971 wxPyEndAllowThreads(__tstate);
32972 if (PyErr_Occurred()) SWIG_fail;
32973 }
32974 resultobj = SWIG_From_int(static_cast< int >(result));
32975 return resultobj;
32976fail:
32977 return NULL;
d14a1e28
RD
32978}
32979
32980
0085ce49
RD
32981SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32982 PyObject *resultobj = 0;
32983 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32984 int result;
32985 void *argp1 = 0 ;
32986 int res1 = 0 ;
32987 PyObject *swig_obj[1] ;
32988
32989 if (!args) SWIG_fail;
32990 swig_obj[0] = args;
32991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32992 if (!SWIG_IsOK(res1)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32994 }
32995 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32996 {
32997 PyThreadState* __tstate = wxPyBeginAllowThreads();
32998 result = (int)(arg1)->GetMaxPage();
32999 wxPyEndAllowThreads(__tstate);
33000 if (PyErr_Occurred()) SWIG_fail;
33001 }
33002 resultobj = SWIG_From_int(static_cast< int >(result));
33003 return resultobj;
33004fail:
33005 return NULL;
d14a1e28
RD
33006}
33007
33008
0085ce49
RD
33009SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33010 PyObject *resultobj = 0;
33011 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33012 int result;
33013 void *argp1 = 0 ;
33014 int res1 = 0 ;
33015 PyObject *swig_obj[1] ;
33016
33017 if (!args) SWIG_fail;
33018 swig_obj[0] = args;
33019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33020 if (!SWIG_IsOK(res1)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33022 }
33023 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33024 {
33025 PyThreadState* __tstate = wxPyBeginAllowThreads();
33026 result = (int)(arg1)->GetMinPage();
33027 wxPyEndAllowThreads(__tstate);
33028 if (PyErr_Occurred()) SWIG_fail;
33029 }
33030 resultobj = SWIG_From_int(static_cast< int >(result));
33031 return resultobj;
33032fail:
33033 return NULL;
d14a1e28
RD
33034}
33035
33036
b39fe951 33037SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
33038 PyObject *resultobj = 0;
33039 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33040 bool result;
33041 void *argp1 = 0 ;
33042 int res1 = 0 ;
33043 PyObject *swig_obj[1] ;
33044
33045 if (!args) SWIG_fail;
33046 swig_obj[0] = args;
33047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33048 if (!SWIG_IsOK(res1)) {
b39fe951 33049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
0085ce49
RD
33050 }
33051 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33052 {
33053 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 33054 result = (bool)(arg1)->IsOk();
0085ce49
RD
33055 wxPyEndAllowThreads(__tstate);
33056 if (PyErr_Occurred()) SWIG_fail;
33057 }
33058 {
33059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33060 }
33061 return resultobj;
33062fail:
33063 return NULL;
33064}
33065
33066
33067SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33068 PyObject *resultobj = 0;
33069 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33070 bool arg2 ;
33071 void *argp1 = 0 ;
33072 int res1 = 0 ;
33073 bool val2 ;
33074 int ecode2 = 0 ;
33075 PyObject * obj0 = 0 ;
33076 PyObject * obj1 = 0 ;
33077 char * kwnames[] = {
33078 (char *) "self",(char *) "ok", NULL
33079 };
33080
33081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
33082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33083 if (!SWIG_IsOK(res1)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33085 }
33086 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33088 if (!SWIG_IsOK(ecode2)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33090 }
33091 arg2 = static_cast< bool >(val2);
33092 {
33093 PyThreadState* __tstate = wxPyBeginAllowThreads();
33094 (arg1)->SetOk(arg2);
33095 wxPyEndAllowThreads(__tstate);
33096 if (PyErr_Occurred()) SWIG_fail;
33097 }
33098 resultobj = SWIG_Py_Void();
33099 return resultobj;
33100fail:
33101 return NULL;
33102}
33103
33104
33105SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33106 PyObject *resultobj = 0;
33107 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33108 bool arg2 ;
33109 bool result;
33110 void *argp1 = 0 ;
33111 int res1 = 0 ;
33112 bool val2 ;
33113 int ecode2 = 0 ;
33114 PyObject * obj0 = 0 ;
33115 PyObject * obj1 = 0 ;
33116 char * kwnames[] = {
33117 (char *) "self",(char *) "interactive", NULL
33118 };
33119
33120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
33121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33122 if (!SWIG_IsOK(res1)) {
33123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33124 }
33125 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33126 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33127 if (!SWIG_IsOK(ecode2)) {
33128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33129 }
33130 arg2 = static_cast< bool >(val2);
33131 {
33132 PyThreadState* __tstate = wxPyBeginAllowThreads();
33133 result = (bool)(arg1)->Print(arg2);
33134 wxPyEndAllowThreads(__tstate);
33135 if (PyErr_Occurred()) SWIG_fail;
33136 }
33137 {
33138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33139 }
33140 return resultobj;
33141fail:
33142 return NULL;
d14a1e28
RD
33143}
33144
33145
0085ce49
RD
33146SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33147 PyObject *resultobj = 0;
33148 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33149 void *argp1 = 0 ;
33150 int res1 = 0 ;
33151 PyObject *swig_obj[1] ;
33152
33153 if (!args) SWIG_fail;
33154 swig_obj[0] = args;
33155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33156 if (!SWIG_IsOK(res1)) {
33157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33158 }
33159 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33160 {
33161 PyThreadState* __tstate = wxPyBeginAllowThreads();
33162 (arg1)->DetermineScaling();
33163 wxPyEndAllowThreads(__tstate);
33164 if (PyErr_Occurred()) SWIG_fail;
33165 }
33166 resultobj = SWIG_Py_Void();
33167 return resultobj;
33168fail:
33169 return NULL;
d14a1e28
RD
33170}
33171
33172
0085ce49
RD
33173SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33174 PyObject *obj;
33175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
33177 return SWIG_Py_Void();
d14a1e28
RD
33178}
33179
0085ce49
RD
33180SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33181 return SWIG_Python_InitShadowInstance(args);
33182}
d14a1e28 33183
0085ce49
RD
33184SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33185 PyObject *resultobj = 0;
33186 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33187 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33188 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
33189 wxPyPrintPreview *result = 0 ;
33190 int res1 = 0 ;
33191 int res2 = 0 ;
33192 void *argp3 = 0 ;
33193 int res3 = 0 ;
33194
33195 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33196 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33197 if (!SWIG_IsOK(res1)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33199 }
33200 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33201 if (!SWIG_IsOK(res2)) {
33202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33203 }
33204 if (swig_obj[2]) {
33205 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33206 if (!SWIG_IsOK(res3)) {
33207 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d14a1e28 33208 }
0085ce49
RD
33209 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
33210 }
33211 {
33212 if (!wxPyCheckForApp()) SWIG_fail;
33213 PyThreadState* __tstate = wxPyBeginAllowThreads();
33214 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33215 wxPyEndAllowThreads(__tstate);
33216 if (PyErr_Occurred()) SWIG_fail;
33217 }
33218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33219 return resultobj;
33220fail:
33221 return NULL;
33222}
33223
33224
33225SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33226 PyObject *resultobj = 0;
33227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33228 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33229 wxPrintData *arg3 = (wxPrintData *) 0 ;
33230 wxPyPrintPreview *result = 0 ;
33231 int res1 = 0 ;
33232 int res2 = 0 ;
33233 void *argp3 = 0 ;
33234 int res3 = 0 ;
33235
33236 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
33237 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33238 if (!SWIG_IsOK(res1)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33240 }
33241 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33242 if (!SWIG_IsOK(res2)) {
33243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33244 }
33245 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
33246 if (!SWIG_IsOK(res3)) {
33247 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33248 }
33249 arg3 = reinterpret_cast< wxPrintData * >(argp3);
33250 {
33251 if (!wxPyCheckForApp()) SWIG_fail;
33252 PyThreadState* __tstate = wxPyBeginAllowThreads();
33253 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33254 wxPyEndAllowThreads(__tstate);
33255 if (PyErr_Occurred()) SWIG_fail;
33256 }
33257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33258 return resultobj;
33259fail:
33260 return NULL;
d14a1e28
RD
33261}
33262
33263
0085ce49
RD
33264SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
33265 int argc;
33266 PyObject *argv[4];
33267
33268 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
33269 --argc;
33270 if ((argc >= 2) && (argc <= 3)) {
33271 int _v = 0;
33272 if (argc > 2) {
33273 {
33274 void *vptr = 0;
33275 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
33276 _v = SWIG_CheckState(res);
33277 }
33278 if (!_v) goto check_1;
33279 }
33280 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
33281 }
33282check_1:
33283
33284 if (argc == 3) {
33285 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
33286 }
33287
33288fail:
33289 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
33290 return NULL;
33291}
33292
33293
33294SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33295 PyObject *resultobj = 0;
33296 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
33297 PyObject *arg2 = (PyObject *) 0 ;
33298 PyObject *arg3 = (PyObject *) 0 ;
33299 void *argp1 = 0 ;
33300 int res1 = 0 ;
33301 PyObject * obj0 = 0 ;
33302 PyObject * obj1 = 0 ;
33303 PyObject * obj2 = 0 ;
33304 char * kwnames[] = {
33305 (char *) "self",(char *) "self",(char *) "_class", NULL
33306 };
33307
33308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
33310 if (!SWIG_IsOK(res1)) {
33311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33312 }
33313 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
33314 arg2 = obj1;
33315 arg3 = obj2;
33316 {
33317 PyThreadState* __tstate = wxPyBeginAllowThreads();
33318 (arg1)->_setCallbackInfo(arg2,arg3);
33319 wxPyEndAllowThreads(__tstate);
33320 if (PyErr_Occurred()) SWIG_fail;
33321 }
33322 resultobj = SWIG_Py_Void();
33323 return resultobj;
33324fail:
33325 return NULL;
33326}
33327
33328
33329SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33330 PyObject *obj;
33331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
33333 return SWIG_Py_Void();
33334}
33335
33336SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33337 return SWIG_Python_InitShadowInstance(args);
33338}
33339
33340SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33341 PyObject *resultobj = 0;
33342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33343 wxFrame *arg2 = (wxFrame *) 0 ;
33344 wxString *arg3 = 0 ;
33345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33347 wxSize const &arg5_defvalue = wxDefaultSize ;
33348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33349 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
33350 wxString const &arg7_defvalue = wxPyFrameNameStr ;
33351 wxString *arg7 = (wxString *) &arg7_defvalue ;
33352 wxPyPreviewFrame *result = 0 ;
0085ce49
RD
33353 int res1 = 0 ;
33354 void *argp2 = 0 ;
33355 int res2 = 0 ;
33356 bool temp3 = false ;
33357 wxPoint temp4 ;
33358 wxSize temp5 ;
33359 long val6 ;
33360 int ecode6 = 0 ;
33361 bool temp7 = false ;
33362 PyObject * obj0 = 0 ;
33363 PyObject * obj1 = 0 ;
33364 PyObject * obj2 = 0 ;
33365 PyObject * obj3 = 0 ;
33366 PyObject * obj4 = 0 ;
33367 PyObject * obj5 = 0 ;
33368 PyObject * obj6 = 0 ;
33369 char * kwnames[] = {
33370 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33371 };
33372
33373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 33374 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
0085ce49 33375 if (!SWIG_IsOK(res1)) {
9057d6d4 33376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
0085ce49 33377 }
0085ce49
RD
33378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
33379 if (!SWIG_IsOK(res2)) {
33380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33381 }
33382 arg2 = reinterpret_cast< wxFrame * >(argp2);
33383 {
33384 arg3 = wxString_in_helper(obj2);
33385 if (arg3 == NULL) SWIG_fail;
33386 temp3 = true;
33387 }
33388 if (obj3) {
d14a1e28 33389 {
0085ce49
RD
33390 arg4 = &temp4;
33391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 33392 }
0085ce49
RD
33393 }
33394 if (obj4) {
d14a1e28 33395 {
0085ce49
RD
33396 arg5 = &temp5;
33397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 33398 }
0085ce49
RD
33399 }
33400 if (obj5) {
33401 ecode6 = SWIG_AsVal_long(obj5, &val6);
33402 if (!SWIG_IsOK(ecode6)) {
33403 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33404 }
33405 arg6 = static_cast< long >(val6);
33406 }
33407 if (obj6) {
db3e571a 33408 {
0085ce49
RD
33409 arg7 = wxString_in_helper(obj6);
33410 if (arg7 == NULL) SWIG_fail;
33411 temp7 = true;
db3e571a 33412 }
0085ce49
RD
33413 }
33414 {
33415 if (!wxPyCheckForApp()) SWIG_fail;
33416 PyThreadState* __tstate = wxPyBeginAllowThreads();
33417 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33418 wxPyEndAllowThreads(__tstate);
33419 if (PyErr_Occurred()) SWIG_fail;
33420 }
33421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
33422 {
33423 if (temp3)
33424 delete arg3;
33425 }
33426 {
33427 if (temp7)
33428 delete arg7;
33429 }
33430 return resultobj;
33431fail:
33432 {
33433 if (temp3)
33434 delete arg3;
33435 }
33436 {
33437 if (temp7)
33438 delete arg7;
33439 }
33440 return NULL;
33441}
33442
33443
33444SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33445 PyObject *resultobj = 0;
33446 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33447 PyObject *arg2 = (PyObject *) 0 ;
33448 PyObject *arg3 = (PyObject *) 0 ;
33449 void *argp1 = 0 ;
33450 int res1 = 0 ;
33451 PyObject * obj0 = 0 ;
33452 PyObject * obj1 = 0 ;
33453 PyObject * obj2 = 0 ;
33454 char * kwnames[] = {
33455 (char *) "self",(char *) "self",(char *) "_class", NULL
33456 };
33457
33458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33460 if (!SWIG_IsOK(res1)) {
33461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33462 }
33463 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33464 arg2 = obj1;
33465 arg3 = obj2;
33466 {
33467 PyThreadState* __tstate = wxPyBeginAllowThreads();
33468 (arg1)->_setCallbackInfo(arg2,arg3);
33469 wxPyEndAllowThreads(__tstate);
33470 if (PyErr_Occurred()) SWIG_fail;
33471 }
33472 resultobj = SWIG_Py_Void();
33473 return resultobj;
33474fail:
33475 return NULL;
33476}
33477
33478
33479SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33480 PyObject *resultobj = 0;
33481 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33482 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
33483 void *argp1 = 0 ;
33484 int res1 = 0 ;
33485 void *argp2 = 0 ;
33486 int res2 = 0 ;
33487 PyObject * obj0 = 0 ;
33488 PyObject * obj1 = 0 ;
33489 char * kwnames[] = {
33490 (char *) "self",(char *) "canvas", NULL
33491 };
33492
33493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
33494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33495 if (!SWIG_IsOK(res1)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33497 }
33498 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
33500 if (!SWIG_IsOK(res2)) {
33501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33502 }
33503 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33504 {
33505 PyThreadState* __tstate = wxPyBeginAllowThreads();
33506 (arg1)->SetPreviewCanvas(arg2);
33507 wxPyEndAllowThreads(__tstate);
33508 if (PyErr_Occurred()) SWIG_fail;
33509 }
33510 resultobj = SWIG_Py_Void();
33511 return resultobj;
33512fail:
33513 return NULL;
33514}
33515
33516
33517SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33518 PyObject *resultobj = 0;
33519 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33520 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
33521 void *argp1 = 0 ;
33522 int res1 = 0 ;
33523 void *argp2 = 0 ;
33524 int res2 = 0 ;
33525 PyObject * obj0 = 0 ;
33526 PyObject * obj1 = 0 ;
33527 char * kwnames[] = {
33528 (char *) "self",(char *) "bar", NULL
33529 };
33530
33531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
33532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33533 if (!SWIG_IsOK(res1)) {
33534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33535 }
33536 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33537 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
33538 if (!SWIG_IsOK(res2)) {
33539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33540 }
33541 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
33542 {
33543 PyThreadState* __tstate = wxPyBeginAllowThreads();
33544 (arg1)->SetControlBar(arg2);
33545 wxPyEndAllowThreads(__tstate);
33546 if (PyErr_Occurred()) SWIG_fail;
33547 }
33548 resultobj = SWIG_Py_Void();
33549 return resultobj;
33550fail:
33551 return NULL;
db3e571a
RD
33552}
33553
33554
0085ce49
RD
33555SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33556 PyObject *resultobj = 0;
33557 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33558 void *argp1 = 0 ;
33559 int res1 = 0 ;
33560 PyObject *swig_obj[1] ;
33561
33562 if (!args) SWIG_fail;
33563 swig_obj[0] = args;
33564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33565 if (!SWIG_IsOK(res1)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33567 }
33568 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33569 {
33570 PyThreadState* __tstate = wxPyBeginAllowThreads();
33571 (arg1)->Initialize();
33572 wxPyEndAllowThreads(__tstate);
33573 if (PyErr_Occurred()) SWIG_fail;
33574 }
33575 resultobj = SWIG_Py_Void();
33576 return resultobj;
33577fail:
33578 return NULL;
976dbff5
RD
33579}
33580
33581
0085ce49
RD
33582SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33583 PyObject *resultobj = 0;
33584 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33585 void *argp1 = 0 ;
33586 int res1 = 0 ;
33587 PyObject *swig_obj[1] ;
33588
33589 if (!args) SWIG_fail;
33590 swig_obj[0] = args;
33591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33592 if (!SWIG_IsOK(res1)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33594 }
33595 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33596 {
33597 PyThreadState* __tstate = wxPyBeginAllowThreads();
33598 (arg1)->CreateCanvas();
33599 wxPyEndAllowThreads(__tstate);
33600 if (PyErr_Occurred()) SWIG_fail;
33601 }
33602 resultobj = SWIG_Py_Void();
33603 return resultobj;
33604fail:
33605 return NULL;
1cb4a8aa
RD
33606}
33607
33608
0085ce49
RD
33609SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33610 PyObject *resultobj = 0;
33611 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33612 void *argp1 = 0 ;
33613 int res1 = 0 ;
33614 PyObject *swig_obj[1] ;
33615
33616 if (!args) SWIG_fail;
33617 swig_obj[0] = args;
33618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33619 if (!SWIG_IsOK(res1)) {
33620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33621 }
33622 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33623 {
33624 PyThreadState* __tstate = wxPyBeginAllowThreads();
33625 (arg1)->CreateControlBar();
33626 wxPyEndAllowThreads(__tstate);
33627 if (PyErr_Occurred()) SWIG_fail;
33628 }
33629 resultobj = SWIG_Py_Void();
33630 return resultobj;
33631fail:
33632 return NULL;
33633}
33634
33635
33636SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33637 PyObject *obj;
33638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33639 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
33640 return SWIG_Py_Void();
33641}
33642
33643SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33644 return SWIG_Python_InitShadowInstance(args);
33645}
33646
33647SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33648 PyObject *resultobj = 0;
33649 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33650 long arg2 ;
33651 wxWindow *arg3 = (wxWindow *) 0 ;
33652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33654 wxSize const &arg5_defvalue = wxDefaultSize ;
33655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33656 long arg6 = (long) 0 ;
33657 wxString const &arg7_defvalue = wxPyPanelNameStr ;
33658 wxString *arg7 = (wxString *) &arg7_defvalue ;
33659 wxPyPreviewControlBar *result = 0 ;
0085ce49
RD
33660 int res1 = 0 ;
33661 long val2 ;
33662 int ecode2 = 0 ;
33663 void *argp3 = 0 ;
33664 int res3 = 0 ;
33665 wxPoint temp4 ;
33666 wxSize temp5 ;
33667 long val6 ;
33668 int ecode6 = 0 ;
33669 bool temp7 = false ;
33670 PyObject * obj0 = 0 ;
33671 PyObject * obj1 = 0 ;
33672 PyObject * obj2 = 0 ;
33673 PyObject * obj3 = 0 ;
33674 PyObject * obj4 = 0 ;
33675 PyObject * obj5 = 0 ;
33676 PyObject * obj6 = 0 ;
33677 char * kwnames[] = {
33678 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33679 };
33680
33681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 33682 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
0085ce49 33683 if (!SWIG_IsOK(res1)) {
9057d6d4 33684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
0085ce49 33685 }
0085ce49
RD
33686 ecode2 = SWIG_AsVal_long(obj1, &val2);
33687 if (!SWIG_IsOK(ecode2)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33689 }
33690 arg2 = static_cast< long >(val2);
33691 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
33692 if (!SWIG_IsOK(res3)) {
33693 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33694 }
33695 arg3 = reinterpret_cast< wxWindow * >(argp3);
33696 if (obj3) {
093d3ff1 33697 {
0085ce49
RD
33698 arg4 = &temp4;
33699 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 33700 }
0085ce49
RD
33701 }
33702 if (obj4) {
093d3ff1 33703 {
0085ce49
RD
33704 arg5 = &temp5;
33705 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 33706 }
0085ce49
RD
33707 }
33708 if (obj5) {
33709 ecode6 = SWIG_AsVal_long(obj5, &val6);
33710 if (!SWIG_IsOK(ecode6)) {
33711 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33712 }
33713 arg6 = static_cast< long >(val6);
33714 }
33715 if (obj6) {
093d3ff1 33716 {
0085ce49
RD
33717 arg7 = wxString_in_helper(obj6);
33718 if (arg7 == NULL) SWIG_fail;
33719 temp7 = true;
093d3ff1 33720 }
0085ce49
RD
33721 }
33722 {
33723 if (!wxPyCheckForApp()) SWIG_fail;
33724 PyThreadState* __tstate = wxPyBeginAllowThreads();
33725 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33726 wxPyEndAllowThreads(__tstate);
33727 if (PyErr_Occurred()) SWIG_fail;
33728 }
33729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
33730 {
33731 if (temp7)
33732 delete arg7;
33733 }
33734 return resultobj;
33735fail:
33736 {
33737 if (temp7)
33738 delete arg7;
33739 }
33740 return NULL;
33741}
33742
33743
33744SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33745 PyObject *resultobj = 0;
33746 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33747 PyObject *arg2 = (PyObject *) 0 ;
33748 PyObject *arg3 = (PyObject *) 0 ;
33749 void *argp1 = 0 ;
33750 int res1 = 0 ;
33751 PyObject * obj0 = 0 ;
33752 PyObject * obj1 = 0 ;
33753 PyObject * obj2 = 0 ;
33754 char * kwnames[] = {
33755 (char *) "self",(char *) "self",(char *) "_class", NULL
33756 };
33757
33758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33760 if (!SWIG_IsOK(res1)) {
33761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33762 }
33763 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33764 arg2 = obj1;
33765 arg3 = obj2;
33766 {
33767 PyThreadState* __tstate = wxPyBeginAllowThreads();
33768 (arg1)->_setCallbackInfo(arg2,arg3);
33769 wxPyEndAllowThreads(__tstate);
33770 if (PyErr_Occurred()) SWIG_fail;
33771 }
33772 resultobj = SWIG_Py_Void();
33773 return resultobj;
33774fail:
33775 return NULL;
33776}
33777
33778
33779SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33780 PyObject *resultobj = 0;
33781 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33782 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
33783 void *argp1 = 0 ;
33784 int res1 = 0 ;
0085ce49
RD
33785 int res2 = 0 ;
33786 PyObject * obj0 = 0 ;
33787 PyObject * obj1 = 0 ;
33788 char * kwnames[] = {
33789 (char *) "self",(char *) "preview", NULL
33790 };
33791
33792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
33793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33794 if (!SWIG_IsOK(res1)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33796 }
33797 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
9057d6d4 33798 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
0085ce49 33799 if (!SWIG_IsOK(res2)) {
9057d6d4 33800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
0085ce49 33801 }
0085ce49
RD
33802 {
33803 PyThreadState* __tstate = wxPyBeginAllowThreads();
33804 (arg1)->SetPrintPreview(arg2);
33805 wxPyEndAllowThreads(__tstate);
33806 if (PyErr_Occurred()) SWIG_fail;
33807 }
33808 resultobj = SWIG_Py_Void();
33809 return resultobj;
33810fail:
33811 return NULL;
1cb4a8aa
RD
33812}
33813
33814
0085ce49
RD
33815SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33816 PyObject *resultobj = 0;
33817 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33818 void *argp1 = 0 ;
33819 int res1 = 0 ;
33820 PyObject *swig_obj[1] ;
33821
33822 if (!args) SWIG_fail;
33823 swig_obj[0] = args;
33824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33825 if (!SWIG_IsOK(res1)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33827 }
33828 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33829 {
33830 PyThreadState* __tstate = wxPyBeginAllowThreads();
33831 (arg1)->CreateButtons();
33832 wxPyEndAllowThreads(__tstate);
33833 if (PyErr_Occurred()) SWIG_fail;
33834 }
33835 resultobj = SWIG_Py_Void();
33836 return resultobj;
33837fail:
33838 return NULL;
33839}
33840
33841
33842SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33843 PyObject *resultobj = 0;
33844 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33845 int arg2 ;
33846 void *argp1 = 0 ;
33847 int res1 = 0 ;
33848 int val2 ;
33849 int ecode2 = 0 ;
33850 PyObject * obj0 = 0 ;
33851 PyObject * obj1 = 0 ;
33852 char * kwnames[] = {
33853 (char *) "self",(char *) "zoom", NULL
33854 };
33855
33856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
33857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33858 if (!SWIG_IsOK(res1)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33860 }
33861 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33862 ecode2 = SWIG_AsVal_int(obj1, &val2);
33863 if (!SWIG_IsOK(ecode2)) {
33864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33865 }
33866 arg2 = static_cast< int >(val2);
33867 {
33868 PyThreadState* __tstate = wxPyBeginAllowThreads();
33869 (arg1)->SetZoomControl(arg2);
33870 wxPyEndAllowThreads(__tstate);
33871 if (PyErr_Occurred()) SWIG_fail;
33872 }
33873 resultobj = SWIG_Py_Void();
33874 return resultobj;
33875fail:
33876 return NULL;
1cb4a8aa
RD
33877}
33878
33879
0085ce49
RD
33880SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33881 PyObject *obj;
33882 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
33884 return SWIG_Py_Void();
1cb4a8aa
RD
33885}
33886
0085ce49
RD
33887SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33888 return SWIG_Python_InitShadowInstance(args);
1cb4a8aa
RD
33889}
33890
d3b6e4ff 33891static PyMethodDef SwigMethods[] = {
093d3ff1 33892 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33893 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 33894 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33895 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
33896 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33897 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
0085ce49 33898 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 33899 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33900 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
33901 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33902 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
33903 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
33904 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33905 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33906 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33907 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 33908 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33909 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 33910 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
33911 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
33912 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
33913 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
33914 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
0085ce49 33915 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
33916 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
33917 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33918 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1
RD
33919 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
33920 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33921 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 33922 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 33923 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33924 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 33925 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33926 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
01f6b6d3 33927 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
0085ce49
RD
33928 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
33929 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
33930 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33931 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
33932 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33933 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 33934 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33935 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 33936 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33937 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
33938 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33939 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 33940 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33941 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 33942 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
10044bf1
RD
33943 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
33944 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33945 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33946 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
093d3ff1
RD
33947 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
33948 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33949 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 33950 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33951 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 33952 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33953 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
33954 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33955 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33956 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
33957 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33958 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33959 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33960 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33961 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33962 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33963 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 33964 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33965 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
33966 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
33967 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
33968 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
33969 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33970 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
0085ce49 33971 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 33972 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33973 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
33974 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33975 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33976 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 33977 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33978 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 33979 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33980 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
da9714b5 33981 { (char *)"Dialog_GetParentForModalDialog", (PyCFunction) _wrap_Dialog_GetParentForModalDialog, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 33982 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
33983 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33984 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 33985 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
33986 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
33987 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
33988 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
33989 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33990 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
0085ce49 33991 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 33992 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33993 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
33994 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33995 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
0085ce49 33996 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
33997 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33998 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 33999 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 34000 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34001 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 34002 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34003 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
34004 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
34005 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 34006 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
0085ce49 34007 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 34008 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34009 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
34010 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34011 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34012 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
34013 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34014 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34015 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34016 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34017 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
34018 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
34019 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
34020 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34021 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
34022 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
34023 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34024 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
0085ce49 34025 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 34026 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34027 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 34028 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34029 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
34030 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 34031 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34032 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
34033 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
34034 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
34035 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
34036 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
34037 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34038 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
34039 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
34040 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
34041 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34042 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
34043 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 34044 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34045 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 34046 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34047 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 34048 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34049 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 34050 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34051 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 34052 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34053 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
34054 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34055 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34056 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34057 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34058 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34059 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
34060 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
34061 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
34062 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 34063 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
0085ce49 34064 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 34065 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34066 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
34067 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34068 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34069 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34070 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
34071 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34072 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 34073 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34074 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
34075 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34076 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34077 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
34078 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
34079 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34080 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34081 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
34082 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 34083 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34084 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 34085 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34086 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34087 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34088 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34089 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 34090 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34091 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 34092 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34093 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 34094 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
0085ce49 34095 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34096 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34097 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34098 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 34099 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34100 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 34101 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34102 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 34103 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34104 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 34105 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34106 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 34107 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
0085ce49 34108 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34109 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34110 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34111 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 34112 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34113 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 34114 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
0085ce49 34115 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 34116 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34117 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 34118 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34119 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
34120 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
34121 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34122 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34123 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34124 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
0085ce49
RD
34125 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
34126 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
34127 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
34128 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34129 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34130 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34131 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
0085ce49 34132 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 34133 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34134 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
34135 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34136 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
34137 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34138 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 34139 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34140 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
34141 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34142 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34143 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 34144 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34145 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34146 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34147 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34148 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 34149 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34150 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
8c3a7183
RD
34151 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34152 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34153 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL},
34154 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL},
34155 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL},
34156 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34157 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34158 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34159 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL},
34160 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL},
34161 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34162 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL},
34163 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL},
34164 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL},
34165 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL},
34166 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL},
34167 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34168 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL},
34169 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL},
34170 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL},
34171 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL},
34172 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL},
34173 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL},
34174 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL},
34175 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL},
34176 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34177 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL},
34178 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34179 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34180 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34181 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL},
34182 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34183 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34184 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL},
34185 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL},
34186 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL},
34187 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34188 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL},
34189 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34190 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34191 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34192 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34193 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34194 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34195 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL},
34196 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL},
34197 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL},
34198 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL},
34199 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34200 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL},
093d3ff1 34201 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34202 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
34203 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34204 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8c3a7183
RD
34205 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34206 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL},
093d3ff1 34207 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34208 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34209 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
8c3a7183
RD
34210 { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34211 { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL},
34212 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34213 { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34214 { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34215 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34216 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34217 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL},
34218 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL},
34219 { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34220 { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL},
34221 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34222 { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34223 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34224 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34225 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34226 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34227 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL},
34228 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 34229 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34230 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
34231 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34232 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34233 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
34234 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
34235 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
34236 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
34237 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34238 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
34239 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 34240 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34241 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
34242 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 34243 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34244 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
34245 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34246 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34247 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
34248 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34249 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
34250 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
34251 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34252 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34253 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
cbfc9df6 34254 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
75219dcb
RD
34255 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34256 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34257 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
0085ce49 34258 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 34259 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34260 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
34261 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34262 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34263 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34264 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 34265 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34266 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
0085ce49 34267 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
f9bf356b
RD
34268 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34269 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
34270 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34271 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
34272 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
0085ce49
RD
34273 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
34274 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 34275 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34276 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
34277 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
34278 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 34279 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34280 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
34281 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34282 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
0085ce49 34283 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34284 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34285 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
0085ce49
RD
34286 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
34287 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
34288 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
34289 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
34290 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
34291 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34292 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
34293 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34294 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34295 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
0085ce49 34296 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 34297 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34298 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 34299 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34300 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 34301 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34302 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34303 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
34304 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
34305 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34306 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34307 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34308 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34309 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34310 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34311 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34312 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
34313 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34314 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34315 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34316 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
34317 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
34318 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
34319 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
34320 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
0085ce49
RD
34321 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
34322 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
34323 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 34324 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34325 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34326 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34327 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34328 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 34329 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34330 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 34331 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34332 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
34333 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
34334 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34335 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34336 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 34337 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34338 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
34339 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34340 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34341 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34342 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34343 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34344 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
34345 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34346 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
34347 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
34348 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
0085ce49
RD
34349 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
34350 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 34351 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34352 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
34353 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
34354 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
34355 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
34356 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
34357 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
34358 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
34359 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
34360 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34361 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
34362 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34363 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34364 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
0085ce49 34365 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 34366 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34367 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 34368 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34369 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 34370 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34371 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34372 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34373 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34374 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34375 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 34376 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34377 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 34378 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34379 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 34380 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34381 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
34382 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
34383 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
34384 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
34385 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34386 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34387 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34388 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
0085ce49 34389 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 34390 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34391 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
34392 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
34393 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
34394 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
34395 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34396 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34397 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34398 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
0085ce49 34399 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 34400 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34401 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 34402 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34403 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
34404 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34405 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34406 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 34407 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34408 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 34409 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34410 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
34411 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
34412 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
34413 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
34414 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
34415 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
093d3ff1
RD
34416 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
34417 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
0085ce49 34418 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 34419 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34420 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 34421 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34422 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 34423 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
0085ce49 34424 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 34425 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34426 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
34427 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34428 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34429 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 34430 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34431 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1 34432 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 34433 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
34434 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34438 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
34439 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
34440 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
34441 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
34442 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
34443 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
34444 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 34445 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34446 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 34447 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34448 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1 34449 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 34450 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
34451 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34452 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34455 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
34456 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
34457 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
34458 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
34459 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
34460 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
34461 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 34462 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
0085ce49 34463 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 34464 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34465 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1 34466 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 34467 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
34468 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34469 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34470 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34471 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34472 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
34473 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
34474 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
34475 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
34476 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
34477 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
34478 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 34479 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 34480 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 34481 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
0085ce49
RD
34482 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
34483 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
34484 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
34485 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
5172800e 34486 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
b39fe951 34487 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
0085ce49
RD
34488 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
34489 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
34490 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
34491 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
34492 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
34493 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
34494 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
34495 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 34496 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
093d3ff1
RD
34497 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
5172800e 34500 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34501 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34503 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
34504 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34505 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34506 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
34507 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 34509 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34510 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 34511 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34512 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 34513 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34514 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
0085ce49 34515 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 34516 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
0085ce49 34517 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
34518 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34519 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34520 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34523 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
34524 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
34525 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
34526 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
34527 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
34528 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
34529 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
34530 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
34531 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
34532 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
34533 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
34534 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
34535 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
34536 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 34537 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
093d3ff1
RD
34538 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34539 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34541 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34543 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34547 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
34548 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 34549 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
0085ce49 34550 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 34551 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 34552 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
0085ce49
RD
34553 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
34554 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
34555 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 34556 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34557 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 34558 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
0085ce49
RD
34559 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
34560 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
34561 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
34562 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
34563 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
34564 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
34565 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
34566 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
34567 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
34568 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
34569 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34571 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34575 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34577 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34578 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34579 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34580 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
34581 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34582 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
34583 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
34584 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
34585 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 34586 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
0085ce49 34587 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
34588 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34589 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
0085ce49 34590 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 34591 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 34592 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
0085ce49
RD
34593 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
34594 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
34595 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
34596 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 34597 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
0085ce49 34598 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 34599 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34600 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
34601 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34602 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34605 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34606 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
34607 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
34608 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 34609 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
0085ce49 34610 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 34611 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34612 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 34613 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34614 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
34615 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1 34616 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
34617 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
34618 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34619 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34620 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
34621 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
34622 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34623 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
34624 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
34625 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
34626 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
34627 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34628 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34629 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34630 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 34631 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34632 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 34633 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34634 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 34635 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34636 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
34637 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
0085ce49 34639 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 34640 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4 34641 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34642 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
34643 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
34644 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
34645 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
c26d9ab4 34646 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34647 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 34648 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
0085ce49 34649 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34650 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34651 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
0085ce49 34652 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 34653 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34654 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
34655 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
34656 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
34657 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 34658 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
0085ce49 34659 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 34660 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34661 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 34662 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34663 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
34664 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
34665 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
34666 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
34667 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
34668 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 34669 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
0085ce49 34670 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 34671 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
0085ce49 34672 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 34673 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34674 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 34675 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34676 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
34677 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
34678 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34679 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34680 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
34681 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
34682 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
34683 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
34684 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
34685 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34686 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 34687 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34688 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
34689 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
34690 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 34691 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
093d3ff1
RD
34692 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
34693 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34694 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 34695 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
0085ce49 34696 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34697 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
34698 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34699 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
0085ce49 34700 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34701 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34702 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34703 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34704 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
34705 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
34706 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
34707 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 34708 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
0085ce49 34709 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
34710 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 34713 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
c26d9ab4 34714 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 34715 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
0085ce49 34716 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 34717 { NULL, NULL, 0, NULL }
d14a1e28
RD
34718};
34719
34720
34721/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34722
34723static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
34724 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34725}
34726static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
34727 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
34728}
34729static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
34730 return (void *)((wxEvent *) ((wxMenuEvent *) x));
34731}
34732static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
34733 return (void *)((wxEvent *) ((wxCloseEvent *) x));
34734}
34735static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
34736 return (void *)((wxEvent *) ((wxMouseEvent *) x));
34737}
34738static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
34739 return (void *)((wxEvent *) ((wxEraseEvent *) x));
34740}
34741static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
34742 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
34743}
34744static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
34745 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34746}
34747static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
34748 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
34749}
34750static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
34751 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
34752}
34753static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
34754 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
34755}
d14a1e28
RD
34756static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
34757 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
34758}
34e0a3bb
RD
34759static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
34760 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
34761}
2131d850
RD
34762static void *_p_wxPyEventTo_p_wxEvent(void *x) {
34763 return (void *)((wxEvent *) ((wxPyEvent *) x));
34764}
d14a1e28
RD
34765static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
34766 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
34767}
34768static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
34769 return (void *)((wxEvent *) ((wxIdleEvent *) x));
34770}
34771static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
34772 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
34773}
34774static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
34775 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
34776}
34777static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
34778 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
34779}
34780static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
34781 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
34782}
34783static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
34784 return (void *)((wxEvent *) ((wxActivateEvent *) x));
34785}
34786static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
34787 return (void *)((wxEvent *) ((wxSizeEvent *) x));
34788}
34789static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
34790 return (void *)((wxEvent *) ((wxMoveEvent *) x));
34791}
53aa7709
RD
34792static void *_p_wxDateEventTo_p_wxEvent(void *x) {
34793 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
34794}
d14a1e28
RD
34795static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
34796 return (void *)((wxEvent *) ((wxPaintEvent *) x));
34797}
34798static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
34799 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
34800}
34e0a3bb
RD
34801static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
34802 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
34803}
d14a1e28
RD
34804static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
34805 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
34806}
34807static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
34808 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
34809}
34810static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
34811 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
34812}
34813static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
34814 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34815}
34816static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
34817 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
34818}
34819static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
34820 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
34821}
34822static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
34823 return (void *)((wxEvent *) ((wxFocusEvent *) x));
34824}
34825static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
34826 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
34827}
34828static void *_p_wxSashEventTo_p_wxEvent(void *x) {
34829 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
34830}
34831static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
34832 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34833}
34834static void *_p_wxShowEventTo_p_wxEvent(void *x) {
34835 return (void *)((wxEvent *) ((wxShowEvent *) x));
34836}
34837static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
34838 return (void *)((wxEvent *) ((wxCommandEvent *) x));
34839}
34840static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
34841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
34842}
34843static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
34844 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34845}
34846static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
34847 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
34848}
34849static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
34850 return (void *)((wxEvent *) ((wxKeyEvent *) x));
34851}
34852static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
34853 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
34854}
34855static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
34856 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
34857}
f9bf356b
RD
34858static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
34859 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
34860}
34861static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
34862 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
34863}
d14a1e28
RD
34864static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
34865 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
34866}
d3b6e4ff
RD
34867static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
34868 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34869}
8c3a7183
RD
34870static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34871 return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
34872}
34873static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34874 return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34875}
34876static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) {
34877 return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
34878}
34879static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) {
34880 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34881}
34882static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34883 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34884}
34885static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34886 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34887}
34888static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34889 return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
34890}
34891static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34892 return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34893}
34894static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) {
34895 return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x));
34896}
34897static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) {
34898 return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34899}
d14a1e28
RD
34900static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34902}
34903static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34905}
4976f996
RD
34906static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
34907 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
34908}
d14a1e28
RD
34909static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34910 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34911}
34912static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34913 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34914}
34915static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34916 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34917}
34918static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34919 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34920}
34921static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34922 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34923}
8c3a7183
RD
34924static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34925 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28
RD
34926}
34927static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34928 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34929}
8c3a7183
RD
34930static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34931 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 34932}
4976f996
RD
34933static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34934 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34935}
f9bf356b
RD
34936static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
34937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34938}
27e45892
RD
34939static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
34940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
34941}
d14a1e28
RD
34942static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34943 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34944}
34945static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34946 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34947}
34948static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34949 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34950}
34951static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34953}
34954static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34955 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34956}
8c3a7183
RD
34957static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) {
34958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
34959}
34960static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) {
34961 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
34962}
d14a1e28
RD
34963static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34964 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34965}
34966static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34967 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34968}
34969static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34970 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34971}
34972static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34973 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34974}
34975static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34976 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34977}
34978static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34979 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34980}
34981static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34982 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34983}
34984static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34985 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34986}
34987static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34988 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34989}
34990static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34991 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34992}
34993static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34994 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34995}
34996static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34997 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34998}
1cb4a8aa
RD
34999static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
35000 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35001}
d14a1e28
RD
35002static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35003 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35004}
35005static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
35006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35007}
35008static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
35009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35010}
35011static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
35012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35013}
35014static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35015 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35016}
35017static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35018 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35019}
35020static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
35021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
35022}
35023static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
35024 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35025}
f9bf356b
RD
35026static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
35027 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35028}
d14a1e28
RD
35029static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
35030 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35031}
35032static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
35033 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35034}
35035static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
35036 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35037}
35038static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
35039 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35040}
5e483524
RD
35041static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
35042 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
35043}
35044static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
35045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35046}
d14a1e28
RD
35047static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
35048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35049}
35050static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
35051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35052}
35053static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
35054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35055}
d3b6e4ff
RD
35056static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
35057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35058}
d14a1e28
RD
35059static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
35060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35061}
35062static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
35063 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
35064}
f9bf356b
RD
35065static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
35066 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35067}
35068static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
35069 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35070}
d14a1e28
RD
35071static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
35072 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
35073}
35074static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
35075 return (void *)((wxFrame *) ((wxProgressDialog *) x));
35076}
35077static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
35078 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
35079}
35080static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
35081 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35082}
35083static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
35084 return (void *)((wxFrame *) ((wxMiniFrame *) x));
35085}
35086static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
35087 return (void *)((wxFrame *) ((wxSplashScreen *) x));
35088}
35089static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
35090 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
35091}
35092static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35093 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35094}
35095static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
35096 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
35097}
4976f996
RD
35098static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
35099 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
35100}
d14a1e28
RD
35101static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
35102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35103}
35104static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
35105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35106}
d14a1e28
RD
35107static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35108 return (void *)((wxObject *) ((wxSizerItem *) x));
35109}
34e0a3bb
RD
35110static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35111 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35112}
d14a1e28
RD
35113static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35114 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35115}
35116static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35117 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35118}
35119static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35120 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35121}
35122static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35123 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35124}
35125static void *_p_wxSizerTo_p_wxObject(void *x) {
35126 return (void *)((wxObject *) ((wxSizer *) x));
35127}
35128static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35129 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35130}
35131static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35132 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35133}
35134static void *_p_wxPyPanelTo_p_wxObject(void *x) {
35135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35136}
35137static void *_p_wxEventTo_p_wxObject(void *x) {
35138 return (void *)((wxObject *) ((wxEvent *) x));
35139}
35140static void *_p_wxFontDataTo_p_wxObject(void *x) {
35141 return (void *)((wxObject *) ((wxFontData *) x));
35142}
35143static void *_p_wxPrintDataTo_p_wxObject(void *x) {
35144 return (void *)((wxObject *) ((wxPrintData *) x));
35145}
d14a1e28
RD
35146static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35147 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35148}
4976f996
RD
35149static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35150 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35151}
d14a1e28
RD
35152static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35153 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35154}
35155static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
35156 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
35157}
5e483524
RD
35158static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
35159 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
35160}
35161static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
35162 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
35163}
2131d850
RD
35164static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
35165 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
35166}
d14a1e28
RD
35167static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35168 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35169}
35170static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35171 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35172}
35173static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35174 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35175}
35176static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35177 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35178}
35179static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35180 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35181}
35182static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35183 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35184}
35185static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
35186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35187}
35188static void *_p_wxControlTo_p_wxObject(void *x) {
35189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35190}
35191static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35192 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35193}
35194static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
35195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
35196}
35197static void *_p_wxFSFileTo_p_wxObject(void *x) {
35198 return (void *)((wxObject *) ((wxFSFile *) x));
35199}
35200static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
35201 return (void *)((wxObject *) ((wxFindReplaceData *) x));
35202}
35203static void *_p_wxPySizerTo_p_wxObject(void *x) {
35204 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35205}
35206static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
35207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35208}
35209static void *_p_wxColourDataTo_p_wxObject(void *x) {
35210 return (void *)((wxObject *) ((wxColourData *) x));
35211}
35212static void *_p_wxPyEventTo_p_wxObject(void *x) {
35213 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35214}
35215static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35216 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35217}
35218static void *_p_wxPyWindowTo_p_wxObject(void *x) {
35219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
35220}
35221static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
35222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35223}
35224static void *_p_wxFileDialogTo_p_wxObject(void *x) {
35225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35226}
35227static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
35228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35229}
35230static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
35231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35232}
35233static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
35234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35235}
d3b6e4ff
RD
35236static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
35237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35238}
27e45892
RD
35239static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
35240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35241}
d14a1e28
RD
35242static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
35243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35244}
35245static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
35246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35247}
35248static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
35249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35250}
35251static void *_p_wxShowEventTo_p_wxObject(void *x) {
35252 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35253}
35254static void *_p_wxPrinterTo_p_wxObject(void *x) {
35255 return (void *)((wxObject *) ((wxPrinter *) x));
35256}
35257static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35258 return (void *)((wxObject *) ((wxMenuItem *) x));
35259}
53aa7709
RD
35260static void *_p_wxDateEventTo_p_wxObject(void *x) {
35261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
35262}
d14a1e28
RD
35263static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35264 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35265}
35266static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35268}
35269static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35270 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35271}
35272static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35273 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35274}
35275static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35276 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35277}
35278static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35279 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35280}
35281static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35282 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35283}
35284static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35285 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35286}
d14a1e28
RD
35287static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35288 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35289}
35290static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35291 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35292}
35293static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35294 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35295}
35296static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35297 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35298}
35299static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35300 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35301}
35302static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35303 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35304}
35305static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35306 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35307}
35308static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35309 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35310}
35311static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35312 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35313}
943e8dfd
RD
35314static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
35315 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
35316}
d14a1e28
RD
35317static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35318 return (void *)((wxObject *) ((wxImageHandler *) x));
35319}
943e8dfd
RD
35320static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35321 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35322}
d14a1e28
RD
35323static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35324 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35325}
580080c5
RD
35326static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
35327 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
35328}
d14a1e28
RD
35329static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35330 return (void *)((wxObject *) ((wxEvtHandler *) x));
35331}
34e0a3bb
RD
35332static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
35333 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
35334}
d14a1e28
RD
35335static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
35336 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
35337}
35338static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
35339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35340}
35341static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
35342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35343}
f9bf356b
RD
35344static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
35345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35346}
d14a1e28
RD
35347static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35348 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35349}
580080c5
RD
35350static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35351 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35352}
d14a1e28
RD
35353static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
35354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35355}
35356static void *_p_wxImageTo_p_wxObject(void *x) {
35357 return (void *)((wxObject *) ((wxImage *) x));
35358}
35359static void *_p_wxFrameTo_p_wxObject(void *x) {
35360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35361}
35362static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
35363 return (void *)((wxObject *) ((wxPyPrintout *) x));
35364}
35365static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35366 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35367}
35368static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
35369 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
35370}
35371static void *_p_wxStatusBarTo_p_wxObject(void *x) {
35372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
35373}
35374static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
35375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35376}
35377static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35379}
35380static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35381 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35382}
35383static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35384 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35385}
d14a1e28
RD
35386static void *_p_wxWindowTo_p_wxObject(void *x) {
35387 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
35388}
35389static void *_p_wxMenuTo_p_wxObject(void *x) {
35390 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
35391}
35392static void *_p_wxMenuBarTo_p_wxObject(void *x) {
35393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
35394}
1e0c8722
RD
35395static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
35396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35397}
d14a1e28
RD
35398static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
35399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
35400}
35401static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
35402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
35403}
35404static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
35405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
35406}
35407static void *_p_wxSashWindowTo_p_wxObject(void *x) {
35408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
35409}
35410static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
35411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35412}
35413static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
35414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
35415}
35416static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
35417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35418}
35419static void *_p_wxTipWindowTo_p_wxObject(void *x) {
35420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35421}
35422static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
35423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35424}
8c3a7183
RD
35425static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) {
35426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35427}
35428static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) {
35429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35430}
d14a1e28
RD
35431static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
35432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
35433}
1cb4a8aa
RD
35434static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
35435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35436}
d14a1e28
RD
35437static void *_p_wxSashEventTo_p_wxObject(void *x) {
35438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
35439}
35440static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
35441 return (void *)((wxObject *) ((wxPrintPreview *) x));
35442}
35443static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
35444 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
35445}
35446static void *_p_wxPanelTo_p_wxObject(void *x) {
35447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
35448}
35449static void *_p_wxDialogTo_p_wxObject(void *x) {
35450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35451}
35452static void *_p_wxColourDialogTo_p_wxObject(void *x) {
35453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35454}
35455static void *_p_wxDirDialogTo_p_wxObject(void *x) {
35456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35457}
35458static void *_p_wxFontDialogTo_p_wxObject(void *x) {
35459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35460}
35461static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 35462 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
35463}
35464static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 35465 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
35466}
35467static void *_p_wxFileSystemTo_p_wxObject(void *x) {
35468 return (void *)((wxObject *) ((wxFileSystem *) x));
35469}
35470static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
35471 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
35472}
35473static void *_p_wxMenuEventTo_p_wxObject(void *x) {
35474 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
35475}
35476static void *_p_wxPyAppTo_p_wxObject(void *x) {
35477 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
35478}
35479static void *_p_wxCloseEventTo_p_wxObject(void *x) {
35480 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
35481}
35482static void *_p_wxMouseEventTo_p_wxObject(void *x) {
35483 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
35484}
35485static void *_p_wxEraseEventTo_p_wxObject(void *x) {
35486 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
35487}
35488static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
35489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
35490}
35491static void *_p_wxCommandEventTo_p_wxObject(void *x) {
35492 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
35493}
35494static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
35495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35496}
35497static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
35498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35499}
35500static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
35501 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
35502}
35503static void *_p_wxFocusEventTo_p_wxObject(void *x) {
35504 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
35505}
35506static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
35507 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
35508}
35509static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
35510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35511}
35512static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
35513 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
35514}
35515static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
35516 return (void *)((wxObject *) ((wxPrintDialogData *) x));
35517}
35518static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
35519 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
35520}
35521static void *_p_wxValidatorTo_p_wxObject(void *x) {
35522 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
35523}
d14a1e28
RD
35524static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
35525 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35526}
35527static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
35528 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35529}
35530static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
35531 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35532}
35533static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
35534 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
35535}
35536static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
35537 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
35538}
35539static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
35540 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
35541}
35542static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
35543 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
35544}
35545static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
35546 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
35547}
35548static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
35549 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
35550}
35551static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
35552 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
35553}
d14a1e28
RD
35554static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
35555 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
35556}
35557static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
35558 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
35559}
35560static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
35561 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
35562}
d14a1e28
RD
35563static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
35564 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
35565}
27e45892
RD
35566static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
35567 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
35568}
d3b6e4ff
RD
35569static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
35570 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35571}
d14a1e28
RD
35572static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
35573 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
35574}
35575static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35576 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
35577}
35578static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35579 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
35580}
35581static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
35582 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
35583}
27e45892
RD
35584static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
35585 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
35586}
d3b6e4ff
RD
35587static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
35588 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
35589}
d14a1e28
RD
35590static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35591 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
35592}
35593static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35594 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35595}
35596static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
35597 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35598}
35599static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
35600 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35601}
35602static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
35603 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
35604}
35605static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
35606 return (void *)((wxWindow *) ((wxMenuBar *) x));
35607}
d14a1e28
RD
35608static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
35609 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35610}
27e45892
RD
35611static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
35612 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35613}
d3b6e4ff
RD
35614static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
35615 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35616}
d14a1e28
RD
35617static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
35618 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35619}
35620static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
35621 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35622}
35623static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
35624 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35625}
35626static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
35627 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35628}
8c3a7183
RD
35629static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
35630 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35631}
35632static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
35633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35634}
d14a1e28
RD
35635static void *_p_wxPanelTo_p_wxWindow(void *x) {
35636 return (void *)((wxWindow *) ((wxPanel *) x));
35637}
35638static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
35639 return (void *)((wxWindow *) ((wxStatusBar *) x));
35640}
8c3a7183
RD
35641static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) {
35642 return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x));
35643}
35644static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) {
35645 return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x));
35646}
d14a1e28
RD
35647static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
35648 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
35649}
35650static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
35651 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35652}
35653static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
35654 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35655}
35656static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
35657 return (void *)((wxWindow *) ((wxPopupWindow *) x));
35658}
35659static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
35660 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
35661}
35662static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
35663 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
35664}
35665static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
35666 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
35667}
35668static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
35669 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
35670}
35671static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
35672 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
35673}
35674static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
35675 return (void *)((wxWindow *) ((wxSashWindow *) x));
35676}
d3b6e4ff
RD
35677static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
35678 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
35679}
1cb4a8aa
RD
35680static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
35681 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35682}
d14a1e28
RD
35683static void *_p_wxControlTo_p_wxWindow(void *x) {
35684 return (void *)((wxWindow *) ((wxControl *) x));
35685}
35686static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
35687 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35688}
35689static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
35690 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35691}
35692static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
35693 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35694}
35695static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
35696 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
35697}
35698static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
35699 return (void *)((wxWindow *) ((wxPyWindow *) x));
35700}
35701static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
35702 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35703}
f9bf356b
RD
35704static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
35705 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35706}
d14a1e28
RD
35707static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
35708 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35709}
35710static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
35711 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35712}
35713static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
35714 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
35715}
35716static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
35717 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35718}
35719static void *_p_wxFrameTo_p_wxWindow(void *x) {
35720 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
35721}
35722static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
35723 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35724}
35725static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
35726 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35727}
35728static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
35729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35730}
35731static void *_p_wxDialogTo_p_wxWindow(void *x) {
35732 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
35733}
d14a1e28
RD
35734static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
35735 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35736}
8c3a7183
RD
35737static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
35738 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35739}
35740static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35741 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
35742}
35743static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35744 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35745}
1cb4a8aa
RD
35746static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
35747 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35748}
d14a1e28
RD
35749static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
35750 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
35751}
35752static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
35753 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
35754}
35755static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
35756 return (void *)((wxDialog *) ((wxColourDialog *) x));
35757}
35758static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
35759 return (void *)((wxDialog *) ((wxDirDialog *) x));
35760}
35761static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
35762 return (void *)((wxDialog *) ((wxFontDialog *) x));
35763}
d14a1e28
RD
35764static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
35765 return (void *)((wxDialog *) ((wxFileDialog *) x));
35766}
35767static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
35768 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
35769}
35770static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
35771 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
35772}
35773static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
35774 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
35775}
d3b6e4ff
RD
35776static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
35777 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35778}
27e45892
RD
35779static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
35780 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
35781}
d14a1e28
RD
35782static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
35783 return (void *)((wxDialog *) ((wxMessageDialog *) x));
35784}
35785static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
35786 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
35787}
35788static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
35789 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
35790}
35791static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
35792 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
35793}
8c3a7183
RD
35794static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) {
35795 return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x));
35796}
35797static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) {
35798 return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x));
35799}
1cb4a8aa
RD
35800static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
35801 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35802}
d14a1e28
RD
35803static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
35804 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35805}
35806static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
35807 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35808}
f9bf356b
RD
35809static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
35810 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35811}
d14a1e28
RD
35812static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
35813 return (void *)((wxPanel *) ((wxPyPanel *) x));
35814}
35815static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
35816 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
35817}
35818static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
35819 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
35820}
35821static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
35822 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35823}
8c3a7183
RD
35824static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35825 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35826}
35827static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35828 return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35829}
35830static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35831 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35832}
35833static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35834 return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x));
35835}
35836static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35837 return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x));
35838}
35839static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35840 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35841}
35842static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) {
35843 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35844}
35845static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35846 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35847}
35848static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35849 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35850}
d14a1e28
RD
35851static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
35852 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
35853}
35854static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
35855 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
35856}
35857static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
35858 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
35859}
53aa7709
RD
35860static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
35861 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
35862}
d14a1e28
RD
35863static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
35864 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
35865}
2131d850
RD
35866static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
35867 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
35868}
d14a1e28
RD
35869static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
35870 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
35871}
35872static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
35873 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35874}
35875static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
35876 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
35877}
35878static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
35879 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
35880}
35881static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
35882 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
35883}
35884static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
35885 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
35886}
35887static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
35888 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
35889}
35890static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
35891 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35892}
f9bf356b
RD
35893static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
35894 return (void *)((wxValidator *) ((wxPyValidator *) x));
35895}
01f6b6d3 35896static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
0085ce49
RD
35897static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
35898static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
35899static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
35900static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35901static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35902static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35903static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
f9bf356b 35904static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
0085ce49
RD
35905static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35906static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35907static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35908static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35909static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35910static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
35911static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35912static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49 35913static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
35914static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35915static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35916static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
0085ce49
RD
35917static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35918static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35919static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
0085ce49
RD
35920static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35921static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35922static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35923static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35924static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35925static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35926static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35927static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35928static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35929static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35930static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35931static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 35932static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
0085ce49
RD
35933static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35934static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35935static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35936static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35937static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35938static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35939static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35940static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35941static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35942static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35943static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35944static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35945static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35946static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35947static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35948static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35949static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35950static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35951static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
4976f996 35952static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
0085ce49
RD
35953static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35954static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
35955static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
35956static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35957static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35958static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35959static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35960static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35961static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35962static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35963static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35964static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35965static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 35966static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
0085ce49
RD
35967static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35968static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
f9bf356b 35969static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
0085ce49
RD
35970static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35971static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35972static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35973static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35974static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35975static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35976static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35977static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35978static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35979static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 35980static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
0085ce49
RD
35981static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35982static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
0085ce49 35983static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 35984static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
0085ce49
RD
35985static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35986static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35987static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35988static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
35989static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
0085ce49 35990static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
4976f996 35991static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
0085ce49
RD
35992static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
35993static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
35994static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
0085ce49
RD
35995static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35996static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35997static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35998static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35999static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36000static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36001static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36002static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
4976f996 36003static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
27e45892 36004static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 36005static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
0085ce49
RD
36006static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36007static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 36008static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
0085ce49
RD
36009static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36010static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
36011static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
36012static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
36013static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
36014static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36015static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
36016static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36017static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
8c3a7183 36018static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
0085ce49
RD
36019static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
36020static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
36021static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
36022static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36023static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
36024static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
36025static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
36026static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
36027static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
8c3a7183
RD
36028static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
36029static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
0085ce49
RD
36030static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
36031static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
36032static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
36033static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
36034static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
36035static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
36036static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
36037static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
36038static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
36039static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
36040static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
36041static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
36042static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
36043static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36044static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36045static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36046static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36047static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36048static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36049static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
f9bf356b 36050static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
0085ce49
RD
36051static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36052static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36053static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36054static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36055static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36056static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36057static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36058static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36059static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36060static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36061static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36062static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36063static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36064static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36065static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
f9bf356b 36066static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
8c3a7183
RD
36067static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36068static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36069static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36070static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
0085ce49
RD
36071static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36072static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
36073
36074static swig_type_info *swig_type_initial[] = {
01f6b6d3 36075 &_swigt__p_bool,
32fe5131
RD
36076 &_swigt__p_char,
36077 &_swigt__p_form_ops_t,
36078 &_swigt__p_int,
36079 &_swigt__p_unsigned_char,
36080 &_swigt__p_unsigned_int,
36081 &_swigt__p_unsigned_long,
36082 &_swigt__p_wxANIHandler,
36083 &_swigt__p_wxAcceleratorTable,
36084 &_swigt__p_wxActivateEvent,
36085 &_swigt__p_wxArrayInt,
f9bf356b 36086 &_swigt__p_wxArrayString,
32fe5131
RD
36087 &_swigt__p_wxBMPHandler,
36088 &_swigt__p_wxBitmap,
36089 &_swigt__p_wxBoxSizer,
36090 &_swigt__p_wxCURHandler,
36091 &_swigt__p_wxCalculateLayoutEvent,
36092 &_swigt__p_wxChildFocusEvent,
2131d850 36093 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
36094 &_swigt__p_wxCloseEvent,
36095 &_swigt__p_wxColour,
36096 &_swigt__p_wxColourData,
36097 &_swigt__p_wxColourDialog,
36098 &_swigt__p_wxCommandEvent,
36099 &_swigt__p_wxContextMenuEvent,
36100 &_swigt__p_wxControl,
36101 &_swigt__p_wxControlWithItems,
36102 &_swigt__p_wxDC,
36103 &_swigt__p_wxDateEvent,
36104 &_swigt__p_wxDialog,
36105 &_swigt__p_wxDirDialog,
36106 &_swigt__p_wxDisplayChangedEvent,
36107 &_swigt__p_wxDropFilesEvent,
36108 &_swigt__p_wxDuplexMode,
36109 &_swigt__p_wxEraseEvent,
36110 &_swigt__p_wxEvent,
4976f996 36111 &_swigt__p_wxEventBlocker,
32fe5131
RD
36112 &_swigt__p_wxEvtHandler,
36113 &_swigt__p_wxFSFile,
36114 &_swigt__p_wxFileDialog,
36115 &_swigt__p_wxFileSystem,
36116 &_swigt__p_wxFindDialogEvent,
36117 &_swigt__p_wxFindReplaceData,
36118 &_swigt__p_wxFindReplaceDialog,
36119 &_swigt__p_wxFlexGridSizer,
36120 &_swigt__p_wxFocusEvent,
36121 &_swigt__p_wxFont,
36122 &_swigt__p_wxFontData,
36123 &_swigt__p_wxFontDialog,
36124 &_swigt__p_wxFrame,
36125 &_swigt__p_wxGBSizerItem,
36126 &_swigt__p_wxGIFHandler,
36127 &_swigt__p_wxGridBagSizer,
36128 &_swigt__p_wxGridSizer,
e9d6f3a4 36129 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
36130 &_swigt__p_wxICOHandler,
36131 &_swigt__p_wxIcon,
36132 &_swigt__p_wxIconBundle,
36133 &_swigt__p_wxIconizeEvent,
36134 &_swigt__p_wxIdleEvent,
36135 &_swigt__p_wxImage,
36136 &_swigt__p_wxImageHandler,
36137 &_swigt__p_wxIndividualLayoutConstraint,
36138 &_swigt__p_wxInitDialogEvent,
f9bf356b 36139 &_swigt__p_wxItemContainer,
32fe5131
RD
36140 &_swigt__p_wxJPEGHandler,
36141 &_swigt__p_wxKeyEvent,
36142 &_swigt__p_wxLayoutAlgorithm,
36143 &_swigt__p_wxLayoutConstraints,
36144 &_swigt__p_wxMDIChildFrame,
36145 &_swigt__p_wxMDIClientWindow,
36146 &_swigt__p_wxMDIParentFrame,
36147 &_swigt__p_wxMaximizeEvent,
36148 &_swigt__p_wxMenu,
36149 &_swigt__p_wxMenuBar,
36150 &_swigt__p_wxMenuEvent,
36151 &_swigt__p_wxMenuItem,
36152 &_swigt__p_wxMessageDialog,
36153 &_swigt__p_wxMiniFrame,
36154 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 36155 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
36156 &_swigt__p_wxMouseEvent,
36157 &_swigt__p_wxMoveEvent,
36158 &_swigt__p_wxMultiChoiceDialog,
36159 &_swigt__p_wxNavigationKeyEvent,
36160 &_swigt__p_wxNcPaintEvent,
36161 &_swigt__p_wxNotifyEvent,
27e45892 36162 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
36163 &_swigt__p_wxObject,
36164 &_swigt__p_wxPCXHandler,
36165 &_swigt__p_wxPNGHandler,
36166 &_swigt__p_wxPNMHandler,
36167 &_swigt__p_wxPageSetupDialog,
36168 &_swigt__p_wxPageSetupDialogData,
36169 &_swigt__p_wxPaintEvent,
36170 &_swigt__p_wxPaletteChangedEvent,
36171 &_swigt__p_wxPanel,
36172 &_swigt__p_wxPaperSize,
36173 &_swigt__p_wxPasswordEntryDialog,
36174 &_swigt__p_wxPoint,
36175 &_swigt__p_wxPopupWindow,
8c3a7183 36176 &_swigt__p_wxPosition,
32fe5131
RD
36177 &_swigt__p_wxPreviewCanvas,
36178 &_swigt__p_wxPreviewControlBar,
36179 &_swigt__p_wxPreviewFrame,
36180 &_swigt__p_wxPrintData,
36181 &_swigt__p_wxPrintDialog,
36182 &_swigt__p_wxPrintDialogData,
36183 &_swigt__p_wxPrintPreview,
36184 &_swigt__p_wxPrinter,
36185 &_swigt__p_wxProgressDialog,
36186 &_swigt__p_wxPyApp,
36187 &_swigt__p_wxPyCommandEvent,
36188 &_swigt__p_wxPyEvent,
8c3a7183
RD
36189 &_swigt__p_wxPyHScrolledWindow,
36190 &_swigt__p_wxPyHVScrolledWindow,
32fe5131
RD
36191 &_swigt__p_wxPyHtmlListBox,
36192 &_swigt__p_wxPyImageHandler,
36193 &_swigt__p_wxPyPanel,
36194 &_swigt__p_wxPyPopupTransientWindow,
36195 &_swigt__p_wxPyPreviewControlBar,
36196 &_swigt__p_wxPyPreviewFrame,
36197 &_swigt__p_wxPyPrintPreview,
36198 &_swigt__p_wxPyPrintout,
36199 &_swigt__p_wxPyScrolledWindow,
36200 &_swigt__p_wxPySizer,
36201 &_swigt__p_wxPyTaskBarIcon,
36202 &_swigt__p_wxPyVListBox,
36203 &_swigt__p_wxPyVScrolledWindow,
36204 &_swigt__p_wxPyValidator,
36205 &_swigt__p_wxPyWindow,
36206 &_swigt__p_wxQueryLayoutInfoEvent,
36207 &_swigt__p_wxQueryNewPaletteEvent,
36208 &_swigt__p_wxRect,
36209 &_swigt__p_wxRegion,
36210 &_swigt__p_wxSashEvent,
36211 &_swigt__p_wxSashLayoutWindow,
36212 &_swigt__p_wxSashWindow,
36213 &_swigt__p_wxScrollEvent,
36214 &_swigt__p_wxScrollWinEvent,
36215 &_swigt__p_wxScrolledWindow,
36216 &_swigt__p_wxSetCursorEvent,
36217 &_swigt__p_wxShowEvent,
f9bf356b 36218 &_swigt__p_wxSimpleHtmlListBox,
32fe5131
RD
36219 &_swigt__p_wxSingleChoiceDialog,
36220 &_swigt__p_wxSize,
36221 &_swigt__p_wxSizeEvent,
36222 &_swigt__p_wxSizer,
36223 &_swigt__p_wxSizerItem,
36224 &_swigt__p_wxSplashScreen,
36225 &_swigt__p_wxSplashScreenWindow,
36226 &_swigt__p_wxSplitterEvent,
36227 &_swigt__p_wxSplitterWindow,
36228 &_swigt__p_wxStaticBoxSizer,
36229 &_swigt__p_wxStatusBar,
36230 &_swigt__p_wxStdDialogButtonSizer,
36231 &_swigt__p_wxString,
36232 &_swigt__p_wxSysColourChangedEvent,
580080c5 36233 &_swigt__p_wxTGAHandler,
32fe5131
RD
36234 &_swigt__p_wxTIFFHandler,
36235 &_swigt__p_wxTaskBarIcon,
36236 &_swigt__p_wxTaskBarIconEvent,
36237 &_swigt__p_wxTextEntryDialog,
36238 &_swigt__p_wxTipWindow,
36239 &_swigt__p_wxToolBar,
36240 &_swigt__p_wxTopLevelWindow,
36241 &_swigt__p_wxUpdateUIEvent,
36242 &_swigt__p_wxValidator,
8c3a7183
RD
36243 &_swigt__p_wxVarHScrollHelper,
36244 &_swigt__p_wxVarHVScrollHelper,
36245 &_swigt__p_wxVarScrollHelperBase,
36246 &_swigt__p_wxVarVScrollHelper,
32fe5131
RD
36247 &_swigt__p_wxVisualAttributes,
36248 &_swigt__p_wxWindow,
36249 &_swigt__p_wxWindowCreateEvent,
36250 &_swigt__p_wxWindowDestroyEvent,
36251 &_swigt__p_wxXPMHandler,
32fe5131
RD
36252};
36253
01f6b6d3 36254static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36255static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36256static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
36257static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36258static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
36259static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
36260static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36261static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 36262static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36263static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
36264static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
36265static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
36266static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
36267static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
36268static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
36269static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36270static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
36271static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
36272static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36273static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36274static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
36275static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
36276static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 36277static 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 36278static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36279static 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
36280static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
36281static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
36282static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36283static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
36284static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
36285static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
36286static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
36287static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36288static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 36289static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36290static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
36291static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
36292static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36293static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36294static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
36295static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36296static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
36297static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36298static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36299static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36300static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36301static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36302static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36303static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
36304static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36305static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
36306static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36307static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 36308static 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}};
4976f996 36309static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36310static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
36311static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
36312static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
36313static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36314static 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_wxEventBlocker, _p_wxEventBlockerTo_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_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_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36315static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
36316static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
36317static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36318static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
36319static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
36320static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
36321static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
36322static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
36323static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 36324static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36325static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
36326static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 36327static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36328static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
36329static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
36330static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
36331static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
36332static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
36333static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
36334static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
36335static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
36336static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36337static 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 36338static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36339static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36340static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 36341static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36342static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
36343static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36344static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36345static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
36346static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36347static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
4976f996 36348static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36349static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
36350static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
36351static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36352static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
36353static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
36354static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
36355static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
36356static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
36357static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
36358static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
36359static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
4976f996 36360static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36361static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 36362static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36363static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
36364static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 36365static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36366static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
36367static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36368static 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_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_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_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_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
36369static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
36370static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36371static 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_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36372static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
36373static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36374static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
36375static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
8c3a7183 36376static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36377static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
36378static 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}};
36379static 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}};
36380static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
36381static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
36382static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
36383static 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}};
36384static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
36385static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183
RD
36386static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36387static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 36388static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36389static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
36390static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
36391static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
36392static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
36393static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
36394static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
36395static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36396static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b
RD
36397static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
36398static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36399static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
36400static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
36401static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
36402static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
36403static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
36404static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
36405static 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}};
36406static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
36407static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
f9bf356b 36408static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36409static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36410static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
36411static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
36412static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
36413static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
36414static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
36415static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
36416static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
36417static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
36418static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36419static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
36420static 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}};
36421static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
36422static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36423static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
f9bf356b 36424static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
8c3a7183
RD
36425static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}};
36426static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}};
36427static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}};
36428static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}};
32fe5131 36429static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36430static 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_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36431
36432static swig_cast_info *swig_cast_initial[] = {
01f6b6d3 36433 _swigc__p_bool,
32fe5131
RD
36434 _swigc__p_char,
36435 _swigc__p_form_ops_t,
36436 _swigc__p_int,
36437 _swigc__p_unsigned_char,
36438 _swigc__p_unsigned_int,
36439 _swigc__p_unsigned_long,
36440 _swigc__p_wxANIHandler,
36441 _swigc__p_wxAcceleratorTable,
36442 _swigc__p_wxActivateEvent,
36443 _swigc__p_wxArrayInt,
f9bf356b 36444 _swigc__p_wxArrayString,
32fe5131
RD
36445 _swigc__p_wxBMPHandler,
36446 _swigc__p_wxBitmap,
36447 _swigc__p_wxBoxSizer,
36448 _swigc__p_wxCURHandler,
36449 _swigc__p_wxCalculateLayoutEvent,
36450 _swigc__p_wxChildFocusEvent,
2131d850 36451 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
36452 _swigc__p_wxCloseEvent,
36453 _swigc__p_wxColour,
36454 _swigc__p_wxColourData,
36455 _swigc__p_wxColourDialog,
36456 _swigc__p_wxCommandEvent,
36457 _swigc__p_wxContextMenuEvent,
36458 _swigc__p_wxControl,
36459 _swigc__p_wxControlWithItems,
36460 _swigc__p_wxDC,
36461 _swigc__p_wxDateEvent,
36462 _swigc__p_wxDialog,
36463 _swigc__p_wxDirDialog,
36464 _swigc__p_wxDisplayChangedEvent,
36465 _swigc__p_wxDropFilesEvent,
36466 _swigc__p_wxDuplexMode,
36467 _swigc__p_wxEraseEvent,
36468 _swigc__p_wxEvent,
4976f996 36469 _swigc__p_wxEventBlocker,
32fe5131
RD
36470 _swigc__p_wxEvtHandler,
36471 _swigc__p_wxFSFile,
36472 _swigc__p_wxFileDialog,
36473 _swigc__p_wxFileSystem,
36474 _swigc__p_wxFindDialogEvent,
36475 _swigc__p_wxFindReplaceData,
36476 _swigc__p_wxFindReplaceDialog,
36477 _swigc__p_wxFlexGridSizer,
36478 _swigc__p_wxFocusEvent,
36479 _swigc__p_wxFont,
36480 _swigc__p_wxFontData,
36481 _swigc__p_wxFontDialog,
36482 _swigc__p_wxFrame,
36483 _swigc__p_wxGBSizerItem,
36484 _swigc__p_wxGIFHandler,
36485 _swigc__p_wxGridBagSizer,
36486 _swigc__p_wxGridSizer,
e9d6f3a4 36487 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
36488 _swigc__p_wxICOHandler,
36489 _swigc__p_wxIcon,
36490 _swigc__p_wxIconBundle,
36491 _swigc__p_wxIconizeEvent,
36492 _swigc__p_wxIdleEvent,
36493 _swigc__p_wxImage,
36494 _swigc__p_wxImageHandler,
36495 _swigc__p_wxIndividualLayoutConstraint,
36496 _swigc__p_wxInitDialogEvent,
f9bf356b 36497 _swigc__p_wxItemContainer,
32fe5131
RD
36498 _swigc__p_wxJPEGHandler,
36499 _swigc__p_wxKeyEvent,
36500 _swigc__p_wxLayoutAlgorithm,
36501 _swigc__p_wxLayoutConstraints,
36502 _swigc__p_wxMDIChildFrame,
36503 _swigc__p_wxMDIClientWindow,
36504 _swigc__p_wxMDIParentFrame,
36505 _swigc__p_wxMaximizeEvent,
36506 _swigc__p_wxMenu,
36507 _swigc__p_wxMenuBar,
36508 _swigc__p_wxMenuEvent,
36509 _swigc__p_wxMenuItem,
36510 _swigc__p_wxMessageDialog,
36511 _swigc__p_wxMiniFrame,
36512 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 36513 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
36514 _swigc__p_wxMouseEvent,
36515 _swigc__p_wxMoveEvent,
36516 _swigc__p_wxMultiChoiceDialog,
36517 _swigc__p_wxNavigationKeyEvent,
36518 _swigc__p_wxNcPaintEvent,
36519 _swigc__p_wxNotifyEvent,
27e45892 36520 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
36521 _swigc__p_wxObject,
36522 _swigc__p_wxPCXHandler,
36523 _swigc__p_wxPNGHandler,
36524 _swigc__p_wxPNMHandler,
36525 _swigc__p_wxPageSetupDialog,
36526 _swigc__p_wxPageSetupDialogData,
36527 _swigc__p_wxPaintEvent,
36528 _swigc__p_wxPaletteChangedEvent,
36529 _swigc__p_wxPanel,
36530 _swigc__p_wxPaperSize,
36531 _swigc__p_wxPasswordEntryDialog,
36532 _swigc__p_wxPoint,
36533 _swigc__p_wxPopupWindow,
8c3a7183 36534 _swigc__p_wxPosition,
32fe5131
RD
36535 _swigc__p_wxPreviewCanvas,
36536 _swigc__p_wxPreviewControlBar,
36537 _swigc__p_wxPreviewFrame,
36538 _swigc__p_wxPrintData,
36539 _swigc__p_wxPrintDialog,
36540 _swigc__p_wxPrintDialogData,
36541 _swigc__p_wxPrintPreview,
36542 _swigc__p_wxPrinter,
36543 _swigc__p_wxProgressDialog,
36544 _swigc__p_wxPyApp,
36545 _swigc__p_wxPyCommandEvent,
36546 _swigc__p_wxPyEvent,
8c3a7183
RD
36547 _swigc__p_wxPyHScrolledWindow,
36548 _swigc__p_wxPyHVScrolledWindow,
32fe5131
RD
36549 _swigc__p_wxPyHtmlListBox,
36550 _swigc__p_wxPyImageHandler,
36551 _swigc__p_wxPyPanel,
36552 _swigc__p_wxPyPopupTransientWindow,
36553 _swigc__p_wxPyPreviewControlBar,
36554 _swigc__p_wxPyPreviewFrame,
36555 _swigc__p_wxPyPrintPreview,
36556 _swigc__p_wxPyPrintout,
36557 _swigc__p_wxPyScrolledWindow,
36558 _swigc__p_wxPySizer,
36559 _swigc__p_wxPyTaskBarIcon,
36560 _swigc__p_wxPyVListBox,
36561 _swigc__p_wxPyVScrolledWindow,
36562 _swigc__p_wxPyValidator,
36563 _swigc__p_wxPyWindow,
36564 _swigc__p_wxQueryLayoutInfoEvent,
36565 _swigc__p_wxQueryNewPaletteEvent,
36566 _swigc__p_wxRect,
36567 _swigc__p_wxRegion,
36568 _swigc__p_wxSashEvent,
36569 _swigc__p_wxSashLayoutWindow,
36570 _swigc__p_wxSashWindow,
36571 _swigc__p_wxScrollEvent,
36572 _swigc__p_wxScrollWinEvent,
36573 _swigc__p_wxScrolledWindow,
36574 _swigc__p_wxSetCursorEvent,
36575 _swigc__p_wxShowEvent,
f9bf356b 36576 _swigc__p_wxSimpleHtmlListBox,
32fe5131
RD
36577 _swigc__p_wxSingleChoiceDialog,
36578 _swigc__p_wxSize,
0085ce49
RD
36579 _swigc__p_wxSizeEvent,
36580 _swigc__p_wxSizer,
36581 _swigc__p_wxSizerItem,
36582 _swigc__p_wxSplashScreen,
36583 _swigc__p_wxSplashScreenWindow,
36584 _swigc__p_wxSplitterEvent,
36585 _swigc__p_wxSplitterWindow,
36586 _swigc__p_wxStaticBoxSizer,
36587 _swigc__p_wxStatusBar,
36588 _swigc__p_wxStdDialogButtonSizer,
36589 _swigc__p_wxString,
36590 _swigc__p_wxSysColourChangedEvent,
580080c5 36591 _swigc__p_wxTGAHandler,
0085ce49
RD
36592 _swigc__p_wxTIFFHandler,
36593 _swigc__p_wxTaskBarIcon,
36594 _swigc__p_wxTaskBarIconEvent,
36595 _swigc__p_wxTextEntryDialog,
36596 _swigc__p_wxTipWindow,
36597 _swigc__p_wxToolBar,
36598 _swigc__p_wxTopLevelWindow,
36599 _swigc__p_wxUpdateUIEvent,
36600 _swigc__p_wxValidator,
8c3a7183
RD
36601 _swigc__p_wxVarHScrollHelper,
36602 _swigc__p_wxVarHVScrollHelper,
36603 _swigc__p_wxVarScrollHelperBase,
36604 _swigc__p_wxVarVScrollHelper,
0085ce49
RD
36605 _swigc__p_wxVisualAttributes,
36606 _swigc__p_wxWindow,
36607 _swigc__p_wxWindowCreateEvent,
36608 _swigc__p_wxWindowDestroyEvent,
36609 _swigc__p_wxXPMHandler,
36610};
36611
36612
36613/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36614
36615static swig_const_info swig_const_table[] = {
36616{0, 0, 0, 0.0, 0, 0}};
36617
093d3ff1
RD
36618#ifdef __cplusplus
36619}
36620#endif
0085ce49
RD
36621/* -----------------------------------------------------------------------------
36622 * Type initialization:
36623 * This problem is tough by the requirement that no dynamic
36624 * memory is used. Also, since swig_type_info structures store pointers to
36625 * swig_cast_info structures and swig_cast_info structures store pointers back
36626 * to swig_type_info structures, we need some lookup code at initialization.
36627 * The idea is that swig generates all the structures that are needed.
36628 * The runtime then collects these partially filled structures.
36629 * The SWIG_InitializeModule function takes these initial arrays out of
36630 * swig_module, and does all the lookup, filling in the swig_module.types
36631 * array with the correct data and linking the correct swig_cast_info
36632 * structures together.
36633 *
36634 * The generated swig_type_info structures are assigned staticly to an initial
36635 * array. We just loop though that array, and handle each type individually.
36636 * First we lookup if this type has been already loaded, and if so, use the
36637 * loaded structure instead of the generated one. Then we have to fill in the
36638 * cast linked list. The cast data is initially stored in something like a
36639 * two-dimensional array. Each row corresponds to a type (there are the same
36640 * number of rows as there are in the swig_type_initial array). Each entry in
36641 * a column is one of the swig_cast_info structures for that type.
36642 * The cast_initial array is actually an array of arrays, because each row has
36643 * a variable number of columns. So to actually build the cast linked list,
36644 * we find the array of casts associated with the type, and loop through it
36645 * adding the casts to the list. The one last trick we need to do is making
36646 * sure the type pointer in the swig_cast_info struct is correct.
36647 *
36648 * First off, we lookup the cast->type name to see if it is already loaded.
36649 * There are three cases to handle:
36650 * 1) If the cast->type has already been loaded AND the type we are adding
36651 * casting info to has not been loaded (it is in this module), THEN we
36652 * replace the cast->type pointer with the type pointer that has already
36653 * been loaded.
36654 * 2) If BOTH types (the one we are adding casting info to, and the
36655 * cast->type) are loaded, THEN the cast info has already been loaded by
36656 * the previous module so we just ignore it.
36657 * 3) Finally, if cast->type has not already been loaded, then we add that
36658 * swig_cast_info to the linked list (because the cast->type) pointer will
36659 * be correct.
36660 * ----------------------------------------------------------------------------- */
093d3ff1 36661
d14a1e28 36662#ifdef __cplusplus
0085ce49
RD
36663extern "C" {
36664#if 0
36665} /* c-mode */
36666#endif
36667#endif
36668
36669#if 0
36670#define SWIGRUNTIME_DEBUG
36671#endif
36672
36673SWIGRUNTIME void
36674SWIG_InitializeModule(void *clientdata) {
36675 size_t i;
36676 swig_module_info *module_head;
36677 static int init_run = 0;
36678
36679 clientdata = clientdata;
36680
36681 if (init_run) return;
36682 init_run = 1;
36683
36684 /* Initialize the swig_module */
36685 swig_module.type_initial = swig_type_initial;
36686 swig_module.cast_initial = swig_cast_initial;
36687
36688 /* Try and load any already created modules */
36689 module_head = SWIG_GetModule(clientdata);
36690 if (module_head) {
36691 swig_module.next = module_head->next;
36692 module_head->next = &swig_module;
36693 } else {
36694 /* This is the first module loaded */
36695 swig_module.next = &swig_module;
36696 SWIG_SetModule(clientdata, &swig_module);
36697 }
36698
36699 /* Now work on filling in swig_module.types */
36700#ifdef SWIGRUNTIME_DEBUG
36701 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
36702#endif
36703 for (i = 0; i < swig_module.size; ++i) {
36704 swig_type_info *type = 0;
36705 swig_type_info *ret;
36706 swig_cast_info *cast;
d14a1e28 36707
0085ce49
RD
36708#ifdef SWIGRUNTIME_DEBUG
36709 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36710#endif
d14a1e28 36711
0085ce49
RD
36712 /* if there is another module already loaded */
36713 if (swig_module.next != &swig_module) {
36714 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 36715 }
0085ce49
RD
36716 if (type) {
36717 /* Overwrite clientdata field */
36718#ifdef SWIGRUNTIME_DEBUG
36719 printf("SWIG_InitializeModule: found type %s\n", type->name);
36720#endif
36721 if (swig_module.type_initial[i]->clientdata) {
36722 type->clientdata = swig_module.type_initial[i]->clientdata;
36723#ifdef SWIGRUNTIME_DEBUG
36724 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
36725#endif
36726 }
36727 } else {
36728 type = swig_module.type_initial[i];
093d3ff1 36729 }
0085ce49
RD
36730
36731 /* Insert casting types */
36732 cast = swig_module.cast_initial[i];
36733 while (cast->type) {
36734 /* Don't need to add information already in the list */
36735 ret = 0;
36736#ifdef SWIGRUNTIME_DEBUG
36737 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
36738#endif
36739 if (swig_module.next != &swig_module) {
36740 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
36741#ifdef SWIGRUNTIME_DEBUG
36742 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
36743#endif
36744 }
36745 if (ret) {
36746 if (type == swig_module.type_initial[i]) {
36747#ifdef SWIGRUNTIME_DEBUG
36748 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
36749#endif
36750 cast->type = ret;
36751 ret = 0;
36752 } else {
36753 /* Check for casting already in the list */
36754 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
36755#ifdef SWIGRUNTIME_DEBUG
36756 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
36757#endif
36758 if (!ocast) ret = 0;
36759 }
36760 }
36761
36762 if (!ret) {
36763#ifdef SWIGRUNTIME_DEBUG
36764 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
36765#endif
36766 if (type->cast) {
36767 type->cast->prev = cast;
36768 cast->next = type->cast;
36769 }
36770 type->cast = cast;
36771 }
36772 cast++;
093d3ff1 36773 }
0085ce49
RD
36774 /* Set entry in modules->types array equal to the type */
36775 swig_module.types[i] = type;
36776 }
36777 swig_module.types[i] = 0;
36778
36779#ifdef SWIGRUNTIME_DEBUG
36780 printf("**** SWIG_InitializeModule: Cast List ******\n");
36781 for (i = 0; i < swig_module.size; ++i) {
36782 int j = 0;
36783 swig_cast_info *cast = swig_module.cast_initial[i];
36784 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36785 while (cast->type) {
36786 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
36787 cast++;
36788 ++j;
36789 }
36790 printf("---- Total casts: %d\n",j);
36791 }
36792 printf("**** SWIG_InitializeModule: Cast List ******\n");
36793#endif
36794}
36795
36796/* This function will propagate the clientdata field of type to
36797* any new swig_type_info structures that have been added into the list
36798* of equivalent types. It is like calling
36799* SWIG_TypeClientData(type, clientdata) a second time.
36800*/
36801SWIGRUNTIME void
36802SWIG_PropagateClientData(void) {
36803 size_t i;
36804 swig_cast_info *equiv;
36805 static int init_run = 0;
36806
36807 if (init_run) return;
36808 init_run = 1;
36809
36810 for (i = 0; i < swig_module.size; i++) {
36811 if (swig_module.types[i]->clientdata) {
36812 equiv = swig_module.types[i]->cast;
36813 while (equiv) {
36814 if (!equiv->converter) {
36815 if (equiv->type && !equiv->type->clientdata)
36816 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
36817 }
36818 equiv = equiv->next;
36819 }
093d3ff1 36820 }
0085ce49
RD
36821 }
36822}
36823
36824#ifdef __cplusplus
36825#if 0
36826{
36827 /* c-mode */
36828#endif
36829}
36830#endif
36831
36832
36833
36834#ifdef __cplusplus
36835extern "C" {
36836#endif
36837
36838 /* Python-specific SWIG API */
36839#define SWIG_newvarlink() SWIG_Python_newvarlink()
36840#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36841#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36842
36843 /* -----------------------------------------------------------------------------
36844 * global variable support code.
36845 * ----------------------------------------------------------------------------- */
36846
36847 typedef struct swig_globalvar {
36848 char *name; /* Name of global variable */
36849 PyObject *(*get_attr)(void); /* Return the current value */
36850 int (*set_attr)(PyObject *); /* Set the value */
36851 struct swig_globalvar *next;
36852 } swig_globalvar;
36853
36854 typedef struct swig_varlinkobject {
36855 PyObject_HEAD
36856 swig_globalvar *vars;
36857 } swig_varlinkobject;
36858
36859 SWIGINTERN PyObject *
36860 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
36861 return PyString_FromString("<Swig global variables>");
36862 }
36863
36864 SWIGINTERN PyObject *
36865 swig_varlink_str(swig_varlinkobject *v) {
36866 PyObject *str = PyString_FromString("(");
36867 swig_globalvar *var;
36868 for (var = v->vars; var; var=var->next) {
36869 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
36870 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
36871 }
36872 PyString_ConcatAndDel(&str,PyString_FromString(")"));
36873 return str;
36874 }
36875
36876 SWIGINTERN int
36877 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
36878 PyObject *str = swig_varlink_str(v);
36879 fprintf(fp,"Swig global variables ");
36880 fprintf(fp,"%s\n", PyString_AsString(str));
36881 Py_DECREF(str);
36882 return 0;
36883 }
36884
36885 SWIGINTERN void
36886 swig_varlink_dealloc(swig_varlinkobject *v) {
36887 swig_globalvar *var = v->vars;
36888 while (var) {
36889 swig_globalvar *n = var->next;
36890 free(var->name);
36891 free(var);
36892 var = n;
093d3ff1 36893 }
0085ce49
RD
36894 }
36895
36896 SWIGINTERN PyObject *
36897 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36898 PyObject *res = NULL;
36899 swig_globalvar *var = v->vars;
36900 while (var) {
36901 if (strcmp(var->name,n) == 0) {
36902 res = (*var->get_attr)();
36903 break;
36904 }
36905 var = var->next;
093d3ff1 36906 }
0085ce49
RD
36907 if (res == NULL && !PyErr_Occurred()) {
36908 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 36909 }
0085ce49
RD
36910 return res;
36911 }
36912
36913 SWIGINTERN int
36914 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36915 int res = 1;
36916 swig_globalvar *var = v->vars;
36917 while (var) {
36918 if (strcmp(var->name,n) == 0) {
36919 res = (*var->set_attr)(p);
36920 break;
36921 }
36922 var = var->next;
093d3ff1 36923 }
0085ce49
RD
36924 if (res == 1 && !PyErr_Occurred()) {
36925 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 36926 }
0085ce49
RD
36927 return res;
36928 }
36929
36930 SWIGINTERN PyTypeObject*
36931 swig_varlink_type(void) {
36932 static char varlink__doc__[] = "Swig var link object";
36933 static PyTypeObject varlink_type;
36934 static int type_init = 0;
36935 if (!type_init) {
36936 const PyTypeObject tmp
36937 = {
36938 PyObject_HEAD_INIT(NULL)
36939 0, /* Number of items in variable part (ob_size) */
36940 (char *)"swigvarlink", /* Type name (tp_name) */
36941 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36942 0, /* Itemsize (tp_itemsize) */
36943 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
36944 (printfunc) swig_varlink_print, /* Print (tp_print) */
36945 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36946 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36947 0, /* tp_compare */
36948 (reprfunc) swig_varlink_repr, /* tp_repr */
36949 0, /* tp_as_number */
36950 0, /* tp_as_sequence */
36951 0, /* tp_as_mapping */
36952 0, /* tp_hash */
36953 0, /* tp_call */
36954 (reprfunc)swig_varlink_str, /* tp_str */
36955 0, /* tp_getattro */
36956 0, /* tp_setattro */
36957 0, /* tp_as_buffer */
36958 0, /* tp_flags */
36959 varlink__doc__, /* tp_doc */
36960 0, /* tp_traverse */
36961 0, /* tp_clear */
36962 0, /* tp_richcompare */
36963 0, /* tp_weaklistoffset */
36964#if PY_VERSION_HEX >= 0x02020000
36965 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36966#endif
36967#if PY_VERSION_HEX >= 0x02030000
36968 0, /* tp_del */
36969#endif
36970#ifdef COUNT_ALLOCS
36971 0,0,0,0 /* tp_alloc -> tp_next */
36972#endif
36973 };
36974 varlink_type = tmp;
36975 varlink_type.ob_type = &PyType_Type;
36976 type_init = 1;
093d3ff1 36977 }
0085ce49
RD
36978 return &varlink_type;
36979 }
36980
36981 /* Create a variable linking object for use later */
36982 SWIGINTERN PyObject *
36983 SWIG_Python_newvarlink(void) {
36984 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
36985 if (result) {
36986 result->vars = 0;
36987 }
36988 return ((PyObject*) result);
36989 }
36990
36991 SWIGINTERN void
36992 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36993 swig_varlinkobject *v = (swig_varlinkobject *) p;
36994 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36995 if (gv) {
36996 size_t size = strlen(name)+1;
36997 gv->name = (char *)malloc(size);
36998 if (gv->name) {
36999 strncpy(gv->name,name,size);
37000 gv->get_attr = get_attr;
37001 gv->set_attr = set_attr;
37002 gv->next = v->vars;
37003 }
093d3ff1 37004 }
0085ce49
RD
37005 v->vars = gv;
37006 }
37007
37008 SWIGINTERN PyObject *
37009 SWIG_globals() {
37010 static PyObject *_SWIG_globals = 0;
37011 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
37012 return _SWIG_globals;
37013 }
37014
37015 /* -----------------------------------------------------------------------------
37016 * constants/methods manipulation
37017 * ----------------------------------------------------------------------------- */
37018
37019 /* Install Constants */
37020 SWIGINTERN void
37021 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37022 PyObject *obj = 0;
37023 size_t i;
37024 for (i = 0; constants[i].type; ++i) {
37025 switch(constants[i].type) {
37026 case SWIG_PY_POINTER:
37027 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37028 break;
37029 case SWIG_PY_BINARY:
37030 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37031 break;
37032 default:
37033 obj = 0;
37034 break;
37035 }
37036 if (obj) {
37037 PyDict_SetItemString(d, constants[i].name, obj);
37038 Py_DECREF(obj);
37039 }
093d3ff1 37040 }
0085ce49
RD
37041 }
37042
37043 /* -----------------------------------------------------------------------------*/
37044 /* Fix SwigMethods to carry the callback ptrs when needed */
37045 /* -----------------------------------------------------------------------------*/
37046
37047 SWIGINTERN void
37048 SWIG_Python_FixMethods(PyMethodDef *methods,
37049 swig_const_info *const_table,
37050 swig_type_info **types,
37051 swig_type_info **types_initial) {
37052 size_t i;
37053 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 37054 const char *c = methods[i].ml_doc;
0085ce49
RD
37055 if (c && (c = strstr(c, "swig_ptr: "))) {
37056 int j;
37057 swig_const_info *ci = 0;
453fb36b 37058 const char *name = c + 10;
0085ce49
RD
37059 for (j = 0; const_table[j].type; ++j) {
37060 if (strncmp(const_table[j].name, name,
37061 strlen(const_table[j].name)) == 0) {
37062 ci = &(const_table[j]);
37063 break;
37064 }
37065 }
37066 if (ci) {
37067 size_t shift = (ci->ptype) - types;
37068 swig_type_info *ty = types_initial[shift];
37069 size_t ldoc = (c - methods[i].ml_doc);
37070 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37071 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37072 if (ndoc) {
37073 char *buff = ndoc;
37074 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
37075 if (ptr) {
37076 strncpy(buff, methods[i].ml_doc, ldoc);
37077 buff += ldoc;
37078 strncpy(buff, "swig_ptr: ", 10);
37079 buff += 10;
37080 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37081 methods[i].ml_doc = ndoc;
37082 }
37083 }
37084 }
37085 }
093d3ff1 37086 }
0085ce49
RD
37087 }
37088
37089#ifdef __cplusplus
37090}
37091#endif
37092
37093/* -----------------------------------------------------------------------------*
37094 * Partial Init method
37095 * -----------------------------------------------------------------------------*/
37096
37097#ifdef __cplusplus
37098extern "C"
37099#endif
37100SWIGEXPORT void SWIG_init(void) {
37101 PyObject *m, *d;
37102
37103 /* Fix SwigMethods to carry the callback ptrs when needed */
37104 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
37105
37106 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37107 d = PyModule_GetDict(m);
37108
37109 SWIG_InitializeModule(0);
37110 SWIG_InstallConstants(d,swig_const_table);
37111
37112
37113 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
37114 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
37115 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
37116 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
37117 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
37118 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
37119 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
37120 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
37121 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
37122 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
0085ce49
RD
37123 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
37124 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
37125 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
37126 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
37127 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
0085ce49
RD
37128 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
37129 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
37130 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
37131 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
37132 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
37133 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
37134 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
37135 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
37136 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
37137 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
37138 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
37139 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 37140 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
fc46b7f3
RD
37141 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
37142 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
0085ce49
RD
37143 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
37144 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
37145 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
37146 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
37147 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
37148 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
37149 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
37150 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
37151 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
37152 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 37153 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
0085ce49
RD
37154 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
37155 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
37156 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
37157 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
37158 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
37159 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
37160 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
37161 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
37162 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
37163 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
37164 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
37165 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
37166 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
37167 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
37168 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
37169 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
37170 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
37171 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
37172 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
37173 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
37174 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
37175 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
37176 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
37177 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
37178 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
37179 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
37180 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
37181 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
37182 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
37183 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
37184 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
37185 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
37186 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
37187 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
37188 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
37189 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
37190 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
37191 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
37192 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
37193 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
37194 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
37195 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
37196 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
37197 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
37198 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
37199 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
37200 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
37201 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
37202 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
37203 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
37204 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
37205 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
37206 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
37207 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
37208 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
37209 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
37210 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
37211 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
37212 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
f9bf356b
RD
37213 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
37214 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
37215 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
0085ce49
RD
37216
37217 // Map renamed classes back to their common name for OOR
37218 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37219 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37220 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37221
37222 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
37223 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
37224 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
37225 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
37226 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
37227 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
37228 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
1ceb4f4d 37229 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
0085ce49
RD
37230 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
37231 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
37232 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
37233 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
37234 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
37235 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
cbfc9df6
RD
37236 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
37237 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
704eda0c
RD
37238 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
37239 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
704eda0c
RD
37240 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
37241 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
37242 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
37243 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
37244 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
37245 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
10044bf1 37246 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 37247 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
0085ce49
RD
37248 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
37249 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
37250 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
ae5bc7f3
RD
37251 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
37252 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
37253 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
37254 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
37255 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
37256 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
37257 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
37258 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
0085ce49
RD
37259 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
37260 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
37261 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
37262 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
37263 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
37264 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
37265 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
37266 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
37267 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
37268 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
37269 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
37270 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
37271 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37272 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37273 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37274 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37275 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37276 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37277 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37278 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37279 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37280 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
37281 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
37282 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
37283 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
37284 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
37285 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
37286 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
37287 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
37288 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
37289 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
37290 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
37291 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
37292 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
37293 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
37294 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
37295 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
37296 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
37297 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
37298 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
37299 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
37300 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
37301 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
37302 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
37303 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
37304 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
37305 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
37306 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
37307 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
37308 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
37309 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
37310 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
37311 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
37312 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
37313 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
37314 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
37315 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
37316 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
37317 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
37318 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
37319 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
37320 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
37321
37322 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
37323
d14a1e28
RD
37324}
37325