]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
wx.VScrolledWindow has been refactored, and new wx.HScrolledWindow and
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
1bd55598 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
36ed4f51 46#endif
d55e5bfc 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
1bd55598
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
1bd55598
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
1bd55598
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
1bd55598
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
1bd55598
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
d55e5bfc 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d55e5bfc 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d55e5bfc 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
36ed4f51
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
36ed4f51
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
1bd55598
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
36ed4f51
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
36ed4f51
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
1bd55598 481 if (!type) return NULL;
36ed4f51
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
36ed4f51
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
36ed4f51
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
36ed4f51 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
36ed4f51
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
36ed4f51
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
1bd55598
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
1bd55598
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
36ed4f51 764#endif
1bd55598
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
1bd55598
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
1bd55598
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
36ed4f51 935#endif
d55e5bfc 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
1bd55598
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
36ed4f51 986/* Common SWIG API */
d55e5bfc 987
4f89b6b7
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
1bd55598
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
1bd55598
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
1bd55598
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
1bd55598
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
1bd55598
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d55e5bfc 1017
1bd55598 1018/* Runtime API */
d55e5bfc 1019
1bd55598
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
1bd55598
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
d55e5bfc 1030
1bd55598 1031/* Runtime API implementation */
d55e5bfc 1032
1bd55598 1033/* Error manipulation */
d55e5bfc 1034
1bd55598
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c370783e 1041}
d55e5bfc 1042
1bd55598
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1048}
1049
1bd55598 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
1bd55598 1052/* Set a constant value */
d55e5bfc 1053
1bd55598
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c370783e 1058}
d55e5bfc 1059
1bd55598 1060/* Append a value to the result obj */
d55e5bfc 1061
1bd55598
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
36ed4f51 1088 } else {
1bd55598
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c370783e 1100 }
1bd55598
RD
1101 return result;
1102#endif
c370783e
RD
1103}
1104
1bd55598 1105/* Unpack the argument tuple */
d55e5bfc 1106
1bd55598
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1613#endif
1614 };
1615
1bd55598 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
36ed4f51 1618 if (!type_init) {
1bd55598
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
36ed4f51 1632#endif
1bd55598
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
36ed4f51 1651#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
36ed4f51
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
1bd55598 1674 0, /* tp_del */
36ed4f51
RD
1675#endif
1676#ifdef COUNT_ALLOCS
1bd55598 1677 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1678#endif
1bd55598 1679 };
32fe5131 1680 pyswigobject_type = tmp;
1bd55598 1681 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
36ed4f51
RD
1685}
1686
1687SWIGRUNTIME PyObject *
1bd55598 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c370783e 1689{
1bd55598
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
1bd55598 1697 return (PyObject *)sobj;
36ed4f51 1698}
d55e5bfc 1699
36ed4f51
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
36ed4f51
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1bd55598 1707 swig_type_info *ty;
36ed4f51
RD
1708 size_t size;
1709} PySwigPacked;
c370783e 1710
36ed4f51 1711SWIGRUNTIME int
1bd55598 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
36ed4f51
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1bd55598 1720 fputs(v->ty->name,fp);
36ed4f51
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1731 } else {
1bd55598 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51 1733 }
d55e5bfc
RD
1734}
1735
36ed4f51
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1742 } else {
1bd55598 1743 return PyString_FromString(v->ty->name);
36ed4f51
RD
1744 }
1745}
d55e5bfc 1746
36ed4f51
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
1bd55598
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e
RD
1754}
1755
1bd55598 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
36ed4f51 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
1bd55598
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
36ed4f51
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1bd55598 1837 0, /* tp_del */
36ed4f51
RD
1838#endif
1839#ifdef COUNT_ALLOCS
1bd55598 1840 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1841#endif
1bd55598 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
1bd55598 1844 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
36ed4f51 1848}
d55e5bfc 1849
36ed4f51 1850SWIGRUNTIME PyObject *
1bd55598 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1852{
1bd55598
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
36ed4f51 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1bd55598
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
36ed4f51 1865 }
1bd55598 1866 return (PyObject *) sobj;
36ed4f51 1867}
d55e5bfc 1868
1bd55598 1869SWIGRUNTIME swig_type_info *
36ed4f51
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1bd55598
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
36ed4f51 1880}
d55e5bfc 1881
36ed4f51 1882/* -----------------------------------------------------------------------------
1bd55598 1883 * pointers/data manipulation
36ed4f51 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
1bd55598
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
1bd55598
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
1bd55598 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
1bd55598
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1903{
1bd55598
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
36ed4f51 1926 } else {
1bd55598
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
36ed4f51 1929 }
36ed4f51 1930 }
1bd55598
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
36ed4f51
RD
1947 }
1948}
d55e5bfc 1949
1bd55598
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
36ed4f51 1961 }
1bd55598 1962 return 0;
36ed4f51 1963}
d55e5bfc 1964
1bd55598
RD
1965/* Convert a pointer value */
1966
36ed4f51 1967SWIGRUNTIME int
1bd55598
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
36ed4f51 1992 } else {
1bd55598
RD
1993 if (ptr) *ptr = vptr;
1994 break;
36ed4f51 1995 }
36ed4f51 1996 }
1bd55598
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
36ed4f51
RD
2042 }
2043}
d55e5bfc 2044
1bd55598
RD
2045/* Convert a function ptr value */
2046
36ed4f51 2047SWIGRUNTIME int
1bd55598
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2051 } else {
1bd55598
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
4f89b6b7 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1bd55598
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
36ed4f51
RD
2069 }
2070}
d55e5bfc 2071
1bd55598 2072/* Convert a packed value value */
d55e5bfc 2073
36ed4f51 2074SWIGRUNTIME int
1bd55598
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
36ed4f51 2084 }
1bd55598
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
1bd55598
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
1bd55598
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
1bd55598
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
36ed4f51 2115 }
1bd55598
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
36ed4f51 2120 }
1bd55598
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
36ed4f51 2126 }
1bd55598
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
36ed4f51 2140 }
1bd55598
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
36ed4f51 2147 }
1bd55598
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
36ed4f51 2158}
d55e5bfc 2159
1bd55598
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
36ed4f51 2175#endif
1bd55598
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
1bd55598
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2191 } else {
1bd55598 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2193 }
1bd55598 2194 return SWIG_Py_Void();
36ed4f51 2195 }
1bd55598
RD
2196}
2197
2198/* Create a new pointer object */
36ed4f51 2199
36ed4f51 2200SWIGRUNTIME PyObject *
1bd55598 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2202 if (!ptr) {
1bd55598
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
36ed4f51 2213 }
36ed4f51 2214 }
1bd55598 2215 return robj;
36ed4f51 2216 }
36ed4f51
RD
2217}
2218
1bd55598
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
36ed4f51 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
36ed4f51
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
36ed4f51 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
36ed4f51
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
1bd55598 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
1bd55598 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
1bd55598 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
1bd55598 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
1bd55598 2281 return SWIG_OK;
36ed4f51 2282}
32fe5131 2283#endif
36ed4f51 2284
1bd55598
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
1bd55598 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
36ed4f51 2314
1bd55598
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
36ed4f51 2320}
36ed4f51 2321
1bd55598
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2131d850
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
f9bf356b
RD
2477#define SWIGTYPE_p_wxArrayString swig_types[11]
2478#define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479#define SWIGTYPE_p_wxBitmap swig_types[13]
2480#define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481#define SWIGTYPE_p_wxCURHandler swig_types[15]
2482#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486#define SWIGTYPE_p_wxColour swig_types[20]
2487#define SWIGTYPE_p_wxColourData swig_types[21]
2488#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxDC swig_types[27]
2494#define SWIGTYPE_p_wxDateEvent swig_types[28]
2495#define SWIGTYPE_p_wxDialog swig_types[29]
2496#define SWIGTYPE_p_wxDirDialog swig_types[30]
2497#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499#define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500#define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvent swig_types[35]
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]
2567#define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568#define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569#define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570#define SWIGTYPE_p_wxPrintData swig_types[104]
2571#define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572#define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573#define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574#define SWIGTYPE_p_wxPrinter swig_types[108]
2575#define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576#define SWIGTYPE_p_wxPyApp swig_types[110]
2577#define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578#define SWIGTYPE_p_wxPyEvent swig_types[112]
2579#define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580#define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581#define SWIGTYPE_p_wxPyPanel swig_types[115]
2582#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584#define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585#define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586#define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587#define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588#define SWIGTYPE_p_wxPySizer swig_types[122]
2589#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590#define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592#define SWIGTYPE_p_wxPyValidator swig_types[126]
2593#define SWIGTYPE_p_wxPyWindow swig_types[127]
2594#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596#define SWIGTYPE_p_wxRect swig_types[130]
2597#define SWIGTYPE_p_wxRegion swig_types[131]
2598#define SWIGTYPE_p_wxSashEvent swig_types[132]
2599#define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600#define SWIGTYPE_p_wxSashWindow swig_types[134]
2601#define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602#define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603#define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604#define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605#define SWIGTYPE_p_wxShowEvent swig_types[139]
2606#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608#define SWIGTYPE_p_wxSize swig_types[142]
2609#define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610#define SWIGTYPE_p_wxSizer swig_types[144]
2611#define SWIGTYPE_p_wxSizerItem swig_types[145]
2612#define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613#define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614#define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615#define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617#define SWIGTYPE_p_wxStatusBar swig_types[151]
2618#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619#define SWIGTYPE_p_wxString swig_types[153]
2620#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621#define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622#define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623#define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625#define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626#define SWIGTYPE_p_wxTipWindow swig_types[160]
2627#define SWIGTYPE_p_wxToolBar swig_types[161]
2628#define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629#define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630#define SWIGTYPE_p_wxValidator swig_types[164]
2631#define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632#define SWIGTYPE_p_wxWindow swig_types[166]
2633#define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635#define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636static swig_type_info *swig_types[171];
2637static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0};
32fe5131
RD
2638#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2640
2641/* -------- TYPES TABLE (END) -------- */
2642
1bd55598
RD
2643#if (PY_VERSION_HEX <= 0x02000000)
2644# if !defined(SWIG_PYTHON_CLASSIC)
2645# error "This python version requires to use swig with the '-classic' option"
2646# endif
2647#endif
2648#if (PY_VERSION_HEX <= 0x02020000)
2649# error "This python version requires to use swig with the '-nomodern' option"
2650#endif
2651#if (PY_VERSION_HEX <= 0x02020000)
2652# error "This python version requires to use swig with the '-nomodernargs' option"
2653#endif
2654#ifndef METH_O
2655# error "This python version requires to use swig with the '-nofastunpack' option"
2656#endif
36ed4f51
RD
2657
2658/*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661#define SWIG_init init_windows_
2662
2663#define SWIG_name "_windows_"
2664
1bd55598 2665#define SWIGVERSION 0x010329
36ed4f51 2666
36ed4f51 2667
1bd55598
RD
2668#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2670
2671
1bd55598 2672#include <stdexcept>
36ed4f51
RD
2673
2674
1bd55598
RD
2675namespace swig {
2676 class PyObject_ptr {
2677 protected:
2678 PyObject *_obj;
36ed4f51 2679
1bd55598
RD
2680 public:
2681 PyObject_ptr() :_obj(0)
2682 {
2683 }
36ed4f51 2684
1bd55598
RD
2685 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2686 {
2687 Py_XINCREF(_obj);
36ed4f51 2688 }
1bd55598
RD
2689
2690 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2691 {
2692 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2693 }
1bd55598
RD
2694
2695 PyObject_ptr & operator=(const PyObject_ptr& item)
2696 {
2697 Py_XINCREF(item._obj);
2698 Py_XDECREF(_obj);
2699 _obj = item._obj;
2700 return *this;
2701 }
2702
2703 ~PyObject_ptr()
2704 {
2705 Py_XDECREF(_obj);
2706 }
2707
2708 operator PyObject *() const
2709 {
2710 return _obj;
2711 }
2712
2713 PyObject *operator->() const
2714 {
2715 return _obj;
2716 }
2717 };
36ed4f51
RD
2718}
2719
2720
1bd55598
RD
2721namespace swig {
2722 struct PyObject_var : PyObject_ptr {
2723 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2724
2725 PyObject_var & operator = (PyObject* obj)
2726 {
2727 Py_XDECREF(_obj);
2728 _obj = obj;
2729 return *this;
36ed4f51 2730 }
1bd55598 2731 };
36ed4f51 2732}
36ed4f51
RD
2733
2734
1bd55598
RD
2735#include "wx/wxPython/wxPython.h"
2736#include "wx/wxPython/pyclasses.h"
2737
36ed4f51 2738
1bd55598
RD
2739 static const wxString wxPyEmptyString(wxEmptyString);
2740 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2741
36ed4f51 2742
1bd55598
RD
2743
2744#include <limits.h>
2745#ifndef LLONG_MIN
2746# define LLONG_MIN LONG_LONG_MIN
2747#endif
2748#ifndef LLONG_MAX
2749# define LLONG_MAX LONG_LONG_MAX
2750#endif
2751#ifndef ULLONG_MAX
2752# define ULLONG_MAX ULONG_LONG_MAX
2753#endif
2754
2755
2756SWIGINTERN int
2757SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2758{
1bd55598
RD
2759 if (PyNumber_Check(obj)) {
2760 if (val) *val = PyInt_AsLong(obj);
2761 return SWIG_OK;
2762 }
2763 return SWIG_TypeError;
36ed4f51
RD
2764}
2765
1bd55598
RD
2766
2767SWIGINTERN int
2768SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2769{
1bd55598
RD
2770 long v;
2771 int res = SWIG_AsVal_long (obj, &v);
2772 if (SWIG_IsOK(res)) {
2773 if ((v < INT_MIN || v > INT_MAX)) {
2774 return SWIG_OverflowError;
2775 } else {
2776 if (val) *val = static_cast< int >(v);
2777 }
2778 }
2779 return res;
36ed4f51
RD
2780}
2781
2782
2783SWIGINTERN int
1bd55598 2784SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2785{
2786 if (obj == Py_True) {
2787 if (val) *val = true;
1bd55598
RD
2788 return SWIG_OK;
2789 } else if (obj == Py_False) {
36ed4f51 2790 if (val) *val = false;
1bd55598 2791 return SWIG_OK;
36ed4f51 2792 } else {
1bd55598
RD
2793 long v = 0;
2794 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2795 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2796 return res;
36ed4f51 2797 }
36ed4f51
RD
2798}
2799
2800
1bd55598 2801 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2802
2803
1bd55598
RD
2804SWIGINTERNINLINE PyObject *
2805SWIG_From_int (int value)
2806{
2807 return SWIG_From_long (value);
2808}
36ed4f51
RD
2809
2810
2811SWIGINTERN int
1bd55598 2812SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2813{
2814 if (PyNumber_Check(obj)) {
2815 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2816 return SWIG_OK;
36ed4f51 2817 }
1bd55598 2818 return SWIG_TypeError;
36ed4f51
RD
2819}
2820
2821
1bd55598 2822 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2823
2824 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2825 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2826 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2827 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2828SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2829 int style = self->GetExtraStyle();
2830 if ( on )
2831 style |= wxFRAME_EX_METAL;
2832 else
2833 style &= ~wxFRAME_EX_METAL;
2834 self->SetExtraStyle(style);
2835 }
10044bf1 2836
5eb8189c
RD
2837#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2838
2839
36ed4f51 2840
1bd55598 2841SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2842 wxRect r;
2843 self->GetFieldRect(i, r);
2844 return r;
2845 }
2846 static const wxString wxPySplitterNameStr(wxT("splitter"));
2847 static const wxString wxPySashNameStr(wxT("sashWindow"));
2848 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2849
2850#include <wx/popupwin.h>
2851
2852
2853class wxPopupWindow : public wxWindow {
2854public:
2855 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2856 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2857};
2858
2859class wxPyPopupTransientWindow : public wxPopupWindow
2860{
2861public:
2862 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2863 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2864};
2865
2866
2867#include <wx/tipwin.h>
2868
1bd55598 2869SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2870 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2871 }
2872
2873#include <wx/tipwin.h>
2874
2875
2876#include <wx/vscroll.h>
2877
2878
2879class wxPyVScrolledWindow : public wxVScrolledWindow
2880{
32fe5131 2881 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2882public:
2883 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2884
2885 wxPyVScrolledWindow(wxWindow *parent,
2886 wxWindowID id = wxID_ANY,
2887 const wxPoint& pos = wxDefaultPosition,
2888 const wxSize& size = wxDefaultSize,
2889 long style = 0,
2890 const wxString& name = wxPyPanelNameStr)
2891 : wxVScrolledWindow(parent, id, pos, size, style, name)
2892 {}
2893
2894 // Overridable virtuals
2895
2896 // this function must be overridden in the derived class and it should
2897 // return the height of the given line in pixels
2898 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2899
2900
2901 // this function doesn't have to be overridden but it may be useful to do
2902 // it if calculating the lines heights is a relatively expensive operation
2903 // as it gives the user code a possibility to calculate several of them at
2904 // once
2905 //
2906 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2907 // shouldn't rely on the latter being called for all lines in the interval
2908 // specified here. It is also possible that OnGetLineHeight() will be
2909 // called for the lines outside of this interval, so this is really just a
2910 // hint, not a promise.
2911 //
2912 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2913 // usual
2914 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2915
2916
2917 // when the number of lines changes, we try to estimate the total height
2918 // of all lines which is a rather expensive operation in terms of lines
2919 // access, so if the user code may estimate the average height
2920 // better/faster than we do, it should override this function to implement
2921 // its own logic
2922 //
2923 // this function should return the best guess for the total height it may
2924 // make
2925 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2926
2927
2928 // Also expose some other interesting protected methods
2929
2930
2931 // find the index of the line we need to show at the top of the window such
2932 // that the last (fully or partially) visible line is the given one
2933 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2934 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2935
2936 // get the total height of the lines between lineMin (inclusive) and
2937 // lineMax (exclusive)
2938 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2939 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2940
2131d850
RD
2941 // update the thumb size shown by the scrollbar
2942 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2943
2944 // remove the scrollbar completely because we don't need it
2945 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
36ed4f51
RD
2946
2947 PYPRIVATE;
2948};
2949
2950IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
2951
2952IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2953IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2954IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2955
2956
fc46b7f3
RD
2957SWIGINTERN int
2958SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2959{
2960 long v = 0;
2961 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2962 return SWIG_TypeError;
2963 }
2964 else if (val)
2965 *val = (unsigned long)v;
2966 return SWIG_OK;
2967}
2968
2969
32fe5131 2970SWIGINTERNINLINE int
1bd55598 2971SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c370783e 2972{
1bd55598
RD
2973 unsigned long v;
2974 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2975 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2976 return res;
d55e5bfc
RD
2977}
2978
2979
32fe5131 2980SWIGINTERNINLINE PyObject*
1bd55598 2981SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2982{
2983 return (value > LONG_MAX) ?
1bd55598
RD
2984 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2985}
2986
2987
2988SWIGINTERNINLINE PyObject *
2989SWIG_From_size_t (size_t value)
2990{
2991 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2992}
2993
2994
2995#include <wx/vlbox.h>
2996
2997 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2998
2999class wxPyVListBox : public wxVListBox
3000{
32fe5131 3001 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
3002public:
3003 wxPyVListBox() : wxVListBox() {}
3004
3005 wxPyVListBox(wxWindow *parent,
3006 wxWindowID id = wxID_ANY,
3007 const wxPoint& pos = wxDefaultPosition,
3008 const wxSize& size = wxDefaultSize,
3009 long style = 0,
3010 const wxString& name = wxPyVListBoxNameStr)
3011 : wxVListBox(parent, id, pos, size, style, name)
3012 {}
3013
3014 // Overridable virtuals
3015
3016 // the derived class must implement this function to actually draw the item
3017 // with the given index on the provided DC
3018 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3019 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3020
3021
3022 // the derived class must implement this method to return the height of the
3023 // specified item
3024 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3025 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3026
3027
3028 // this method may be used to draw separators between the lines; note that
3029 // the rectangle may be modified, typically to deflate it a bit before
3030 // passing to OnDrawItem()
3031 //
3032 // the base class version doesn't do anything
3033 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3034 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3035
3036
3037 // this method is used to draw the items background and, maybe, a border
3038 // around it
3039 //
3040 // the base class version implements a reasonable default behaviour which
3041 // consists in drawing the selected item with the standard background
3042 // colour and drawing a border around the item if it is either selected or
3043 // current
3044 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3045 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3046
3047
3048 PYPRIVATE;
3049};
3050
3051IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3052
3053IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3054IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3055IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3056IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3057
3058
1bd55598 3059SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3060 unsigned long cookie = 0;
3061 int selected = self->GetFirstSelected(cookie);
5a446332 3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
1bd55598 3069SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3070 int selected = self->GetNextSelected(cookie);
5a446332 3071 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3072 PyObject* tup = PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3074 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3075 wxPyEndBlockThreads(blocked);
3076 return tup;
3077 }
d55e5bfc
RD
3078
3079#include <wx/htmllbox.h>
3080
3081
3082class wxPyHtmlListBox : public wxHtmlListBox
3083{
32fe5131 3084 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3085public:
3086 wxPyHtmlListBox() : wxHtmlListBox() {}
3087
3088 wxPyHtmlListBox(wxWindow *parent,
3089 wxWindowID id = wxID_ANY,
3090 const wxPoint& pos = wxDefaultPosition,
3091 const wxSize& size = wxDefaultSize,
3092 long style = 0,
3093 const wxString& name = wxPyVListBoxNameStr)
3094 : wxHtmlListBox(parent, id, pos, size, style, name)
3095 {}
3096
3097 // Overridable virtuals
3098
3099 // this method must be implemented in the derived class and should return
3100 // the body (i.e. without <html>) of the HTML for the given item
3101 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3102
3103 // this function may be overridden to decorate HTML returned by OnGetItem()
3104 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3105
1c71765a
RD
3106 // These are from wxVListBox
3107 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3108 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3109
d55e5bfc
RD
3110// TODO:
3111// // this method allows to customize the selection appearance: it may be used
3112// // to specify the colour of the text which normally has the given colour
3113// // colFg when it is inside the selection
3114// //
3115// // by default, the original colour is not used at all and all text has the
3116// // same (default for this system) colour inside selection
3117// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3118
3119// // this is the same as GetSelectedTextColour() but allows to customize the
3120// // background colour -- this is even more rarely used as you can change it
3121// // globally using SetSelectionBackground()
3122// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3123
e9d6f3a4
RD
3124
3125 // This method may be overriden to handle clicking on a link in
3126 // the listbox. By default, clicking links is ignored.
3127 virtual void OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3129
3130 PYPRIVATE;
3131};
3132
3133
3134IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3135
3136IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3137IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3138IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3139IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3140
3141
e9d6f3a4
RD
3142void wxPyHtmlListBox::OnLinkClicked(size_t n,
3143 const wxHtmlLinkInfo& link) {
3144 bool found;
3145 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3146 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3147 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3148 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3149 Py_DECREF(obj);
3150 }
3151 wxPyEndBlockThreads(blocked);
3152 if (! found)
3153 wxPyHtmlListBox::OnLinkClicked(n, link);
3154}
3155
3156
d55e5bfc 3157
f9bf356b
RD
3158 const wxArrayString wxPyEmptyStringArray;
3159
3160 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3161
d55e5bfc
RD
3162
3163
b411df4a
RD
3164#ifndef wxHAS_TASK_BAR_ICON
3165// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3166
3167class wxTaskBarIcon : public wxEvtHandler
3168{
3169public:
3170 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3171};
09c21d3b 3172
d55e5bfc
RD
3173
3174class wxTaskBarIconEvent : public wxEvent
3175{
3176public:
3177 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3178 { wxPyRaiseNotImplemented(); }
3179 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3180 bool IsOk() const { return false; }
3181 bool IsIconInstalled() const { return false; }
3182 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3183 bool RemoveIcon() { return false; }
3184 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3185};
3186
3187enum {
3188 wxEVT_TASKBAR_MOVE = 0,
3189 wxEVT_TASKBAR_LEFT_DOWN = 0,
3190 wxEVT_TASKBAR_LEFT_UP = 0,
3191 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3192 wxEVT_TASKBAR_RIGHT_UP = 0,
3193 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3194 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3195};
09c21d3b
RD
3196
3197
3198#else
5e483524
RD
3199// Otherwise make a class that can virtualize CreatePopupMenu
3200class wxPyTaskBarIcon : public wxTaskBarIcon
3201{
32fe5131 3202 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3203public:
3204 wxPyTaskBarIcon() : wxTaskBarIcon()
3205 {}
09c21d3b 3206
5e483524
RD
3207 wxMenu* CreatePopupMenu() {
3208 wxMenu *rval = NULL;
3209 bool found;
5a446332 3210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3211 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3212 PyObject* ro;
3213 wxMenu* ptr;
3214 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3215 if (ro) {
3216 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3217 rval = ptr;
3218 Py_DECREF(ro);
3219 }
3220 }
3221 wxPyEndBlockThreads(blocked);
3222 if (! found)
3223 rval = wxTaskBarIcon::CreatePopupMenu();
3224 return rval;
3225 }
d55e5bfc 3226
5e483524
RD
3227 PYPRIVATE;
3228};
d55e5bfc 3229
5e483524 3230IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3231
5e483524
RD
3232#endif
3233
1bd55598 3234SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3235 self->RemoveIcon();
3236 delete self;
d55e5bfc
RD
3237 }
3238 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3239 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3240 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3241 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3242 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3243 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3244
3245// for compatibility only
3246#define wxHIDE_READONLY 0
3247
1bd55598 3248SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3249 wxArrayString arr;
3250 self->GetFilenames(arr);
3251 return wxArrayString2PyList_helper(arr);
3252 }
1bd55598 3253SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3254 wxArrayString arr;
3255 self->GetPaths(arr);
3256 return wxArrayString2PyList_helper(arr);
3257 }
1bd55598 3258SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3259 return wxArrayInt2PyList_helper(self->GetSelections());
3260 }
1bd55598 3261SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
3262 return new wxSingleChoiceDialog(parent, message, caption,
3263 choices, choices_array, NULL, style, pos);
3264 }
070c48b4 3265 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3266
2131d850
RD
3267SWIGINTERNINLINE PyObject*
3268 SWIG_From_bool (bool value)
3269{
3270 return PyBool_FromLong(value ? 1 : 0);
3271}
3272
3273
d55e5bfc
RD
3274#include <wx/mdi.h>
3275
3276 // C++ version of Python aware wxWindow
3277class wxPyWindow : public wxWindow
3278{
3279 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3280public:
3281 wxPyWindow() : wxWindow() {}
3282 wxPyWindow(wxWindow* parent, const wxWindowID id,
3283 const wxPoint& pos = wxDefaultPosition,
3284 const wxSize& size = wxDefaultSize,
3285 long style = 0,
3286 const wxString& name = wxPyPanelNameStr)
3287 : wxWindow(parent, id, pos, size, style, name) {}
3288
3289
976dbff5
RD
3290 bool DoEraseBackground(wxDC* dc) {
3291#ifdef __WXMSW__
3292 return wxWindow::DoEraseBackground(dc->GetHDC());
3293#else
3294 dc->SetBackground(wxBrush(GetBackgroundColour()));
3295 dc->Clear();
3296 return true;
3297#endif
3298 }
3299
d55e5bfc
RD
3300 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3301 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3303 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3304
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3308
3309 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3310 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3311
3312 DEC_PYCALLBACK__(InitDialog);
3313 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3314 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3315 DEC_PYCALLBACK_BOOL_(Validate);
3316
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3318 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3319 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3320
3321 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3322 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3323
a5ee0656 3324 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3325 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3326
51b83b37
RD
3327 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3328
8d38bd1d
RD
3329 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3330
d55e5bfc
RD
3331 PYPRIVATE;
3332};
3333
3334IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3335
3336IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3337IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3338IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3339IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3340
3341IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3342IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3343IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3344
3345IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3346IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3347
3348IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3349IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3350IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3351IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3352
3353IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3354IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3355IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3356
3357IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3358IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3359
a5ee0656 3360IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3361IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3362
3363IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3364
8d38bd1d
RD
3365IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3366
d55e5bfc
RD
3367 // C++ version of Python aware wxPanel
3368class wxPyPanel : public wxPanel
3369{
3370 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3371public:
3372 wxPyPanel() : wxPanel() {}
3373 wxPyPanel(wxWindow* parent, const wxWindowID id,
3374 const wxPoint& pos = wxDefaultPosition,
3375 const wxSize& size = wxDefaultSize,
3376 long style = 0,
3377 const wxString& name = wxPyPanelNameStr)
3378 : wxPanel(parent, id, pos, size, style, name) {}
3379
976dbff5
RD
3380 bool DoEraseBackground(wxDC* dc) {
3381#ifdef __WXMSW__
3382 return wxWindow::DoEraseBackground(dc->GetHDC());
3383#else
3384 dc->SetBackground(wxBrush(GetBackgroundColour()));
3385 dc->Clear();
3386 return true;
3387#endif
3388 }
a5ee0656 3389
d55e5bfc
RD
3390
3391 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3392 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3394 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3395
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3398 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3399
3400 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3401 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3402
3403 DEC_PYCALLBACK__(InitDialog);
3404 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3405 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3406 DEC_PYCALLBACK_BOOL_(Validate);
3407
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3409 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3410 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3411
3412 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3413 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3414
a5ee0656 3415 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3416 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3417
51b83b37
RD
3418 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3419
8d38bd1d
RD
3420 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3421
d55e5bfc
RD
3422 PYPRIVATE;
3423};
3424
3425IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3426
3427IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3428IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3429IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3430IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3431
3432IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3433IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3434IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3435
3436IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3437IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3438
3439IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3440IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3441IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3442IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3443
3444IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3445IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3446IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3447
3448IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3449IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3450
a5ee0656 3451IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3452IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3453
51b83b37
RD
3454IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3455
8d38bd1d
RD
3456IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3457
d55e5bfc
RD
3458 // C++ version of Python aware wxScrolledWindow
3459class wxPyScrolledWindow : public wxScrolledWindow
3460{
3461 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3462public:
3463 wxPyScrolledWindow() : wxScrolledWindow() {}
3464 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3465 const wxPoint& pos = wxDefaultPosition,
3466 const wxSize& size = wxDefaultSize,
3467 long style = 0,
3468 const wxString& name = wxPyPanelNameStr)
3469 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3470
976dbff5
RD
3471 bool DoEraseBackground(wxDC* dc) {
3472#ifdef __WXMSW__
3473 return wxWindow::DoEraseBackground(dc->GetHDC());
3474#else
3475 dc->SetBackground(wxBrush(GetBackgroundColour()));
3476 dc->Clear();
3477 return true;
3478#endif
3479 }
d55e5bfc
RD
3480
3481 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3482 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3484 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3485
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3488 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3489
3490 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3491 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3492
3493 DEC_PYCALLBACK__(InitDialog);
3494 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3495 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3496 DEC_PYCALLBACK_BOOL_(Validate);
3497
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3499 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3500 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3501
3502 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3503 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3504
a5ee0656 3505 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3506 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3507
51b83b37
RD
3508 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3509
8d38bd1d
RD
3510 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3511
d55e5bfc
RD
3512 PYPRIVATE;
3513};
3514
3515IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3516
3517IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3518IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3519IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3520IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3521
3522IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3523IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3524IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3525
3526IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3527IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3528
3529IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3530IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3531IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3532IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3533
3534IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3535IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3536IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3537
3538IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3539IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3540
a5ee0656 3541IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3542IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3543
51b83b37 3544IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3545
8d38bd1d
RD
3546IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3547
d55e5bfc
RD
3548
3549#include "wx/wxPython/printfw.h"
3550
3551
3552 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3553 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3554SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3555 PyObject* data;
5a446332 3556 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3557 data = PyString_FromStringAndSize(self->GetPrivData(),
3558 self->GetPrivDataLen());
3559 wxPyEndBlockThreads(blocked);
3560 return data;
3561 }
1bd55598 3562SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3563 if (! PyString_Check(data)) {
3564 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3565 "Expected string object"));
3566 return /* NULL */ ;
3567 }
3568
5a446332 3569 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3570 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3571 wxPyEndBlockThreads(blocked);
3572 }
d55e5bfc
RD
3573
3574
070c48b4 3575IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3576
3577// Since this one would be tough and ugly to do with the Macros...
3578void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3579 bool hadErr = false;
d55e5bfc
RD
3580 bool found;
3581
5a446332 3582 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3583 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3584 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3585 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3586 PyObject* val;
3587
3588 val = PyTuple_GetItem(result, 0);
3589 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3590 else hadErr = true;
d55e5bfc
RD
3591
3592 val = PyTuple_GetItem(result, 1);
3593 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3594 else hadErr = true;
d55e5bfc
RD
3595
3596 val = PyTuple_GetItem(result, 2);
3597 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3598 else hadErr = true;
d55e5bfc
RD
3599
3600 val = PyTuple_GetItem(result, 3);
3601 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3602 else hadErr = true;
d55e5bfc
RD
3603 }
3604 else
b411df4a 3605 hadErr = true;
d55e5bfc
RD
3606
3607 if (hadErr) {
3608 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3609 PyErr_Print();
3610 }
3611 Py_DECREF(result);
3612 }
3613 wxPyEndBlockThreads(blocked);
3614 if (! found)
3615 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3616}
3617
d55e5bfc
RD
3618
3619
3620IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3621IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3622IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3623IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3624IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3625IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3626IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3627
3628
3629
3630
3631
b411df4a 3632#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3633 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3634
3635
b411df4a
RD
3636#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3637 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3638 bool rval=false; \
3639 bool found; \
32fe5131 3640 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3642 PyObject* win = wxPyMake_wxObject(a,false); \
3643 PyObject* dc = wxPyMake_wxObject(&b,false); \
3644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3645 Py_DECREF(win); \
3646 Py_DECREF(dc); \
3647 } \
3648 wxPyEndBlockThreads(blocked); \
3649 if (! found) \
3650 rval = PCLASS::CBNAME(a, b); \
3651 return rval; \
7f7aa166 3652 }
d55e5bfc
RD
3653
3654
3655
3656
3657class wxPyPrintPreview : public wxPrintPreview
3658{
3659 DECLARE_CLASS(wxPyPrintPreview)
3660public:
3661 wxPyPrintPreview(wxPyPrintout* printout,
3662 wxPyPrintout* printoutForPrinting,
3663 wxPrintDialogData* data=NULL)
3664 : wxPrintPreview(printout, printoutForPrinting, data)
3665 {}
3666 wxPyPrintPreview(wxPyPrintout* printout,
3667 wxPyPrintout* printoutForPrinting,
32fe5131 3668 wxPrintData* data)
d55e5bfc
RD
3669 : wxPrintPreview(printout, printoutForPrinting, data)
3670 {}
3671
3672 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3674 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3675 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3676 DEC_PYCALLBACK_VOID_INT(SetZoom);
3677 DEC_PYCALLBACK_BOOL_BOOL(Print);
3678 DEC_PYCALLBACK_VOID_(DetermineScaling);
3679
3680 PYPRIVATE;
3681};
3682
3683// Stupid renamed classes... Fix this in 2.5...
3684#if defined(__WXMSW__)
3685IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3686#elif defined(__WXMAC__)
3687IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3688#else
3689IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3690#endif
3691
3692IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3693IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3694IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3695IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3696IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3697IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3698IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3699
3700
3701class wxPyPreviewFrame : public wxPreviewFrame
3702{
32fe5131 3703 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3704public:
3705 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3706 const wxString& title,
3707 const wxPoint& pos = wxDefaultPosition,
3708 const wxSize& size = wxDefaultSize,
3709 long style = wxDEFAULT_FRAME_STYLE,
3710 const wxString& name = wxPyFrameNameStr)
3711 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3712 {}
3713
3714 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3715 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3716
3717 DEC_PYCALLBACK_VOID_(Initialize);
3718 DEC_PYCALLBACK_VOID_(CreateCanvas);
3719 DEC_PYCALLBACK_VOID_(CreateControlBar);
3720
3721 PYPRIVATE;
3722};
3723
3724IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3725
3726IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3727IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3728IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3729
3730
3731class wxPyPreviewControlBar : public wxPreviewControlBar
3732{
32fe5131 3733 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3734public:
3735 wxPyPreviewControlBar(wxPrintPreview *preview,
3736 long buttons,
3737 wxWindow *parent,
3738 const wxPoint& pos = wxDefaultPosition,
3739 const wxSize& size = wxDefaultSize,
3740 long style = 0,
3741 const wxString& name = wxPyPanelNameStr)
3742 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3743 {}
3744
3745 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3746
3747 DEC_PYCALLBACK_VOID_(CreateButtons);
3748 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3749
3750 PYPRIVATE;
3751};
3752
3753IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3754IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3755IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3756
3757#ifdef __cplusplus
3758extern "C" {
3759#endif
1bd55598
RD
3760SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj = 0;
3762 wxWindow *arg1 = (wxWindow *) 0 ;
3763 int arg2 = (int) (int)-1 ;
3764 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3765 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3766 wxSize const &arg4_defvalue = wxDefaultSize ;
3767 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3768 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3769 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3770 wxString *arg6 = (wxString *) &arg6_defvalue ;
3771 wxPanel *result = 0 ;
3772 void *argp1 = 0 ;
3773 int res1 = 0 ;
3774 int val2 ;
3775 int ecode2 = 0 ;
3776 wxPoint temp3 ;
3777 wxSize temp4 ;
3778 long val5 ;
3779 int ecode5 = 0 ;
3780 bool temp6 = false ;
3781 PyObject * obj0 = 0 ;
3782 PyObject * obj1 = 0 ;
3783 PyObject * obj2 = 0 ;
3784 PyObject * obj3 = 0 ;
3785 PyObject * obj4 = 0 ;
3786 PyObject * obj5 = 0 ;
3787 char * kwnames[] = {
3788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 };
3790
3791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3793 if (!SWIG_IsOK(res1)) {
3794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3795 }
3796 arg1 = reinterpret_cast< wxWindow * >(argp1);
3797 if (obj1) {
3798 ecode2 = SWIG_AsVal_int(obj1, &val2);
3799 if (!SWIG_IsOK(ecode2)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3801 }
3802 arg2 = static_cast< int >(val2);
3803 }
3804 if (obj2) {
d55e5bfc 3805 {
1bd55598
RD
3806 arg3 = &temp3;
3807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3808 }
1bd55598
RD
3809 }
3810 if (obj3) {
d55e5bfc 3811 {
1bd55598
RD
3812 arg4 = &temp4;
3813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3814 }
1bd55598
RD
3815 }
3816 if (obj4) {
3817 ecode5 = SWIG_AsVal_long(obj4, &val5);
3818 if (!SWIG_IsOK(ecode5)) {
3819 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3820 }
3821 arg5 = static_cast< long >(val5);
3822 }
3823 if (obj5) {
d55e5bfc 3824 {
1bd55598
RD
3825 arg6 = wxString_in_helper(obj5);
3826 if (arg6 == NULL) SWIG_fail;
3827 temp6 = true;
3828 }
3829 }
3830 {
3831 if (!wxPyCheckForApp()) SWIG_fail;
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3838 {
3839 if (temp6)
3840 delete arg6;
3841 }
3842 return resultobj;
3843fail:
3844 {
3845 if (temp6)
3846 delete arg6;
3847 }
3848 return NULL;
d55e5bfc
RD
3849}
3850
3851
1bd55598
RD
3852SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3853 PyObject *resultobj = 0;
3854 wxPanel *result = 0 ;
3855
3856 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3857 {
3858 if (!wxPyCheckForApp()) SWIG_fail;
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (wxPanel *)new wxPanel();
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3865 return resultobj;
3866fail:
3867 return NULL;
3868}
3869
3870
3871SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj = 0;
3873 wxPanel *arg1 = (wxPanel *) 0 ;
3874 wxWindow *arg2 = (wxWindow *) 0 ;
3875 int arg3 = (int) (int)-1 ;
3876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3878 wxSize const &arg5_defvalue = wxDefaultSize ;
3879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3880 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3881 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3882 wxString *arg7 = (wxString *) &arg7_defvalue ;
3883 bool result;
3884 void *argp1 = 0 ;
3885 int res1 = 0 ;
3886 void *argp2 = 0 ;
3887 int res2 = 0 ;
3888 int val3 ;
3889 int ecode3 = 0 ;
3890 wxPoint temp4 ;
3891 wxSize temp5 ;
3892 long val6 ;
3893 int ecode6 = 0 ;
3894 bool temp7 = false ;
3895 PyObject * obj0 = 0 ;
3896 PyObject * obj1 = 0 ;
3897 PyObject * obj2 = 0 ;
3898 PyObject * obj3 = 0 ;
3899 PyObject * obj4 = 0 ;
3900 PyObject * obj5 = 0 ;
3901 PyObject * obj6 = 0 ;
3902 char * kwnames[] = {
3903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3904 };
3905
3906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3908 if (!SWIG_IsOK(res1)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3910 }
3911 arg1 = reinterpret_cast< wxPanel * >(argp1);
3912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3913 if (!SWIG_IsOK(res2)) {
3914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3915 }
3916 arg2 = reinterpret_cast< wxWindow * >(argp2);
3917 if (obj2) {
3918 ecode3 = SWIG_AsVal_int(obj2, &val3);
3919 if (!SWIG_IsOK(ecode3)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3921 }
3922 arg3 = static_cast< int >(val3);
3923 }
3924 if (obj3) {
d55e5bfc 3925 {
1bd55598
RD
3926 arg4 = &temp4;
3927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3928 }
1bd55598
RD
3929 }
3930 if (obj4) {
d55e5bfc 3931 {
1bd55598
RD
3932 arg5 = &temp5;
3933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3934 }
1bd55598
RD
3935 }
3936 if (obj5) {
3937 ecode6 = SWIG_AsVal_long(obj5, &val6);
3938 if (!SWIG_IsOK(ecode6)) {
3939 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3940 }
3941 arg6 = static_cast< long >(val6);
3942 }
3943 if (obj6) {
d55e5bfc 3944 {
1bd55598
RD
3945 arg7 = wxString_in_helper(obj6);
3946 if (arg7 == NULL) SWIG_fail;
3947 temp7 = true;
d55e5bfc 3948 }
1bd55598
RD
3949 }
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 {
3957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3958 }
3959 {
3960 if (temp7)
3961 delete arg7;
3962 }
3963 return resultobj;
3964fail:
3965 {
3966 if (temp7)
3967 delete arg7;
3968 }
3969 return NULL;
5cbf236d
RD
3970}
3971
3972
1bd55598
RD
3973SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3974 PyObject *resultobj = 0;
3975 wxPanel *arg1 = (wxPanel *) 0 ;
3976 void *argp1 = 0 ;
3977 int res1 = 0 ;
3978 PyObject *swig_obj[1] ;
3979
3980 if (!args) SWIG_fail;
3981 swig_obj[0] = args;
3982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3983 if (!SWIG_IsOK(res1)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3985 }
3986 arg1 = reinterpret_cast< wxPanel * >(argp1);
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 (arg1)->SetFocusIgnoringChildren();
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 resultobj = SWIG_Py_Void();
3994 return resultobj;
3995fail:
3996 return NULL;
3997}
3998
3999
4000SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj = 0;
4002 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4003 SwigValueWrapper<wxVisualAttributes > result;
4004 int val1 ;
4005 int ecode1 = 0 ;
4006 PyObject * obj0 = 0 ;
4007 char * kwnames[] = {
4008 (char *) "variant", NULL
4009 };
4010
4011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4012 if (obj0) {
4013 ecode1 = SWIG_AsVal_int(obj0, &val1);
4014 if (!SWIG_IsOK(ecode1)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4016 }
4017 arg1 = static_cast< wxWindowVariant >(val1);
4018 }
4019 {
4020 if (!wxPyCheckForApp()) SWIG_fail;
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = wxPanel::GetClassDefaultAttributes(arg1);
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4027 return resultobj;
4028fail:
4029 return NULL;
4030}
4031
4032
4033SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4034 PyObject *obj;
4035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4037 return SWIG_Py_Void();
4038}
4039
4040SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 return SWIG_Python_InitShadowInstance(args);
4042}
4043
4044SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj = 0;
4046 wxWindow *arg1 = (wxWindow *) 0 ;
4047 int arg2 = (int) (int)-1 ;
4048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4050 wxSize const &arg4_defvalue = wxDefaultSize ;
4051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4052 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4053 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4054 wxString *arg6 = (wxString *) &arg6_defvalue ;
4055 wxScrolledWindow *result = 0 ;
4056 void *argp1 = 0 ;
4057 int res1 = 0 ;
4058 int val2 ;
4059 int ecode2 = 0 ;
4060 wxPoint temp3 ;
4061 wxSize temp4 ;
4062 long val5 ;
4063 int ecode5 = 0 ;
4064 bool temp6 = false ;
4065 PyObject * obj0 = 0 ;
4066 PyObject * obj1 = 0 ;
4067 PyObject * obj2 = 0 ;
4068 PyObject * obj3 = 0 ;
4069 PyObject * obj4 = 0 ;
4070 PyObject * obj5 = 0 ;
4071 char * kwnames[] = {
4072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4073 };
4074
4075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4077 if (!SWIG_IsOK(res1)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4079 }
4080 arg1 = reinterpret_cast< wxWindow * >(argp1);
4081 if (obj1) {
4082 ecode2 = SWIG_AsVal_int(obj1, &val2);
4083 if (!SWIG_IsOK(ecode2)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4085 }
4086 arg2 = static_cast< int >(val2);
4087 }
4088 if (obj2) {
5cbf236d 4089 {
1bd55598
RD
4090 arg3 = &temp3;
4091 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4092 }
1bd55598
RD
4093 }
4094 if (obj3) {
f20a2e1f 4095 {
1bd55598
RD
4096 arg4 = &temp4;
4097 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4098 }
1bd55598
RD
4099 }
4100 if (obj4) {
4101 ecode5 = SWIG_AsVal_long(obj4, &val5);
4102 if (!SWIG_IsOK(ecode5)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4104 }
4105 arg5 = static_cast< long >(val5);
4106 }
4107 if (obj5) {
f20a2e1f 4108 {
1bd55598
RD
4109 arg6 = wxString_in_helper(obj5);
4110 if (arg6 == NULL) SWIG_fail;
4111 temp6 = true;
f20a2e1f 4112 }
1bd55598
RD
4113 }
4114 {
4115 if (!wxPyCheckForApp()) SWIG_fail;
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4122 {
4123 if (temp6)
4124 delete arg6;
4125 }
4126 return resultobj;
4127fail:
4128 {
4129 if (temp6)
4130 delete arg6;
4131 }
4132 return NULL;
f20a2e1f
RD
4133}
4134
4135
1bd55598
RD
4136SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4137 PyObject *resultobj = 0;
4138 wxScrolledWindow *result = 0 ;
4139
4140 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4141 {
4142 if (!wxPyCheckForApp()) SWIG_fail;
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxScrolledWindow *)new wxScrolledWindow();
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4149 return resultobj;
4150fail:
4151 return NULL;
4152}
4153
4154
4155SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj = 0;
4157 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4158 wxWindow *arg2 = (wxWindow *) 0 ;
4159 int arg3 = (int) (int)-1 ;
4160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4162 wxSize const &arg5_defvalue = wxDefaultSize ;
4163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4164 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4165 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4166 wxString *arg7 = (wxString *) &arg7_defvalue ;
4167 bool result;
4168 void *argp1 = 0 ;
4169 int res1 = 0 ;
4170 void *argp2 = 0 ;
4171 int res2 = 0 ;
4172 int val3 ;
4173 int ecode3 = 0 ;
4174 wxPoint temp4 ;
4175 wxSize temp5 ;
4176 long val6 ;
4177 int ecode6 = 0 ;
4178 bool temp7 = false ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
4182 PyObject * obj3 = 0 ;
4183 PyObject * obj4 = 0 ;
4184 PyObject * obj5 = 0 ;
4185 PyObject * obj6 = 0 ;
4186 char * kwnames[] = {
4187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 };
4189
4190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4192 if (!SWIG_IsOK(res1)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4194 }
4195 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4196 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4197 if (!SWIG_IsOK(res2)) {
4198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4199 }
4200 arg2 = reinterpret_cast< wxWindow * >(argp2);
4201 if (obj2) {
4202 ecode3 = SWIG_AsVal_int(obj2, &val3);
4203 if (!SWIG_IsOK(ecode3)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4205 }
4206 arg3 = static_cast< int >(val3);
4207 }
4208 if (obj3) {
d55e5bfc 4209 {
1bd55598
RD
4210 arg4 = &temp4;
4211 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4212 }
1bd55598
RD
4213 }
4214 if (obj4) {
d55e5bfc 4215 {
1bd55598
RD
4216 arg5 = &temp5;
4217 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4218 }
1bd55598
RD
4219 }
4220 if (obj5) {
4221 ecode6 = SWIG_AsVal_long(obj5, &val6);
4222 if (!SWIG_IsOK(ecode6)) {
4223 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4224 }
4225 arg6 = static_cast< long >(val6);
4226 }
4227 if (obj6) {
d55e5bfc 4228 {
1bd55598
RD
4229 arg7 = wxString_in_helper(obj6);
4230 if (arg7 == NULL) SWIG_fail;
4231 temp7 = true;
4232 }
4233 }
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4242 }
4243 {
4244 if (temp7)
4245 delete arg7;
4246 }
4247 return resultobj;
4248fail:
4249 {
4250 if (temp7)
4251 delete arg7;
4252 }
4253 return NULL;
4254}
4255
4256
4257SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj = 0;
4259 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4260 int arg2 ;
4261 int arg3 ;
4262 int arg4 ;
4263 int arg5 ;
4264 int arg6 = (int) 0 ;
4265 int arg7 = (int) 0 ;
4266 bool arg8 = (bool) false ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 int val2 ;
4270 int ecode2 = 0 ;
4271 int val3 ;
4272 int ecode3 = 0 ;
4273 int val4 ;
4274 int ecode4 = 0 ;
4275 int val5 ;
4276 int ecode5 = 0 ;
4277 int val6 ;
4278 int ecode6 = 0 ;
4279 int val7 ;
4280 int ecode7 = 0 ;
4281 bool val8 ;
4282 int ecode8 = 0 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 PyObject * obj2 = 0 ;
4286 PyObject * obj3 = 0 ;
4287 PyObject * obj4 = 0 ;
4288 PyObject * obj5 = 0 ;
4289 PyObject * obj6 = 0 ;
4290 PyObject * obj7 = 0 ;
4291 char * kwnames[] = {
4292 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4293 };
4294
4295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4297 if (!SWIG_IsOK(res1)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4299 }
4300 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4301 ecode2 = SWIG_AsVal_int(obj1, &val2);
4302 if (!SWIG_IsOK(ecode2)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4304 }
4305 arg2 = static_cast< int >(val2);
4306 ecode3 = SWIG_AsVal_int(obj2, &val3);
4307 if (!SWIG_IsOK(ecode3)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4309 }
4310 arg3 = static_cast< int >(val3);
4311 ecode4 = SWIG_AsVal_int(obj3, &val4);
4312 if (!SWIG_IsOK(ecode4)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4314 }
4315 arg4 = static_cast< int >(val4);
4316 ecode5 = SWIG_AsVal_int(obj4, &val5);
4317 if (!SWIG_IsOK(ecode5)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4319 }
4320 arg5 = static_cast< int >(val5);
4321 if (obj5) {
4322 ecode6 = SWIG_AsVal_int(obj5, &val6);
4323 if (!SWIG_IsOK(ecode6)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4325 }
4326 arg6 = static_cast< int >(val6);
4327 }
4328 if (obj6) {
4329 ecode7 = SWIG_AsVal_int(obj6, &val7);
4330 if (!SWIG_IsOK(ecode7)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4332 }
4333 arg7 = static_cast< int >(val7);
4334 }
4335 if (obj7) {
4336 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4337 if (!SWIG_IsOK(ecode8)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4339 }
4340 arg8 = static_cast< bool >(val8);
4341 }
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 resultobj = SWIG_Py_Void();
4349 return resultobj;
4350fail:
4351 return NULL;
4352}
4353
4354
4355SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj = 0;
4357 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4358 int arg2 ;
4359 int arg3 ;
4360 void *argp1 = 0 ;
4361 int res1 = 0 ;
4362 int val2 ;
4363 int ecode2 = 0 ;
4364 int val3 ;
4365 int ecode3 = 0 ;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4368 PyObject * obj2 = 0 ;
4369 char * kwnames[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4371 };
4372
4373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4375 if (!SWIG_IsOK(res1)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4377 }
4378 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4379 ecode2 = SWIG_AsVal_int(obj1, &val2);
4380 if (!SWIG_IsOK(ecode2)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4382 }
4383 arg2 = static_cast< int >(val2);
4384 ecode3 = SWIG_AsVal_int(obj2, &val3);
4385 if (!SWIG_IsOK(ecode3)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4387 }
4388 arg3 = static_cast< int >(val3);
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 (arg1)->Scroll(arg2,arg3);
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 resultobj = SWIG_Py_Void();
4396 return resultobj;
4397fail:
4398 return NULL;
4399}
4400
4401
4402SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj = 0;
4404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4405 int arg2 ;
4406 int result;
4407 void *argp1 = 0 ;
4408 int res1 = 0 ;
4409 int val2 ;
4410 int ecode2 = 0 ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 char * kwnames[] = {
4414 (char *) "self",(char *) "orient", NULL
4415 };
4416
4417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4419 if (!SWIG_IsOK(res1)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4421 }
4422 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4423 ecode2 = SWIG_AsVal_int(obj1, &val2);
4424 if (!SWIG_IsOK(ecode2)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4426 }
4427 arg2 = static_cast< int >(val2);
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = SWIG_From_int(static_cast< int >(result));
4435 return resultobj;
4436fail:
4437 return NULL;
4438}
4439
4440
4441SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj = 0;
4443 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4444 int arg2 ;
4445 int arg3 ;
4446 void *argp1 = 0 ;
4447 int res1 = 0 ;
4448 int val2 ;
4449 int ecode2 = 0 ;
4450 int val3 ;
4451 int ecode3 = 0 ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 PyObject * obj2 = 0 ;
4455 char * kwnames[] = {
4456 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4457 };
4458
4459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4461 if (!SWIG_IsOK(res1)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4463 }
4464 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4465 ecode2 = SWIG_AsVal_int(obj1, &val2);
4466 if (!SWIG_IsOK(ecode2)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4468 }
4469 arg2 = static_cast< int >(val2);
4470 ecode3 = SWIG_AsVal_int(obj2, &val3);
4471 if (!SWIG_IsOK(ecode3)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4473 }
4474 arg3 = static_cast< int >(val3);
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetScrollPageSize(arg2,arg3);
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 resultobj = SWIG_Py_Void();
4482 return resultobj;
4483fail:
4484 return NULL;
4485}
4486
4487
4488SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj = 0;
4490 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4491 int arg2 ;
4492 int arg3 ;
4493 void *argp1 = 0 ;
4494 int res1 = 0 ;
4495 int val2 ;
4496 int ecode2 = 0 ;
4497 int val3 ;
4498 int ecode3 = 0 ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 PyObject * obj2 = 0 ;
4502 char * kwnames[] = {
4503 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4504 };
4505
4506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4508 if (!SWIG_IsOK(res1)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4510 }
4511 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4512 ecode2 = SWIG_AsVal_int(obj1, &val2);
4513 if (!SWIG_IsOK(ecode2)) {
4514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4515 }
4516 arg2 = static_cast< int >(val2);
4517 ecode3 = SWIG_AsVal_int(obj2, &val3);
4518 if (!SWIG_IsOK(ecode3)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4520 }
4521 arg3 = static_cast< int >(val3);
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 (arg1)->SetScrollRate(arg2,arg3);
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 resultobj = SWIG_Py_Void();
4529 return resultobj;
4530fail:
4531 return NULL;
4532}
4533
4534
4535SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4536 PyObject *resultobj = 0;
4537 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4538 int *arg2 = (int *) 0 ;
4539 int *arg3 = (int *) 0 ;
4540 void *argp1 = 0 ;
4541 int res1 = 0 ;
4542 int temp2 ;
4543 int res2 = SWIG_TMPOBJ ;
4544 int temp3 ;
4545 int res3 = SWIG_TMPOBJ ;
4546 PyObject *swig_obj[1] ;
4547
4548 arg2 = &temp2;
4549 arg3 = &temp3;
4550 if (!args) SWIG_fail;
4551 swig_obj[0] = args;
4552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4553 if (!SWIG_IsOK(res1)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4555 }
4556 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 resultobj = SWIG_Py_Void();
4564 if (SWIG_IsTmpObj(res2)) {
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4566 } else {
4567 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4568 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4569 }
4570 if (SWIG_IsTmpObj(res3)) {
4571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4572 } else {
4573 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4575 }
4576 return resultobj;
4577fail:
4578 return NULL;
4579}
4580
4581
4582SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj = 0;
4584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4585 bool arg2 ;
4586 bool arg3 ;
4587 void *argp1 = 0 ;
4588 int res1 = 0 ;
4589 bool val2 ;
4590 int ecode2 = 0 ;
4591 bool val3 ;
4592 int ecode3 = 0 ;
4593 PyObject * obj0 = 0 ;
4594 PyObject * obj1 = 0 ;
4595 PyObject * obj2 = 0 ;
4596 char * kwnames[] = {
4597 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4598 };
4599
4600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4602 if (!SWIG_IsOK(res1)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4604 }
4605 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4606 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4607 if (!SWIG_IsOK(ecode2)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4609 }
4610 arg2 = static_cast< bool >(val2);
4611 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4612 if (!SWIG_IsOK(ecode3)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4614 }
4615 arg3 = static_cast< bool >(val3);
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 (arg1)->EnableScrolling(arg2,arg3);
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 resultobj = SWIG_Py_Void();
4623 return resultobj;
4624fail:
4625 return NULL;
4626}
4627
4628
4629SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4630 PyObject *resultobj = 0;
4631 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4632 int *arg2 = (int *) 0 ;
4633 int *arg3 = (int *) 0 ;
4634 void *argp1 = 0 ;
4635 int res1 = 0 ;
4636 int temp2 ;
4637 int res2 = SWIG_TMPOBJ ;
4638 int temp3 ;
4639 int res3 = SWIG_TMPOBJ ;
4640 PyObject *swig_obj[1] ;
4641
4642 arg2 = &temp2;
4643 arg3 = &temp3;
4644 if (!args) SWIG_fail;
4645 swig_obj[0] = args;
4646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4647 if (!SWIG_IsOK(res1)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4649 }
4650 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_Py_Void();
4658 if (SWIG_IsTmpObj(res2)) {
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4660 } else {
4661 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4662 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4663 }
4664 if (SWIG_IsTmpObj(res3)) {
4665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4666 } else {
4667 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4669 }
4670 return resultobj;
4671fail:
4672 return NULL;
4673}
4674
4675
4676SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj = 0;
4678 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4679 double arg2 ;
4680 double arg3 ;
4681 void *argp1 = 0 ;
4682 int res1 = 0 ;
4683 double val2 ;
4684 int ecode2 = 0 ;
4685 double val3 ;
4686 int ecode3 = 0 ;
4687 PyObject * obj0 = 0 ;
4688 PyObject * obj1 = 0 ;
4689 PyObject * obj2 = 0 ;
4690 char * kwnames[] = {
4691 (char *) "self",(char *) "xs",(char *) "ys", NULL
4692 };
4693
4694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4696 if (!SWIG_IsOK(res1)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4698 }
4699 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4700 ecode2 = SWIG_AsVal_double(obj1, &val2);
4701 if (!SWIG_IsOK(ecode2)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4703 }
4704 arg2 = static_cast< double >(val2);
4705 ecode3 = SWIG_AsVal_double(obj2, &val3);
4706 if (!SWIG_IsOK(ecode3)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4708 }
4709 arg3 = static_cast< double >(val3);
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 (arg1)->SetScale(arg2,arg3);
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 resultobj = SWIG_Py_Void();
4717 return resultobj;
4718fail:
4719 return NULL;
d55e5bfc
RD
4720}
4721
4722
1bd55598
RD
4723SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4724 PyObject *resultobj = 0;
4725 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4726 double result;
4727 void *argp1 = 0 ;
4728 int res1 = 0 ;
4729 PyObject *swig_obj[1] ;
4730
4731 if (!args) SWIG_fail;
4732 swig_obj[0] = args;
4733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4734 if (!SWIG_IsOK(res1)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4736 }
4737 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 resultobj = SWIG_From_double(static_cast< double >(result));
4745 return resultobj;
4746fail:
4747 return NULL;
d55e5bfc
RD
4748}
4749
4750
1bd55598
RD
4751SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4752 PyObject *resultobj = 0;
4753 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4754 double result;
4755 void *argp1 = 0 ;
4756 int res1 = 0 ;
4757 PyObject *swig_obj[1] ;
4758
4759 if (!args) SWIG_fail;
4760 swig_obj[0] = args;
4761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4762 if (!SWIG_IsOK(res1)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4764 }
4765 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 resultobj = SWIG_From_double(static_cast< double >(result));
4773 return resultobj;
4774fail:
4775 return NULL;
d55e5bfc
RD
4776}
4777
4778
1bd55598
RD
4779SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4780 PyObject *resultobj = 0;
4781 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4782 wxPoint *arg2 = 0 ;
4783 wxPoint result;
4784 void *argp1 = 0 ;
4785 int res1 = 0 ;
4786 wxPoint temp2 ;
4787
4788 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4790 if (!SWIG_IsOK(res1)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4792 }
4793 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4794 {
4795 arg2 = &temp2;
4796 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4797 }
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4805 return resultobj;
4806fail:
4807 return NULL;
4808}
4809
4810
4811SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4812 PyObject *resultobj = 0;
4813 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4814 int arg2 ;
4815 int arg3 ;
4816 int *arg4 = (int *) 0 ;
4817 int *arg5 = (int *) 0 ;
4818 void *argp1 = 0 ;
4819 int res1 = 0 ;
4820 int val2 ;
4821 int ecode2 = 0 ;
4822 int val3 ;
4823 int ecode3 = 0 ;
4824 int temp4 ;
4825 int res4 = SWIG_TMPOBJ ;
4826 int temp5 ;
4827 int res5 = SWIG_TMPOBJ ;
4828
4829 arg4 = &temp4;
4830 arg5 = &temp5;
4831 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4833 if (!SWIG_IsOK(res1)) {
4834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4835 }
4836 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4837 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4838 if (!SWIG_IsOK(ecode2)) {
4839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4840 }
4841 arg2 = static_cast< int >(val2);
4842 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4843 if (!SWIG_IsOK(ecode3)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4845 }
4846 arg3 = static_cast< int >(val3);
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 resultobj = SWIG_Py_Void();
4854 if (SWIG_IsTmpObj(res4)) {
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4856 } else {
4857 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4859 }
4860 if (SWIG_IsTmpObj(res5)) {
4861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4862 } else {
4863 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4865 }
4866 return resultobj;
4867fail:
4868 return NULL;
d55e5bfc
RD
4869}
4870
4871
1bd55598
RD
4872SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4873 int argc;
4874 PyObject *argv[4];
4875
4876 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4877 --argc;
4878 if (argc == 2) {
4879 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4880 }
4881 if (argc == 3) {
4882 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4883 }
4884
4885fail:
4886 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4887 return NULL;
d55e5bfc
RD
4888}
4889
4890
1bd55598
RD
4891SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4892 PyObject *resultobj = 0;
4893 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4894 wxPoint *arg2 = 0 ;
4895 wxPoint result;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 wxPoint temp2 ;
4899
4900 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4902 if (!SWIG_IsOK(res1)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4904 }
4905 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4906 {
4907 arg2 = &temp2;
4908 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4917 return resultobj;
4918fail:
4919 return NULL;
4920}
4921
4922
4923SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4924 PyObject *resultobj = 0;
4925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4926 int arg2 ;
4927 int arg3 ;
4928 int *arg4 = (int *) 0 ;
4929 int *arg5 = (int *) 0 ;
4930 void *argp1 = 0 ;
4931 int res1 = 0 ;
4932 int val2 ;
4933 int ecode2 = 0 ;
4934 int val3 ;
4935 int ecode3 = 0 ;
4936 int temp4 ;
4937 int res4 = SWIG_TMPOBJ ;
4938 int temp5 ;
4939 int res5 = SWIG_TMPOBJ ;
4940
4941 arg4 = &temp4;
4942 arg5 = &temp5;
4943 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4945 if (!SWIG_IsOK(res1)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4947 }
4948 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4949 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4950 if (!SWIG_IsOK(ecode2)) {
4951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4952 }
4953 arg2 = static_cast< int >(val2);
4954 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4955 if (!SWIG_IsOK(ecode3)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4957 }
4958 arg3 = static_cast< int >(val3);
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 resultobj = SWIG_Py_Void();
4966 if (SWIG_IsTmpObj(res4)) {
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4968 } else {
4969 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4970 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4971 }
4972 if (SWIG_IsTmpObj(res5)) {
4973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4974 } else {
4975 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4977 }
4978 return resultobj;
4979fail:
4980 return NULL;
d55e5bfc
RD
4981}
4982
4983
1bd55598
RD
4984SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4985 int argc;
4986 PyObject *argv[4];
4987
4988 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4989 --argc;
4990 if (argc == 2) {
4991 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4992 }
4993 if (argc == 3) {
4994 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4995 }
4996
4997fail:
4998 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4999 return NULL;
d55e5bfc
RD
5000}
5001
5002
1bd55598
RD
5003SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5004 PyObject *resultobj = 0;
5005 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 PyObject *swig_obj[1] ;
5009
5010 if (!args) SWIG_fail;
5011 swig_obj[0] = args;
5012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5013 if (!SWIG_IsOK(res1)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5015 }
5016 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->AdjustScrollbars();
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 resultobj = SWIG_Py_Void();
5024 return resultobj;
5025fail:
5026 return NULL;
5027}
5028
5029
5030SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj = 0;
5032 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5033 wxScrollWinEvent *arg2 = 0 ;
5034 int result;
5035 void *argp1 = 0 ;
5036 int res1 = 0 ;
5037 void *argp2 = 0 ;
5038 int res2 = 0 ;
5039 PyObject * obj0 = 0 ;
5040 PyObject * obj1 = 0 ;
5041 char * kwnames[] = {
5042 (char *) "self",(char *) "event", NULL
5043 };
5044
5045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5047 if (!SWIG_IsOK(res1)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5049 }
5050 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5052 if (!SWIG_IsOK(res2)) {
5053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5054 }
5055 if (!argp2) {
5056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5057 }
5058 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 result = (int)(arg1)->CalcScrollInc(*arg2);
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 resultobj = SWIG_From_int(static_cast< int >(result));
5066 return resultobj;
5067fail:
5068 return NULL;
5069}
5070
5071
5072SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj = 0;
5074 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5075 wxWindow *arg2 = (wxWindow *) 0 ;
5076 void *argp1 = 0 ;
5077 int res1 = 0 ;
5078 void *argp2 = 0 ;
5079 int res2 = 0 ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 char * kwnames[] = {
5083 (char *) "self",(char *) "target", NULL
5084 };
5085
5086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5088 if (!SWIG_IsOK(res1)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5090 }
5091 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5093 if (!SWIG_IsOK(res2)) {
5094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5095 }
5096 arg2 = reinterpret_cast< wxWindow * >(argp2);
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->SetTargetWindow(arg2);
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 resultobj = SWIG_Py_Void();
5104 return resultobj;
5105fail:
5106 return NULL;
d55e5bfc
RD
5107}
5108
5109
1bd55598
RD
5110SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5111 PyObject *resultobj = 0;
5112 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5113 wxWindow *result = 0 ;
5114 void *argp1 = 0 ;
5115 int res1 = 0 ;
5116 PyObject *swig_obj[1] ;
5117
5118 if (!args) SWIG_fail;
5119 swig_obj[0] = args;
5120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5121 if (!SWIG_IsOK(res1)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5123 }
5124 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 {
5132 resultobj = wxPyMake_wxObject(result, 0);
5133 }
5134 return resultobj;
5135fail:
5136 return NULL;
5137}
5138
5139
5140SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj = 0;
5142 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5143 wxRect *arg2 = 0 ;
5144 void *argp1 = 0 ;
5145 int res1 = 0 ;
5146 wxRect temp2 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char * kwnames[] = {
5150 (char *) "self",(char *) "rect", NULL
5151 };
5152
5153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5155 if (!SWIG_IsOK(res1)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 }
5158 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5159 {
5160 arg2 = &temp2;
5161 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5162 }
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 (arg1)->SetTargetRect((wxRect const &)*arg2);
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 resultobj = SWIG_Py_Void();
5170 return resultobj;
5171fail:
5172 return NULL;
d55e5bfc
RD
5173}
5174
5175
1bd55598
RD
5176SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5177 PyObject *resultobj = 0;
5178 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5179 wxRect result;
5180 void *argp1 = 0 ;
5181 int res1 = 0 ;
5182 PyObject *swig_obj[1] ;
5183
5184 if (!args) SWIG_fail;
5185 swig_obj[0] = args;
5186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5187 if (!SWIG_IsOK(res1)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5189 }
5190 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5198 return resultobj;
5199fail:
5200 return NULL;
5201}
5202
5203
5204SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5205 PyObject *resultobj = 0;
5206 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5207 wxDC *arg2 = 0 ;
5208 void *argp1 = 0 ;
5209 int res1 = 0 ;
5210 void *argp2 = 0 ;
5211 int res2 = 0 ;
5212 PyObject * obj0 = 0 ;
5213 PyObject * obj1 = 0 ;
5214 char * kwnames[] = {
5215 (char *) "self",(char *) "dc", NULL
5216 };
5217
5218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5220 if (!SWIG_IsOK(res1)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5222 }
5223 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5224 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5225 if (!SWIG_IsOK(res2)) {
5226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5227 }
5228 if (!argp2) {
5229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5230 }
5231 arg2 = reinterpret_cast< wxDC * >(argp2);
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 (arg1)->DoPrepareDC(*arg2);
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 resultobj = SWIG_Py_Void();
5239 return resultobj;
5240fail:
5241 return NULL;
5242}
5243
5244
5245SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj = 0;
5247 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5248 SwigValueWrapper<wxVisualAttributes > result;
5249 int val1 ;
5250 int ecode1 = 0 ;
5251 PyObject * obj0 = 0 ;
5252 char * kwnames[] = {
5253 (char *) "variant", NULL
5254 };
5255
5256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5257 if (obj0) {
5258 ecode1 = SWIG_AsVal_int(obj0, &val1);
5259 if (!SWIG_IsOK(ecode1)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5261 }
5262 arg1 = static_cast< wxWindowVariant >(val1);
5263 }
5264 {
5265 if (!wxPyCheckForApp()) SWIG_fail;
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5268 wxPyEndAllowThreads(__tstate);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 }
5271 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5272 return resultobj;
5273fail:
5274 return NULL;
d55e5bfc
RD
5275}
5276
5277
1bd55598
RD
5278SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5279 PyObject *obj;
5280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5281 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5282 return SWIG_Py_Void();
d55e5bfc
RD
5283}
5284
1bd55598
RD
5285SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5286 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5287}
5288
1bd55598
RD
5289SWIGINTERN int FrameNameStr_set(PyObject *) {
5290 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5291 return 1;
d55e5bfc
RD
5292}
5293
5294
1bd55598
RD
5295SWIGINTERN PyObject *FrameNameStr_get(void) {
5296 PyObject *pyobj = 0;
5297
5298 {
5299#if wxUSE_UNICODE
5300 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5301#else
5302 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5303#endif
5304 }
5305 return pyobj;
d55e5bfc
RD
5306}
5307
5308
1bd55598
RD
5309SWIGINTERN int DialogNameStr_set(PyObject *) {
5310 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5311 return 1;
d55e5bfc
RD
5312}
5313
5314
1bd55598
RD
5315SWIGINTERN PyObject *DialogNameStr_get(void) {
5316 PyObject *pyobj = 0;
5317
5318 {
5319#if wxUSE_UNICODE
5320 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5321#else
5322 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5323#endif
5324 }
5325 return pyobj;
d55e5bfc
RD
5326}
5327
5328
1bd55598
RD
5329SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5330 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5331 return 1;
d55e5bfc
RD
5332}
5333
5334
1bd55598
RD
5335SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5336 PyObject *pyobj = 0;
5337
5338 {
5339#if wxUSE_UNICODE
5340 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5341#else
5342 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5343#endif
5344 }
5345 return pyobj;
d55e5bfc
RD
5346}
5347
5348
1bd55598
RD
5349SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5350 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5351 return 1;
d55e5bfc
RD
5352}
5353
5354
1bd55598
RD
5355SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5356 PyObject *pyobj = 0;
5357
5358 {
5359#if wxUSE_UNICODE
5360 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5361#else
5362 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5363#endif
5364 }
5365 return pyobj;
5366}
5367
5368
5369SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj = 0;
5371 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5372 bool arg2 = (bool) true ;
5373 void *argp1 = 0 ;
5374 int res1 = 0 ;
5375 bool val2 ;
5376 int ecode2 = 0 ;
5377 PyObject * obj0 = 0 ;
5378 PyObject * obj1 = 0 ;
5379 char * kwnames[] = {
5380 (char *) "self",(char *) "maximize", NULL
5381 };
5382
5383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5385 if (!SWIG_IsOK(res1)) {
5386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5387 }
5388 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5389 if (obj1) {
5390 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5391 if (!SWIG_IsOK(ecode2)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5393 }
5394 arg2 = static_cast< bool >(val2);
5395 }
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 (arg1)->Maximize(arg2);
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 resultobj = SWIG_Py_Void();
5403 return resultobj;
5404fail:
5405 return NULL;
d55e5bfc
RD
5406}
5407
5408
1bd55598
RD
5409SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5410 PyObject *resultobj = 0;
5411 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5412 void *argp1 = 0 ;
5413 int res1 = 0 ;
5414 PyObject *swig_obj[1] ;
5415
5416 if (!args) SWIG_fail;
5417 swig_obj[0] = args;
5418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5419 if (!SWIG_IsOK(res1)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5421 }
5422 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 (arg1)->Restore();
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 resultobj = SWIG_Py_Void();
5430 return resultobj;
5431fail:
5432 return NULL;
5433}
5434
5435
5436SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj = 0;
5438 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5439 bool arg2 = (bool) true ;
5440 void *argp1 = 0 ;
5441 int res1 = 0 ;
5442 bool val2 ;
5443 int ecode2 = 0 ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char * kwnames[] = {
5447 (char *) "self",(char *) "iconize", NULL
5448 };
5449
5450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5452 if (!SWIG_IsOK(res1)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5454 }
5455 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5456 if (obj1) {
5457 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5458 if (!SWIG_IsOK(ecode2)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5460 }
5461 arg2 = static_cast< bool >(val2);
5462 }
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 (arg1)->Iconize(arg2);
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 resultobj = SWIG_Py_Void();
5470 return resultobj;
5471fail:
5472 return NULL;
d55e5bfc
RD
5473}
5474
5475
1bd55598
RD
5476SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5477 PyObject *resultobj = 0;
5478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5479 bool result;
5480 void *argp1 = 0 ;
5481 int res1 = 0 ;
5482 PyObject *swig_obj[1] ;
5483
5484 if (!args) SWIG_fail;
5485 swig_obj[0] = args;
5486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5487 if (!SWIG_IsOK(res1)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5489 }
5490 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 {
5498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5499 }
5500 return resultobj;
5501fail:
5502 return NULL;
d55e5bfc
RD
5503}
5504
5505
2131d850
RD
5506SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5507 PyObject *resultobj = 0;
5508 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5509 bool result;
5510 void *argp1 = 0 ;
5511 int res1 = 0 ;
5512 PyObject *swig_obj[1] ;
5513
5514 if (!args) SWIG_fail;
5515 swig_obj[0] = args;
5516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5517 if (!SWIG_IsOK(res1)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5519 }
5520 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5529 }
5530 return resultobj;
5531fail:
5532 return NULL;
5533}
5534
5535
1bd55598
RD
5536SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5537 PyObject *resultobj = 0;
5538 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5539 bool result;
5540 void *argp1 = 0 ;
5541 int res1 = 0 ;
5542 PyObject *swig_obj[1] ;
5543
5544 if (!args) SWIG_fail;
5545 swig_obj[0] = args;
5546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5547 if (!SWIG_IsOK(res1)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5549 }
5550 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 {
5558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5559 }
5560 return resultobj;
5561fail:
5562 return NULL;
f5b96ee1
RD
5563}
5564
5565
1bd55598
RD
5566SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5567 PyObject *resultobj = 0;
5568 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5569 wxIcon result;
5570 void *argp1 = 0 ;
5571 int res1 = 0 ;
5572 PyObject *swig_obj[1] ;
5573
5574 if (!args) SWIG_fail;
5575 swig_obj[0] = args;
5576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5577 if (!SWIG_IsOK(res1)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5579 }
5580 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5588 return resultobj;
5589fail:
5590 return NULL;
5591}
5592
5593
5594SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj = 0;
5596 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5597 wxIcon *arg2 = 0 ;
5598 void *argp1 = 0 ;
5599 int res1 = 0 ;
5600 void *argp2 = 0 ;
5601 int res2 = 0 ;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 char * kwnames[] = {
5605 (char *) "self",(char *) "icon", NULL
5606 };
5607
5608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5610 if (!SWIG_IsOK(res1)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5612 }
5613 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5614 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5615 if (!SWIG_IsOK(res2)) {
5616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5617 }
5618 if (!argp2) {
5619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5620 }
5621 arg2 = reinterpret_cast< wxIcon * >(argp2);
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->SetIcon((wxIcon const &)*arg2);
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = SWIG_Py_Void();
5629 return resultobj;
5630fail:
5631 return NULL;
5632}
5633
5634
5635SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj = 0;
5637 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5638 wxIconBundle *arg2 = 0 ;
5639 void *argp1 = 0 ;
5640 int res1 = 0 ;
5641 void *argp2 = 0 ;
5642 int res2 = 0 ;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 char * kwnames[] = {
5646 (char *) "self",(char *) "icons", NULL
5647 };
5648
5649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5651 if (!SWIG_IsOK(res1)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5653 }
5654 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5656 if (!SWIG_IsOK(res2)) {
5657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5658 }
5659 if (!argp2) {
5660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5661 }
5662 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 resultobj = SWIG_Py_Void();
5670 return resultobj;
5671fail:
5672 return NULL;
5673}
5674
5675
5676SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj = 0;
5678 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5679 bool arg2 ;
5680 long arg3 = (long) wxFULLSCREEN_ALL ;
5681 bool result;
5682 void *argp1 = 0 ;
5683 int res1 = 0 ;
5684 bool val2 ;
5685 int ecode2 = 0 ;
5686 long val3 ;
5687 int ecode3 = 0 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 PyObject * obj2 = 0 ;
5691 char * kwnames[] = {
5692 (char *) "self",(char *) "show",(char *) "style", NULL
5693 };
5694
5695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5697 if (!SWIG_IsOK(res1)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5699 }
5700 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5701 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5702 if (!SWIG_IsOK(ecode2)) {
5703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5704 }
5705 arg2 = static_cast< bool >(val2);
5706 if (obj2) {
5707 ecode3 = SWIG_AsVal_long(obj2, &val3);
5708 if (!SWIG_IsOK(ecode3)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5710 }
5711 arg3 = static_cast< long >(val3);
5712 }
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 {
5720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5721 }
5722 return resultobj;
5723fail:
5724 return NULL;
f20a2e1f
RD
5725}
5726
5727
1bd55598
RD
5728SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5729 PyObject *resultobj = 0;
5730 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5731 bool result;
5732 void *argp1 = 0 ;
5733 int res1 = 0 ;
5734 PyObject *swig_obj[1] ;
5735
5736 if (!args) SWIG_fail;
5737 swig_obj[0] = args;
5738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5739 if (!SWIG_IsOK(res1)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 }
5742 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 {
5750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5751 }
5752 return resultobj;
5753fail:
5754 return NULL;
5755}
5756
5757
5758SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj = 0;
5760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5761 wxString *arg2 = 0 ;
5762 void *argp1 = 0 ;
5763 int res1 = 0 ;
5764 bool temp2 = false ;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 char * kwnames[] = {
5768 (char *) "self",(char *) "title", NULL
5769 };
5770
5771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5773 if (!SWIG_IsOK(res1)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5775 }
5776 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5777 {
5778 arg2 = wxString_in_helper(obj1);
5779 if (arg2 == NULL) SWIG_fail;
5780 temp2 = true;
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetTitle((wxString const &)*arg2);
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 resultobj = SWIG_Py_Void();
5789 {
5790 if (temp2)
5791 delete arg2;
5792 }
5793 return resultobj;
5794fail:
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return NULL;
d55e5bfc
RD
5800}
5801
5802
1bd55598
RD
5803SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5804 PyObject *resultobj = 0;
5805 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5806 wxString result;
5807 void *argp1 = 0 ;
5808 int res1 = 0 ;
5809 PyObject *swig_obj[1] ;
5810
5811 if (!args) SWIG_fail;
5812 swig_obj[0] = args;
5813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5814 if (!SWIG_IsOK(res1)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5816 }
5817 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 {
d55e5bfc 5825#if wxUSE_UNICODE
1bd55598 5826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5827#else
1bd55598 5828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5829#endif
1bd55598
RD
5830 }
5831 return resultobj;
5832fail:
5833 return NULL;
5834}
5835
5836
70d7cb34
RD
5837SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj = 0;
5839 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5840 bool arg2 ;
5841 bool result;
5842 void *argp1 = 0 ;
5843 int res1 = 0 ;
5844 bool val2 ;
5845 int ecode2 = 0 ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 char * kwnames[] = {
5849 (char *) "self",(char *) "enable", NULL
5850 };
5851
5852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5854 if (!SWIG_IsOK(res1)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5856 }
5857 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5858 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5859 if (!SWIG_IsOK(ecode2)) {
5860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5861 }
5862 arg2 = static_cast< bool >(val2);
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)(arg1)->EnableCloseButton(arg2);
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 {
5870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5871 }
5872 return resultobj;
5873fail:
5874 return NULL;
5875}
5876
5877
1bd55598
RD
5878SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj = 0;
5880 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5881 wxRegion *arg2 = 0 ;
5882 bool result;
5883 void *argp1 = 0 ;
5884 int res1 = 0 ;
5885 void *argp2 = 0 ;
5886 int res2 = 0 ;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 char * kwnames[] = {
5890 (char *) "self",(char *) "region", NULL
5891 };
5892
5893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5895 if (!SWIG_IsOK(res1)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5897 }
5898 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5899 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5900 if (!SWIG_IsOK(res2)) {
5901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5902 }
5903 if (!argp2) {
5904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5905 }
5906 arg2 = reinterpret_cast< wxRegion * >(argp2);
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5915 }
5916 return resultobj;
5917fail:
5918 return NULL;
5919}
5920
5921
5922SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj = 0;
5924 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5925 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5926 void *argp1 = 0 ;
5927 int res1 = 0 ;
5928 int val2 ;
5929 int ecode2 = 0 ;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 char * kwnames[] = {
5933 (char *) "self",(char *) "flags", NULL
5934 };
5935
5936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5938 if (!SWIG_IsOK(res1)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 }
5941 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5942 if (obj1) {
5943 ecode2 = SWIG_AsVal_int(obj1, &val2);
5944 if (!SWIG_IsOK(ecode2)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5946 }
5947 arg2 = static_cast< int >(val2);
5948 }
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 (arg1)->RequestUserAttention(arg2);
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = SWIG_Py_Void();
5956 return resultobj;
5957fail:
5958 return NULL;
d55e5bfc
RD
5959}
5960
5961
1bd55598
RD
5962SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5963 PyObject *resultobj = 0;
5964 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5965 bool result;
5966 void *argp1 = 0 ;
5967 int res1 = 0 ;
5968 PyObject *swig_obj[1] ;
5969
5970 if (!args) SWIG_fail;
5971 swig_obj[0] = args;
5972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5973 if (!SWIG_IsOK(res1)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 }
5976 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (bool)(arg1)->IsActive();
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 {
5984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5985 }
5986 return resultobj;
5987fail:
5988 return NULL;
5989}
5990
5991
5992SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj = 0;
5994 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5995 bool arg2 ;
5996 void *argp1 = 0 ;
5997 int res1 = 0 ;
5998 bool val2 ;
5999 int ecode2 = 0 ;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 char * kwnames[] = {
6003 (char *) "self",(char *) "on", NULL
6004 };
6005
6006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6008 if (!SWIG_IsOK(res1)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6010 }
6011 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6013 if (!SWIG_IsOK(ecode2)) {
6014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6015 }
6016 arg2 = static_cast< bool >(val2);
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 resultobj = SWIG_Py_Void();
6024 return resultobj;
6025fail:
6026 return NULL;
d55e5bfc
RD
6027}
6028
6029
1bd55598
RD
6030SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6031 PyObject *resultobj = 0;
6032 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6033 bool result;
6034 void *argp1 = 0 ;
6035 int res1 = 0 ;
6036 PyObject *swig_obj[1] ;
6037
6038 if (!args) SWIG_fail;
6039 swig_obj[0] = args;
6040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6041 if (!SWIG_IsOK(res1)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6043 }
6044 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 {
6052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6053 }
6054 return resultobj;
6055fail:
6056 return NULL;
6057}
6058
6059
6060SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj = 0;
6062 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6063 int arg2 = (int) wxBOTH ;
6064 void *argp1 = 0 ;
6065 int res1 = 0 ;
6066 int val2 ;
6067 int ecode2 = 0 ;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 char * kwnames[] = {
6071 (char *) "self",(char *) "dir", NULL
6072 };
6073
6074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6076 if (!SWIG_IsOK(res1)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6078 }
6079 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6080 if (obj1) {
6081 ecode2 = SWIG_AsVal_int(obj1, &val2);
6082 if (!SWIG_IsOK(ecode2)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6084 }
6085 arg2 = static_cast< int >(val2);
6086 }
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 (arg1)->CenterOnScreen(arg2);
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 resultobj = SWIG_Py_Void();
6094 return resultobj;
6095fail:
6096 return NULL;
6097}
6098
6099
1eeb270e
RD
6100SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6101 PyObject *resultobj = 0;
6102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6103 wxWindow *result = 0 ;
6104 void *argp1 = 0 ;
6105 int res1 = 0 ;
6106 PyObject *swig_obj[1] ;
6107
6108 if (!args) SWIG_fail;
6109 swig_obj[0] = args;
6110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6111 if (!SWIG_IsOK(res1)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6113 }
6114 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 {
6122 resultobj = wxPyMake_wxObject(result, 0);
6123 }
6124 return resultobj;
6125fail:
6126 return NULL;
6127}
6128
6129
6130SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj = 0;
6132 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6133 wxWindow *arg2 = (wxWindow *) 0 ;
6134 wxWindow *result = 0 ;
6135 void *argp1 = 0 ;
6136 int res1 = 0 ;
6137 void *argp2 = 0 ;
6138 int res2 = 0 ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 char * kwnames[] = {
6142 (char *) "self",(char *) "child", NULL
6143 };
6144
6145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6147 if (!SWIG_IsOK(res1)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6149 }
6150 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6152 if (!SWIG_IsOK(res2)) {
6153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6154 }
6155 arg2 = reinterpret_cast< wxWindow * >(argp2);
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 {
6163 resultobj = wxPyMake_wxObject(result, 0);
6164 }
6165 return resultobj;
6166fail:
6167 return NULL;
6168}
6169
6170
6171SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj = 0;
6173 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6174 wxWindow *arg2 = (wxWindow *) 0 ;
6175 void *argp1 = 0 ;
6176 int res1 = 0 ;
6177 void *argp2 = 0 ;
6178 int res2 = 0 ;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 char * kwnames[] = {
6182 (char *) "self",(char *) "win", NULL
6183 };
6184
6185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6189 }
6190 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6192 if (!SWIG_IsOK(res2)) {
6193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6194 }
6195 arg2 = reinterpret_cast< wxWindow * >(argp2);
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 (arg1)->SetTmpDefaultItem(arg2);
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_Py_Void();
6203 return resultobj;
6204fail:
6205 return NULL;
6206}
6207
6208
6209SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6210 PyObject *resultobj = 0;
6211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6212 wxWindow *result = 0 ;
6213 void *argp1 = 0 ;
6214 int res1 = 0 ;
6215 PyObject *swig_obj[1] ;
6216
6217 if (!args) SWIG_fail;
6218 swig_obj[0] = args;
6219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6220 if (!SWIG_IsOK(res1)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6222 }
6223 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 {
6231 resultobj = wxPyMake_wxObject(result, 0);
6232 }
6233 return resultobj;
6234fail:
6235 return NULL;
6236}
6237
6238
1bd55598
RD
6239SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6240 PyObject *obj;
6241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6242 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6243 return SWIG_Py_Void();
6244}
6245
6246SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj = 0;
6248 wxWindow *arg1 = (wxWindow *) 0 ;
6249 int arg2 = (int) (int)-1 ;
6250 wxString const &arg3_defvalue = wxPyEmptyString ;
6251 wxString *arg3 = (wxString *) &arg3_defvalue ;
6252 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6253 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6254 wxSize const &arg5_defvalue = wxDefaultSize ;
6255 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6256 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6257 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6258 wxString *arg7 = (wxString *) &arg7_defvalue ;
6259 wxFrame *result = 0 ;
6260 void *argp1 = 0 ;
6261 int res1 = 0 ;
6262 int val2 ;
6263 int ecode2 = 0 ;
6264 bool temp3 = false ;
6265 wxPoint temp4 ;
6266 wxSize temp5 ;
6267 long val6 ;
6268 int ecode6 = 0 ;
6269 bool temp7 = false ;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 PyObject * obj2 = 0 ;
6273 PyObject * obj3 = 0 ;
6274 PyObject * obj4 = 0 ;
6275 PyObject * obj5 = 0 ;
6276 PyObject * obj6 = 0 ;
6277 char * kwnames[] = {
6278 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 };
6280
6281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6283 if (!SWIG_IsOK(res1)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6285 }
6286 arg1 = reinterpret_cast< wxWindow * >(argp1);
6287 if (obj1) {
6288 ecode2 = SWIG_AsVal_int(obj1, &val2);
6289 if (!SWIG_IsOK(ecode2)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6291 }
6292 arg2 = static_cast< int >(val2);
6293 }
6294 if (obj2) {
d55e5bfc 6295 {
1bd55598
RD
6296 arg3 = wxString_in_helper(obj2);
6297 if (arg3 == NULL) SWIG_fail;
6298 temp3 = true;
d55e5bfc 6299 }
1bd55598
RD
6300 }
6301 if (obj3) {
d55e5bfc 6302 {
1bd55598
RD
6303 arg4 = &temp4;
6304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6305 }
1bd55598
RD
6306 }
6307 if (obj4) {
d55e5bfc 6308 {
1bd55598
RD
6309 arg5 = &temp5;
6310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6311 }
1bd55598
RD
6312 }
6313 if (obj5) {
6314 ecode6 = SWIG_AsVal_long(obj5, &val6);
6315 if (!SWIG_IsOK(ecode6)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6317 }
6318 arg6 = static_cast< long >(val6);
6319 }
6320 if (obj6) {
d55e5bfc 6321 {
1bd55598
RD
6322 arg7 = wxString_in_helper(obj6);
6323 if (arg7 == NULL) SWIG_fail;
6324 temp7 = true;
6325 }
6326 }
6327 {
6328 if (!wxPyCheckForApp()) SWIG_fail;
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6335 {
6336 if (temp3)
6337 delete arg3;
6338 }
6339 {
6340 if (temp7)
6341 delete arg7;
6342 }
6343 return resultobj;
6344fail:
6345 {
6346 if (temp3)
6347 delete arg3;
6348 }
6349 {
6350 if (temp7)
6351 delete arg7;
6352 }
6353 return NULL;
d55e5bfc
RD
6354}
6355
6356
1bd55598
RD
6357SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6358 PyObject *resultobj = 0;
6359 wxFrame *result = 0 ;
6360
6361 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6362 {
6363 if (!wxPyCheckForApp()) SWIG_fail;
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (wxFrame *)new wxFrame();
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6370 return resultobj;
6371fail:
6372 return NULL;
6373}
6374
6375
6376SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj = 0;
6378 wxFrame *arg1 = (wxFrame *) 0 ;
6379 wxWindow *arg2 = (wxWindow *) 0 ;
6380 int arg3 = (int) (int)-1 ;
6381 wxString const &arg4_defvalue = wxPyEmptyString ;
6382 wxString *arg4 = (wxString *) &arg4_defvalue ;
6383 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6384 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6385 wxSize const &arg6_defvalue = wxDefaultSize ;
6386 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6387 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6388 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6389 wxString *arg8 = (wxString *) &arg8_defvalue ;
6390 bool result;
6391 void *argp1 = 0 ;
6392 int res1 = 0 ;
6393 void *argp2 = 0 ;
6394 int res2 = 0 ;
6395 int val3 ;
6396 int ecode3 = 0 ;
6397 bool temp4 = false ;
6398 wxPoint temp5 ;
6399 wxSize temp6 ;
6400 long val7 ;
6401 int ecode7 = 0 ;
6402 bool temp8 = false ;
6403 PyObject * obj0 = 0 ;
6404 PyObject * obj1 = 0 ;
6405 PyObject * obj2 = 0 ;
6406 PyObject * obj3 = 0 ;
6407 PyObject * obj4 = 0 ;
6408 PyObject * obj5 = 0 ;
6409 PyObject * obj6 = 0 ;
6410 PyObject * obj7 = 0 ;
6411 char * kwnames[] = {
6412 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6413 };
6414
6415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6417 if (!SWIG_IsOK(res1)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6419 }
6420 arg1 = reinterpret_cast< wxFrame * >(argp1);
6421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6422 if (!SWIG_IsOK(res2)) {
6423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6424 }
6425 arg2 = reinterpret_cast< wxWindow * >(argp2);
6426 if (obj2) {
6427 ecode3 = SWIG_AsVal_int(obj2, &val3);
6428 if (!SWIG_IsOK(ecode3)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6430 }
6431 arg3 = static_cast< int >(val3);
6432 }
6433 if (obj3) {
d55e5bfc 6434 {
1bd55598
RD
6435 arg4 = wxString_in_helper(obj3);
6436 if (arg4 == NULL) SWIG_fail;
6437 temp4 = true;
d55e5bfc 6438 }
1bd55598
RD
6439 }
6440 if (obj4) {
d55e5bfc 6441 {
1bd55598
RD
6442 arg5 = &temp5;
6443 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6444 }
6445 }
6446 if (obj5) {
d55e5bfc 6447 {
1bd55598
RD
6448 arg6 = &temp6;
6449 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6450 }
1bd55598
RD
6451 }
6452 if (obj6) {
6453 ecode7 = SWIG_AsVal_long(obj6, &val7);
6454 if (!SWIG_IsOK(ecode7)) {
6455 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6456 }
6457 arg7 = static_cast< long >(val7);
6458 }
6459 if (obj7) {
d55e5bfc 6460 {
1bd55598
RD
6461 arg8 = wxString_in_helper(obj7);
6462 if (arg8 == NULL) SWIG_fail;
6463 temp8 = true;
d55e5bfc 6464 }
1bd55598
RD
6465 }
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 {
6473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6474 }
6475 {
6476 if (temp4)
6477 delete arg4;
6478 }
6479 {
6480 if (temp8)
6481 delete arg8;
6482 }
6483 return resultobj;
6484fail:
6485 {
6486 if (temp4)
6487 delete arg4;
6488 }
6489 {
6490 if (temp8)
6491 delete arg8;
6492 }
6493 return NULL;
d55e5bfc
RD
6494}
6495
6496
1bd55598
RD
6497SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6498 PyObject *resultobj = 0;
6499 wxFrame *arg1 = (wxFrame *) 0 ;
6500 void *argp1 = 0 ;
6501 int res1 = 0 ;
6502 PyObject *swig_obj[1] ;
6503
6504 if (!args) SWIG_fail;
6505 swig_obj[0] = args;
6506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6507 if (!SWIG_IsOK(res1)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6509 }
6510 arg1 = reinterpret_cast< wxFrame * >(argp1);
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->SendSizeEvent();
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 resultobj = SWIG_Py_Void();
6518 return resultobj;
6519fail:
6520 return NULL;
6521}
6522
6523
6524SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6525 PyObject *resultobj = 0;
6526 wxFrame *arg1 = (wxFrame *) 0 ;
6527 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6528 void *argp1 = 0 ;
6529 int res1 = 0 ;
6530 void *argp2 = 0 ;
6531 int res2 = 0 ;
6532 PyObject * obj0 = 0 ;
6533 PyObject * obj1 = 0 ;
6534 char * kwnames[] = {
6535 (char *) "self",(char *) "menubar", NULL
6536 };
6537
6538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 }
6543 arg1 = reinterpret_cast< wxFrame * >(argp1);
6544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6545 if (!SWIG_IsOK(res2)) {
6546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6547 }
6548 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SetMenuBar(arg2);
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 resultobj = SWIG_Py_Void();
6556 return resultobj;
6557fail:
6558 return NULL;
d55e5bfc
RD
6559}
6560
6561
1bd55598
RD
6562SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6563 PyObject *resultobj = 0;
6564 wxFrame *arg1 = (wxFrame *) 0 ;
6565 wxMenuBar *result = 0 ;
6566 void *argp1 = 0 ;
6567 int res1 = 0 ;
6568 PyObject *swig_obj[1] ;
6569
6570 if (!args) SWIG_fail;
6571 swig_obj[0] = args;
6572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6573 if (!SWIG_IsOK(res1)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6575 }
6576 arg1 = reinterpret_cast< wxFrame * >(argp1);
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 {
6584 resultobj = wxPyMake_wxObject(result, 0);
6585 }
6586 return resultobj;
6587fail:
6588 return NULL;
6589}
6590
6591
6592SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj = 0;
6594 wxFrame *arg1 = (wxFrame *) 0 ;
6595 int arg2 ;
6596 bool result;
6597 void *argp1 = 0 ;
6598 int res1 = 0 ;
6599 int val2 ;
6600 int ecode2 = 0 ;
6601 PyObject * obj0 = 0 ;
6602 PyObject * obj1 = 0 ;
6603 char * kwnames[] = {
6604 (char *) "self",(char *) "winid", NULL
6605 };
6606
6607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6609 if (!SWIG_IsOK(res1)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6611 }
6612 arg1 = reinterpret_cast< wxFrame * >(argp1);
6613 ecode2 = SWIG_AsVal_int(obj1, &val2);
6614 if (!SWIG_IsOK(ecode2)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6616 }
6617 arg2 = static_cast< int >(val2);
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (bool)(arg1)->ProcessCommand(arg2);
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6626 }
6627 return resultobj;
6628fail:
6629 return NULL;
6630}
6631
6632
6633SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj = 0;
6635 wxFrame *arg1 = (wxFrame *) 0 ;
6636 int arg2 = (int) 1 ;
6637 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6638 int arg4 = (int) 0 ;
6639 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6640 wxString *arg5 = (wxString *) &arg5_defvalue ;
6641 wxStatusBar *result = 0 ;
6642 void *argp1 = 0 ;
6643 int res1 = 0 ;
6644 int val2 ;
6645 int ecode2 = 0 ;
6646 long val3 ;
6647 int ecode3 = 0 ;
6648 int val4 ;
6649 int ecode4 = 0 ;
6650 bool temp5 = false ;
6651 PyObject * obj0 = 0 ;
6652 PyObject * obj1 = 0 ;
6653 PyObject * obj2 = 0 ;
6654 PyObject * obj3 = 0 ;
6655 PyObject * obj4 = 0 ;
6656 char * kwnames[] = {
6657 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6658 };
6659
6660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6662 if (!SWIG_IsOK(res1)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6664 }
6665 arg1 = reinterpret_cast< wxFrame * >(argp1);
6666 if (obj1) {
6667 ecode2 = SWIG_AsVal_int(obj1, &val2);
6668 if (!SWIG_IsOK(ecode2)) {
6669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6670 }
6671 arg2 = static_cast< int >(val2);
6672 }
6673 if (obj2) {
6674 ecode3 = SWIG_AsVal_long(obj2, &val3);
6675 if (!SWIG_IsOK(ecode3)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6677 }
6678 arg3 = static_cast< long >(val3);
6679 }
6680 if (obj3) {
6681 ecode4 = SWIG_AsVal_int(obj3, &val4);
6682 if (!SWIG_IsOK(ecode4)) {
6683 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6684 }
6685 arg4 = static_cast< int >(val4);
6686 }
6687 if (obj4) {
d55e5bfc 6688 {
1bd55598
RD
6689 arg5 = wxString_in_helper(obj4);
6690 if (arg5 == NULL) SWIG_fail;
6691 temp5 = true;
d55e5bfc 6692 }
1bd55598
RD
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 {
6701 resultobj = wxPyMake_wxObject(result, (bool)0);
6702 }
6703 {
6704 if (temp5)
6705 delete arg5;
6706 }
6707 return resultobj;
6708fail:
6709 {
6710 if (temp5)
6711 delete arg5;
6712 }
6713 return NULL;
d55e5bfc
RD
6714}
6715
6716
1bd55598
RD
6717SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6718 PyObject *resultobj = 0;
6719 wxFrame *arg1 = (wxFrame *) 0 ;
6720 wxStatusBar *result = 0 ;
6721 void *argp1 = 0 ;
6722 int res1 = 0 ;
6723 PyObject *swig_obj[1] ;
6724
6725 if (!args) SWIG_fail;
6726 swig_obj[0] = args;
6727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6728 if (!SWIG_IsOK(res1)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6730 }
6731 arg1 = reinterpret_cast< wxFrame * >(argp1);
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 resultobj = wxPyMake_wxObject(result, (bool)0);
6740 }
6741 return resultobj;
6742fail:
6743 return NULL;
6744}
6745
6746
6747SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj = 0;
6749 wxFrame *arg1 = (wxFrame *) 0 ;
6750 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6751 void *argp1 = 0 ;
6752 int res1 = 0 ;
6753 void *argp2 = 0 ;
6754 int res2 = 0 ;
6755 PyObject * obj0 = 0 ;
6756 PyObject * obj1 = 0 ;
6757 char * kwnames[] = {
6758 (char *) "self",(char *) "statBar", NULL
6759 };
6760
6761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6763 if (!SWIG_IsOK(res1)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6765 }
6766 arg1 = reinterpret_cast< wxFrame * >(argp1);
6767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6768 if (!SWIG_IsOK(res2)) {
6769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6770 }
6771 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 (arg1)->SetStatusBar(arg2);
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_Py_Void();
6779 return resultobj;
6780fail:
6781 return NULL;
6782}
6783
6784
6785SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj = 0;
6787 wxFrame *arg1 = (wxFrame *) 0 ;
6788 wxString *arg2 = 0 ;
6789 int arg3 = (int) 0 ;
6790 void *argp1 = 0 ;
6791 int res1 = 0 ;
6792 bool temp2 = false ;
6793 int val3 ;
6794 int ecode3 = 0 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 char * kwnames[] = {
6799 (char *) "self",(char *) "text",(char *) "number", NULL
6800 };
6801
6802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6804 if (!SWIG_IsOK(res1)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6806 }
6807 arg1 = reinterpret_cast< wxFrame * >(argp1);
6808 {
6809 arg2 = wxString_in_helper(obj1);
6810 if (arg2 == NULL) SWIG_fail;
6811 temp2 = true;
6812 }
6813 if (obj2) {
6814 ecode3 = SWIG_AsVal_int(obj2, &val3);
6815 if (!SWIG_IsOK(ecode3)) {
6816 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6817 }
6818 arg3 = static_cast< int >(val3);
6819 }
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = SWIG_Py_Void();
6827 {
6828 if (temp2)
6829 delete arg2;
6830 }
6831 return resultobj;
6832fail:
6833 {
6834 if (temp2)
6835 delete arg2;
6836 }
6837 return NULL;
d55e5bfc
RD
6838}
6839
6840
1bd55598
RD
6841SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj = 0;
6843 wxFrame *arg1 = (wxFrame *) 0 ;
6844 int arg2 ;
6845 int *arg3 = (int *) 0 ;
6846 void *argp1 = 0 ;
6847 int res1 = 0 ;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char * kwnames[] = {
6851 (char *) "self",(char *) "widths", NULL
6852 };
6853
6854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6856 if (!SWIG_IsOK(res1)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6858 }
6859 arg1 = reinterpret_cast< wxFrame * >(argp1);
6860 {
6861 arg2 = PyList_Size(obj1);
6862 arg3 = int_LIST_helper(obj1);
6863 if (arg3 == NULL) SWIG_fail;
6864 }
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = SWIG_Py_Void();
6872 {
6873 if (arg3) delete [] arg3;
6874 }
6875 return resultobj;
6876fail:
6877 {
6878 if (arg3) delete [] arg3;
6879 }
6880 return NULL;
6881}
6882
6883
6884SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj = 0;
6886 wxFrame *arg1 = (wxFrame *) 0 ;
6887 wxString *arg2 = 0 ;
6888 int arg3 = (int) 0 ;
6889 void *argp1 = 0 ;
6890 int res1 = 0 ;
6891 bool temp2 = false ;
6892 int val3 ;
6893 int ecode3 = 0 ;
6894 PyObject * obj0 = 0 ;
6895 PyObject * obj1 = 0 ;
6896 PyObject * obj2 = 0 ;
6897 char * kwnames[] = {
6898 (char *) "self",(char *) "text",(char *) "number", NULL
6899 };
6900
6901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6903 if (!SWIG_IsOK(res1)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6905 }
6906 arg1 = reinterpret_cast< wxFrame * >(argp1);
6907 {
6908 arg2 = wxString_in_helper(obj1);
6909 if (arg2 == NULL) SWIG_fail;
6910 temp2 = true;
6911 }
6912 if (obj2) {
6913 ecode3 = SWIG_AsVal_int(obj2, &val3);
6914 if (!SWIG_IsOK(ecode3)) {
6915 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6916 }
6917 arg3 = static_cast< int >(val3);
6918 }
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 resultobj = SWIG_Py_Void();
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return resultobj;
6931fail:
6932 {
6933 if (temp2)
6934 delete arg2;
6935 }
6936 return NULL;
6937}
6938
6939
6940SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj = 0;
6942 wxFrame *arg1 = (wxFrame *) 0 ;
6943 int arg2 = (int) 0 ;
6944 void *argp1 = 0 ;
6945 int res1 = 0 ;
6946 int val2 ;
6947 int ecode2 = 0 ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 char * kwnames[] = {
6951 (char *) "self",(char *) "number", NULL
6952 };
6953
6954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6956 if (!SWIG_IsOK(res1)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6958 }
6959 arg1 = reinterpret_cast< wxFrame * >(argp1);
6960 if (obj1) {
6961 ecode2 = SWIG_AsVal_int(obj1, &val2);
6962 if (!SWIG_IsOK(ecode2)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6964 }
6965 arg2 = static_cast< int >(val2);
6966 }
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 (arg1)->PopStatusText(arg2);
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 resultobj = SWIG_Py_Void();
6974 return resultobj;
6975fail:
6976 return NULL;
6977}
6978
6979
6980SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6981 PyObject *resultobj = 0;
6982 wxFrame *arg1 = (wxFrame *) 0 ;
6983 int arg2 ;
6984 void *argp1 = 0 ;
6985 int res1 = 0 ;
6986 int val2 ;
6987 int ecode2 = 0 ;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 char * kwnames[] = {
6991 (char *) "self",(char *) "n", NULL
6992 };
6993
6994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6996 if (!SWIG_IsOK(res1)) {
6997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6998 }
6999 arg1 = reinterpret_cast< wxFrame * >(argp1);
7000 ecode2 = SWIG_AsVal_int(obj1, &val2);
7001 if (!SWIG_IsOK(ecode2)) {
7002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7003 }
7004 arg2 = static_cast< int >(val2);
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 (arg1)->SetStatusBarPane(arg2);
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 resultobj = SWIG_Py_Void();
7012 return resultobj;
7013fail:
7014 return NULL;
d55e5bfc
RD
7015}
7016
7017
1bd55598
RD
7018SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7019 PyObject *resultobj = 0;
7020 wxFrame *arg1 = (wxFrame *) 0 ;
7021 int result;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 PyObject *swig_obj[1] ;
7025
7026 if (!args) SWIG_fail;
7027 swig_obj[0] = args;
7028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7029 if (!SWIG_IsOK(res1)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7031 }
7032 arg1 = reinterpret_cast< wxFrame * >(argp1);
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = SWIG_From_int(static_cast< int >(result));
7040 return resultobj;
7041fail:
7042 return NULL;
7043}
7044
7045
7046SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj = 0;
7048 wxFrame *arg1 = (wxFrame *) 0 ;
7049 long arg2 = (long) -1 ;
7050 int arg3 = (int) -1 ;
7051 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7052 wxString *arg4 = (wxString *) &arg4_defvalue ;
7053 wxToolBar *result = 0 ;
7054 void *argp1 = 0 ;
7055 int res1 = 0 ;
7056 long val2 ;
7057 int ecode2 = 0 ;
7058 int val3 ;
7059 int ecode3 = 0 ;
7060 bool temp4 = false ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 PyObject * obj2 = 0 ;
7064 PyObject * obj3 = 0 ;
7065 char * kwnames[] = {
7066 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7067 };
7068
7069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7071 if (!SWIG_IsOK(res1)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7073 }
7074 arg1 = reinterpret_cast< wxFrame * >(argp1);
7075 if (obj1) {
7076 ecode2 = SWIG_AsVal_long(obj1, &val2);
7077 if (!SWIG_IsOK(ecode2)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7079 }
7080 arg2 = static_cast< long >(val2);
7081 }
7082 if (obj2) {
7083 ecode3 = SWIG_AsVal_int(obj2, &val3);
7084 if (!SWIG_IsOK(ecode3)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7086 }
7087 arg3 = static_cast< int >(val3);
7088 }
7089 if (obj3) {
d55e5bfc 7090 {
1bd55598
RD
7091 arg4 = wxString_in_helper(obj3);
7092 if (arg4 == NULL) SWIG_fail;
7093 temp4 = true;
d55e5bfc 7094 }
1bd55598
RD
7095 }
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 resultobj = wxPyMake_wxObject(result, (bool)0);
7104 }
7105 {
7106 if (temp4)
7107 delete arg4;
7108 }
7109 return resultobj;
7110fail:
7111 {
7112 if (temp4)
7113 delete arg4;
7114 }
7115 return NULL;
d55e5bfc
RD
7116}
7117
7118
1bd55598
RD
7119SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7120 PyObject *resultobj = 0;
7121 wxFrame *arg1 = (wxFrame *) 0 ;
7122 wxToolBar *result = 0 ;
7123 void *argp1 = 0 ;
7124 int res1 = 0 ;
7125 PyObject *swig_obj[1] ;
7126
7127 if (!args) SWIG_fail;
7128 swig_obj[0] = args;
7129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7130 if (!SWIG_IsOK(res1)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7132 }
7133 arg1 = reinterpret_cast< wxFrame * >(argp1);
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 {
7141 resultobj = wxPyMake_wxObject(result, (bool)0);
7142 }
7143 return resultobj;
7144fail:
7145 return NULL;
7146}
7147
7148
7149SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj = 0;
7151 wxFrame *arg1 = (wxFrame *) 0 ;
7152 wxToolBar *arg2 = (wxToolBar *) 0 ;
7153 void *argp1 = 0 ;
7154 int res1 = 0 ;
7155 void *argp2 = 0 ;
7156 int res2 = 0 ;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 char * kwnames[] = {
7160 (char *) "self",(char *) "toolbar", NULL
7161 };
7162
7163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7165 if (!SWIG_IsOK(res1)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7167 }
7168 arg1 = reinterpret_cast< wxFrame * >(argp1);
7169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7170 if (!SWIG_IsOK(res2)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7172 }
7173 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetToolBar(arg2);
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 resultobj = SWIG_Py_Void();
7181 return resultobj;
7182fail:
7183 return NULL;
7184}
7185
7186
7187SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj = 0;
7189 wxFrame *arg1 = (wxFrame *) 0 ;
7190 wxString *arg2 = 0 ;
7191 bool arg3 ;
7192 void *argp1 = 0 ;
7193 int res1 = 0 ;
7194 bool temp2 = false ;
7195 bool val3 ;
7196 int ecode3 = 0 ;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 PyObject * obj2 = 0 ;
7200 char * kwnames[] = {
7201 (char *) "self",(char *) "text",(char *) "show", NULL
7202 };
7203
7204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7208 }
7209 arg1 = reinterpret_cast< wxFrame * >(argp1);
7210 {
7211 arg2 = wxString_in_helper(obj1);
7212 if (arg2 == NULL) SWIG_fail;
7213 temp2 = true;
7214 }
7215 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7216 if (!SWIG_IsOK(ecode3)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7218 }
7219 arg3 = static_cast< bool >(val3);
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 resultobj = SWIG_Py_Void();
7227 {
7228 if (temp2)
7229 delete arg2;
7230 }
7231 return resultobj;
7232fail:
7233 {
7234 if (temp2)
7235 delete arg2;
7236 }
7237 return NULL;
7238}
7239
7240
7241SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj = 0;
7243 wxFrame *arg1 = (wxFrame *) 0 ;
7244 wxMenu *arg2 = (wxMenu *) NULL ;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 void *argp2 = 0 ;
7248 int res2 = 0 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char * kwnames[] = {
7252 (char *) "self",(char *) "menu", NULL
7253 };
7254
7255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7257 if (!SWIG_IsOK(res1)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7259 }
7260 arg1 = reinterpret_cast< wxFrame * >(argp1);
7261 if (obj1) {
7262 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7263 if (!SWIG_IsOK(res2)) {
7264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7265 }
1bd55598
RD
7266 arg2 = reinterpret_cast< wxMenu * >(argp2);
7267 }
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 (arg1)->DoMenuUpdates(arg2);
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 resultobj = SWIG_Py_Void();
7275 return resultobj;
7276fail:
7277 return NULL;
7278}
7279
7280
7281SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj = 0;
7283 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7284 SwigValueWrapper<wxVisualAttributes > result;
7285 int val1 ;
7286 int ecode1 = 0 ;
7287 PyObject * obj0 = 0 ;
7288 char * kwnames[] = {
7289 (char *) "variant", NULL
7290 };
7291
7292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7293 if (obj0) {
7294 ecode1 = SWIG_AsVal_int(obj0, &val1);
7295 if (!SWIG_IsOK(ecode1)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7297 }
7298 arg1 = static_cast< wxWindowVariant >(val1);
7299 }
7300 {
7301 if (!wxPyCheckForApp()) SWIG_fail;
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 result = wxFrame::GetClassDefaultAttributes(arg1);
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7308 return resultobj;
7309fail:
7310 return NULL;
7311}
7312
7313
7314SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7315 PyObject *obj;
7316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7317 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7318 return SWIG_Py_Void();
7319}
7320
7321SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7322 return SWIG_Python_InitShadowInstance(args);
7323}
7324
7325SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj = 0;
7327 wxWindow *arg1 = (wxWindow *) 0 ;
7328 int arg2 = (int) (int)-1 ;
7329 wxString const &arg3_defvalue = wxPyEmptyString ;
7330 wxString *arg3 = (wxString *) &arg3_defvalue ;
7331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7333 wxSize const &arg5_defvalue = wxDefaultSize ;
7334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7335 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7336 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7337 wxString *arg7 = (wxString *) &arg7_defvalue ;
7338 wxDialog *result = 0 ;
7339 void *argp1 = 0 ;
7340 int res1 = 0 ;
7341 int val2 ;
7342 int ecode2 = 0 ;
7343 bool temp3 = false ;
7344 wxPoint temp4 ;
7345 wxSize temp5 ;
7346 long val6 ;
7347 int ecode6 = 0 ;
7348 bool temp7 = false ;
7349 PyObject * obj0 = 0 ;
7350 PyObject * obj1 = 0 ;
7351 PyObject * obj2 = 0 ;
7352 PyObject * obj3 = 0 ;
7353 PyObject * obj4 = 0 ;
7354 PyObject * obj5 = 0 ;
7355 PyObject * obj6 = 0 ;
7356 char * kwnames[] = {
7357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7358 };
7359
7360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7362 if (!SWIG_IsOK(res1)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7364 }
7365 arg1 = reinterpret_cast< wxWindow * >(argp1);
7366 if (obj1) {
7367 ecode2 = SWIG_AsVal_int(obj1, &val2);
7368 if (!SWIG_IsOK(ecode2)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7370 }
7371 arg2 = static_cast< int >(val2);
7372 }
7373 if (obj2) {
d55e5bfc 7374 {
1bd55598
RD
7375 arg3 = wxString_in_helper(obj2);
7376 if (arg3 == NULL) SWIG_fail;
7377 temp3 = true;
d55e5bfc 7378 }
1bd55598
RD
7379 }
7380 if (obj3) {
d55e5bfc 7381 {
1bd55598
RD
7382 arg4 = &temp4;
7383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7384 }
1bd55598
RD
7385 }
7386 if (obj4) {
d55e5bfc 7387 {
1bd55598
RD
7388 arg5 = &temp5;
7389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7390 }
1bd55598
RD
7391 }
7392 if (obj5) {
7393 ecode6 = SWIG_AsVal_long(obj5, &val6);
7394 if (!SWIG_IsOK(ecode6)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7396 }
7397 arg6 = static_cast< long >(val6);
7398 }
7399 if (obj6) {
d55e5bfc 7400 {
1bd55598
RD
7401 arg7 = wxString_in_helper(obj6);
7402 if (arg7 == NULL) SWIG_fail;
7403 temp7 = true;
d55e5bfc 7404 }
1bd55598
RD
7405 }
7406 {
7407 if (!wxPyCheckForApp()) SWIG_fail;
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7414 {
7415 if (temp3)
7416 delete arg3;
7417 }
7418 {
7419 if (temp7)
7420 delete arg7;
7421 }
7422 return resultobj;
7423fail:
7424 {
7425 if (temp3)
7426 delete arg3;
7427 }
7428 {
7429 if (temp7)
7430 delete arg7;
7431 }
7432 return NULL;
d55e5bfc
RD
7433}
7434
7435
1bd55598
RD
7436SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7437 PyObject *resultobj = 0;
7438 wxDialog *result = 0 ;
7439
7440 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7441 {
7442 if (!wxPyCheckForApp()) SWIG_fail;
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (wxDialog *)new wxDialog();
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7449 return resultobj;
7450fail:
7451 return NULL;
7452}
7453
7454
7455SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj = 0;
7457 wxDialog *arg1 = (wxDialog *) 0 ;
7458 wxWindow *arg2 = (wxWindow *) 0 ;
7459 int arg3 = (int) (int)-1 ;
7460 wxString const &arg4_defvalue = wxPyEmptyString ;
7461 wxString *arg4 = (wxString *) &arg4_defvalue ;
7462 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7463 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7464 wxSize const &arg6_defvalue = wxDefaultSize ;
7465 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7466 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7467 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7468 wxString *arg8 = (wxString *) &arg8_defvalue ;
7469 bool result;
7470 void *argp1 = 0 ;
7471 int res1 = 0 ;
7472 void *argp2 = 0 ;
7473 int res2 = 0 ;
7474 int val3 ;
7475 int ecode3 = 0 ;
7476 bool temp4 = false ;
7477 wxPoint temp5 ;
7478 wxSize temp6 ;
7479 long val7 ;
7480 int ecode7 = 0 ;
7481 bool temp8 = false ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7484 PyObject * obj2 = 0 ;
7485 PyObject * obj3 = 0 ;
7486 PyObject * obj4 = 0 ;
7487 PyObject * obj5 = 0 ;
7488 PyObject * obj6 = 0 ;
7489 PyObject * obj7 = 0 ;
7490 char * kwnames[] = {
7491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7492 };
7493
7494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7496 if (!SWIG_IsOK(res1)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7498 }
7499 arg1 = reinterpret_cast< wxDialog * >(argp1);
7500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7501 if (!SWIG_IsOK(res2)) {
7502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7503 }
7504 arg2 = reinterpret_cast< wxWindow * >(argp2);
7505 if (obj2) {
7506 ecode3 = SWIG_AsVal_int(obj2, &val3);
7507 if (!SWIG_IsOK(ecode3)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7509 }
7510 arg3 = static_cast< int >(val3);
7511 }
7512 if (obj3) {
d55e5bfc 7513 {
1bd55598
RD
7514 arg4 = wxString_in_helper(obj3);
7515 if (arg4 == NULL) SWIG_fail;
7516 temp4 = true;
d55e5bfc 7517 }
1bd55598
RD
7518 }
7519 if (obj4) {
36ed4f51 7520 {
1bd55598
RD
7521 arg5 = &temp5;
7522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7523 }
1bd55598
RD
7524 }
7525 if (obj5) {
d55e5bfc 7526 {
1bd55598
RD
7527 arg6 = &temp6;
7528 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7529 }
1bd55598
RD
7530 }
7531 if (obj6) {
7532 ecode7 = SWIG_AsVal_long(obj6, &val7);
7533 if (!SWIG_IsOK(ecode7)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7535 }
7536 arg7 = static_cast< long >(val7);
7537 }
7538 if (obj7) {
d55e5bfc 7539 {
1bd55598
RD
7540 arg8 = wxString_in_helper(obj7);
7541 if (arg8 == NULL) SWIG_fail;
7542 temp8 = true;
d55e5bfc 7543 }
1bd55598
RD
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 {
7552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7553 }
7554 {
7555 if (temp4)
7556 delete arg4;
7557 }
7558 {
7559 if (temp8)
7560 delete arg8;
7561 }
7562 return resultobj;
7563fail:
7564 {
7565 if (temp4)
7566 delete arg4;
7567 }
7568 {
7569 if (temp8)
7570 delete arg8;
7571 }
7572 return NULL;
7573}
7574
7575
7576SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj = 0;
7578 wxDialog *arg1 = (wxDialog *) 0 ;
7579 int arg2 ;
7580 void *argp1 = 0 ;
7581 int res1 = 0 ;
7582 int val2 ;
7583 int ecode2 = 0 ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586 char * kwnames[] = {
7587 (char *) "self",(char *) "returnCode", NULL
7588 };
7589
7590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7592 if (!SWIG_IsOK(res1)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 }
7595 arg1 = reinterpret_cast< wxDialog * >(argp1);
7596 ecode2 = SWIG_AsVal_int(obj1, &val2);
7597 if (!SWIG_IsOK(ecode2)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7599 }
7600 arg2 = static_cast< int >(val2);
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetReturnCode(arg2);
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 resultobj = SWIG_Py_Void();
7608 return resultobj;
7609fail:
7610 return NULL;
c370783e
RD
7611}
7612
7613
1bd55598
RD
7614SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7615 PyObject *resultobj = 0;
7616 wxDialog *arg1 = (wxDialog *) 0 ;
7617 int result;
7618 void *argp1 = 0 ;
7619 int res1 = 0 ;
7620 PyObject *swig_obj[1] ;
7621
7622 if (!args) SWIG_fail;
7623 swig_obj[0] = args;
7624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7625 if (!SWIG_IsOK(res1)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7627 }
7628 arg1 = reinterpret_cast< wxDialog * >(argp1);
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_From_int(static_cast< int >(result));
7636 return resultobj;
7637fail:
7638 return NULL;
7639}
7640
7641
7642SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj = 0;
7644 wxDialog *arg1 = (wxDialog *) 0 ;
7645 int arg2 ;
7646 void *argp1 = 0 ;
7647 int res1 = 0 ;
7648 int val2 ;
7649 int ecode2 = 0 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char * kwnames[] = {
7653 (char *) "self",(char *) "affirmativeId", NULL
7654 };
7655
7656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7658 if (!SWIG_IsOK(res1)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 }
7661 arg1 = reinterpret_cast< wxDialog * >(argp1);
7662 ecode2 = SWIG_AsVal_int(obj1, &val2);
7663 if (!SWIG_IsOK(ecode2)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7665 }
7666 arg2 = static_cast< int >(val2);
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->SetAffirmativeId(arg2);
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 resultobj = SWIG_Py_Void();
7674 return resultobj;
7675fail:
7676 return NULL;
5e483524
RD
7677}
7678
7679
1bd55598
RD
7680SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7681 PyObject *resultobj = 0;
7682 wxDialog *arg1 = (wxDialog *) 0 ;
7683 int result;
7684 void *argp1 = 0 ;
7685 int res1 = 0 ;
7686 PyObject *swig_obj[1] ;
7687
7688 if (!args) SWIG_fail;
7689 swig_obj[0] = args;
7690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7691 if (!SWIG_IsOK(res1)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7693 }
7694 arg1 = reinterpret_cast< wxDialog * >(argp1);
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 resultobj = SWIG_From_int(static_cast< int >(result));
7702 return resultobj;
7703fail:
7704 return NULL;
7705}
7706
7707
7708SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj = 0;
7710 wxDialog *arg1 = (wxDialog *) 0 ;
7711 int arg2 ;
7712 void *argp1 = 0 ;
7713 int res1 = 0 ;
7714 int val2 ;
7715 int ecode2 = 0 ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 char * kwnames[] = {
7719 (char *) "self",(char *) "escapeId", NULL
7720 };
7721
7722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7724 if (!SWIG_IsOK(res1)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7726 }
7727 arg1 = reinterpret_cast< wxDialog * >(argp1);
7728 ecode2 = SWIG_AsVal_int(obj1, &val2);
7729 if (!SWIG_IsOK(ecode2)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7731 }
7732 arg2 = static_cast< int >(val2);
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 (arg1)->SetEscapeId(arg2);
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_Py_Void();
7740 return resultobj;
7741fail:
7742 return NULL;
d55e5bfc
RD
7743}
7744
7745
1bd55598
RD
7746SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7747 PyObject *resultobj = 0;
7748 wxDialog *arg1 = (wxDialog *) 0 ;
7749 int result;
7750 void *argp1 = 0 ;
7751 int res1 = 0 ;
7752 PyObject *swig_obj[1] ;
7753
7754 if (!args) SWIG_fail;
7755 swig_obj[0] = args;
7756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7757 if (!SWIG_IsOK(res1)) {
7758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7759 }
7760 arg1 = reinterpret_cast< wxDialog * >(argp1);
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = SWIG_From_int(static_cast< int >(result));
7768 return resultobj;
7769fail:
7770 return NULL;
7771}
7772
7773
7774SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj = 0;
7776 wxDialog *arg1 = (wxDialog *) 0 ;
7777 wxString *arg2 = 0 ;
7778 wxSizer *result = 0 ;
7779 void *argp1 = 0 ;
7780 int res1 = 0 ;
7781 bool temp2 = false ;
7782 PyObject * obj0 = 0 ;
7783 PyObject * obj1 = 0 ;
7784 char * kwnames[] = {
7785 (char *) "self",(char *) "message", NULL
7786 };
7787
7788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7790 if (!SWIG_IsOK(res1)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7792 }
7793 arg1 = reinterpret_cast< wxDialog * >(argp1);
7794 {
7795 arg2 = wxString_in_helper(obj1);
7796 if (arg2 == NULL) SWIG_fail;
7797 temp2 = true;
7798 }
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 {
7806 resultobj = wxPyMake_wxObject(result, (bool)0);
7807 }
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return resultobj;
7813fail:
7814 {
7815 if (temp2)
7816 delete arg2;
7817 }
7818 return NULL;
7819}
7820
7821
b39fe951 7822SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598
RD
7823 PyObject *resultobj = 0;
7824 wxDialog *arg1 = (wxDialog *) 0 ;
7825 long arg2 ;
1bd55598
RD
7826 wxSizer *result = 0 ;
7827 void *argp1 = 0 ;
7828 int res1 = 0 ;
7829 long val2 ;
7830 int ecode2 = 0 ;
1bd55598
RD
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
1bd55598 7833 char * kwnames[] = {
b39fe951 7834 (char *) "self",(char *) "flags", NULL
1bd55598
RD
7835 };
7836
b39fe951 7837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
1bd55598
RD
7838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7839 if (!SWIG_IsOK(res1)) {
b39fe951 7840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
1bd55598
RD
7841 }
7842 arg1 = reinterpret_cast< wxDialog * >(argp1);
7843 ecode2 = SWIG_AsVal_long(obj1, &val2);
7844 if (!SWIG_IsOK(ecode2)) {
b39fe951 7845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
1bd55598
RD
7846 }
7847 arg2 = static_cast< long >(val2);
b39fe951
RD
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
1bd55598 7853 }
b39fe951
RD
7854 {
7855 resultobj = wxPyMake_wxObject(result, (bool)0);
1bd55598 7856 }
b39fe951
RD
7857 return resultobj;
7858fail:
7859 return NULL;
7860}
7861
7862
7863SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj = 0;
7865 wxDialog *arg1 = (wxDialog *) 0 ;
7866 long arg2 ;
7867 wxSizer *result = 0 ;
7868 void *argp1 = 0 ;
7869 int res1 = 0 ;
7870 long val2 ;
7871 int ecode2 = 0 ;
7872 PyObject * obj0 = 0 ;
7873 PyObject * obj1 = 0 ;
7874 char * kwnames[] = {
7875 (char *) "self",(char *) "flags", NULL
7876 };
7877
7878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7880 if (!SWIG_IsOK(res1)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7882 }
7883 arg1 = reinterpret_cast< wxDialog * >(argp1);
7884 ecode2 = SWIG_AsVal_long(obj1, &val2);
7885 if (!SWIG_IsOK(ecode2)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7887 }
7888 arg2 = static_cast< long >(val2);
1bd55598
RD
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7891 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
1bd55598
RD
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 {
7896 resultobj = wxPyMake_wxObject(result, (bool)0);
7897 }
7898 return resultobj;
7899fail:
7900 return NULL;
7901}
7902
7903
7904SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj = 0;
7906 wxDialog *arg1 = (wxDialog *) 0 ;
7907 long arg2 ;
7908 wxStdDialogButtonSizer *result = 0 ;
7909 void *argp1 = 0 ;
7910 int res1 = 0 ;
7911 long val2 ;
7912 int ecode2 = 0 ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 char * kwnames[] = {
7916 (char *) "self",(char *) "flags", NULL
7917 };
7918
7919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7921 if (!SWIG_IsOK(res1)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7923 }
7924 arg1 = reinterpret_cast< wxDialog * >(argp1);
7925 ecode2 = SWIG_AsVal_long(obj1, &val2);
7926 if (!SWIG_IsOK(ecode2)) {
7927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7928 }
7929 arg2 = static_cast< long >(val2);
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7937 return resultobj;
7938fail:
7939 return NULL;
d55e5bfc
RD
7940}
7941
7942
1bd55598
RD
7943SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7944 PyObject *resultobj = 0;
7945 wxDialog *arg1 = (wxDialog *) 0 ;
7946 bool result;
7947 void *argp1 = 0 ;
7948 int res1 = 0 ;
7949 PyObject *swig_obj[1] ;
7950
7951 if (!args) SWIG_fail;
7952 swig_obj[0] = args;
7953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7954 if (!SWIG_IsOK(res1)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7956 }
7957 arg1 = reinterpret_cast< wxDialog * >(argp1);
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (bool)((wxDialog const *)arg1)->IsModal();
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 {
7965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7966 }
7967 return resultobj;
7968fail:
7969 return NULL;
b1fcee84
RD
7970}
7971
7972
1bd55598
RD
7973SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7974 PyObject *resultobj = 0;
7975 wxDialog *arg1 = (wxDialog *) 0 ;
7976 int result;
7977 void *argp1 = 0 ;
7978 int res1 = 0 ;
7979 PyObject *swig_obj[1] ;
7980
7981 if (!args) SWIG_fail;
7982 swig_obj[0] = args;
7983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7984 if (!SWIG_IsOK(res1)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7986 }
7987 arg1 = reinterpret_cast< wxDialog * >(argp1);
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (int)(arg1)->ShowModal();
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = SWIG_From_int(static_cast< int >(result));
7995 return resultobj;
7996fail:
7997 return NULL;
7998}
7999
8000
8001SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj = 0;
8003 wxDialog *arg1 = (wxDialog *) 0 ;
8004 int arg2 ;
8005 void *argp1 = 0 ;
8006 int res1 = 0 ;
8007 int val2 ;
8008 int ecode2 = 0 ;
8009 PyObject * obj0 = 0 ;
8010 PyObject * obj1 = 0 ;
8011 char * kwnames[] = {
8012 (char *) "self",(char *) "retCode", NULL
8013 };
8014
8015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8017 if (!SWIG_IsOK(res1)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8019 }
8020 arg1 = reinterpret_cast< wxDialog * >(argp1);
8021 ecode2 = SWIG_AsVal_int(obj1, &val2);
8022 if (!SWIG_IsOK(ecode2)) {
8023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8024 }
8025 arg2 = static_cast< int >(val2);
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->EndModal(arg2);
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 resultobj = SWIG_Py_Void();
8033 return resultobj;
8034fail:
8035 return NULL;
8036}
8037
8038
8039SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj = 0;
8041 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8042 SwigValueWrapper<wxVisualAttributes > result;
8043 int val1 ;
8044 int ecode1 = 0 ;
8045 PyObject * obj0 = 0 ;
8046 char * kwnames[] = {
8047 (char *) "variant", NULL
8048 };
8049
8050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8051 if (obj0) {
8052 ecode1 = SWIG_AsVal_int(obj0, &val1);
8053 if (!SWIG_IsOK(ecode1)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8055 }
8056 arg1 = static_cast< wxWindowVariant >(val1);
8057 }
8058 {
8059 if (!wxPyCheckForApp()) SWIG_fail;
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = wxDialog::GetClassDefaultAttributes(arg1);
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8066 return resultobj;
8067fail:
8068 return NULL;
8069}
8070
8071
8072SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8073 PyObject *obj;
8074 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8075 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8076 return SWIG_Py_Void();
8077}
8078
8079SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8080 return SWIG_Python_InitShadowInstance(args);
8081}
8082
8083SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj = 0;
8085 wxWindow *arg1 = (wxWindow *) 0 ;
8086 int arg2 = (int) (int)-1 ;
8087 wxString const &arg3_defvalue = wxPyEmptyString ;
8088 wxString *arg3 = (wxString *) &arg3_defvalue ;
8089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8091 wxSize const &arg5_defvalue = wxDefaultSize ;
8092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8093 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8094 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8095 wxString *arg7 = (wxString *) &arg7_defvalue ;
8096 wxMiniFrame *result = 0 ;
8097 void *argp1 = 0 ;
8098 int res1 = 0 ;
8099 int val2 ;
8100 int ecode2 = 0 ;
8101 bool temp3 = false ;
8102 wxPoint temp4 ;
8103 wxSize temp5 ;
8104 long val6 ;
8105 int ecode6 = 0 ;
8106 bool temp7 = false ;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 PyObject * obj2 = 0 ;
8110 PyObject * obj3 = 0 ;
8111 PyObject * obj4 = 0 ;
8112 PyObject * obj5 = 0 ;
8113 PyObject * obj6 = 0 ;
8114 char * kwnames[] = {
8115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8116 };
8117
8118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8120 if (!SWIG_IsOK(res1)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8122 }
8123 arg1 = reinterpret_cast< wxWindow * >(argp1);
8124 if (obj1) {
8125 ecode2 = SWIG_AsVal_int(obj1, &val2);
8126 if (!SWIG_IsOK(ecode2)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8128 }
8129 arg2 = static_cast< int >(val2);
8130 }
8131 if (obj2) {
d55e5bfc 8132 {
1bd55598
RD
8133 arg3 = wxString_in_helper(obj2);
8134 if (arg3 == NULL) SWIG_fail;
8135 temp3 = true;
d55e5bfc 8136 }
1bd55598
RD
8137 }
8138 if (obj3) {
d55e5bfc 8139 {
1bd55598
RD
8140 arg4 = &temp4;
8141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8142 }
1bd55598
RD
8143 }
8144 if (obj4) {
d55e5bfc 8145 {
1bd55598
RD
8146 arg5 = &temp5;
8147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8148 }
1bd55598
RD
8149 }
8150 if (obj5) {
8151 ecode6 = SWIG_AsVal_long(obj5, &val6);
8152 if (!SWIG_IsOK(ecode6)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8154 }
8155 arg6 = static_cast< long >(val6);
8156 }
8157 if (obj6) {
d55e5bfc 8158 {
1bd55598
RD
8159 arg7 = wxString_in_helper(obj6);
8160 if (arg7 == NULL) SWIG_fail;
8161 temp7 = true;
d55e5bfc 8162 }
1bd55598
RD
8163 }
8164 {
8165 if (!wxPyCheckForApp()) SWIG_fail;
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8172 {
8173 if (temp3)
8174 delete arg3;
8175 }
8176 {
8177 if (temp7)
8178 delete arg7;
8179 }
8180 return resultobj;
8181fail:
8182 {
8183 if (temp3)
8184 delete arg3;
8185 }
8186 {
8187 if (temp7)
8188 delete arg7;
8189 }
8190 return NULL;
d55e5bfc
RD
8191}
8192
8193
1bd55598
RD
8194SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8195 PyObject *resultobj = 0;
8196 wxMiniFrame *result = 0 ;
8197
8198 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8199 {
8200 if (!wxPyCheckForApp()) SWIG_fail;
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (wxMiniFrame *)new wxMiniFrame();
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8207 return resultobj;
8208fail:
8209 return NULL;
8210}
8211
8212
8213SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj = 0;
8215 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8216 wxWindow *arg2 = (wxWindow *) 0 ;
8217 int arg3 = (int) (int)-1 ;
8218 wxString const &arg4_defvalue = wxPyEmptyString ;
8219 wxString *arg4 = (wxString *) &arg4_defvalue ;
8220 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8221 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8222 wxSize const &arg6_defvalue = wxDefaultSize ;
8223 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8224 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8225 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8226 wxString *arg8 = (wxString *) &arg8_defvalue ;
8227 bool result;
8228 void *argp1 = 0 ;
8229 int res1 = 0 ;
8230 void *argp2 = 0 ;
8231 int res2 = 0 ;
8232 int val3 ;
8233 int ecode3 = 0 ;
8234 bool temp4 = false ;
8235 wxPoint temp5 ;
8236 wxSize temp6 ;
8237 long val7 ;
8238 int ecode7 = 0 ;
8239 bool temp8 = false ;
8240 PyObject * obj0 = 0 ;
8241 PyObject * obj1 = 0 ;
8242 PyObject * obj2 = 0 ;
8243 PyObject * obj3 = 0 ;
8244 PyObject * obj4 = 0 ;
8245 PyObject * obj5 = 0 ;
8246 PyObject * obj6 = 0 ;
8247 PyObject * obj7 = 0 ;
8248 char * kwnames[] = {
8249 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8250 };
8251
8252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8254 if (!SWIG_IsOK(res1)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8256 }
8257 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8259 if (!SWIG_IsOK(res2)) {
8260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8261 }
8262 arg2 = reinterpret_cast< wxWindow * >(argp2);
8263 if (obj2) {
8264 ecode3 = SWIG_AsVal_int(obj2, &val3);
8265 if (!SWIG_IsOK(ecode3)) {
8266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8267 }
8268 arg3 = static_cast< int >(val3);
8269 }
8270 if (obj3) {
d55e5bfc 8271 {
1bd55598
RD
8272 arg4 = wxString_in_helper(obj3);
8273 if (arg4 == NULL) SWIG_fail;
8274 temp4 = true;
d55e5bfc 8275 }
1bd55598
RD
8276 }
8277 if (obj4) {
d55e5bfc 8278 {
1bd55598
RD
8279 arg5 = &temp5;
8280 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8281 }
1bd55598
RD
8282 }
8283 if (obj5) {
d55e5bfc 8284 {
1bd55598
RD
8285 arg6 = &temp6;
8286 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8287 }
1bd55598
RD
8288 }
8289 if (obj6) {
8290 ecode7 = SWIG_AsVal_long(obj6, &val7);
8291 if (!SWIG_IsOK(ecode7)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8293 }
8294 arg7 = static_cast< long >(val7);
8295 }
8296 if (obj7) {
d55e5bfc 8297 {
1bd55598
RD
8298 arg8 = wxString_in_helper(obj7);
8299 if (arg8 == NULL) SWIG_fail;
8300 temp8 = true;
d55e5bfc 8301 }
1bd55598
RD
8302 }
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 {
8310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8311 }
8312 {
8313 if (temp4)
8314 delete arg4;
8315 }
8316 {
8317 if (temp8)
8318 delete arg8;
8319 }
8320 return resultobj;
8321fail:
8322 {
8323 if (temp4)
8324 delete arg4;
8325 }
8326 {
8327 if (temp8)
8328 delete arg8;
8329 }
8330 return NULL;
8331}
8332
8333
8334SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8335 PyObject *obj;
8336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8337 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8338 return SWIG_Py_Void();
8339}
8340
8341SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8342 return SWIG_Python_InitShadowInstance(args);
8343}
8344
8345SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj = 0;
8347 wxBitmap *arg1 = 0 ;
8348 wxWindow *arg2 = (wxWindow *) 0 ;
8349 int arg3 ;
8350 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8351 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8352 wxSize const &arg5_defvalue = wxDefaultSize ;
8353 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8354 long arg6 = (long) wxNO_BORDER ;
8355 wxSplashScreenWindow *result = 0 ;
8356 void *argp1 = 0 ;
8357 int res1 = 0 ;
8358 void *argp2 = 0 ;
8359 int res2 = 0 ;
8360 int val3 ;
8361 int ecode3 = 0 ;
8362 wxPoint temp4 ;
8363 wxSize temp5 ;
8364 long val6 ;
8365 int ecode6 = 0 ;
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
8368 PyObject * obj2 = 0 ;
8369 PyObject * obj3 = 0 ;
8370 PyObject * obj4 = 0 ;
8371 PyObject * obj5 = 0 ;
8372 char * kwnames[] = {
8373 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8374 };
8375
8376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8377 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8378 if (!SWIG_IsOK(res1)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 }
8381 if (!argp1) {
8382 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8383 }
8384 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8385 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8386 if (!SWIG_IsOK(res2)) {
8387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8388 }
8389 arg2 = reinterpret_cast< wxWindow * >(argp2);
8390 ecode3 = SWIG_AsVal_int(obj2, &val3);
8391 if (!SWIG_IsOK(ecode3)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8393 }
8394 arg3 = static_cast< int >(val3);
8395 if (obj3) {
d55e5bfc 8396 {
1bd55598
RD
8397 arg4 = &temp4;
8398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8399 }
1bd55598
RD
8400 }
8401 if (obj4) {
d55e5bfc 8402 {
1bd55598
RD
8403 arg5 = &temp5;
8404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8405 }
1bd55598
RD
8406 }
8407 if (obj5) {
8408 ecode6 = SWIG_AsVal_long(obj5, &val6);
8409 if (!SWIG_IsOK(ecode6)) {
8410 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8411 }
8412 arg6 = static_cast< long >(val6);
8413 }
8414 {
8415 if (!wxPyCheckForApp()) SWIG_fail;
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8422 return resultobj;
8423fail:
8424 return NULL;
8425}
8426
8427
8428SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj = 0;
8430 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8431 wxBitmap *arg2 = 0 ;
8432 void *argp1 = 0 ;
8433 int res1 = 0 ;
8434 void *argp2 = 0 ;
8435 int res2 = 0 ;
8436 PyObject * obj0 = 0 ;
8437 PyObject * obj1 = 0 ;
8438 char * kwnames[] = {
8439 (char *) "self",(char *) "bitmap", NULL
8440 };
8441
8442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8444 if (!SWIG_IsOK(res1)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8446 }
8447 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8448 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8449 if (!SWIG_IsOK(res2)) {
8450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8451 }
8452 if (!argp2) {
8453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8454 }
8455 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8459 wxPyEndAllowThreads(__tstate);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
8462 resultobj = SWIG_Py_Void();
8463 return resultobj;
8464fail:
8465 return NULL;
d55e5bfc
RD
8466}
8467
8468
1bd55598
RD
8469SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8470 PyObject *resultobj = 0;
8471 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8472 wxBitmap *result = 0 ;
8473 void *argp1 = 0 ;
8474 int res1 = 0 ;
8475 PyObject *swig_obj[1] ;
8476
8477 if (!args) SWIG_fail;
8478 swig_obj[0] = args;
8479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8480 if (!SWIG_IsOK(res1)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8482 }
8483 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 {
8487 wxBitmap &_result_ref = (arg1)->GetBitmap();
8488 result = (wxBitmap *) &_result_ref;
8489 }
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 {
8494 wxBitmap* resultptr = new wxBitmap(*result);
8495 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8496 }
8497 return resultobj;
8498fail:
8499 return NULL;
8500}
8501
8502
8503SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8504 PyObject *obj;
8505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8506 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8507 return SWIG_Py_Void();
8508}
8509
8510SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8511 return SWIG_Python_InitShadowInstance(args);
8512}
8513
8514SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj = 0;
8516 wxBitmap *arg1 = 0 ;
8517 long arg2 ;
8518 int arg3 ;
8519 wxWindow *arg4 = (wxWindow *) 0 ;
8520 int arg5 = (int) -1 ;
8521 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8522 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8523 wxSize const &arg7_defvalue = wxDefaultSize ;
8524 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8525 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8526 wxSplashScreen *result = 0 ;
8527 void *argp1 = 0 ;
8528 int res1 = 0 ;
8529 long val2 ;
8530 int ecode2 = 0 ;
8531 int val3 ;
8532 int ecode3 = 0 ;
8533 void *argp4 = 0 ;
8534 int res4 = 0 ;
8535 int val5 ;
8536 int ecode5 = 0 ;
8537 wxPoint temp6 ;
8538 wxSize temp7 ;
8539 long val8 ;
8540 int ecode8 = 0 ;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 PyObject * obj2 = 0 ;
8544 PyObject * obj3 = 0 ;
8545 PyObject * obj4 = 0 ;
8546 PyObject * obj5 = 0 ;
8547 PyObject * obj6 = 0 ;
8548 PyObject * obj7 = 0 ;
8549 char * kwnames[] = {
8550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8551 };
8552
8553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8554 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8555 if (!SWIG_IsOK(res1)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8557 }
8558 if (!argp1) {
8559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8560 }
8561 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8562 ecode2 = SWIG_AsVal_long(obj1, &val2);
8563 if (!SWIG_IsOK(ecode2)) {
8564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8565 }
8566 arg2 = static_cast< long >(val2);
8567 ecode3 = SWIG_AsVal_int(obj2, &val3);
8568 if (!SWIG_IsOK(ecode3)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8570 }
8571 arg3 = static_cast< int >(val3);
8572 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8573 if (!SWIG_IsOK(res4)) {
8574 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8575 }
8576 arg4 = reinterpret_cast< wxWindow * >(argp4);
8577 if (obj4) {
8578 ecode5 = SWIG_AsVal_int(obj4, &val5);
8579 if (!SWIG_IsOK(ecode5)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8581 }
8582 arg5 = static_cast< int >(val5);
8583 }
8584 if (obj5) {
d55e5bfc 8585 {
1bd55598
RD
8586 arg6 = &temp6;
8587 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8588 }
1bd55598
RD
8589 }
8590 if (obj6) {
d55e5bfc 8591 {
1bd55598
RD
8592 arg7 = &temp7;
8593 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8594 }
1bd55598
RD
8595 }
8596 if (obj7) {
8597 ecode8 = SWIG_AsVal_long(obj7, &val8);
8598 if (!SWIG_IsOK(ecode8)) {
8599 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8600 }
8601 arg8 = static_cast< long >(val8);
8602 }
8603 {
8604 if (!wxPyCheckForApp()) SWIG_fail;
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8611 return resultobj;
8612fail:
8613 return NULL;
d55e5bfc
RD
8614}
8615
8616
1bd55598
RD
8617SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8618 PyObject *resultobj = 0;
8619 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8620 long result;
8621 void *argp1 = 0 ;
8622 int res1 = 0 ;
8623 PyObject *swig_obj[1] ;
8624
8625 if (!args) SWIG_fail;
8626 swig_obj[0] = args;
8627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8628 if (!SWIG_IsOK(res1)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8630 }
8631 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 resultobj = SWIG_From_long(static_cast< long >(result));
8639 return resultobj;
8640fail:
8641 return NULL;
d55e5bfc
RD
8642}
8643
8644
1bd55598
RD
8645SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8646 PyObject *resultobj = 0;
8647 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8648 wxSplashScreenWindow *result = 0 ;
8649 void *argp1 = 0 ;
8650 int res1 = 0 ;
8651 PyObject *swig_obj[1] ;
8652
8653 if (!args) SWIG_fail;
8654 swig_obj[0] = args;
8655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8656 if (!SWIG_IsOK(res1)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8658 }
8659 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8667 return resultobj;
8668fail:
8669 return NULL;
d55e5bfc
RD
8670}
8671
8672
1bd55598
RD
8673SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8674 PyObject *resultobj = 0;
8675 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8676 int result;
8677 void *argp1 = 0 ;
8678 int res1 = 0 ;
8679 PyObject *swig_obj[1] ;
8680
8681 if (!args) SWIG_fail;
8682 swig_obj[0] = args;
8683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8684 if (!SWIG_IsOK(res1)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8686 }
8687 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_From_int(static_cast< int >(result));
8695 return resultobj;
8696fail:
8697 return NULL;
8698}
8699
8700
8701SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8702 PyObject *obj;
8703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8704 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8705 return SWIG_Py_Void();
8706}
8707
8708SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8709 return SWIG_Python_InitShadowInstance(args);
8710}
8711
8712SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj = 0;
8714 wxWindow *arg1 = (wxWindow *) 0 ;
8715 int arg2 = (int) -1 ;
8716 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8717 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8718 wxString *arg4 = (wxString *) &arg4_defvalue ;
8719 wxStatusBar *result = 0 ;
8720 void *argp1 = 0 ;
8721 int res1 = 0 ;
8722 int val2 ;
8723 int ecode2 = 0 ;
8724 long val3 ;
8725 int ecode3 = 0 ;
8726 bool temp4 = false ;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 PyObject * obj2 = 0 ;
8730 PyObject * obj3 = 0 ;
8731 char * kwnames[] = {
8732 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8733 };
8734
8735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8737 if (!SWIG_IsOK(res1)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8739 }
8740 arg1 = reinterpret_cast< wxWindow * >(argp1);
8741 if (obj1) {
8742 ecode2 = SWIG_AsVal_int(obj1, &val2);
8743 if (!SWIG_IsOK(ecode2)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8745 }
8746 arg2 = static_cast< int >(val2);
8747 }
8748 if (obj2) {
8749 ecode3 = SWIG_AsVal_long(obj2, &val3);
8750 if (!SWIG_IsOK(ecode3)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8752 }
8753 arg3 = static_cast< long >(val3);
8754 }
8755 if (obj3) {
d55e5bfc 8756 {
1bd55598
RD
8757 arg4 = wxString_in_helper(obj3);
8758 if (arg4 == NULL) SWIG_fail;
8759 temp4 = true;
d55e5bfc 8760 }
1bd55598
RD
8761 }
8762 {
8763 if (!wxPyCheckForApp()) SWIG_fail;
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8770 {
8771 if (temp4)
8772 delete arg4;
8773 }
8774 return resultobj;
8775fail:
8776 {
8777 if (temp4)
8778 delete arg4;
8779 }
8780 return NULL;
d55e5bfc
RD
8781}
8782
8783
1bd55598
RD
8784SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8785 PyObject *resultobj = 0;
8786 wxStatusBar *result = 0 ;
8787
8788 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8789 {
8790 if (!wxPyCheckForApp()) SWIG_fail;
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (wxStatusBar *)new wxStatusBar();
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8797 return resultobj;
8798fail:
8799 return NULL;
8800}
8801
8802
8803SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj = 0;
8805 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8806 wxWindow *arg2 = (wxWindow *) 0 ;
8807 int arg3 = (int) -1 ;
8808 long arg4 = (long) wxST_SIZEGRIP ;
8809 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8810 wxString *arg5 = (wxString *) &arg5_defvalue ;
8811 bool result;
8812 void *argp1 = 0 ;
8813 int res1 = 0 ;
8814 void *argp2 = 0 ;
8815 int res2 = 0 ;
8816 int val3 ;
8817 int ecode3 = 0 ;
8818 long val4 ;
8819 int ecode4 = 0 ;
8820 bool temp5 = false ;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 PyObject * obj2 = 0 ;
8824 PyObject * obj3 = 0 ;
8825 PyObject * obj4 = 0 ;
8826 char * kwnames[] = {
8827 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8828 };
8829
8830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8832 if (!SWIG_IsOK(res1)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8834 }
8835 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8836 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8837 if (!SWIG_IsOK(res2)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8839 }
8840 arg2 = reinterpret_cast< wxWindow * >(argp2);
8841 if (obj2) {
8842 ecode3 = SWIG_AsVal_int(obj2, &val3);
8843 if (!SWIG_IsOK(ecode3)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8845 }
8846 arg3 = static_cast< int >(val3);
8847 }
8848 if (obj3) {
8849 ecode4 = SWIG_AsVal_long(obj3, &val4);
8850 if (!SWIG_IsOK(ecode4)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8852 }
8853 arg4 = static_cast< long >(val4);
8854 }
8855 if (obj4) {
d55e5bfc 8856 {
1bd55598
RD
8857 arg5 = wxString_in_helper(obj4);
8858 if (arg5 == NULL) SWIG_fail;
8859 temp5 = true;
d55e5bfc 8860 }
1bd55598
RD
8861 }
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 {
8869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8870 }
8871 {
8872 if (temp5)
8873 delete arg5;
8874 }
8875 return resultobj;
8876fail:
8877 {
8878 if (temp5)
8879 delete arg5;
8880 }
8881 return NULL;
8882}
8883
8884
8885SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj = 0;
8887 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8888 int arg2 = (int) 1 ;
8889 void *argp1 = 0 ;
8890 int res1 = 0 ;
8891 int val2 ;
8892 int ecode2 = 0 ;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 char * kwnames[] = {
8896 (char *) "self",(char *) "number", NULL
8897 };
8898
8899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8901 if (!SWIG_IsOK(res1)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8903 }
8904 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8905 if (obj1) {
8906 ecode2 = SWIG_AsVal_int(obj1, &val2);
8907 if (!SWIG_IsOK(ecode2)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8909 }
8910 arg2 = static_cast< int >(val2);
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 (arg1)->SetFieldsCount(arg2);
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 resultobj = SWIG_Py_Void();
8919 return resultobj;
8920fail:
8921 return NULL;
d55e5bfc
RD
8922}
8923
8924
1bd55598
RD
8925SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8926 PyObject *resultobj = 0;
8927 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8928 int result;
8929 void *argp1 = 0 ;
8930 int res1 = 0 ;
8931 PyObject *swig_obj[1] ;
8932
8933 if (!args) SWIG_fail;
8934 swig_obj[0] = args;
8935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8936 if (!SWIG_IsOK(res1)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8938 }
8939 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = SWIG_From_int(static_cast< int >(result));
8947 return resultobj;
8948fail:
8949 return NULL;
8950}
8951
8952
8953SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj = 0;
8955 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8956 wxString *arg2 = 0 ;
8957 int arg3 = (int) 0 ;
8958 void *argp1 = 0 ;
8959 int res1 = 0 ;
8960 bool temp2 = false ;
8961 int val3 ;
8962 int ecode3 = 0 ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 PyObject * obj2 = 0 ;
8966 char * kwnames[] = {
8967 (char *) "self",(char *) "text",(char *) "number", NULL
8968 };
8969
8970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8972 if (!SWIG_IsOK(res1)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 }
8975 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8976 {
8977 arg2 = wxString_in_helper(obj1);
8978 if (arg2 == NULL) SWIG_fail;
8979 temp2 = true;
8980 }
8981 if (obj2) {
8982 ecode3 = SWIG_AsVal_int(obj2, &val3);
8983 if (!SWIG_IsOK(ecode3)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8985 }
8986 arg3 = static_cast< int >(val3);
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = SWIG_Py_Void();
8995 {
8996 if (temp2)
8997 delete arg2;
8998 }
8999 return resultobj;
9000fail:
9001 {
9002 if (temp2)
9003 delete arg2;
9004 }
9005 return NULL;
9006}
9007
9008
9009SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj = 0;
9011 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9012 int arg2 = (int) 0 ;
9013 wxString result;
9014 void *argp1 = 0 ;
9015 int res1 = 0 ;
9016 int val2 ;
9017 int ecode2 = 0 ;
9018 PyObject * obj0 = 0 ;
9019 PyObject * obj1 = 0 ;
9020 char * kwnames[] = {
9021 (char *) "self",(char *) "number", NULL
9022 };
9023
9024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9026 if (!SWIG_IsOK(res1)) {
9027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9028 }
9029 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9030 if (obj1) {
9031 ecode2 = SWIG_AsVal_int(obj1, &val2);
9032 if (!SWIG_IsOK(ecode2)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9034 }
9035 arg2 = static_cast< int >(val2);
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 {
9044#if wxUSE_UNICODE
9045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9046#else
9047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9048#endif
9049 }
9050 return resultobj;
9051fail:
9052 return NULL;
9053}
9054
9055
9056SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj = 0;
9058 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9059 wxString *arg2 = 0 ;
9060 int arg3 = (int) 0 ;
9061 void *argp1 = 0 ;
9062 int res1 = 0 ;
9063 bool temp2 = false ;
9064 int val3 ;
9065 int ecode3 = 0 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 PyObject * obj2 = 0 ;
9069 char * kwnames[] = {
9070 (char *) "self",(char *) "text",(char *) "number", NULL
9071 };
9072
9073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9075 if (!SWIG_IsOK(res1)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 }
9078 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9079 {
9080 arg2 = wxString_in_helper(obj1);
9081 if (arg2 == NULL) SWIG_fail;
9082 temp2 = true;
9083 }
9084 if (obj2) {
9085 ecode3 = SWIG_AsVal_int(obj2, &val3);
9086 if (!SWIG_IsOK(ecode3)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9088 }
9089 arg3 = static_cast< int >(val3);
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 resultobj = SWIG_Py_Void();
9098 {
9099 if (temp2)
9100 delete arg2;
9101 }
9102 return resultobj;
9103fail:
9104 {
9105 if (temp2)
9106 delete arg2;
9107 }
9108 return NULL;
9109}
9110
9111
9112SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj = 0;
9114 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9115 int arg2 = (int) 0 ;
9116 void *argp1 = 0 ;
9117 int res1 = 0 ;
9118 int val2 ;
9119 int ecode2 = 0 ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 char * kwnames[] = {
9123 (char *) "self",(char *) "number", NULL
9124 };
9125
9126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9128 if (!SWIG_IsOK(res1)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9130 }
9131 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9132 if (obj1) {
9133 ecode2 = SWIG_AsVal_int(obj1, &val2);
9134 if (!SWIG_IsOK(ecode2)) {
9135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9136 }
9137 arg2 = static_cast< int >(val2);
9138 }
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 (arg1)->PopStatusText(arg2);
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = SWIG_Py_Void();
9146 return resultobj;
9147fail:
9148 return NULL;
9149}
9150
9151
9152SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj = 0;
9154 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9155 int arg2 ;
9156 int *arg3 = (int *) 0 ;
9157 void *argp1 = 0 ;
9158 int res1 = 0 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 char * kwnames[] = {
9162 (char *) "self",(char *) "widths", NULL
9163 };
9164
9165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9167 if (!SWIG_IsOK(res1)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9169 }
9170 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9171 {
9172 arg2 = PyList_Size(obj1);
9173 arg3 = int_LIST_helper(obj1);
9174 if (arg3 == NULL) SWIG_fail;
9175 }
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = SWIG_Py_Void();
9183 {
9184 if (arg3) delete [] arg3;
9185 }
9186 return resultobj;
9187fail:
9188 {
9189 if (arg3) delete [] arg3;
9190 }
9191 return NULL;
d55e5bfc
RD
9192}
9193
9194
1bd55598
RD
9195SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj = 0;
9197 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9198 int arg2 ;
9199 int *arg3 = (int *) 0 ;
9200 void *argp1 = 0 ;
9201 int res1 = 0 ;
9202 PyObject * obj0 = 0 ;
9203 PyObject * obj1 = 0 ;
9204 char * kwnames[] = {
9205 (char *) "self",(char *) "styles", NULL
9206 };
9207
9208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9210 if (!SWIG_IsOK(res1)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9212 }
9213 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9214 {
9215 arg2 = PyList_Size(obj1);
9216 arg3 = int_LIST_helper(obj1);
9217 if (arg3 == NULL) SWIG_fail;
9218 }
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_Py_Void();
9226 {
9227 if (arg3) delete [] arg3;
9228 }
9229 return resultobj;
9230fail:
9231 {
9232 if (arg3) delete [] arg3;
9233 }
9234 return NULL;
9235}
9236
9237
9238SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj = 0;
9240 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9241 int arg2 ;
9242 wxRect result;
9243 void *argp1 = 0 ;
9244 int res1 = 0 ;
9245 int val2 ;
9246 int ecode2 = 0 ;
9247 PyObject * obj0 = 0 ;
9248 PyObject * obj1 = 0 ;
9249 char * kwnames[] = {
9250 (char *) "self",(char *) "i", NULL
9251 };
9252
9253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9255 if (!SWIG_IsOK(res1)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9257 }
9258 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9259 ecode2 = SWIG_AsVal_int(obj1, &val2);
9260 if (!SWIG_IsOK(ecode2)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9262 }
9263 arg2 = static_cast< int >(val2);
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = wxStatusBar_GetFieldRect(arg1,arg2);
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9271 return resultobj;
9272fail:
9273 return NULL;
9274}
9275
9276
9277SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj = 0;
9279 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9280 int arg2 ;
9281 void *argp1 = 0 ;
9282 int res1 = 0 ;
9283 int val2 ;
9284 int ecode2 = 0 ;
9285 PyObject * obj0 = 0 ;
9286 PyObject * obj1 = 0 ;
9287 char * kwnames[] = {
9288 (char *) "self",(char *) "height", NULL
9289 };
9290
9291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9293 if (!SWIG_IsOK(res1)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9295 }
9296 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9297 ecode2 = SWIG_AsVal_int(obj1, &val2);
9298 if (!SWIG_IsOK(ecode2)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9300 }
9301 arg2 = static_cast< int >(val2);
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 (arg1)->SetMinHeight(arg2);
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = SWIG_Py_Void();
9309 return resultobj;
9310fail:
9311 return NULL;
d55e5bfc
RD
9312}
9313
9314
1bd55598
RD
9315SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9316 PyObject *resultobj = 0;
9317 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9318 int result;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 PyObject *swig_obj[1] ;
9322
9323 if (!args) SWIG_fail;
9324 swig_obj[0] = args;
9325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9326 if (!SWIG_IsOK(res1)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9328 }
9329 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 resultobj = SWIG_From_int(static_cast< int >(result));
9337 return resultobj;
9338fail:
9339 return NULL;
d55e5bfc
RD
9340}
9341
9342
1bd55598
RD
9343SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9344 PyObject *resultobj = 0;
9345 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9346 int result;
9347 void *argp1 = 0 ;
9348 int res1 = 0 ;
9349 PyObject *swig_obj[1] ;
9350
9351 if (!args) SWIG_fail;
9352 swig_obj[0] = args;
9353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9354 if (!SWIG_IsOK(res1)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9356 }
9357 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_From_int(static_cast< int >(result));
9365 return resultobj;
9366fail:
9367 return NULL;
9368}
9369
9370
9371SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj = 0;
9373 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9374 SwigValueWrapper<wxVisualAttributes > result;
9375 int val1 ;
9376 int ecode1 = 0 ;
9377 PyObject * obj0 = 0 ;
9378 char * kwnames[] = {
9379 (char *) "variant", NULL
9380 };
9381
9382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9383 if (obj0) {
9384 ecode1 = SWIG_AsVal_int(obj0, &val1);
9385 if (!SWIG_IsOK(ecode1)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9387 }
9388 arg1 = static_cast< wxWindowVariant >(val1);
9389 }
9390 {
9391 if (!wxPyCheckForApp()) SWIG_fail;
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9398 return resultobj;
9399fail:
9400 return NULL;
d55e5bfc
RD
9401}
9402
9403
1bd55598
RD
9404SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9405 PyObject *obj;
9406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9407 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9408 return SWIG_Py_Void();
d55e5bfc
RD
9409}
9410
1bd55598
RD
9411SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9412 return SWIG_Python_InitShadowInstance(args);
9413}
d55e5bfc 9414
1bd55598
RD
9415SWIGINTERN int SplitterNameStr_set(PyObject *) {
9416 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9417 return 1;
d55e5bfc
RD
9418}
9419
9420
1bd55598
RD
9421SWIGINTERN PyObject *SplitterNameStr_get(void) {
9422 PyObject *pyobj = 0;
9423
9424 {
9425#if wxUSE_UNICODE
9426 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9427#else
9428 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9429#endif
9430 }
9431 return pyobj;
9432}
9433
9434
9435SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj = 0;
9437 wxWindow *arg1 = (wxWindow *) 0 ;
9438 int arg2 = (int) -1 ;
9439 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9440 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9441 wxSize const &arg4_defvalue = wxDefaultSize ;
9442 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9443 long arg5 = (long) wxSP_3D ;
9444 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9445 wxString *arg6 = (wxString *) &arg6_defvalue ;
9446 wxSplitterWindow *result = 0 ;
9447 void *argp1 = 0 ;
9448 int res1 = 0 ;
9449 int val2 ;
9450 int ecode2 = 0 ;
9451 wxPoint temp3 ;
9452 wxSize temp4 ;
9453 long val5 ;
9454 int ecode5 = 0 ;
9455 bool temp6 = false ;
9456 PyObject * obj0 = 0 ;
9457 PyObject * obj1 = 0 ;
9458 PyObject * obj2 = 0 ;
9459 PyObject * obj3 = 0 ;
9460 PyObject * obj4 = 0 ;
9461 PyObject * obj5 = 0 ;
9462 char * kwnames[] = {
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9464 };
9465
9466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9468 if (!SWIG_IsOK(res1)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9470 }
9471 arg1 = reinterpret_cast< wxWindow * >(argp1);
9472 if (obj1) {
9473 ecode2 = SWIG_AsVal_int(obj1, &val2);
9474 if (!SWIG_IsOK(ecode2)) {
9475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9476 }
9477 arg2 = static_cast< int >(val2);
9478 }
9479 if (obj2) {
36ed4f51 9480 {
1bd55598
RD
9481 arg3 = &temp3;
9482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9483 }
1bd55598
RD
9484 }
9485 if (obj3) {
d55e5bfc 9486 {
1bd55598
RD
9487 arg4 = &temp4;
9488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9489 }
1bd55598
RD
9490 }
9491 if (obj4) {
9492 ecode5 = SWIG_AsVal_long(obj4, &val5);
9493 if (!SWIG_IsOK(ecode5)) {
9494 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9495 }
9496 arg5 = static_cast< long >(val5);
9497 }
9498 if (obj5) {
36ed4f51 9499 {
1bd55598
RD
9500 arg6 = wxString_in_helper(obj5);
9501 if (arg6 == NULL) SWIG_fail;
9502 temp6 = true;
36ed4f51 9503 }
1bd55598
RD
9504 }
9505 {
9506 if (!wxPyCheckForApp()) SWIG_fail;
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9513 {
9514 if (temp6)
9515 delete arg6;
9516 }
9517 return resultobj;
9518fail:
9519 {
9520 if (temp6)
9521 delete arg6;
9522 }
9523 return NULL;
d55e5bfc
RD
9524}
9525
9526
1bd55598
RD
9527SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9528 PyObject *resultobj = 0;
9529 wxSplitterWindow *result = 0 ;
9530
9531 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9532 {
9533 if (!wxPyCheckForApp()) SWIG_fail;
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (wxSplitterWindow *)new wxSplitterWindow();
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9540 return resultobj;
9541fail:
9542 return NULL;
9543}
9544
9545
9546SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj = 0;
9548 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9549 wxWindow *arg2 = (wxWindow *) 0 ;
9550 int arg3 = (int) -1 ;
9551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9553 wxSize const &arg5_defvalue = wxDefaultSize ;
9554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9555 long arg6 = (long) wxSP_3D ;
9556 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9557 wxString *arg7 = (wxString *) &arg7_defvalue ;
9558 bool result;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 void *argp2 = 0 ;
9562 int res2 = 0 ;
9563 int val3 ;
9564 int ecode3 = 0 ;
9565 wxPoint temp4 ;
9566 wxSize temp5 ;
9567 long val6 ;
9568 int ecode6 = 0 ;
9569 bool temp7 = false ;
9570 PyObject * obj0 = 0 ;
9571 PyObject * obj1 = 0 ;
9572 PyObject * obj2 = 0 ;
9573 PyObject * obj3 = 0 ;
9574 PyObject * obj4 = 0 ;
9575 PyObject * obj5 = 0 ;
9576 PyObject * obj6 = 0 ;
9577 char * kwnames[] = {
9578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9579 };
9580
9581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9583 if (!SWIG_IsOK(res1)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9585 }
9586 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9588 if (!SWIG_IsOK(res2)) {
9589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9590 }
9591 arg2 = reinterpret_cast< wxWindow * >(argp2);
9592 if (obj2) {
9593 ecode3 = SWIG_AsVal_int(obj2, &val3);
9594 if (!SWIG_IsOK(ecode3)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9596 }
9597 arg3 = static_cast< int >(val3);
9598 }
9599 if (obj3) {
d55e5bfc 9600 {
1bd55598
RD
9601 arg4 = &temp4;
9602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9603 }
1bd55598
RD
9604 }
9605 if (obj4) {
d55e5bfc 9606 {
1bd55598
RD
9607 arg5 = &temp5;
9608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9609 }
1bd55598
RD
9610 }
9611 if (obj5) {
9612 ecode6 = SWIG_AsVal_long(obj5, &val6);
9613 if (!SWIG_IsOK(ecode6)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9615 }
9616 arg6 = static_cast< long >(val6);
9617 }
9618 if (obj6) {
d55e5bfc 9619 {
1bd55598
RD
9620 arg7 = wxString_in_helper(obj6);
9621 if (arg7 == NULL) SWIG_fail;
9622 temp7 = true;
d55e5bfc 9623 }
1bd55598
RD
9624 }
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 {
9632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9633 }
9634 {
9635 if (temp7)
9636 delete arg7;
9637 }
9638 return resultobj;
9639fail:
9640 {
9641 if (temp7)
9642 delete arg7;
9643 }
9644 return NULL;
d55e5bfc
RD
9645}
9646
9647
1bd55598
RD
9648SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9649 PyObject *resultobj = 0;
9650 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9651 wxWindow *result = 0 ;
9652 void *argp1 = 0 ;
9653 int res1 = 0 ;
9654 PyObject *swig_obj[1] ;
9655
9656 if (!args) SWIG_fail;
9657 swig_obj[0] = args;
9658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9659 if (!SWIG_IsOK(res1)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9661 }
9662 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 {
9670 resultobj = wxPyMake_wxObject(result, 0);
9671 }
9672 return resultobj;
9673fail:
9674 return NULL;
d55e5bfc
RD
9675}
9676
9677
1bd55598
RD
9678SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9679 PyObject *resultobj = 0;
9680 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9681 wxWindow *result = 0 ;
9682 void *argp1 = 0 ;
9683 int res1 = 0 ;
9684 PyObject *swig_obj[1] ;
9685
9686 if (!args) SWIG_fail;
9687 swig_obj[0] = args;
9688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9689 if (!SWIG_IsOK(res1)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9691 }
9692 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 {
9700 resultobj = wxPyMake_wxObject(result, 0);
9701 }
9702 return resultobj;
9703fail:
9704 return NULL;
9705}
9706
9707
9708SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj = 0;
9710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9711 int arg2 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 int val2 ;
9715 int ecode2 = 0 ;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 char * kwnames[] = {
9719 (char *) "self",(char *) "mode", NULL
9720 };
9721
9722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res1)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 }
9727 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9728 ecode2 = SWIG_AsVal_int(obj1, &val2);
9729 if (!SWIG_IsOK(ecode2)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9731 }
9732 arg2 = static_cast< int >(val2);
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 (arg1)->SetSplitMode(arg2);
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 resultobj = SWIG_Py_Void();
9740 return resultobj;
9741fail:
9742 return NULL;
d55e5bfc
RD
9743}
9744
9745
1bd55598
RD
9746SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9747 PyObject *resultobj = 0;
9748 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9749 wxSplitMode result;
9750 void *argp1 = 0 ;
9751 int res1 = 0 ;
9752 PyObject *swig_obj[1] ;
9753
9754 if (!args) SWIG_fail;
9755 swig_obj[0] = args;
9756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9757 if (!SWIG_IsOK(res1)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9759 }
9760 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = SWIG_From_int(static_cast< int >(result));
9768 return resultobj;
9769fail:
9770 return NULL;
9771}
9772
9773
9774SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj = 0;
9776 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9777 wxWindow *arg2 = (wxWindow *) 0 ;
9778 void *argp1 = 0 ;
9779 int res1 = 0 ;
9780 void *argp2 = 0 ;
9781 int res2 = 0 ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 char * kwnames[] = {
9785 (char *) "self",(char *) "window", NULL
9786 };
9787
9788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9790 if (!SWIG_IsOK(res1)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9792 }
9793 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9794 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9795 if (!SWIG_IsOK(res2)) {
9796 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9797 }
9798 arg2 = reinterpret_cast< wxWindow * >(argp2);
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 (arg1)->Initialize(arg2);
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_Py_Void();
9806 return resultobj;
9807fail:
9808 return NULL;
9809}
9810
9811
9812SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj = 0;
9814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9815 wxWindow *arg2 = (wxWindow *) 0 ;
9816 wxWindow *arg3 = (wxWindow *) 0 ;
9817 int arg4 = (int) 0 ;
9818 bool result;
9819 void *argp1 = 0 ;
9820 int res1 = 0 ;
9821 void *argp2 = 0 ;
9822 int res2 = 0 ;
9823 void *argp3 = 0 ;
9824 int res3 = 0 ;
9825 int val4 ;
9826 int ecode4 = 0 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 PyObject * obj3 = 0 ;
9831 char * kwnames[] = {
9832 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9833 };
9834
9835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res1)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9839 }
9840 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9841 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9842 if (!SWIG_IsOK(res2)) {
9843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9844 }
9845 arg2 = reinterpret_cast< wxWindow * >(argp2);
9846 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9847 if (!SWIG_IsOK(res3)) {
9848 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9849 }
9850 arg3 = reinterpret_cast< wxWindow * >(argp3);
9851 if (obj3) {
9852 ecode4 = SWIG_AsVal_int(obj3, &val4);
9853 if (!SWIG_IsOK(ecode4)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9855 }
9856 arg4 = static_cast< int >(val4);
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 {
9865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9866 }
9867 return resultobj;
9868fail:
9869 return NULL;
9870}
9871
9872
9873SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj = 0;
9875 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9876 wxWindow *arg2 = (wxWindow *) 0 ;
9877 wxWindow *arg3 = (wxWindow *) 0 ;
9878 int arg4 = (int) 0 ;
9879 bool result;
9880 void *argp1 = 0 ;
9881 int res1 = 0 ;
9882 void *argp2 = 0 ;
9883 int res2 = 0 ;
9884 void *argp3 = 0 ;
9885 int res3 = 0 ;
9886 int val4 ;
9887 int ecode4 = 0 ;
9888 PyObject * obj0 = 0 ;
9889 PyObject * obj1 = 0 ;
9890 PyObject * obj2 = 0 ;
9891 PyObject * obj3 = 0 ;
9892 char * kwnames[] = {
9893 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9894 };
9895
9896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9898 if (!SWIG_IsOK(res1)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9900 }
9901 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9903 if (!SWIG_IsOK(res2)) {
9904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9905 }
9906 arg2 = reinterpret_cast< wxWindow * >(argp2);
9907 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9908 if (!SWIG_IsOK(res3)) {
9909 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9910 }
9911 arg3 = reinterpret_cast< wxWindow * >(argp3);
9912 if (obj3) {
9913 ecode4 = SWIG_AsVal_int(obj3, &val4);
9914 if (!SWIG_IsOK(ecode4)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9916 }
9917 arg4 = static_cast< int >(val4);
9918 }
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 {
9926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9927 }
9928 return resultobj;
9929fail:
9930 return NULL;
9931}
9932
9933
9934SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9937 wxWindow *arg2 = (wxWindow *) NULL ;
9938 bool result;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 void *argp2 = 0 ;
9942 int res2 = 0 ;
9943 PyObject * obj0 = 0 ;
9944 PyObject * obj1 = 0 ;
9945 char * kwnames[] = {
9946 (char *) "self",(char *) "toRemove", NULL
9947 };
9948
9949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9951 if (!SWIG_IsOK(res1)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9953 }
9954 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9955 if (obj1) {
9956 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9957 if (!SWIG_IsOK(res2)) {
9958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 9959 }
1bd55598
RD
9960 arg2 = reinterpret_cast< wxWindow * >(argp2);
9961 }
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (bool)(arg1)->Unsplit(arg2);
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
9969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9970 }
9971 return resultobj;
9972fail:
9973 return NULL;
9974}
9975
9976
9977SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj = 0;
9979 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9980 wxWindow *arg2 = (wxWindow *) 0 ;
9981 wxWindow *arg3 = (wxWindow *) 0 ;
9982 bool result;
9983 void *argp1 = 0 ;
9984 int res1 = 0 ;
9985 void *argp2 = 0 ;
9986 int res2 = 0 ;
9987 void *argp3 = 0 ;
9988 int res3 = 0 ;
9989 PyObject * obj0 = 0 ;
9990 PyObject * obj1 = 0 ;
9991 PyObject * obj2 = 0 ;
9992 char * kwnames[] = {
9993 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9994 };
9995
9996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9998 if (!SWIG_IsOK(res1)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10000 }
10001 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10002 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10003 if (!SWIG_IsOK(res2)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10005 }
10006 arg2 = reinterpret_cast< wxWindow * >(argp2);
10007 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10008 if (!SWIG_IsOK(res3)) {
10009 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10010 }
10011 arg3 = reinterpret_cast< wxWindow * >(argp3);
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 {
10019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10020 }
10021 return resultobj;
10022fail:
10023 return NULL;
f20a2e1f
RD
10024}
10025
10026
1bd55598
RD
10027SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10028 PyObject *resultobj = 0;
10029 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10030 void *argp1 = 0 ;
10031 int res1 = 0 ;
10032 PyObject *swig_obj[1] ;
10033
10034 if (!args) SWIG_fail;
10035 swig_obj[0] = args;
10036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10037 if (!SWIG_IsOK(res1)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10039 }
10040 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 (arg1)->UpdateSize();
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 resultobj = SWIG_Py_Void();
10048 return resultobj;
10049fail:
10050 return NULL;
d55e5bfc
RD
10051}
10052
10053
1bd55598
RD
10054SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10055 PyObject *resultobj = 0;
10056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10057 bool result;
10058 void *argp1 = 0 ;
10059 int res1 = 0 ;
10060 PyObject *swig_obj[1] ;
10061
10062 if (!args) SWIG_fail;
10063 swig_obj[0] = args;
10064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10065 if (!SWIG_IsOK(res1)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10067 }
10068 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 {
10076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10077 }
10078 return resultobj;
10079fail:
10080 return NULL;
10081}
10082
10083
10084SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj = 0;
10086 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10087 int arg2 ;
10088 void *argp1 = 0 ;
10089 int res1 = 0 ;
10090 int val2 ;
10091 int ecode2 = 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 char * kwnames[] = {
10095 (char *) "self",(char *) "width", NULL
10096 };
10097
10098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10100 if (!SWIG_IsOK(res1)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 }
10103 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10104 ecode2 = SWIG_AsVal_int(obj1, &val2);
10105 if (!SWIG_IsOK(ecode2)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10107 }
10108 arg2 = static_cast< int >(val2);
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 (arg1)->SetSashSize(arg2);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_Py_Void();
10116 return resultobj;
10117fail:
10118 return NULL;
10119}
10120
10121
10122SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj = 0;
10124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10125 int arg2 ;
10126 void *argp1 = 0 ;
10127 int res1 = 0 ;
10128 int val2 ;
10129 int ecode2 = 0 ;
10130 PyObject * obj0 = 0 ;
10131 PyObject * obj1 = 0 ;
10132 char * kwnames[] = {
10133 (char *) "self",(char *) "width", NULL
10134 };
10135
10136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10138 if (!SWIG_IsOK(res1)) {
10139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10140 }
10141 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10142 ecode2 = SWIG_AsVal_int(obj1, &val2);
10143 if (!SWIG_IsOK(ecode2)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10145 }
10146 arg2 = static_cast< int >(val2);
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 (arg1)->SetBorderSize(arg2);
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 resultobj = SWIG_Py_Void();
10154 return resultobj;
10155fail:
10156 return NULL;
d55e5bfc
RD
10157}
10158
10159
1bd55598
RD
10160SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10161 PyObject *resultobj = 0;
10162 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10163 int result;
10164 void *argp1 = 0 ;
10165 int res1 = 0 ;
10166 PyObject *swig_obj[1] ;
10167
10168 if (!args) SWIG_fail;
10169 swig_obj[0] = args;
10170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10171 if (!SWIG_IsOK(res1)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10173 }
10174 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 resultobj = SWIG_From_int(static_cast< int >(result));
10182 return resultobj;
10183fail:
10184 return NULL;
d55e5bfc
RD
10185}
10186
10187
1bd55598
RD
10188SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10189 PyObject *resultobj = 0;
10190 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10191 int result;
10192 void *argp1 = 0 ;
10193 int res1 = 0 ;
10194 PyObject *swig_obj[1] ;
10195
10196 if (!args) SWIG_fail;
10197 swig_obj[0] = args;
10198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10199 if (!SWIG_IsOK(res1)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 }
10202 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 resultobj = SWIG_From_int(static_cast< int >(result));
10210 return resultobj;
10211fail:
10212 return NULL;
10213}
10214
10215
10216SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj = 0;
10218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10219 int arg2 ;
10220 bool arg3 = (bool) true ;
10221 void *argp1 = 0 ;
10222 int res1 = 0 ;
10223 int val2 ;
10224 int ecode2 = 0 ;
10225 bool val3 ;
10226 int ecode3 = 0 ;
10227 PyObject * obj0 = 0 ;
10228 PyObject * obj1 = 0 ;
10229 PyObject * obj2 = 0 ;
10230 char * kwnames[] = {
10231 (char *) "self",(char *) "position",(char *) "redraw", NULL
10232 };
10233
10234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10236 if (!SWIG_IsOK(res1)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 }
10239 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10240 ecode2 = SWIG_AsVal_int(obj1, &val2);
10241 if (!SWIG_IsOK(ecode2)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10243 }
10244 arg2 = static_cast< int >(val2);
10245 if (obj2) {
10246 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10247 if (!SWIG_IsOK(ecode3)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10249 }
10250 arg3 = static_cast< bool >(val3);
10251 }
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->SetSashPosition(arg2,arg3);
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = SWIG_Py_Void();
10259 return resultobj;
10260fail:
10261 return NULL;
d55e5bfc
RD
10262}
10263
10264
1bd55598
RD
10265SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10266 PyObject *resultobj = 0;
10267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10268 int result;
10269 void *argp1 = 0 ;
10270 int res1 = 0 ;
10271 PyObject *swig_obj[1] ;
10272
10273 if (!args) SWIG_fail;
10274 swig_obj[0] = args;
10275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10276 if (!SWIG_IsOK(res1)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 }
10279 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_From_int(static_cast< int >(result));
10287 return resultobj;
10288fail:
10289 return NULL;
10290}
10291
10292
10293SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj = 0;
10295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10296 double arg2 ;
10297 void *argp1 = 0 ;
10298 int res1 = 0 ;
10299 double val2 ;
10300 int ecode2 = 0 ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 char * kwnames[] = {
10304 (char *) "self",(char *) "gravity", NULL
10305 };
10306
10307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10309 if (!SWIG_IsOK(res1)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10311 }
10312 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10313 ecode2 = SWIG_AsVal_double(obj1, &val2);
10314 if (!SWIG_IsOK(ecode2)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10316 }
10317 arg2 = static_cast< double >(val2);
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetSashGravity(arg2);
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_Py_Void();
10325 return resultobj;
10326fail:
10327 return NULL;
d55e5bfc
RD
10328}
10329
10330
1bd55598
RD
10331SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 PyObject *resultobj = 0;
10333 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10334 double result;
10335 void *argp1 = 0 ;
10336 int res1 = 0 ;
10337 PyObject *swig_obj[1] ;
10338
10339 if (!args) SWIG_fail;
10340 swig_obj[0] = args;
10341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10342 if (!SWIG_IsOK(res1)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10344 }
10345 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = SWIG_From_double(static_cast< double >(result));
10353 return resultobj;
10354fail:
10355 return NULL;
10356}
10357
10358
10359SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj = 0;
10361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10362 int arg2 ;
10363 void *argp1 = 0 ;
10364 int res1 = 0 ;
10365 int val2 ;
10366 int ecode2 = 0 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 char * kwnames[] = {
10370 (char *) "self",(char *) "min", NULL
10371 };
10372
10373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10375 if (!SWIG_IsOK(res1)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10377 }
10378 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10379 ecode2 = SWIG_AsVal_int(obj1, &val2);
10380 if (!SWIG_IsOK(ecode2)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10382 }
10383 arg2 = static_cast< int >(val2);
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 (arg1)->SetMinimumPaneSize(arg2);
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_Py_Void();
10391 return resultobj;
10392fail:
10393 return NULL;
b1fcee84
RD
10394}
10395
10396
1bd55598
RD
10397SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10398 PyObject *resultobj = 0;
10399 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10400 int result;
10401 void *argp1 = 0 ;
10402 int res1 = 0 ;
10403 PyObject *swig_obj[1] ;
10404
10405 if (!args) SWIG_fail;
10406 swig_obj[0] = args;
10407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10408 if (!SWIG_IsOK(res1)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10410 }
10411 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = SWIG_From_int(static_cast< int >(result));
10419 return resultobj;
10420fail:
10421 return NULL;
10422}
10423
10424
10425SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj = 0;
10427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10428 int arg2 ;
10429 int arg3 ;
10430 int arg4 = (int) 5 ;
10431 bool result;
10432 void *argp1 = 0 ;
10433 int res1 = 0 ;
10434 int val2 ;
10435 int ecode2 = 0 ;
10436 int val3 ;
10437 int ecode3 = 0 ;
10438 int val4 ;
10439 int ecode4 = 0 ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 PyObject * obj2 = 0 ;
10443 PyObject * obj3 = 0 ;
10444 char * kwnames[] = {
10445 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10446 };
10447
10448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10450 if (!SWIG_IsOK(res1)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10452 }
10453 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10454 ecode2 = SWIG_AsVal_int(obj1, &val2);
10455 if (!SWIG_IsOK(ecode2)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10457 }
10458 arg2 = static_cast< int >(val2);
10459 ecode3 = SWIG_AsVal_int(obj2, &val3);
10460 if (!SWIG_IsOK(ecode3)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10462 }
10463 arg3 = static_cast< int >(val3);
10464 if (obj3) {
10465 ecode4 = SWIG_AsVal_int(obj3, &val4);
10466 if (!SWIG_IsOK(ecode4)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10468 }
10469 arg4 = static_cast< int >(val4);
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 {
10478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10479 }
10480 return resultobj;
10481fail:
10482 return NULL;
b1fcee84
RD
10483}
10484
10485
1bd55598
RD
10486SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10487 PyObject *resultobj = 0;
10488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10489 void *argp1 = 0 ;
10490 int res1 = 0 ;
10491 PyObject *swig_obj[1] ;
10492
10493 if (!args) SWIG_fail;
10494 swig_obj[0] = args;
10495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10496 if (!SWIG_IsOK(res1)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10498 }
10499 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 (arg1)->SizeWindows();
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_Py_Void();
10507 return resultobj;
10508fail:
10509 return NULL;
10510}
10511
10512
10513SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj = 0;
10515 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10516 bool arg2 ;
10517 void *argp1 = 0 ;
10518 int res1 = 0 ;
10519 bool val2 ;
10520 int ecode2 = 0 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char * kwnames[] = {
10524 (char *) "self",(char *) "needUpdating", NULL
10525 };
10526
10527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10529 if (!SWIG_IsOK(res1)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10531 }
10532 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10533 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10534 if (!SWIG_IsOK(ecode2)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10536 }
10537 arg2 = static_cast< bool >(val2);
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 (arg1)->SetNeedUpdating(arg2);
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = SWIG_Py_Void();
10545 return resultobj;
10546fail:
10547 return NULL;
b1fcee84
RD
10548}
10549
10550
1bd55598
RD
10551SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10552 PyObject *resultobj = 0;
10553 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10554 bool result;
10555 void *argp1 = 0 ;
10556 int res1 = 0 ;
10557 PyObject *swig_obj[1] ;
10558
10559 if (!args) SWIG_fail;
10560 swig_obj[0] = args;
10561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10562 if (!SWIG_IsOK(res1)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10564 }
10565 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 {
10573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10574 }
10575 return resultobj;
10576fail:
10577 return NULL;
b1fcee84
RD
10578}
10579
10580
1bd55598
RD
10581SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj = 0;
10583 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10584 SwigValueWrapper<wxVisualAttributes > result;
10585 int val1 ;
10586 int ecode1 = 0 ;
10587 PyObject * obj0 = 0 ;
10588 char * kwnames[] = {
10589 (char *) "variant", NULL
10590 };
10591
10592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10593 if (obj0) {
10594 ecode1 = SWIG_AsVal_int(obj0, &val1);
10595 if (!SWIG_IsOK(ecode1)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10597 }
10598 arg1 = static_cast< wxWindowVariant >(val1);
10599 }
10600 {
10601 if (!wxPyCheckForApp()) SWIG_fail;
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10608 return resultobj;
10609fail:
10610 return NULL;
d55e5bfc
RD
10611}
10612
10613
1bd55598
RD
10614SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10615 PyObject *obj;
10616 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10617 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10618 return SWIG_Py_Void();
d55e5bfc
RD
10619}
10620
1bd55598
RD
10621SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10622 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10623}
10624
1bd55598
RD
10625SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj = 0;
10627 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10628 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10629 wxSplitterEvent *result = 0 ;
10630 int val1 ;
10631 int ecode1 = 0 ;
10632 void *argp2 = 0 ;
10633 int res2 = 0 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10636 char * kwnames[] = {
10637 (char *) "type",(char *) "splitter", NULL
10638 };
10639
10640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10641 if (obj0) {
10642 ecode1 = SWIG_AsVal_int(obj0, &val1);
10643 if (!SWIG_IsOK(ecode1)) {
10644 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10645 }
10646 arg1 = static_cast< wxEventType >(val1);
10647 }
10648 if (obj1) {
10649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10650 if (!SWIG_IsOK(res2)) {
10651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10652 }
1bd55598
RD
10653 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10662 return resultobj;
10663fail:
10664 return NULL;
10665}
10666
10667
10668SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj = 0;
10670 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10671 int arg2 ;
10672 void *argp1 = 0 ;
10673 int res1 = 0 ;
10674 int val2 ;
10675 int ecode2 = 0 ;
10676 PyObject * obj0 = 0 ;
10677 PyObject * obj1 = 0 ;
10678 char * kwnames[] = {
10679 (char *) "self",(char *) "pos", NULL
10680 };
10681
10682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10684 if (!SWIG_IsOK(res1)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10686 }
10687 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10688 ecode2 = SWIG_AsVal_int(obj1, &val2);
10689 if (!SWIG_IsOK(ecode2)) {
10690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10691 }
10692 arg2 = static_cast< int >(val2);
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 (arg1)->SetSashPosition(arg2);
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = SWIG_Py_Void();
10700 return resultobj;
10701fail:
10702 return NULL;
d55e5bfc
RD
10703}
10704
10705
1bd55598
RD
10706SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10707 PyObject *resultobj = 0;
10708 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10709 int result;
10710 void *argp1 = 0 ;
10711 int res1 = 0 ;
10712 PyObject *swig_obj[1] ;
10713
10714 if (!args) SWIG_fail;
10715 swig_obj[0] = args;
10716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10717 if (!SWIG_IsOK(res1)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10719 }
10720 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_From_int(static_cast< int >(result));
10728 return resultobj;
10729fail:
10730 return NULL;
d55e5bfc
RD
10731}
10732
10733
1bd55598
RD
10734SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10735 PyObject *resultobj = 0;
10736 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10737 wxWindow *result = 0 ;
10738 void *argp1 = 0 ;
10739 int res1 = 0 ;
10740 PyObject *swig_obj[1] ;
10741
10742 if (!args) SWIG_fail;
10743 swig_obj[0] = args;
10744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10745 if (!SWIG_IsOK(res1)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10747 }
10748 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 {
10756 resultobj = wxPyMake_wxObject(result, 0);
10757 }
10758 return resultobj;
10759fail:
10760 return NULL;
d55e5bfc
RD
10761}
10762
10763
1bd55598
RD
10764SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10765 PyObject *resultobj = 0;
10766 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10767 int result;
10768 void *argp1 = 0 ;
10769 int res1 = 0 ;
10770 PyObject *swig_obj[1] ;
10771
10772 if (!args) SWIG_fail;
10773 swig_obj[0] = args;
10774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10775 if (!SWIG_IsOK(res1)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10777 }
10778 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 resultobj = SWIG_From_int(static_cast< int >(result));
10786 return resultobj;
10787fail:
10788 return NULL;
f20a2e1f
RD
10789}
10790
10791
1bd55598
RD
10792SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10793 PyObject *resultobj = 0;
10794 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10795 int result;
10796 void *argp1 = 0 ;
10797 int res1 = 0 ;
10798 PyObject *swig_obj[1] ;
10799
10800 if (!args) SWIG_fail;
10801 swig_obj[0] = args;
10802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10803 if (!SWIG_IsOK(res1)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10805 }
10806 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 resultobj = SWIG_From_int(static_cast< int >(result));
10814 return resultobj;
10815fail:
10816 return NULL;
d55e5bfc
RD
10817}
10818
10819
1bd55598
RD
10820SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10821 PyObject *obj;
10822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10824 return SWIG_Py_Void();
d55e5bfc
RD
10825}
10826
1bd55598
RD
10827SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10828 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10829}
10830
1bd55598
RD
10831SWIGINTERN int SashNameStr_set(PyObject *) {
10832 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10833 return 1;
d55e5bfc
RD
10834}
10835
10836
1bd55598
RD
10837SWIGINTERN PyObject *SashNameStr_get(void) {
10838 PyObject *pyobj = 0;
10839
10840 {
10841#if wxUSE_UNICODE
10842 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10843#else
10844 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10845#endif
10846 }
10847 return pyobj;
d55e5bfc
RD
10848}
10849
10850
1bd55598
RD
10851SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10852 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10853 return 1;
d55e5bfc
RD
10854}
10855
10856
1bd55598
RD
10857SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10858 PyObject *pyobj = 0;
10859
10860 {
10861#if wxUSE_UNICODE
10862 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10863#else
10864 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10865#endif
10866 }
10867 return pyobj;
10868}
10869
10870
10871SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj = 0;
10873 wxWindow *arg1 = (wxWindow *) 0 ;
10874 int arg2 = (int) -1 ;
10875 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10876 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10877 wxSize const &arg4_defvalue = wxDefaultSize ;
10878 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10879 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10880 wxString const &arg6_defvalue = wxPySashNameStr ;
10881 wxString *arg6 = (wxString *) &arg6_defvalue ;
10882 wxSashWindow *result = 0 ;
10883 void *argp1 = 0 ;
10884 int res1 = 0 ;
10885 int val2 ;
10886 int ecode2 = 0 ;
10887 wxPoint temp3 ;
10888 wxSize temp4 ;
10889 long val5 ;
10890 int ecode5 = 0 ;
10891 bool temp6 = false ;
10892 PyObject * obj0 = 0 ;
10893 PyObject * obj1 = 0 ;
10894 PyObject * obj2 = 0 ;
10895 PyObject * obj3 = 0 ;
10896 PyObject * obj4 = 0 ;
10897 PyObject * obj5 = 0 ;
10898 char * kwnames[] = {
10899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10900 };
10901
10902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10904 if (!SWIG_IsOK(res1)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10906 }
10907 arg1 = reinterpret_cast< wxWindow * >(argp1);
10908 if (obj1) {
10909 ecode2 = SWIG_AsVal_int(obj1, &val2);
10910 if (!SWIG_IsOK(ecode2)) {
10911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10912 }
10913 arg2 = static_cast< int >(val2);
10914 }
10915 if (obj2) {
36ed4f51 10916 {
1bd55598
RD
10917 arg3 = &temp3;
10918 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10919 }
1bd55598
RD
10920 }
10921 if (obj3) {
36ed4f51 10922 {
1bd55598
RD
10923 arg4 = &temp4;
10924 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 10925 }
1bd55598
RD
10926 }
10927 if (obj4) {
10928 ecode5 = SWIG_AsVal_long(obj4, &val5);
10929 if (!SWIG_IsOK(ecode5)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10931 }
10932 arg5 = static_cast< long >(val5);
10933 }
10934 if (obj5) {
36ed4f51 10935 {
1bd55598
RD
10936 arg6 = wxString_in_helper(obj5);
10937 if (arg6 == NULL) SWIG_fail;
10938 temp6 = true;
d55e5bfc 10939 }
1bd55598
RD
10940 }
10941 {
10942 if (!wxPyCheckForApp()) SWIG_fail;
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10949 {
10950 if (temp6)
10951 delete arg6;
10952 }
10953 return resultobj;
10954fail:
10955 {
10956 if (temp6)
10957 delete arg6;
10958 }
10959 return NULL;
d55e5bfc
RD
10960}
10961
10962
1bd55598
RD
10963SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10964 PyObject *resultobj = 0;
10965 wxSashWindow *result = 0 ;
10966
10967 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10968 {
10969 if (!wxPyCheckForApp()) SWIG_fail;
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (wxSashWindow *)new wxSashWindow();
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10976 return resultobj;
10977fail:
10978 return NULL;
10979}
10980
10981
10982SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj = 0;
10984 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10985 wxWindow *arg2 = (wxWindow *) 0 ;
10986 int arg3 = (int) -1 ;
10987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10989 wxSize const &arg5_defvalue = wxDefaultSize ;
10990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10991 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10992 wxString const &arg7_defvalue = wxPySashNameStr ;
10993 wxString *arg7 = (wxString *) &arg7_defvalue ;
10994 bool result;
10995 void *argp1 = 0 ;
10996 int res1 = 0 ;
10997 void *argp2 = 0 ;
10998 int res2 = 0 ;
10999 int val3 ;
11000 int ecode3 = 0 ;
11001 wxPoint temp4 ;
11002 wxSize temp5 ;
11003 long val6 ;
11004 int ecode6 = 0 ;
11005 bool temp7 = false ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 PyObject * obj2 = 0 ;
11009 PyObject * obj3 = 0 ;
11010 PyObject * obj4 = 0 ;
11011 PyObject * obj5 = 0 ;
11012 PyObject * obj6 = 0 ;
11013 char * kwnames[] = {
11014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11015 };
11016
11017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11019 if (!SWIG_IsOK(res1)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11021 }
11022 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11023 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11024 if (!SWIG_IsOK(res2)) {
11025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11026 }
11027 arg2 = reinterpret_cast< wxWindow * >(argp2);
11028 if (obj2) {
11029 ecode3 = SWIG_AsVal_int(obj2, &val3);
11030 if (!SWIG_IsOK(ecode3)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11032 }
11033 arg3 = static_cast< int >(val3);
11034 }
11035 if (obj3) {
d55e5bfc 11036 {
1bd55598
RD
11037 arg4 = &temp4;
11038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11039 }
1bd55598
RD
11040 }
11041 if (obj4) {
36ed4f51 11042 {
1bd55598
RD
11043 arg5 = &temp5;
11044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 11045 }
1bd55598
RD
11046 }
11047 if (obj5) {
11048 ecode6 = SWIG_AsVal_long(obj5, &val6);
11049 if (!SWIG_IsOK(ecode6)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11051 }
11052 arg6 = static_cast< long >(val6);
11053 }
11054 if (obj6) {
d55e5bfc 11055 {
1bd55598
RD
11056 arg7 = wxString_in_helper(obj6);
11057 if (arg7 == NULL) SWIG_fail;
11058 temp7 = true;
36ed4f51 11059 }
1bd55598
RD
11060 }
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
11070 {
11071 if (temp7)
11072 delete arg7;
11073 }
11074 return resultobj;
11075fail:
11076 {
11077 if (temp7)
11078 delete arg7;
11079 }
11080 return NULL;
11081}
11082
11083
11084SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj = 0;
11086 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11087 wxSashEdgePosition arg2 ;
11088 bool arg3 ;
11089 void *argp1 = 0 ;
11090 int res1 = 0 ;
11091 int val2 ;
11092 int ecode2 = 0 ;
11093 bool val3 ;
11094 int ecode3 = 0 ;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 PyObject * obj2 = 0 ;
11098 char * kwnames[] = {
11099 (char *) "self",(char *) "edge",(char *) "sash", NULL
11100 };
11101
11102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11104 if (!SWIG_IsOK(res1)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11106 }
11107 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11108 ecode2 = SWIG_AsVal_int(obj1, &val2);
11109 if (!SWIG_IsOK(ecode2)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11111 }
11112 arg2 = static_cast< wxSashEdgePosition >(val2);
11113 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11114 if (!SWIG_IsOK(ecode3)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11116 }
11117 arg3 = static_cast< bool >(val3);
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 (arg1)->SetSashVisible(arg2,arg3);
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 resultobj = SWIG_Py_Void();
11125 return resultobj;
11126fail:
11127 return NULL;
11128}
11129
11130
11131SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj = 0;
11133 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11134 wxSashEdgePosition arg2 ;
11135 bool result;
11136 void *argp1 = 0 ;
11137 int res1 = 0 ;
11138 int val2 ;
11139 int ecode2 = 0 ;
11140 PyObject * obj0 = 0 ;
11141 PyObject * obj1 = 0 ;
11142 char * kwnames[] = {
11143 (char *) "self",(char *) "edge", NULL
11144 };
11145
11146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11148 if (!SWIG_IsOK(res1)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11150 }
11151 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11152 ecode2 = SWIG_AsVal_int(obj1, &val2);
11153 if (!SWIG_IsOK(ecode2)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11155 }
11156 arg2 = static_cast< wxSashEdgePosition >(val2);
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 {
11164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11165 }
11166 return resultobj;
11167fail:
11168 return NULL;
11169}
11170
11171
1bd55598
RD
11172SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj = 0;
11174 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11175 wxSashEdgePosition arg2 ;
11176 int result;
11177 void *argp1 = 0 ;
11178 int res1 = 0 ;
11179 int val2 ;
11180 int ecode2 = 0 ;
11181 PyObject * obj0 = 0 ;
11182 PyObject * obj1 = 0 ;
11183 char * kwnames[] = {
11184 (char *) "self",(char *) "edge", NULL
11185 };
11186
11187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11189 if (!SWIG_IsOK(res1)) {
11190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11191 }
11192 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11193 ecode2 = SWIG_AsVal_int(obj1, &val2);
11194 if (!SWIG_IsOK(ecode2)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11196 }
11197 arg2 = static_cast< wxSashEdgePosition >(val2);
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_From_int(static_cast< int >(result));
11205 return resultobj;
11206fail:
11207 return NULL;
11208}
11209
11210
11211SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj = 0;
11213 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11214 int arg2 ;
11215 void *argp1 = 0 ;
11216 int res1 = 0 ;
11217 int val2 ;
11218 int ecode2 = 0 ;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 char * kwnames[] = {
11222 (char *) "self",(char *) "width", NULL
11223 };
11224
11225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11227 if (!SWIG_IsOK(res1)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11229 }
11230 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11231 ecode2 = SWIG_AsVal_int(obj1, &val2);
11232 if (!SWIG_IsOK(ecode2)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11234 }
11235 arg2 = static_cast< int >(val2);
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 (arg1)->SetDefaultBorderSize(arg2);
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = SWIG_Py_Void();
11243 return resultobj;
11244fail:
11245 return NULL;
d55e5bfc
RD
11246}
11247
11248
1bd55598
RD
11249SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11250 PyObject *resultobj = 0;
11251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11252 int result;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 PyObject *swig_obj[1] ;
11256
11257 if (!args) SWIG_fail;
11258 swig_obj[0] = args;
11259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11260 if (!SWIG_IsOK(res1)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11262 }
11263 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 resultobj = SWIG_From_int(static_cast< int >(result));
11271 return resultobj;
11272fail:
11273 return NULL;
11274}
11275
11276
11277SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11278 PyObject *resultobj = 0;
11279 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11280 int arg2 ;
11281 void *argp1 = 0 ;
11282 int res1 = 0 ;
11283 int val2 ;
11284 int ecode2 = 0 ;
11285 PyObject * obj0 = 0 ;
11286 PyObject * obj1 = 0 ;
11287 char * kwnames[] = {
11288 (char *) "self",(char *) "width", NULL
11289 };
11290
11291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11293 if (!SWIG_IsOK(res1)) {
11294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11295 }
11296 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11297 ecode2 = SWIG_AsVal_int(obj1, &val2);
11298 if (!SWIG_IsOK(ecode2)) {
11299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11300 }
11301 arg2 = static_cast< int >(val2);
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 (arg1)->SetExtraBorderSize(arg2);
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = SWIG_Py_Void();
11309 return resultobj;
11310fail:
11311 return NULL;
d55e5bfc
RD
11312}
11313
11314
1bd55598
RD
11315SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11316 PyObject *resultobj = 0;
11317 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11318 int result;
11319 void *argp1 = 0 ;
11320 int res1 = 0 ;
11321 PyObject *swig_obj[1] ;
11322
11323 if (!args) SWIG_fail;
11324 swig_obj[0] = args;
11325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11326 if (!SWIG_IsOK(res1)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11328 }
11329 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 resultobj = SWIG_From_int(static_cast< int >(result));
11337 return resultobj;
11338fail:
11339 return NULL;
11340}
11341
11342
11343SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj = 0;
11345 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11346 int arg2 ;
11347 void *argp1 = 0 ;
11348 int res1 = 0 ;
11349 int val2 ;
11350 int ecode2 = 0 ;
11351 PyObject * obj0 = 0 ;
11352 PyObject * obj1 = 0 ;
11353 char * kwnames[] = {
11354 (char *) "self",(char *) "min", NULL
11355 };
11356
11357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11359 if (!SWIG_IsOK(res1)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11361 }
11362 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11363 ecode2 = SWIG_AsVal_int(obj1, &val2);
11364 if (!SWIG_IsOK(ecode2)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11366 }
11367 arg2 = static_cast< int >(val2);
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 (arg1)->SetMinimumSizeX(arg2);
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 resultobj = SWIG_Py_Void();
11375 return resultobj;
11376fail:
11377 return NULL;
11378}
11379
11380
11381SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj = 0;
11383 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11384 int arg2 ;
11385 void *argp1 = 0 ;
11386 int res1 = 0 ;
11387 int val2 ;
11388 int ecode2 = 0 ;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 char * kwnames[] = {
11392 (char *) "self",(char *) "min", NULL
11393 };
11394
11395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11397 if (!SWIG_IsOK(res1)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11399 }
11400 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11401 ecode2 = SWIG_AsVal_int(obj1, &val2);
11402 if (!SWIG_IsOK(ecode2)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11404 }
11405 arg2 = static_cast< int >(val2);
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 (arg1)->SetMinimumSizeY(arg2);
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_Py_Void();
11413 return resultobj;
11414fail:
11415 return NULL;
d55e5bfc
RD
11416}
11417
11418
1bd55598
RD
11419SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11420 PyObject *resultobj = 0;
11421 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11422 int result;
11423 void *argp1 = 0 ;
11424 int res1 = 0 ;
11425 PyObject *swig_obj[1] ;
11426
11427 if (!args) SWIG_fail;
11428 swig_obj[0] = args;
11429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11430 if (!SWIG_IsOK(res1)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11432 }
11433 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 resultobj = SWIG_From_int(static_cast< int >(result));
11441 return resultobj;
11442fail:
11443 return NULL;
d55e5bfc
RD
11444}
11445
11446
1bd55598
RD
11447SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11448 PyObject *resultobj = 0;
11449 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11450 int result;
11451 void *argp1 = 0 ;
11452 int res1 = 0 ;
11453 PyObject *swig_obj[1] ;
11454
11455 if (!args) SWIG_fail;
11456 swig_obj[0] = args;
11457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11458 if (!SWIG_IsOK(res1)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11460 }
11461 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 resultobj = SWIG_From_int(static_cast< int >(result));
11469 return resultobj;
11470fail:
11471 return NULL;
11472}
11473
11474
11475SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj = 0;
11477 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11478 int arg2 ;
11479 void *argp1 = 0 ;
11480 int res1 = 0 ;
11481 int val2 ;
11482 int ecode2 = 0 ;
11483 PyObject * obj0 = 0 ;
11484 PyObject * obj1 = 0 ;
11485 char * kwnames[] = {
11486 (char *) "self",(char *) "max", NULL
11487 };
11488
11489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11491 if (!SWIG_IsOK(res1)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11493 }
11494 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11495 ecode2 = SWIG_AsVal_int(obj1, &val2);
11496 if (!SWIG_IsOK(ecode2)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11498 }
11499 arg2 = static_cast< int >(val2);
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->SetMaximumSizeX(arg2);
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 resultobj = SWIG_Py_Void();
11507 return resultobj;
11508fail:
11509 return NULL;
11510}
11511
11512
11513SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj = 0;
11515 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11516 int arg2 ;
11517 void *argp1 = 0 ;
11518 int res1 = 0 ;
11519 int val2 ;
11520 int ecode2 = 0 ;
11521 PyObject * obj0 = 0 ;
11522 PyObject * obj1 = 0 ;
11523 char * kwnames[] = {
11524 (char *) "self",(char *) "max", NULL
11525 };
11526
11527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11529 if (!SWIG_IsOK(res1)) {
11530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11531 }
11532 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11533 ecode2 = SWIG_AsVal_int(obj1, &val2);
11534 if (!SWIG_IsOK(ecode2)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11536 }
11537 arg2 = static_cast< int >(val2);
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 (arg1)->SetMaximumSizeY(arg2);
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_Py_Void();
11545 return resultobj;
11546fail:
11547 return NULL;
d55e5bfc
RD
11548}
11549
11550
1bd55598
RD
11551SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11552 PyObject *resultobj = 0;
11553 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11554 int result;
11555 void *argp1 = 0 ;
11556 int res1 = 0 ;
11557 PyObject *swig_obj[1] ;
11558
11559 if (!args) SWIG_fail;
11560 swig_obj[0] = args;
11561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11562 if (!SWIG_IsOK(res1)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11564 }
11565 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 resultobj = SWIG_From_int(static_cast< int >(result));
11573 return resultobj;
11574fail:
11575 return NULL;
d55e5bfc
RD
11576}
11577
11578
1bd55598
RD
11579SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11580 PyObject *resultobj = 0;
11581 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11582 int result;
11583 void *argp1 = 0 ;
11584 int res1 = 0 ;
11585 PyObject *swig_obj[1] ;
11586
11587 if (!args) SWIG_fail;
11588 swig_obj[0] = args;
11589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11590 if (!SWIG_IsOK(res1)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11592 }
11593 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 resultobj = SWIG_From_int(static_cast< int >(result));
11601 return resultobj;
11602fail:
11603 return NULL;
11604}
11605
11606
11607SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11608 PyObject *resultobj = 0;
11609 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11610 int arg2 ;
11611 int arg3 ;
11612 int arg4 = (int) 2 ;
11613 wxSashEdgePosition result;
11614 void *argp1 = 0 ;
11615 int res1 = 0 ;
11616 int val2 ;
11617 int ecode2 = 0 ;
11618 int val3 ;
11619 int ecode3 = 0 ;
11620 int val4 ;
11621 int ecode4 = 0 ;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624 PyObject * obj2 = 0 ;
11625 PyObject * obj3 = 0 ;
11626 char * kwnames[] = {
11627 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11628 };
11629
11630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11632 if (!SWIG_IsOK(res1)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11634 }
11635 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11636 ecode2 = SWIG_AsVal_int(obj1, &val2);
11637 if (!SWIG_IsOK(ecode2)) {
11638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11639 }
11640 arg2 = static_cast< int >(val2);
11641 ecode3 = SWIG_AsVal_int(obj2, &val3);
11642 if (!SWIG_IsOK(ecode3)) {
11643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11644 }
11645 arg3 = static_cast< int >(val3);
11646 if (obj3) {
11647 ecode4 = SWIG_AsVal_int(obj3, &val4);
11648 if (!SWIG_IsOK(ecode4)) {
11649 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11650 }
11651 arg4 = static_cast< int >(val4);
11652 }
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_From_int(static_cast< int >(result));
11660 return resultobj;
11661fail:
11662 return NULL;
d55e5bfc
RD
11663}
11664
11665
1bd55598
RD
11666SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11667 PyObject *resultobj = 0;
11668 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11669 void *argp1 = 0 ;
11670 int res1 = 0 ;
11671 PyObject *swig_obj[1] ;
11672
11673 if (!args) SWIG_fail;
11674 swig_obj[0] = args;
11675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11676 if (!SWIG_IsOK(res1)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11678 }
11679 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11680 {
11681 PyThreadState* __tstate = wxPyBeginAllowThreads();
11682 (arg1)->SizeWindows();
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_Py_Void();
11687 return resultobj;
11688fail:
11689 return NULL;
d55e5bfc
RD
11690}
11691
11692
1bd55598
RD
11693SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11694 PyObject *obj;
11695 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11697 return SWIG_Py_Void();
d55e5bfc
RD
11698}
11699
1bd55598
RD
11700SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11701 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11702}
11703
1bd55598
RD
11704SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11705 PyObject *resultobj = 0;
11706 int arg1 = (int) 0 ;
11707 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11708 wxSashEvent *result = 0 ;
11709 int val1 ;
11710 int ecode1 = 0 ;
11711 int val2 ;
11712 int ecode2 = 0 ;
11713 PyObject * obj0 = 0 ;
11714 PyObject * obj1 = 0 ;
11715 char * kwnames[] = {
11716 (char *) "id",(char *) "edge", NULL
11717 };
11718
11719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11720 if (obj0) {
11721 ecode1 = SWIG_AsVal_int(obj0, &val1);
11722 if (!SWIG_IsOK(ecode1)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11724 }
11725 arg1 = static_cast< int >(val1);
11726 }
11727 if (obj1) {
11728 ecode2 = SWIG_AsVal_int(obj1, &val2);
11729 if (!SWIG_IsOK(ecode2)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11731 }
11732 arg2 = static_cast< wxSashEdgePosition >(val2);
11733 }
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11741 return resultobj;
11742fail:
11743 return NULL;
11744}
11745
11746
11747SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj = 0;
11749 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11750 wxSashEdgePosition arg2 ;
11751 void *argp1 = 0 ;
11752 int res1 = 0 ;
11753 int val2 ;
11754 int ecode2 = 0 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char * kwnames[] = {
11758 (char *) "self",(char *) "edge", NULL
11759 };
11760
11761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11765 }
11766 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11767 ecode2 = SWIG_AsVal_int(obj1, &val2);
11768 if (!SWIG_IsOK(ecode2)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11770 }
11771 arg2 = static_cast< wxSashEdgePosition >(val2);
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 (arg1)->SetEdge(arg2);
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 resultobj = SWIG_Py_Void();
11779 return resultobj;
11780fail:
11781 return NULL;
d55e5bfc
RD
11782}
11783
11784
1bd55598
RD
11785SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11788 wxSashEdgePosition result;
11789 void *argp1 = 0 ;
11790 int res1 = 0 ;
11791 PyObject *swig_obj[1] ;
11792
11793 if (!args) SWIG_fail;
11794 swig_obj[0] = args;
11795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11798 }
11799 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 resultobj = SWIG_From_int(static_cast< int >(result));
11807 return resultobj;
11808fail:
11809 return NULL;
11810}
11811
11812
11813SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11814 PyObject *resultobj = 0;
11815 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11816 wxRect *arg2 = 0 ;
11817 void *argp1 = 0 ;
11818 int res1 = 0 ;
11819 wxRect temp2 ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 char * kwnames[] = {
11823 (char *) "self",(char *) "rect", NULL
11824 };
11825
11826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11828 if (!SWIG_IsOK(res1)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11830 }
11831 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11832 {
11833 arg2 = &temp2;
11834 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11835 }
11836 {
11837 PyThreadState* __tstate = wxPyBeginAllowThreads();
11838 (arg1)->SetDragRect((wxRect const &)*arg2);
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 resultobj = SWIG_Py_Void();
11843 return resultobj;
11844fail:
11845 return NULL;
03837c5c
RD
11846}
11847
11848
1bd55598
RD
11849SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11850 PyObject *resultobj = 0;
11851 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11852 wxRect result;
11853 void *argp1 = 0 ;
11854 int res1 = 0 ;
11855 PyObject *swig_obj[1] ;
11856
11857 if (!args) SWIG_fail;
11858 swig_obj[0] = args;
11859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11860 if (!SWIG_IsOK(res1)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11862 }
11863 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 result = ((wxSashEvent const *)arg1)->GetDragRect();
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11871 return resultobj;
11872fail:
11873 return NULL;
11874}
11875
11876
11877SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj = 0;
11879 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11880 wxSashDragStatus arg2 ;
11881 void *argp1 = 0 ;
11882 int res1 = 0 ;
11883 int val2 ;
11884 int ecode2 = 0 ;
11885 PyObject * obj0 = 0 ;
11886 PyObject * obj1 = 0 ;
11887 char * kwnames[] = {
11888 (char *) "self",(char *) "status", NULL
11889 };
11890
11891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11893 if (!SWIG_IsOK(res1)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11895 }
11896 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11897 ecode2 = SWIG_AsVal_int(obj1, &val2);
11898 if (!SWIG_IsOK(ecode2)) {
11899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11900 }
11901 arg2 = static_cast< wxSashDragStatus >(val2);
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 (arg1)->SetDragStatus(arg2);
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 resultobj = SWIG_Py_Void();
11909 return resultobj;
11910fail:
11911 return NULL;
d55e5bfc
RD
11912}
11913
11914
1bd55598
RD
11915SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11916 PyObject *resultobj = 0;
11917 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11918 wxSashDragStatus result;
11919 void *argp1 = 0 ;
11920 int res1 = 0 ;
11921 PyObject *swig_obj[1] ;
11922
11923 if (!args) SWIG_fail;
11924 swig_obj[0] = args;
11925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11926 if (!SWIG_IsOK(res1)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11928 }
11929 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 resultobj = SWIG_From_int(static_cast< int >(result));
11937 return resultobj;
11938fail:
11939 return NULL;
d55e5bfc
RD
11940}
11941
11942
1bd55598
RD
11943SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11944 PyObject *obj;
11945 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11946 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11947 return SWIG_Py_Void();
d55e5bfc
RD
11948}
11949
1bd55598
RD
11950SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11951 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11952}
11953
1bd55598
RD
11954SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj = 0;
11956 int arg1 = (int) 0 ;
11957 wxQueryLayoutInfoEvent *result = 0 ;
11958 int val1 ;
11959 int ecode1 = 0 ;
11960 PyObject * obj0 = 0 ;
11961 char * kwnames[] = {
11962 (char *) "id", NULL
11963 };
11964
11965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11966 if (obj0) {
11967 ecode1 = SWIG_AsVal_int(obj0, &val1);
11968 if (!SWIG_IsOK(ecode1)) {
11969 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11970 }
11971 arg1 = static_cast< int >(val1);
11972 }
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11980 return resultobj;
11981fail:
11982 return NULL;
11983}
11984
11985
11986SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11989 int arg2 ;
11990 void *argp1 = 0 ;
11991 int res1 = 0 ;
11992 int val2 ;
11993 int ecode2 = 0 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char * kwnames[] = {
11997 (char *) "self",(char *) "length", NULL
11998 };
11999
12000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12002 if (!SWIG_IsOK(res1)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12004 }
12005 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12006 ecode2 = SWIG_AsVal_int(obj1, &val2);
12007 if (!SWIG_IsOK(ecode2)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12009 }
12010 arg2 = static_cast< int >(val2);
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetRequestedLength(arg2);
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_Py_Void();
12018 return resultobj;
12019fail:
12020 return NULL;
f20a2e1f
RD
12021}
12022
12023
1bd55598
RD
12024SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12025 PyObject *resultobj = 0;
12026 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12027 int result;
12028 void *argp1 = 0 ;
12029 int res1 = 0 ;
12030 PyObject *swig_obj[1] ;
12031
12032 if (!args) SWIG_fail;
12033 swig_obj[0] = args;
12034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12035 if (!SWIG_IsOK(res1)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 }
12038 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = SWIG_From_int(static_cast< int >(result));
12046 return resultobj;
12047fail:
12048 return NULL;
12049}
12050
12051
12052SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj = 0;
12054 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12055 int arg2 ;
12056 void *argp1 = 0 ;
12057 int res1 = 0 ;
12058 int val2 ;
12059 int ecode2 = 0 ;
12060 PyObject * obj0 = 0 ;
12061 PyObject * obj1 = 0 ;
12062 char * kwnames[] = {
12063 (char *) "self",(char *) "flags", NULL
12064 };
12065
12066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12072 ecode2 = SWIG_AsVal_int(obj1, &val2);
12073 if (!SWIG_IsOK(ecode2)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12075 }
12076 arg2 = static_cast< int >(val2);
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->SetFlags(arg2);
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_Py_Void();
12084 return resultobj;
12085fail:
12086 return NULL;
d55e5bfc
RD
12087}
12088
12089
1bd55598
RD
12090SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *resultobj = 0;
12092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12093 int result;
12094 void *argp1 = 0 ;
12095 int res1 = 0 ;
12096 PyObject *swig_obj[1] ;
12097
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12101 if (!SWIG_IsOK(res1)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 }
12104 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_From_int(static_cast< int >(result));
12112 return resultobj;
12113fail:
12114 return NULL;
12115}
12116
12117
12118SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj = 0;
12120 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12121 wxSize *arg2 = 0 ;
12122 void *argp1 = 0 ;
12123 int res1 = 0 ;
12124 wxSize temp2 ;
12125 PyObject * obj0 = 0 ;
12126 PyObject * obj1 = 0 ;
12127 char * kwnames[] = {
12128 (char *) "self",(char *) "size", NULL
12129 };
12130
12131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12133 if (!SWIG_IsOK(res1)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12135 }
12136 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12137 {
12138 arg2 = &temp2;
12139 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12140 }
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 (arg1)->SetSize((wxSize const &)*arg2);
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 resultobj = SWIG_Py_Void();
12148 return resultobj;
12149fail:
12150 return NULL;
d55e5bfc
RD
12151}
12152
12153
1bd55598
RD
12154SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12155 PyObject *resultobj = 0;
12156 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12157 wxSize result;
12158 void *argp1 = 0 ;
12159 int res1 = 0 ;
12160 PyObject *swig_obj[1] ;
12161
12162 if (!args) SWIG_fail;
12163 swig_obj[0] = args;
12164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12165 if (!SWIG_IsOK(res1)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12167 }
12168 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12176 return resultobj;
12177fail:
12178 return NULL;
12179}
12180
12181
12182SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12183 PyObject *resultobj = 0;
12184 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12185 wxLayoutOrientation arg2 ;
12186 void *argp1 = 0 ;
12187 int res1 = 0 ;
12188 int val2 ;
12189 int ecode2 = 0 ;
12190 PyObject * obj0 = 0 ;
12191 PyObject * obj1 = 0 ;
12192 char * kwnames[] = {
12193 (char *) "self",(char *) "orient", NULL
12194 };
12195
12196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12198 if (!SWIG_IsOK(res1)) {
12199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12200 }
12201 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12202 ecode2 = SWIG_AsVal_int(obj1, &val2);
12203 if (!SWIG_IsOK(ecode2)) {
12204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12205 }
12206 arg2 = static_cast< wxLayoutOrientation >(val2);
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 (arg1)->SetOrientation(arg2);
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 resultobj = SWIG_Py_Void();
12214 return resultobj;
12215fail:
12216 return NULL;
d55e5bfc
RD
12217}
12218
12219
1bd55598
RD
12220SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12221 PyObject *resultobj = 0;
12222 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12223 wxLayoutOrientation result;
12224 void *argp1 = 0 ;
12225 int res1 = 0 ;
12226 PyObject *swig_obj[1] ;
12227
12228 if (!args) SWIG_fail;
12229 swig_obj[0] = args;
12230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12231 if (!SWIG_IsOK(res1)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12233 }
12234 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 resultobj = SWIG_From_int(static_cast< int >(result));
12242 return resultobj;
12243fail:
12244 return NULL;
12245}
12246
12247
12248SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12249 PyObject *resultobj = 0;
12250 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12251 wxLayoutAlignment arg2 ;
12252 void *argp1 = 0 ;
12253 int res1 = 0 ;
12254 int val2 ;
12255 int ecode2 = 0 ;
12256 PyObject * obj0 = 0 ;
12257 PyObject * obj1 = 0 ;
12258 char * kwnames[] = {
12259 (char *) "self",(char *) "align", NULL
12260 };
12261
12262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12264 if (!SWIG_IsOK(res1)) {
12265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12266 }
12267 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12268 ecode2 = SWIG_AsVal_int(obj1, &val2);
12269 if (!SWIG_IsOK(ecode2)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12271 }
12272 arg2 = static_cast< wxLayoutAlignment >(val2);
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 (arg1)->SetAlignment(arg2);
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 resultobj = SWIG_Py_Void();
12280 return resultobj;
12281fail:
12282 return NULL;
d55e5bfc
RD
12283}
12284
12285
1bd55598
RD
12286SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12287 PyObject *resultobj = 0;
12288 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12289 wxLayoutAlignment result;
12290 void *argp1 = 0 ;
12291 int res1 = 0 ;
12292 PyObject *swig_obj[1] ;
12293
12294 if (!args) SWIG_fail;
12295 swig_obj[0] = args;
12296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12297 if (!SWIG_IsOK(res1)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12299 }
12300 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 resultobj = SWIG_From_int(static_cast< int >(result));
12308 return resultobj;
12309fail:
12310 return NULL;
d55e5bfc
RD
12311}
12312
12313
1bd55598
RD
12314SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12315 PyObject *obj;
12316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12317 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12318 return SWIG_Py_Void();
d55e5bfc
RD
12319}
12320
1bd55598
RD
12321SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12322 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12323}
12324
1bd55598
RD
12325SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj = 0;
12327 int arg1 = (int) 0 ;
12328 wxCalculateLayoutEvent *result = 0 ;
12329 int val1 ;
12330 int ecode1 = 0 ;
12331 PyObject * obj0 = 0 ;
12332 char * kwnames[] = {
12333 (char *) "id", NULL
12334 };
12335
12336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12337 if (obj0) {
12338 ecode1 = SWIG_AsVal_int(obj0, &val1);
12339 if (!SWIG_IsOK(ecode1)) {
12340 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12341 }
12342 arg1 = static_cast< int >(val1);
12343 }
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12351 return resultobj;
12352fail:
12353 return NULL;
12354}
12355
12356
12357SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj = 0;
12359 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12360 int arg2 ;
12361 void *argp1 = 0 ;
12362 int res1 = 0 ;
12363 int val2 ;
12364 int ecode2 = 0 ;
12365 PyObject * obj0 = 0 ;
12366 PyObject * obj1 = 0 ;
12367 char * kwnames[] = {
12368 (char *) "self",(char *) "flags", NULL
12369 };
12370
12371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12373 if (!SWIG_IsOK(res1)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12375 }
12376 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12377 ecode2 = SWIG_AsVal_int(obj1, &val2);
12378 if (!SWIG_IsOK(ecode2)) {
12379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12380 }
12381 arg2 = static_cast< int >(val2);
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 (arg1)->SetFlags(arg2);
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 resultobj = SWIG_Py_Void();
12389 return resultobj;
12390fail:
12391 return NULL;
d55e5bfc
RD
12392}
12393
12394
1bd55598
RD
12395SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12396 PyObject *resultobj = 0;
12397 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12398 int result;
12399 void *argp1 = 0 ;
12400 int res1 = 0 ;
12401 PyObject *swig_obj[1] ;
12402
12403 if (!args) SWIG_fail;
12404 swig_obj[0] = args;
12405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12406 if (!SWIG_IsOK(res1)) {
12407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12408 }
12409 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = SWIG_From_int(static_cast< int >(result));
12417 return resultobj;
12418fail:
12419 return NULL;
12420}
12421
12422
12423SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj = 0;
12425 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12426 wxRect *arg2 = 0 ;
12427 void *argp1 = 0 ;
12428 int res1 = 0 ;
12429 wxRect temp2 ;
12430 PyObject * obj0 = 0 ;
12431 PyObject * obj1 = 0 ;
12432 char * kwnames[] = {
12433 (char *) "self",(char *) "rect", NULL
12434 };
12435
12436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12438 if (!SWIG_IsOK(res1)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12440 }
12441 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12442 {
12443 arg2 = &temp2;
12444 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 (arg1)->SetRect((wxRect const &)*arg2);
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = SWIG_Py_Void();
12453 return resultobj;
12454fail:
12455 return NULL;
d55e5bfc
RD
12456}
12457
12458
1bd55598
RD
12459SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12460 PyObject *resultobj = 0;
12461 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12462 wxRect result;
12463 void *argp1 = 0 ;
12464 int res1 = 0 ;
12465 PyObject *swig_obj[1] ;
12466
12467 if (!args) SWIG_fail;
12468 swig_obj[0] = args;
12469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12470 if (!SWIG_IsOK(res1)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12472 }
12473 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12481 return resultobj;
12482fail:
12483 return NULL;
12484}
12485
12486
12487SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12488 PyObject *obj;
12489 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12490 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12491 return SWIG_Py_Void();
12492}
12493
12494SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12495 return SWIG_Python_InitShadowInstance(args);
12496}
12497
12498SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12499 PyObject *resultobj = 0;
12500 wxWindow *arg1 = (wxWindow *) 0 ;
12501 int arg2 = (int) -1 ;
12502 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12503 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12504 wxSize const &arg4_defvalue = wxDefaultSize ;
12505 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12506 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12507 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12508 wxString *arg6 = (wxString *) &arg6_defvalue ;
12509 wxSashLayoutWindow *result = 0 ;
12510 void *argp1 = 0 ;
12511 int res1 = 0 ;
12512 int val2 ;
12513 int ecode2 = 0 ;
12514 wxPoint temp3 ;
12515 wxSize temp4 ;
12516 long val5 ;
12517 int ecode5 = 0 ;
12518 bool temp6 = false ;
12519 PyObject * obj0 = 0 ;
12520 PyObject * obj1 = 0 ;
12521 PyObject * obj2 = 0 ;
12522 PyObject * obj3 = 0 ;
12523 PyObject * obj4 = 0 ;
12524 PyObject * obj5 = 0 ;
12525 char * kwnames[] = {
12526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12527 };
12528
12529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12531 if (!SWIG_IsOK(res1)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12533 }
12534 arg1 = reinterpret_cast< wxWindow * >(argp1);
12535 if (obj1) {
12536 ecode2 = SWIG_AsVal_int(obj1, &val2);
12537 if (!SWIG_IsOK(ecode2)) {
12538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12539 }
12540 arg2 = static_cast< int >(val2);
12541 }
12542 if (obj2) {
12543 {
12544 arg3 = &temp3;
12545 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12546 }
1bd55598
RD
12547 }
12548 if (obj3) {
d55e5bfc 12549 {
1bd55598
RD
12550 arg4 = &temp4;
12551 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12552 }
1bd55598
RD
12553 }
12554 if (obj4) {
12555 ecode5 = SWIG_AsVal_long(obj4, &val5);
12556 if (!SWIG_IsOK(ecode5)) {
12557 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12558 }
12559 arg5 = static_cast< long >(val5);
12560 }
12561 if (obj5) {
d55e5bfc 12562 {
1bd55598
RD
12563 arg6 = wxString_in_helper(obj5);
12564 if (arg6 == NULL) SWIG_fail;
12565 temp6 = true;
d55e5bfc 12566 }
1bd55598
RD
12567 }
12568 {
12569 if (!wxPyCheckForApp()) SWIG_fail;
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12576 {
12577 if (temp6)
12578 delete arg6;
12579 }
12580 return resultobj;
12581fail:
12582 {
12583 if (temp6)
12584 delete arg6;
12585 }
12586 return NULL;
d55e5bfc
RD
12587}
12588
12589
1bd55598
RD
12590SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12591 PyObject *resultobj = 0;
12592 wxSashLayoutWindow *result = 0 ;
12593
12594 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12595 {
12596 if (!wxPyCheckForApp()) SWIG_fail;
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12603 return resultobj;
12604fail:
12605 return NULL;
12606}
12607
12608
12609SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj = 0;
12611 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12612 wxWindow *arg2 = (wxWindow *) 0 ;
12613 int arg3 = (int) -1 ;
12614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12616 wxSize const &arg5_defvalue = wxDefaultSize ;
12617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12618 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12619 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12620 wxString *arg7 = (wxString *) &arg7_defvalue ;
12621 bool result;
12622 void *argp1 = 0 ;
12623 int res1 = 0 ;
12624 void *argp2 = 0 ;
12625 int res2 = 0 ;
12626 int val3 ;
12627 int ecode3 = 0 ;
12628 wxPoint temp4 ;
12629 wxSize temp5 ;
12630 long val6 ;
12631 int ecode6 = 0 ;
12632 bool temp7 = false ;
12633 PyObject * obj0 = 0 ;
12634 PyObject * obj1 = 0 ;
12635 PyObject * obj2 = 0 ;
12636 PyObject * obj3 = 0 ;
12637 PyObject * obj4 = 0 ;
12638 PyObject * obj5 = 0 ;
12639 PyObject * obj6 = 0 ;
12640 char * kwnames[] = {
12641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12642 };
12643
12644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12646 if (!SWIG_IsOK(res1)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12648 }
12649 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12650 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12651 if (!SWIG_IsOK(res2)) {
12652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12653 }
12654 arg2 = reinterpret_cast< wxWindow * >(argp2);
12655 if (obj2) {
12656 ecode3 = SWIG_AsVal_int(obj2, &val3);
12657 if (!SWIG_IsOK(ecode3)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12659 }
12660 arg3 = static_cast< int >(val3);
12661 }
12662 if (obj3) {
12663 {
12664 arg4 = &temp4;
12665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12666 }
1bd55598
RD
12667 }
12668 if (obj4) {
d55e5bfc 12669 {
1bd55598
RD
12670 arg5 = &temp5;
12671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12672 }
1bd55598
RD
12673 }
12674 if (obj5) {
12675 ecode6 = SWIG_AsVal_long(obj5, &val6);
12676 if (!SWIG_IsOK(ecode6)) {
12677 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12678 }
12679 arg6 = static_cast< long >(val6);
12680 }
12681 if (obj6) {
d55e5bfc 12682 {
1bd55598
RD
12683 arg7 = wxString_in_helper(obj6);
12684 if (arg7 == NULL) SWIG_fail;
12685 temp7 = true;
d55e5bfc 12686 }
1bd55598
RD
12687 }
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 {
12695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12696 }
12697 {
12698 if (temp7)
12699 delete arg7;
12700 }
12701 return resultobj;
12702fail:
12703 {
12704 if (temp7)
12705 delete arg7;
12706 }
12707 return NULL;
d55e5bfc
RD
12708}
12709
12710
1bd55598
RD
12711SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12712 PyObject *resultobj = 0;
12713 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12714 wxLayoutAlignment result;
12715 void *argp1 = 0 ;
12716 int res1 = 0 ;
12717 PyObject *swig_obj[1] ;
12718
12719 if (!args) SWIG_fail;
12720 swig_obj[0] = args;
12721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12722 if (!SWIG_IsOK(res1)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12724 }
12725 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12726 {
12727 PyThreadState* __tstate = wxPyBeginAllowThreads();
12728 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12729 wxPyEndAllowThreads(__tstate);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 }
12732 resultobj = SWIG_From_int(static_cast< int >(result));
12733 return resultobj;
12734fail:
12735 return NULL;
d55e5bfc
RD
12736}
12737
12738
1bd55598
RD
12739SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12740 PyObject *resultobj = 0;
12741 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12742 wxLayoutOrientation result;
12743 void *argp1 = 0 ;
12744 int res1 = 0 ;
12745 PyObject *swig_obj[1] ;
12746
12747 if (!args) SWIG_fail;
12748 swig_obj[0] = args;
12749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12750 if (!SWIG_IsOK(res1)) {
12751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12752 }
12753 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 resultobj = SWIG_From_int(static_cast< int >(result));
12761 return resultobj;
12762fail:
12763 return NULL;
12764}
12765
12766
12767SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj = 0;
12769 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12770 wxLayoutAlignment arg2 ;
12771 void *argp1 = 0 ;
12772 int res1 = 0 ;
12773 int val2 ;
12774 int ecode2 = 0 ;
12775 PyObject * obj0 = 0 ;
12776 PyObject * obj1 = 0 ;
12777 char * kwnames[] = {
12778 (char *) "self",(char *) "alignment", NULL
12779 };
12780
12781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12783 if (!SWIG_IsOK(res1)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12785 }
12786 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12787 ecode2 = SWIG_AsVal_int(obj1, &val2);
12788 if (!SWIG_IsOK(ecode2)) {
12789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12790 }
12791 arg2 = static_cast< wxLayoutAlignment >(val2);
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 (arg1)->SetAlignment(arg2);
12795 wxPyEndAllowThreads(__tstate);
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
12798 resultobj = SWIG_Py_Void();
12799 return resultobj;
12800fail:
12801 return NULL;
12802}
12803
12804
12805SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12806 PyObject *resultobj = 0;
12807 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12808 wxSize *arg2 = 0 ;
12809 void *argp1 = 0 ;
12810 int res1 = 0 ;
12811 wxSize temp2 ;
12812 PyObject * obj0 = 0 ;
12813 PyObject * obj1 = 0 ;
12814 char * kwnames[] = {
12815 (char *) "self",(char *) "size", NULL
12816 };
12817
12818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12820 if (!SWIG_IsOK(res1)) {
12821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12822 }
12823 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12824 {
12825 arg2 = &temp2;
12826 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12827 }
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 resultobj = SWIG_Py_Void();
12835 return resultobj;
12836fail:
12837 return NULL;
12838}
12839
12840
12841SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj = 0;
12843 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12844 wxLayoutOrientation arg2 ;
12845 void *argp1 = 0 ;
12846 int res1 = 0 ;
12847 int val2 ;
12848 int ecode2 = 0 ;
12849 PyObject * obj0 = 0 ;
12850 PyObject * obj1 = 0 ;
12851 char * kwnames[] = {
12852 (char *) "self",(char *) "orientation", NULL
12853 };
12854
12855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12857 if (!SWIG_IsOK(res1)) {
12858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12859 }
12860 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12861 ecode2 = SWIG_AsVal_int(obj1, &val2);
12862 if (!SWIG_IsOK(ecode2)) {
12863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12864 }
12865 arg2 = static_cast< wxLayoutOrientation >(val2);
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 (arg1)->SetOrientation(arg2);
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 }
12872 resultobj = SWIG_Py_Void();
12873 return resultobj;
12874fail:
12875 return NULL;
d55e5bfc
RD
12876}
12877
12878
1bd55598
RD
12879SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12880 PyObject *obj;
12881 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12882 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12883 return SWIG_Py_Void();
d55e5bfc
RD
12884}
12885
1bd55598
RD
12886SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12887 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12888}
12889
1bd55598
RD
12890SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12891 PyObject *resultobj = 0;
12892 wxLayoutAlgorithm *result = 0 ;
12893
12894 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12902 return resultobj;
12903fail:
12904 return NULL;
d55e5bfc
RD
12905}
12906
12907
1bd55598
RD
12908SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12909 PyObject *resultobj = 0;
12910 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12911 void *argp1 = 0 ;
12912 int res1 = 0 ;
12913 PyObject *swig_obj[1] ;
12914
12915 if (!args) SWIG_fail;
12916 swig_obj[0] = args;
12917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12918 if (!SWIG_IsOK(res1)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12920 }
12921 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 delete arg1;
d55e5bfc 12925
1bd55598
RD
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 resultobj = SWIG_Py_Void();
12930 return resultobj;
12931fail:
12932 return NULL;
12933}
12934
12935
12936SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12937 PyObject *resultobj = 0;
12938 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12939 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12940 wxRect *arg3 = (wxRect *) NULL ;
12941 bool result;
12942 void *argp1 = 0 ;
12943 int res1 = 0 ;
12944 void *argp2 = 0 ;
12945 int res2 = 0 ;
12946 void *argp3 = 0 ;
12947 int res3 = 0 ;
12948 PyObject * obj0 = 0 ;
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
12951 char * kwnames[] = {
12952 (char *) "self",(char *) "frame",(char *) "rect", NULL
12953 };
12954
12955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12957 if (!SWIG_IsOK(res1)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12959 }
12960 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12962 if (!SWIG_IsOK(res2)) {
12963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12964 }
12965 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12966 if (obj2) {
12967 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12968 if (!SWIG_IsOK(res3)) {
12969 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 12970 }
1bd55598
RD
12971 arg3 = reinterpret_cast< wxRect * >(argp3);
12972 }
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 {
12980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12981 }
12982 return resultobj;
12983fail:
12984 return NULL;
12985}
12986
12987
12988SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj = 0;
12990 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12991 wxFrame *arg2 = (wxFrame *) 0 ;
12992 wxWindow *arg3 = (wxWindow *) NULL ;
12993 bool result;
12994 void *argp1 = 0 ;
12995 int res1 = 0 ;
12996 void *argp2 = 0 ;
12997 int res2 = 0 ;
12998 void *argp3 = 0 ;
12999 int res3 = 0 ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 PyObject * obj2 = 0 ;
13003 char * kwnames[] = {
13004 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13005 };
13006
13007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13009 if (!SWIG_IsOK(res1)) {
13010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13011 }
13012 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13014 if (!SWIG_IsOK(res2)) {
13015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13016 }
13017 arg2 = reinterpret_cast< wxFrame * >(argp2);
13018 if (obj2) {
13019 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13020 if (!SWIG_IsOK(res3)) {
13021 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 13022 }
1bd55598
RD
13023 arg3 = reinterpret_cast< wxWindow * >(argp3);
13024 }
13025 {
13026 PyThreadState* __tstate = wxPyBeginAllowThreads();
13027 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
13031 {
13032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13033 }
13034 return resultobj;
13035fail:
13036 return NULL;
13037}
13038
13039
13040SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj = 0;
13042 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13043 wxWindow *arg2 = (wxWindow *) 0 ;
13044 wxWindow *arg3 = (wxWindow *) NULL ;
13045 bool result;
13046 void *argp1 = 0 ;
13047 int res1 = 0 ;
13048 void *argp2 = 0 ;
13049 int res2 = 0 ;
13050 void *argp3 = 0 ;
13051 int res3 = 0 ;
13052 PyObject * obj0 = 0 ;
13053 PyObject * obj1 = 0 ;
13054 PyObject * obj2 = 0 ;
13055 char * kwnames[] = {
13056 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13057 };
13058
13059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13061 if (!SWIG_IsOK(res1)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13063 }
13064 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13066 if (!SWIG_IsOK(res2)) {
13067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13068 }
13069 arg2 = reinterpret_cast< wxWindow * >(argp2);
13070 if (obj2) {
13071 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13072 if (!SWIG_IsOK(res3)) {
13073 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13074 }
1bd55598
RD
13075 arg3 = reinterpret_cast< wxWindow * >(argp3);
13076 }
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13085 }
13086 return resultobj;
13087fail:
13088 return NULL;
d55e5bfc
RD
13089}
13090
13091
1bd55598
RD
13092SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13093 PyObject *obj;
13094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13095 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13096 return SWIG_Py_Void();
d55e5bfc
RD
13097}
13098
1bd55598
RD
13099SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13100 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
13101}
13102
1bd55598
RD
13103SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj = 0;
13105 wxWindow *arg1 = (wxWindow *) 0 ;
13106 int arg2 = (int) wxBORDER_NONE ;
13107 wxPopupWindow *result = 0 ;
13108 void *argp1 = 0 ;
13109 int res1 = 0 ;
13110 int val2 ;
13111 int ecode2 = 0 ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char * kwnames[] = {
13115 (char *) "parent",(char *) "flags", NULL
13116 };
13117
13118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13120 if (!SWIG_IsOK(res1)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13122 }
13123 arg1 = reinterpret_cast< wxWindow * >(argp1);
13124 if (obj1) {
13125 ecode2 = SWIG_AsVal_int(obj1, &val2);
13126 if (!SWIG_IsOK(ecode2)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13128 }
13129 arg2 = static_cast< int >(val2);
13130 }
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13138 return resultobj;
13139fail:
13140 return NULL;
5cbf236d
RD
13141}
13142
13143
1bd55598
RD
13144SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13145 PyObject *resultobj = 0;
13146 wxPopupWindow *result = 0 ;
13147
13148 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (wxPopupWindow *)new wxPopupWindow();
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13156 return resultobj;
13157fail:
13158 return NULL;
d55e5bfc
RD
13159}
13160
13161
1bd55598
RD
13162SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13163 PyObject *obj;
13164 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13166 return SWIG_Py_Void();
d55e5bfc
RD
13167}
13168
1bd55598
RD
13169SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13170 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13171}
13172
1bd55598
RD
13173SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj = 0;
13175 wxWindow *arg1 = (wxWindow *) 0 ;
13176 int arg2 = (int) wxBORDER_NONE ;
13177 wxPyPopupTransientWindow *result = 0 ;
13178 void *argp1 = 0 ;
13179 int res1 = 0 ;
13180 int val2 ;
13181 int ecode2 = 0 ;
13182 PyObject * obj0 = 0 ;
13183 PyObject * obj1 = 0 ;
13184 char * kwnames[] = {
13185 (char *) "parent",(char *) "style", NULL
13186 };
13187
13188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13190 if (!SWIG_IsOK(res1)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13192 }
13193 arg1 = reinterpret_cast< wxWindow * >(argp1);
13194 if (obj1) {
13195 ecode2 = SWIG_AsVal_int(obj1, &val2);
13196 if (!SWIG_IsOK(ecode2)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13198 }
13199 arg2 = static_cast< int >(val2);
13200 }
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13208 return resultobj;
13209fail:
13210 return NULL;
d55e5bfc
RD
13211}
13212
13213
1bd55598
RD
13214SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13215 PyObject *resultobj = 0;
13216 wxPyPopupTransientWindow *result = 0 ;
13217
13218 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13226 return resultobj;
13227fail:
13228 return NULL;
13229}
13230
13231
13232SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 PyObject *obj;
13234 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13236 return SWIG_Py_Void();
13237}
13238
13239SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13240 return SWIG_Python_InitShadowInstance(args);
13241}
13242
13243SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj = 0;
13245 wxWindow *arg1 = (wxWindow *) 0 ;
13246 wxString *arg2 = 0 ;
13247 int arg3 = (int) 100 ;
13248 wxRect *arg4 = (wxRect *) NULL ;
13249 wxTipWindow *result = 0 ;
13250 void *argp1 = 0 ;
13251 int res1 = 0 ;
13252 bool temp2 = false ;
13253 int val3 ;
13254 int ecode3 = 0 ;
13255 void *argp4 = 0 ;
13256 int res4 = 0 ;
13257 PyObject * obj0 = 0 ;
13258 PyObject * obj1 = 0 ;
13259 PyObject * obj2 = 0 ;
13260 PyObject * obj3 = 0 ;
13261 char * kwnames[] = {
13262 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13263 };
13264
13265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13267 if (!SWIG_IsOK(res1)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13269 }
13270 arg1 = reinterpret_cast< wxWindow * >(argp1);
13271 {
13272 arg2 = wxString_in_helper(obj1);
13273 if (arg2 == NULL) SWIG_fail;
13274 temp2 = true;
13275 }
13276 if (obj2) {
13277 ecode3 = SWIG_AsVal_int(obj2, &val3);
13278 if (!SWIG_IsOK(ecode3)) {
13279 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13280 }
13281 arg3 = static_cast< int >(val3);
13282 }
13283 if (obj3) {
13284 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13285 if (!SWIG_IsOK(res4)) {
13286 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13287 }
1bd55598
RD
13288 arg4 = reinterpret_cast< wxRect * >(argp4);
13289 }
13290 {
13291 if (!wxPyCheckForApp()) SWIG_fail;
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13298 {
13299 if (temp2)
13300 delete arg2;
13301 }
13302 return resultobj;
13303fail:
13304 {
13305 if (temp2)
13306 delete arg2;
13307 }
13308 return NULL;
d55e5bfc
RD
13309}
13310
13311
1bd55598
RD
13312SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj = 0;
13314 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13315 wxRect *arg2 = 0 ;
13316 void *argp1 = 0 ;
13317 int res1 = 0 ;
13318 wxRect temp2 ;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char * kwnames[] = {
13322 (char *) "self",(char *) "rectBound", NULL
13323 };
13324
13325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13327 if (!SWIG_IsOK(res1)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13329 }
13330 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13331 {
13332 arg2 = &temp2;
13333 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13334 }
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 resultobj = SWIG_Py_Void();
13342 return resultobj;
13343fail:
13344 return NULL;
d55e5bfc
RD
13345}
13346
13347
1bd55598
RD
13348SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13349 PyObject *resultobj = 0;
13350 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject *swig_obj[1] ;
13354
13355 if (!args) SWIG_fail;
13356 swig_obj[0] = args;
13357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13358 if (!SWIG_IsOK(res1)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13360 }
13361 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 (arg1)->Close();
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = SWIG_Py_Void();
13369 return resultobj;
13370fail:
13371 return NULL;
13372}
13373
13374
13375SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13376 PyObject *obj;
13377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13378 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13379 return SWIG_Py_Void();
13380}
13381
13382SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13383 return SWIG_Python_InitShadowInstance(args);
13384}
13385
13386SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj = 0;
13388 wxWindow *arg1 = (wxWindow *) 0 ;
13389 int arg2 = (int) wxID_ANY ;
13390 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13391 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13392 wxSize const &arg4_defvalue = wxDefaultSize ;
13393 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13394 long arg5 = (long) 0 ;
13395 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13396 wxString *arg6 = (wxString *) &arg6_defvalue ;
13397 wxPyVScrolledWindow *result = 0 ;
13398 void *argp1 = 0 ;
13399 int res1 = 0 ;
13400 int val2 ;
13401 int ecode2 = 0 ;
13402 wxPoint temp3 ;
13403 wxSize temp4 ;
13404 long val5 ;
13405 int ecode5 = 0 ;
13406 bool temp6 = false ;
13407 PyObject * obj0 = 0 ;
13408 PyObject * obj1 = 0 ;
13409 PyObject * obj2 = 0 ;
13410 PyObject * obj3 = 0 ;
13411 PyObject * obj4 = 0 ;
13412 PyObject * obj5 = 0 ;
13413 char * kwnames[] = {
13414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13415 };
13416
13417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13419 if (!SWIG_IsOK(res1)) {
13420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13421 }
13422 arg1 = reinterpret_cast< wxWindow * >(argp1);
13423 if (obj1) {
13424 ecode2 = SWIG_AsVal_int(obj1, &val2);
13425 if (!SWIG_IsOK(ecode2)) {
13426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13427 }
13428 arg2 = static_cast< int >(val2);
13429 }
13430 if (obj2) {
f20a2e1f 13431 {
1bd55598
RD
13432 arg3 = &temp3;
13433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 13434 }
1bd55598
RD
13435 }
13436 if (obj3) {
f20a2e1f 13437 {
1bd55598
RD
13438 arg4 = &temp4;
13439 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13440 }
1bd55598
RD
13441 }
13442 if (obj4) {
13443 ecode5 = SWIG_AsVal_long(obj4, &val5);
13444 if (!SWIG_IsOK(ecode5)) {
13445 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13446 }
13447 arg5 = static_cast< long >(val5);
13448 }
13449 if (obj5) {
36ed4f51 13450 {
1bd55598
RD
13451 arg6 = wxString_in_helper(obj5);
13452 if (arg6 == NULL) SWIG_fail;
13453 temp6 = true;
36ed4f51 13454 }
1bd55598
RD
13455 }
13456 {
13457 if (!wxPyCheckForApp()) SWIG_fail;
13458 PyThreadState* __tstate = wxPyBeginAllowThreads();
13459 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13460 wxPyEndAllowThreads(__tstate);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
13463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13464 {
13465 if (temp6)
13466 delete arg6;
13467 }
13468 return resultobj;
13469fail:
13470 {
13471 if (temp6)
13472 delete arg6;
13473 }
13474 return NULL;
d55e5bfc
RD
13475}
13476
13477
1bd55598
RD
13478SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13479 PyObject *resultobj = 0;
13480 wxPyVScrolledWindow *result = 0 ;
13481
13482 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13483 {
13484 if (!wxPyCheckForApp()) SWIG_fail;
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13491 return resultobj;
13492fail:
13493 return NULL;
13494}
13495
13496
13497SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13498 PyObject *resultobj = 0;
13499 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13500 PyObject *arg2 = (PyObject *) 0 ;
13501 PyObject *arg3 = (PyObject *) 0 ;
13502 void *argp1 = 0 ;
13503 int res1 = 0 ;
13504 PyObject * obj0 = 0 ;
13505 PyObject * obj1 = 0 ;
13506 PyObject * obj2 = 0 ;
13507 char * kwnames[] = {
13508 (char *) "self",(char *) "self",(char *) "_class", NULL
13509 };
13510
13511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13513 if (!SWIG_IsOK(res1)) {
13514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13515 }
13516 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13517 arg2 = obj1;
13518 arg3 = obj2;
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 (arg1)->_setCallbackInfo(arg2,arg3);
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 resultobj = SWIG_Py_Void();
13526 return resultobj;
13527fail:
13528 return NULL;
13529}
13530
13531
13532SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj = 0;
13534 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13535 wxWindow *arg2 = (wxWindow *) 0 ;
13536 int arg3 = (int) wxID_ANY ;
13537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13539 wxSize const &arg5_defvalue = wxDefaultSize ;
13540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13541 long arg6 = (long) 0 ;
13542 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13543 wxString *arg7 = (wxString *) &arg7_defvalue ;
13544 bool result;
13545 void *argp1 = 0 ;
13546 int res1 = 0 ;
13547 void *argp2 = 0 ;
13548 int res2 = 0 ;
13549 int val3 ;
13550 int ecode3 = 0 ;
13551 wxPoint temp4 ;
13552 wxSize temp5 ;
13553 long val6 ;
13554 int ecode6 = 0 ;
13555 bool temp7 = false ;
13556 PyObject * obj0 = 0 ;
13557 PyObject * obj1 = 0 ;
13558 PyObject * obj2 = 0 ;
13559 PyObject * obj3 = 0 ;
13560 PyObject * obj4 = 0 ;
13561 PyObject * obj5 = 0 ;
13562 PyObject * obj6 = 0 ;
13563 char * kwnames[] = {
13564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13565 };
13566
13567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13569 if (!SWIG_IsOK(res1)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13571 }
13572 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13573 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13574 if (!SWIG_IsOK(res2)) {
13575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13576 }
13577 arg2 = reinterpret_cast< wxWindow * >(argp2);
13578 if (obj2) {
13579 ecode3 = SWIG_AsVal_int(obj2, &val3);
13580 if (!SWIG_IsOK(ecode3)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13582 }
13583 arg3 = static_cast< int >(val3);
13584 }
13585 if (obj3) {
d55e5bfc 13586 {
1bd55598
RD
13587 arg4 = &temp4;
13588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13589 }
1bd55598
RD
13590 }
13591 if (obj4) {
36ed4f51 13592 {
1bd55598
RD
13593 arg5 = &temp5;
13594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 13595 }
1bd55598
RD
13596 }
13597 if (obj5) {
13598 ecode6 = SWIG_AsVal_long(obj5, &val6);
13599 if (!SWIG_IsOK(ecode6)) {
13600 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13601 }
13602 arg6 = static_cast< long >(val6);
13603 }
13604 if (obj6) {
d55e5bfc 13605 {
1bd55598
RD
13606 arg7 = wxString_in_helper(obj6);
13607 if (arg7 == NULL) SWIG_fail;
13608 temp7 = true;
d55e5bfc 13609 }
1bd55598
RD
13610 }
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 {
13618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13619 }
13620 {
13621 if (temp7)
13622 delete arg7;
13623 }
13624 return resultobj;
13625fail:
13626 {
13627 if (temp7)
13628 delete arg7;
13629 }
13630 return NULL;
13631}
13632
13633
13634SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj = 0;
13636 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13637 size_t arg2 ;
13638 void *argp1 = 0 ;
13639 int res1 = 0 ;
13640 size_t val2 ;
13641 int ecode2 = 0 ;
13642 PyObject * obj0 = 0 ;
13643 PyObject * obj1 = 0 ;
13644 char * kwnames[] = {
13645 (char *) "self",(char *) "count", NULL
13646 };
13647
13648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13650 if (!SWIG_IsOK(res1)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13652 }
13653 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13654 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13655 if (!SWIG_IsOK(ecode2)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13657 }
13658 arg2 = static_cast< size_t >(val2);
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->SetLineCount(arg2);
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 resultobj = SWIG_Py_Void();
13666 return resultobj;
13667fail:
13668 return NULL;
13669}
13670
13671
13672SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13673 PyObject *resultobj = 0;
13674 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13675 size_t arg2 ;
13676 bool result;
13677 void *argp1 = 0 ;
13678 int res1 = 0 ;
13679 size_t val2 ;
13680 int ecode2 = 0 ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 char * kwnames[] = {
13684 (char *) "self",(char *) "line", NULL
13685 };
13686
13687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13689 if (!SWIG_IsOK(res1)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13691 }
13692 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13693 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13694 if (!SWIG_IsOK(ecode2)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13696 }
13697 arg2 = static_cast< size_t >(val2);
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (bool)(arg1)->ScrollToLine(arg2);
13701 wxPyEndAllowThreads(__tstate);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 {
13705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13706 }
13707 return resultobj;
13708fail:
13709 return NULL;
13710}
13711
13712
13713SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj = 0;
13715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13716 size_t arg2 ;
13717 void *argp1 = 0 ;
13718 int res1 = 0 ;
13719 size_t val2 ;
13720 int ecode2 = 0 ;
13721 PyObject * obj0 = 0 ;
13722 PyObject * obj1 = 0 ;
13723 char * kwnames[] = {
13724 (char *) "self",(char *) "line", NULL
13725 };
13726
13727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 }
13732 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13733 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13734 if (!SWIG_IsOK(ecode2)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13736 }
13737 arg2 = static_cast< size_t >(val2);
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 (arg1)->RefreshLine(arg2);
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = SWIG_Py_Void();
13745 return resultobj;
13746fail:
13747 return NULL;
13748}
13749
13750
13751SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj = 0;
13753 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13754 size_t arg2 ;
13755 size_t arg3 ;
13756 void *argp1 = 0 ;
13757 int res1 = 0 ;
13758 size_t val2 ;
13759 int ecode2 = 0 ;
13760 size_t val3 ;
13761 int ecode3 = 0 ;
13762 PyObject * obj0 = 0 ;
13763 PyObject * obj1 = 0 ;
13764 PyObject * obj2 = 0 ;
13765 char * kwnames[] = {
2131d850 13766 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13767 };
13768
13769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13771 if (!SWIG_IsOK(res1)) {
13772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13773 }
13774 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13775 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13776 if (!SWIG_IsOK(ecode2)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13778 }
13779 arg2 = static_cast< size_t >(val2);
13780 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13781 if (!SWIG_IsOK(ecode3)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13783 }
13784 arg3 = static_cast< size_t >(val3);
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 (arg1)->RefreshLines(arg2,arg3);
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 resultobj = SWIG_Py_Void();
13792 return resultobj;
13793fail:
13794 return NULL;
13795}
13796
13797
13798SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj = 0;
13800 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13801 int arg2 ;
13802 int arg3 ;
13803 int result;
13804 void *argp1 = 0 ;
13805 int res1 = 0 ;
13806 int val2 ;
13807 int ecode2 = 0 ;
13808 int val3 ;
13809 int ecode3 = 0 ;
13810 PyObject * obj0 = 0 ;
13811 PyObject * obj1 = 0 ;
13812 PyObject * obj2 = 0 ;
13813 char * kwnames[] = {
13814 (char *) "self",(char *) "x",(char *) "y", NULL
13815 };
13816
13817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13819 if (!SWIG_IsOK(res1)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13821 }
13822 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13823 ecode2 = SWIG_AsVal_int(obj1, &val2);
13824 if (!SWIG_IsOK(ecode2)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13826 }
13827 arg2 = static_cast< int >(val2);
13828 ecode3 = SWIG_AsVal_int(obj2, &val3);
13829 if (!SWIG_IsOK(ecode3)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13831 }
13832 arg3 = static_cast< int >(val3);
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 resultobj = SWIG_From_int(static_cast< int >(result));
13840 return resultobj;
13841fail:
13842 return NULL;
13843}
13844
13845
13846SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj = 0;
13848 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13849 wxPoint *arg2 = 0 ;
13850 int result;
13851 void *argp1 = 0 ;
13852 int res1 = 0 ;
13853 wxPoint temp2 ;
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
13856 char * kwnames[] = {
13857 (char *) "self",(char *) "pt", NULL
13858 };
13859
13860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13862 if (!SWIG_IsOK(res1)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13864 }
13865 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13866 {
13867 arg2 = &temp2;
13868 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13869 }
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 resultobj = SWIG_From_int(static_cast< int >(result));
13877 return resultobj;
13878fail:
13879 return NULL;
d55e5bfc
RD
13880}
13881
13882
1bd55598
RD
13883SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13884 PyObject *resultobj = 0;
13885 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13886 void *argp1 = 0 ;
13887 int res1 = 0 ;
13888 PyObject *swig_obj[1] ;
13889
13890 if (!args) SWIG_fail;
13891 swig_obj[0] = args;
13892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13893 if (!SWIG_IsOK(res1)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13895 }
13896 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 (arg1)->RefreshAll();
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 resultobj = SWIG_Py_Void();
13904 return resultobj;
13905fail:
13906 return NULL;
d55e5bfc
RD
13907}
13908
13909
1bd55598
RD
13910SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13911 PyObject *resultobj = 0;
13912 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13913 size_t result;
13914 void *argp1 = 0 ;
13915 int res1 = 0 ;
13916 PyObject *swig_obj[1] ;
13917
13918 if (!args) SWIG_fail;
13919 swig_obj[0] = args;
13920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13921 if (!SWIG_IsOK(res1)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13923 }
13924 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13932 return resultobj;
13933fail:
13934 return NULL;
d55e5bfc
RD
13935}
13936
13937
1bd55598
RD
13938SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13939 PyObject *resultobj = 0;
13940 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13941 size_t result;
13942 void *argp1 = 0 ;
13943 int res1 = 0 ;
13944 PyObject *swig_obj[1] ;
13945
13946 if (!args) SWIG_fail;
13947 swig_obj[0] = args;
13948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13949 if (!SWIG_IsOK(res1)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13951 }
13952 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13960 return resultobj;
13961fail:
13962 return NULL;
d55e5bfc
RD
13963}
13964
13965
1bd55598
RD
13966SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13967 PyObject *resultobj = 0;
13968 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13969 size_t result;
13970 void *argp1 = 0 ;
13971 int res1 = 0 ;
13972 PyObject *swig_obj[1] ;
13973
13974 if (!args) SWIG_fail;
13975 swig_obj[0] = args;
13976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13977 if (!SWIG_IsOK(res1)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13979 }
13980 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13988 return resultobj;
13989fail:
13990 return NULL;
13991}
13992
13993
13994SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj = 0;
13996 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13997 size_t arg2 ;
13998 bool result;
13999 void *argp1 = 0 ;
14000 int res1 = 0 ;
14001 size_t val2 ;
14002 int ecode2 = 0 ;
14003 PyObject * obj0 = 0 ;
14004 PyObject * obj1 = 0 ;
14005 char * kwnames[] = {
14006 (char *) "self",(char *) "line", NULL
14007 };
14008
14009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14011 if (!SWIG_IsOK(res1)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14013 }
14014 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14015 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14016 if (!SWIG_IsOK(ecode2)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14018 }
14019 arg2 = static_cast< size_t >(val2);
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 {
14027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14028 }
14029 return resultobj;
14030fail:
14031 return NULL;
d55e5bfc
RD
14032}
14033
14034
1bd55598
RD
14035SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14036 PyObject *resultobj = 0;
14037 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14038 size_t result;
14039 void *argp1 = 0 ;
14040 int res1 = 0 ;
14041 PyObject *swig_obj[1] ;
14042
14043 if (!args) SWIG_fail;
14044 swig_obj[0] = args;
14045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14046 if (!SWIG_IsOK(res1)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14048 }
14049 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14057 return resultobj;
14058fail:
14059 return NULL;
d55e5bfc
RD
14060}
14061
14062
1bd55598
RD
14063SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14064 PyObject *resultobj = 0;
14065 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14066 size_t result;
14067 void *argp1 = 0 ;
14068 int res1 = 0 ;
14069 PyObject *swig_obj[1] ;
14070
14071 if (!args) SWIG_fail;
14072 swig_obj[0] = args;
14073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14074 if (!SWIG_IsOK(res1)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14076 }
14077 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
14084 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14085 return resultobj;
14086fail:
14087 return NULL;
14088}
14089
14090
14091SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14092 PyObject *resultobj = 0;
14093 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14094 size_t arg2 ;
14095 bool arg3 = (bool) false ;
14096 size_t result;
14097 void *argp1 = 0 ;
14098 int res1 = 0 ;
14099 size_t val2 ;
14100 int ecode2 = 0 ;
14101 bool val3 ;
14102 int ecode3 = 0 ;
14103 PyObject * obj0 = 0 ;
14104 PyObject * obj1 = 0 ;
14105 PyObject * obj2 = 0 ;
14106 char * kwnames[] = {
14107 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14108 };
14109
14110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14112 if (!SWIG_IsOK(res1)) {
14113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14114 }
14115 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14116 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14117 if (!SWIG_IsOK(ecode2)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14119 }
14120 arg2 = static_cast< size_t >(val2);
14121 if (obj2) {
14122 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14123 if (!SWIG_IsOK(ecode3)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14125 }
14126 arg3 = static_cast< bool >(val3);
14127 }
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14135 return resultobj;
14136fail:
14137 return NULL;
14138}
14139
14140
14141SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj = 0;
14143 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14144 size_t arg2 ;
14145 size_t arg3 ;
14146 int result;
14147 void *argp1 = 0 ;
14148 int res1 = 0 ;
14149 size_t val2 ;
14150 int ecode2 = 0 ;
14151 size_t val3 ;
14152 int ecode3 = 0 ;
14153 PyObject * obj0 = 0 ;
14154 PyObject * obj1 = 0 ;
14155 PyObject * obj2 = 0 ;
14156 char * kwnames[] = {
14157 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14158 };
14159
14160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14162 if (!SWIG_IsOK(res1)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14164 }
14165 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14166 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14167 if (!SWIG_IsOK(ecode2)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14169 }
14170 arg2 = static_cast< size_t >(val2);
14171 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14172 if (!SWIG_IsOK(ecode3)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14174 }
14175 arg3 = static_cast< size_t >(val3);
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 resultobj = SWIG_From_int(static_cast< int >(result));
14183 return resultobj;
14184fail:
14185 return NULL;
d55e5bfc
RD
14186}
14187
14188
1bd55598
RD
14189SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14190 PyObject *obj;
14191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14193 return SWIG_Py_Void();
d55e5bfc
RD
14194}
14195
1bd55598
RD
14196SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14197 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14198}
14199
1bd55598
RD
14200SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14201 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14202 return 1;
d55e5bfc
RD
14203}
14204
14205
1bd55598
RD
14206SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14207 PyObject *pyobj = 0;
14208
14209 {
14210#if wxUSE_UNICODE
14211 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14212#else
14213 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14214#endif
14215 }
14216 return pyobj;
14217}
14218
14219
14220SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj = 0;
14222 wxWindow *arg1 = (wxWindow *) 0 ;
14223 int arg2 = (int) wxID_ANY ;
14224 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14225 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14226 wxSize const &arg4_defvalue = wxDefaultSize ;
14227 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14228 long arg5 = (long) 0 ;
14229 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14230 wxString *arg6 = (wxString *) &arg6_defvalue ;
14231 wxPyVListBox *result = 0 ;
14232 void *argp1 = 0 ;
14233 int res1 = 0 ;
14234 int val2 ;
14235 int ecode2 = 0 ;
14236 wxPoint temp3 ;
14237 wxSize temp4 ;
14238 long val5 ;
14239 int ecode5 = 0 ;
14240 bool temp6 = false ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 PyObject * obj2 = 0 ;
14244 PyObject * obj3 = 0 ;
14245 PyObject * obj4 = 0 ;
14246 PyObject * obj5 = 0 ;
14247 char * kwnames[] = {
14248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14249 };
14250
14251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14253 if (!SWIG_IsOK(res1)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14255 }
14256 arg1 = reinterpret_cast< wxWindow * >(argp1);
14257 if (obj1) {
14258 ecode2 = SWIG_AsVal_int(obj1, &val2);
14259 if (!SWIG_IsOK(ecode2)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14261 }
14262 arg2 = static_cast< int >(val2);
14263 }
14264 if (obj2) {
36ed4f51 14265 {
1bd55598
RD
14266 arg3 = &temp3;
14267 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 14268 }
1bd55598
RD
14269 }
14270 if (obj3) {
d55e5bfc 14271 {
1bd55598
RD
14272 arg4 = &temp4;
14273 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14274 }
1bd55598
RD
14275 }
14276 if (obj4) {
14277 ecode5 = SWIG_AsVal_long(obj4, &val5);
14278 if (!SWIG_IsOK(ecode5)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14280 }
14281 arg5 = static_cast< long >(val5);
14282 }
14283 if (obj5) {
d55e5bfc 14284 {
1bd55598
RD
14285 arg6 = wxString_in_helper(obj5);
14286 if (arg6 == NULL) SWIG_fail;
14287 temp6 = true;
d55e5bfc 14288 }
1bd55598
RD
14289 }
14290 {
14291 if (!wxPyCheckForApp()) SWIG_fail;
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14298 {
14299 if (temp6)
14300 delete arg6;
14301 }
14302 return resultobj;
14303fail:
14304 {
14305 if (temp6)
14306 delete arg6;
14307 }
14308 return NULL;
d55e5bfc
RD
14309}
14310
14311
1bd55598
RD
14312SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14313 PyObject *resultobj = 0;
14314 wxPyVListBox *result = 0 ;
14315
14316 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14317 {
14318 if (!wxPyCheckForApp()) SWIG_fail;
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 result = (wxPyVListBox *)new wxPyVListBox();
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14325 return resultobj;
14326fail:
14327 return NULL;
14328}
14329
14330
14331SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj = 0;
14333 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14334 PyObject *arg2 = (PyObject *) 0 ;
14335 PyObject *arg3 = (PyObject *) 0 ;
14336 void *argp1 = 0 ;
14337 int res1 = 0 ;
14338 PyObject * obj0 = 0 ;
14339 PyObject * obj1 = 0 ;
14340 PyObject * obj2 = 0 ;
14341 char * kwnames[] = {
14342 (char *) "self",(char *) "self",(char *) "_class", NULL
14343 };
14344
14345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14347 if (!SWIG_IsOK(res1)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14349 }
14350 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14351 arg2 = obj1;
14352 arg3 = obj2;
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 (arg1)->_setCallbackInfo(arg2,arg3);
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 resultobj = SWIG_Py_Void();
14360 return resultobj;
14361fail:
14362 return NULL;
14363}
14364
14365
14366SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj = 0;
14368 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14369 wxWindow *arg2 = (wxWindow *) 0 ;
14370 int arg3 = (int) wxID_ANY ;
14371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14373 wxSize const &arg5_defvalue = wxDefaultSize ;
14374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14375 long arg6 = (long) 0 ;
14376 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14377 wxString *arg7 = (wxString *) &arg7_defvalue ;
14378 bool result;
14379 void *argp1 = 0 ;
14380 int res1 = 0 ;
14381 void *argp2 = 0 ;
14382 int res2 = 0 ;
14383 int val3 ;
14384 int ecode3 = 0 ;
14385 wxPoint temp4 ;
14386 wxSize temp5 ;
14387 long val6 ;
14388 int ecode6 = 0 ;
14389 bool temp7 = false ;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj1 = 0 ;
14392 PyObject * obj2 = 0 ;
14393 PyObject * obj3 = 0 ;
14394 PyObject * obj4 = 0 ;
14395 PyObject * obj5 = 0 ;
14396 PyObject * obj6 = 0 ;
14397 char * kwnames[] = {
14398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14399 };
14400
14401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14403 if (!SWIG_IsOK(res1)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14405 }
14406 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14407 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14408 if (!SWIG_IsOK(res2)) {
14409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14410 }
14411 arg2 = reinterpret_cast< wxWindow * >(argp2);
14412 if (obj2) {
14413 ecode3 = SWIG_AsVal_int(obj2, &val3);
14414 if (!SWIG_IsOK(ecode3)) {
14415 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14416 }
14417 arg3 = static_cast< int >(val3);
14418 }
14419 if (obj3) {
36ed4f51 14420 {
1bd55598
RD
14421 arg4 = &temp4;
14422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 14423 }
1bd55598
RD
14424 }
14425 if (obj4) {
36ed4f51 14426 {
1bd55598
RD
14427 arg5 = &temp5;
14428 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 14429 }
1bd55598
RD
14430 }
14431 if (obj5) {
14432 ecode6 = SWIG_AsVal_long(obj5, &val6);
14433 if (!SWIG_IsOK(ecode6)) {
14434 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14435 }
14436 arg6 = static_cast< long >(val6);
14437 }
14438 if (obj6) {
d55e5bfc 14439 {
1bd55598
RD
14440 arg7 = wxString_in_helper(obj6);
14441 if (arg7 == NULL) SWIG_fail;
14442 temp7 = true;
14443 }
14444 }
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 {
14452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14453 }
14454 {
14455 if (temp7)
14456 delete arg7;
14457 }
14458 return resultobj;
14459fail:
14460 {
14461 if (temp7)
14462 delete arg7;
14463 }
14464 return NULL;
d55e5bfc
RD
14465}
14466
14467
1bd55598
RD
14468SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14469 PyObject *resultobj = 0;
14470 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14471 size_t result;
14472 void *argp1 = 0 ;
14473 int res1 = 0 ;
14474 PyObject *swig_obj[1] ;
14475
14476 if (!args) SWIG_fail;
14477 swig_obj[0] = args;
14478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14479 if (!SWIG_IsOK(res1)) {
14480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14481 }
14482 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14483 {
14484 PyThreadState* __tstate = wxPyBeginAllowThreads();
14485 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14490 return resultobj;
14491fail:
14492 return NULL;
d55e5bfc
RD
14493}
14494
14495
1bd55598
RD
14496SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14497 PyObject *resultobj = 0;
14498 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14499 bool result;
14500 void *argp1 = 0 ;
14501 int res1 = 0 ;
14502 PyObject *swig_obj[1] ;
14503
14504 if (!args) SWIG_fail;
14505 swig_obj[0] = args;
14506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14507 if (!SWIG_IsOK(res1)) {
14508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14509 }
14510 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 {
14518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14519 }
14520 return resultobj;
14521fail:
14522 return NULL;
d55e5bfc
RD
14523}
14524
14525
1bd55598
RD
14526SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14527 PyObject *resultobj = 0;
14528 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14529 int result;
14530 void *argp1 = 0 ;
14531 int res1 = 0 ;
14532 PyObject *swig_obj[1] ;
14533
14534 if (!args) SWIG_fail;
14535 swig_obj[0] = args;
14536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14537 if (!SWIG_IsOK(res1)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14539 }
14540 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 resultobj = SWIG_From_int(static_cast< int >(result));
14548 return resultobj;
14549fail:
14550 return NULL;
14551}
14552
14553
14554SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14555 PyObject *resultobj = 0;
14556 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14557 size_t arg2 ;
14558 bool result;
14559 void *argp1 = 0 ;
14560 int res1 = 0 ;
14561 size_t val2 ;
14562 int ecode2 = 0 ;
14563 PyObject * obj0 = 0 ;
14564 PyObject * obj1 = 0 ;
14565 char * kwnames[] = {
14566 (char *) "self",(char *) "item", NULL
14567 };
14568
14569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14571 if (!SWIG_IsOK(res1)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14573 }
14574 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14575 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14576 if (!SWIG_IsOK(ecode2)) {
14577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14578 }
14579 arg2 = static_cast< size_t >(val2);
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14588 }
14589 return resultobj;
14590fail:
14591 return NULL;
14592}
14593
14594
14595SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj = 0;
14597 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14598 size_t arg2 ;
14599 bool result;
14600 void *argp1 = 0 ;
14601 int res1 = 0 ;
14602 size_t val2 ;
14603 int ecode2 = 0 ;
14604 PyObject * obj0 = 0 ;
14605 PyObject * obj1 = 0 ;
14606 char * kwnames[] = {
14607 (char *) "self",(char *) "item", NULL
14608 };
14609
14610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14612 if (!SWIG_IsOK(res1)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14614 }
14615 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14616 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14617 if (!SWIG_IsOK(ecode2)) {
14618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14619 }
14620 arg2 = static_cast< size_t >(val2);
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 {
14628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14629 }
14630 return resultobj;
14631fail:
14632 return NULL;
d55e5bfc
RD
14633}
14634
14635
1bd55598
RD
14636SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14637 PyObject *resultobj = 0;
14638 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14639 size_t result;
14640 void *argp1 = 0 ;
14641 int res1 = 0 ;
14642 PyObject *swig_obj[1] ;
14643
14644 if (!args) SWIG_fail;
14645 swig_obj[0] = args;
14646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14647 if (!SWIG_IsOK(res1)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14649 }
14650 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14658 return resultobj;
14659fail:
14660 return NULL;
d55e5bfc
RD
14661}
14662
14663
1bd55598
RD
14664SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14665 PyObject *resultobj = 0;
14666 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14667 PyObject *result = 0 ;
14668 void *argp1 = 0 ;
14669 int res1 = 0 ;
14670 PyObject *swig_obj[1] ;
14671
14672 if (!args) SWIG_fail;
14673 swig_obj[0] = args;
14674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14675 if (!SWIG_IsOK(res1)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14677 }
14678 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = result;
14686 return resultobj;
14687fail:
14688 return NULL;
14689}
14690
14691
14692SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj = 0;
14694 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14695 unsigned long arg2 ;
14696 PyObject *result = 0 ;
14697 void *argp1 = 0 ;
14698 int res1 = 0 ;
14699 unsigned long val2 ;
14700 int ecode2 = 0 ;
14701 PyObject * obj0 = 0 ;
14702 PyObject * obj1 = 0 ;
14703 char * kwnames[] = {
14704 (char *) "self",(char *) "cookie", NULL
14705 };
14706
14707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14709 if (!SWIG_IsOK(res1)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14711 }
14712 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14713 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14714 if (!SWIG_IsOK(ecode2)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14716 }
14717 arg2 = static_cast< unsigned long >(val2);
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 resultobj = result;
14725 return resultobj;
14726fail:
14727 return NULL;
d55e5bfc
RD
14728}
14729
14730
1bd55598
RD
14731SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14732 PyObject *resultobj = 0;
14733 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14734 wxPoint result;
14735 void *argp1 = 0 ;
14736 int res1 = 0 ;
14737 PyObject *swig_obj[1] ;
14738
14739 if (!args) SWIG_fail;
14740 swig_obj[0] = args;
14741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14742 if (!SWIG_IsOK(res1)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14744 }
14745 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 result = ((wxPyVListBox const *)arg1)->GetMargins();
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14753 return resultobj;
14754fail:
14755 return NULL;
d55e5bfc
RD
14756}
14757
14758
1bd55598
RD
14759SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14760 PyObject *resultobj = 0;
14761 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14762 wxColour *result = 0 ;
14763 void *argp1 = 0 ;
14764 int res1 = 0 ;
14765 PyObject *swig_obj[1] ;
14766
14767 if (!args) SWIG_fail;
14768 swig_obj[0] = args;
14769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14770 if (!SWIG_IsOK(res1)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14772 }
14773 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14774 {
14775 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14776 {
1bd55598
RD
14777 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14778 result = (wxColour *) &_result_ref;
36ed4f51 14779 }
1bd55598
RD
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14784 return resultobj;
14785fail:
14786 return NULL;
14787}
14788
14789
14790SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14791 PyObject *resultobj = 0;
14792 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14793 size_t arg2 ;
14794 void *argp1 = 0 ;
14795 int res1 = 0 ;
14796 size_t val2 ;
14797 int ecode2 = 0 ;
14798 PyObject * obj0 = 0 ;
14799 PyObject * obj1 = 0 ;
14800 char * kwnames[] = {
14801 (char *) "self",(char *) "count", NULL
14802 };
14803
14804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14806 if (!SWIG_IsOK(res1)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14808 }
14809 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14810 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14811 if (!SWIG_IsOK(ecode2)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14813 }
14814 arg2 = static_cast< size_t >(val2);
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 (arg1)->SetItemCount(arg2);
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = SWIG_Py_Void();
14822 return resultobj;
14823fail:
14824 return NULL;
d55e5bfc
RD
14825}
14826
14827
1bd55598
RD
14828SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14829 PyObject *resultobj = 0;
14830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14831 void *argp1 = 0 ;
14832 int res1 = 0 ;
14833 PyObject *swig_obj[1] ;
14834
14835 if (!args) SWIG_fail;
14836 swig_obj[0] = args;
14837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14838 if (!SWIG_IsOK(res1)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14840 }
14841 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 (arg1)->Clear();
14845 wxPyEndAllowThreads(__tstate);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 }
14848 resultobj = SWIG_Py_Void();
14849 return resultobj;
14850fail:
14851 return NULL;
14852}
14853
14854
14855SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14856 PyObject *resultobj = 0;
14857 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14858 int arg2 ;
14859 void *argp1 = 0 ;
14860 int res1 = 0 ;
14861 int val2 ;
14862 int ecode2 = 0 ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char * kwnames[] = {
14866 (char *) "self",(char *) "selection", NULL
14867 };
14868
14869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14871 if (!SWIG_IsOK(res1)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14873 }
14874 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14875 ecode2 = SWIG_AsVal_int(obj1, &val2);
14876 if (!SWIG_IsOK(ecode2)) {
14877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14878 }
14879 arg2 = static_cast< int >(val2);
14880 {
14881 PyThreadState* __tstate = wxPyBeginAllowThreads();
14882 (arg1)->SetSelection(arg2);
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 resultobj = SWIG_Py_Void();
14887 return resultobj;
14888fail:
14889 return NULL;
14890}
14891
14892
14893SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj = 0;
14895 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14896 size_t arg2 ;
14897 bool arg3 = (bool) true ;
14898 bool result;
14899 void *argp1 = 0 ;
14900 int res1 = 0 ;
14901 size_t val2 ;
14902 int ecode2 = 0 ;
14903 bool val3 ;
14904 int ecode3 = 0 ;
14905 PyObject * obj0 = 0 ;
14906 PyObject * obj1 = 0 ;
14907 PyObject * obj2 = 0 ;
14908 char * kwnames[] = {
14909 (char *) "self",(char *) "item",(char *) "select", NULL
14910 };
14911
14912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14914 if (!SWIG_IsOK(res1)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14916 }
14917 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14918 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14919 if (!SWIG_IsOK(ecode2)) {
14920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14921 }
14922 arg2 = static_cast< size_t >(val2);
14923 if (obj2) {
14924 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14925 if (!SWIG_IsOK(ecode3)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14927 }
14928 arg3 = static_cast< bool >(val3);
14929 }
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (bool)(arg1)->Select(arg2,arg3);
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 {
14937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14938 }
14939 return resultobj;
14940fail:
14941 return NULL;
14942}
14943
14944
14945SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14946 PyObject *resultobj = 0;
14947 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14948 size_t arg2 ;
14949 size_t arg3 ;
14950 bool result;
14951 void *argp1 = 0 ;
14952 int res1 = 0 ;
14953 size_t val2 ;
14954 int ecode2 = 0 ;
14955 size_t val3 ;
14956 int ecode3 = 0 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 PyObject * obj2 = 0 ;
14960 char * kwnames[] = {
2131d850 14961 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
14962 };
14963
14964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14966 if (!SWIG_IsOK(res1)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14968 }
14969 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14970 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14971 if (!SWIG_IsOK(ecode2)) {
14972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14973 }
14974 arg2 = static_cast< size_t >(val2);
14975 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14976 if (!SWIG_IsOK(ecode3)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14978 }
14979 arg3 = static_cast< size_t >(val3);
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (bool)(arg1)->SelectRange(arg2,arg3);
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 {
14987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14988 }
14989 return resultobj;
14990fail:
14991 return NULL;
14992}
14993
14994
14995SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj = 0;
14997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14998 size_t arg2 ;
14999 void *argp1 = 0 ;
15000 int res1 = 0 ;
15001 size_t val2 ;
15002 int ecode2 = 0 ;
15003 PyObject * obj0 = 0 ;
15004 PyObject * obj1 = 0 ;
15005 char * kwnames[] = {
15006 (char *) "self",(char *) "item", NULL
15007 };
15008
15009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15011 if (!SWIG_IsOK(res1)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15013 }
15014 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15015 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15016 if (!SWIG_IsOK(ecode2)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15018 }
15019 arg2 = static_cast< size_t >(val2);
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 (arg1)->Toggle(arg2);
15023 wxPyEndAllowThreads(__tstate);
15024 if (PyErr_Occurred()) SWIG_fail;
15025 }
15026 resultobj = SWIG_Py_Void();
15027 return resultobj;
15028fail:
15029 return NULL;
d55e5bfc
RD
15030}
15031
15032
1bd55598
RD
15033SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15034 PyObject *resultobj = 0;
15035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15036 bool result;
15037 void *argp1 = 0 ;
15038 int res1 = 0 ;
15039 PyObject *swig_obj[1] ;
15040
15041 if (!args) SWIG_fail;
15042 swig_obj[0] = args;
15043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15044 if (!SWIG_IsOK(res1)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15046 }
15047 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 result = (bool)(arg1)->SelectAll();
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 {
15055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15056 }
15057 return resultobj;
15058fail:
15059 return NULL;
d55e5bfc
RD
15060}
15061
15062
1bd55598
RD
15063SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15064 PyObject *resultobj = 0;
15065 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15066 bool result;
15067 void *argp1 = 0 ;
15068 int res1 = 0 ;
15069 PyObject *swig_obj[1] ;
15070
15071 if (!args) SWIG_fail;
15072 swig_obj[0] = args;
15073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15074 if (!SWIG_IsOK(res1)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15076 }
15077 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 result = (bool)(arg1)->DeselectAll();
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 {
15085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15086 }
15087 return resultobj;
15088fail:
15089 return NULL;
15090}
15091
15092
15093SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj = 0;
15095 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15096 wxPoint *arg2 = 0 ;
15097 void *argp1 = 0 ;
15098 int res1 = 0 ;
15099 wxPoint temp2 ;
15100 PyObject * obj0 = 0 ;
15101 PyObject * obj1 = 0 ;
15102 char * kwnames[] = {
15103 (char *) "self",(char *) "pt", NULL
15104 };
15105
15106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15108 if (!SWIG_IsOK(res1)) {
15109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15110 }
15111 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15112 {
15113 arg2 = &temp2;
15114 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15115 }
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 (arg1)->SetMargins((wxPoint const &)*arg2);
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 resultobj = SWIG_Py_Void();
15123 return resultobj;
15124fail:
15125 return NULL;
15126}
15127
15128
15129SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj = 0;
15131 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15132 int arg2 ;
15133 int arg3 ;
15134 void *argp1 = 0 ;
15135 int res1 = 0 ;
15136 int val2 ;
15137 int ecode2 = 0 ;
15138 int val3 ;
15139 int ecode3 = 0 ;
15140 PyObject * obj0 = 0 ;
15141 PyObject * obj1 = 0 ;
15142 PyObject * obj2 = 0 ;
15143 char * kwnames[] = {
15144 (char *) "self",(char *) "x",(char *) "y", NULL
15145 };
15146
15147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15149 if (!SWIG_IsOK(res1)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15151 }
15152 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15153 ecode2 = SWIG_AsVal_int(obj1, &val2);
15154 if (!SWIG_IsOK(ecode2)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15156 }
15157 arg2 = static_cast< int >(val2);
15158 ecode3 = SWIG_AsVal_int(obj2, &val3);
15159 if (!SWIG_IsOK(ecode3)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15161 }
15162 arg3 = static_cast< int >(val3);
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 (arg1)->SetMargins(arg2,arg3);
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = SWIG_Py_Void();
15170 return resultobj;
15171fail:
15172 return NULL;
15173}
15174
15175
15176SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj = 0;
15178 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15179 wxColour *arg2 = 0 ;
15180 void *argp1 = 0 ;
15181 int res1 = 0 ;
15182 wxColour temp2 ;
15183 PyObject * obj0 = 0 ;
15184 PyObject * obj1 = 0 ;
15185 char * kwnames[] = {
15186 (char *) "self",(char *) "col", NULL
15187 };
15188
15189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15191 if (!SWIG_IsOK(res1)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15193 }
15194 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15195 {
15196 arg2 = &temp2;
15197 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15198 }
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 resultobj = SWIG_Py_Void();
15206 return resultobj;
15207fail:
15208 return NULL;
15209}
15210
15211
cbfc9df6
RD
15212SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15213 PyObject *resultobj = 0;
15214 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15215 void *argp1 = 0 ;
15216 int res1 = 0 ;
15217 PyObject *swig_obj[1] ;
15218
15219 if (!args) SWIG_fail;
15220 swig_obj[0] = args;
15221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15222 if (!SWIG_IsOK(res1)) {
15223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15224 }
15225 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->RefreshSelected();
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = SWIG_Py_Void();
15233 return resultobj;
15234fail:
15235 return NULL;
15236}
15237
15238
1c71765a
RD
15239SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj = 0;
15241 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15242 wxDC *arg2 = 0 ;
15243 wxRect *arg3 = 0 ;
15244 size_t arg4 ;
15245 void *argp1 = 0 ;
15246 int res1 = 0 ;
15247 void *argp2 = 0 ;
15248 int res2 = 0 ;
15249 wxRect temp3 ;
15250 size_t val4 ;
15251 int ecode4 = 0 ;
15252 PyObject * obj0 = 0 ;
15253 PyObject * obj1 = 0 ;
15254 PyObject * obj2 = 0 ;
15255 PyObject * obj3 = 0 ;
15256 char * kwnames[] = {
15257 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15258 };
15259
15260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15262 if (!SWIG_IsOK(res1)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15264 }
15265 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15266 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15267 if (!SWIG_IsOK(res2)) {
15268 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15269 }
15270 if (!argp2) {
15271 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15272 }
15273 arg2 = reinterpret_cast< wxDC * >(argp2);
15274 {
15275 arg3 = &temp3;
15276 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15277 }
15278 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15279 if (!SWIG_IsOK(ecode4)) {
15280 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15281 }
15282 arg4 = static_cast< size_t >(val4);
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 resultobj = SWIG_Py_Void();
15290 return resultobj;
15291fail:
15292 return NULL;
15293}
15294
15295
15296SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj = 0;
15298 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15299 wxDC *arg2 = 0 ;
15300 wxRect *arg3 = 0 ;
15301 size_t arg4 ;
15302 void *argp1 = 0 ;
15303 int res1 = 0 ;
15304 void *argp2 = 0 ;
15305 int res2 = 0 ;
15306 wxRect temp3 ;
15307 size_t val4 ;
15308 int ecode4 = 0 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 PyObject * obj2 = 0 ;
15312 PyObject * obj3 = 0 ;
15313 char * kwnames[] = {
15314 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15315 };
15316
15317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15319 if (!SWIG_IsOK(res1)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15321 }
15322 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15323 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15324 if (!SWIG_IsOK(res2)) {
15325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15326 }
15327 if (!argp2) {
15328 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15329 }
15330 arg2 = reinterpret_cast< wxDC * >(argp2);
15331 {
15332 arg3 = &temp3;
15333 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15334 }
15335 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15336 if (!SWIG_IsOK(ecode4)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15338 }
15339 arg4 = static_cast< size_t >(val4);
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 resultobj = SWIG_Py_Void();
15347 return resultobj;
15348fail:
15349 return NULL;
15350}
15351
15352
1bd55598
RD
15353SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15354 PyObject *obj;
15355 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15356 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15357 return SWIG_Py_Void();
15358}
15359
15360SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15361 return SWIG_Python_InitShadowInstance(args);
15362}
15363
15364SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj = 0;
15366 wxWindow *arg1 = (wxWindow *) 0 ;
15367 int arg2 = (int) wxID_ANY ;
15368 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15369 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15370 wxSize const &arg4_defvalue = wxDefaultSize ;
15371 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15372 long arg5 = (long) 0 ;
15373 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15374 wxString *arg6 = (wxString *) &arg6_defvalue ;
15375 wxPyHtmlListBox *result = 0 ;
15376 void *argp1 = 0 ;
15377 int res1 = 0 ;
15378 int val2 ;
15379 int ecode2 = 0 ;
15380 wxPoint temp3 ;
15381 wxSize temp4 ;
15382 long val5 ;
15383 int ecode5 = 0 ;
15384 bool temp6 = false ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 PyObject * obj2 = 0 ;
15388 PyObject * obj3 = 0 ;
15389 PyObject * obj4 = 0 ;
15390 PyObject * obj5 = 0 ;
15391 char * kwnames[] = {
15392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15393 };
15394
15395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15397 if (!SWIG_IsOK(res1)) {
15398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15399 }
15400 arg1 = reinterpret_cast< wxWindow * >(argp1);
15401 if (obj1) {
15402 ecode2 = SWIG_AsVal_int(obj1, &val2);
15403 if (!SWIG_IsOK(ecode2)) {
15404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15405 }
15406 arg2 = static_cast< int >(val2);
15407 }
15408 if (obj2) {
d55e5bfc 15409 {
1bd55598
RD
15410 arg3 = &temp3;
15411 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 15412 }
1bd55598
RD
15413 }
15414 if (obj3) {
36ed4f51 15415 {
1bd55598
RD
15416 arg4 = &temp4;
15417 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15418 }
1bd55598
RD
15419 }
15420 if (obj4) {
15421 ecode5 = SWIG_AsVal_long(obj4, &val5);
15422 if (!SWIG_IsOK(ecode5)) {
15423 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15424 }
15425 arg5 = static_cast< long >(val5);
15426 }
15427 if (obj5) {
36ed4f51 15428 {
1bd55598
RD
15429 arg6 = wxString_in_helper(obj5);
15430 if (arg6 == NULL) SWIG_fail;
15431 temp6 = true;
36ed4f51 15432 }
1bd55598
RD
15433 }
15434 {
15435 if (!wxPyCheckForApp()) SWIG_fail;
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15442 {
15443 if (temp6)
15444 delete arg6;
15445 }
15446 return resultobj;
15447fail:
15448 {
15449 if (temp6)
15450 delete arg6;
15451 }
15452 return NULL;
d55e5bfc
RD
15453}
15454
15455
1bd55598
RD
15456SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15457 PyObject *resultobj = 0;
15458 wxPyHtmlListBox *result = 0 ;
15459
15460 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15461 {
15462 if (!wxPyCheckForApp()) SWIG_fail;
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15469 return resultobj;
15470fail:
15471 return NULL;
15472}
15473
15474
15475SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj = 0;
15477 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15478 PyObject *arg2 = (PyObject *) 0 ;
15479 PyObject *arg3 = (PyObject *) 0 ;
15480 void *argp1 = 0 ;
15481 int res1 = 0 ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 PyObject * obj2 = 0 ;
15485 char * kwnames[] = {
15486 (char *) "self",(char *) "self",(char *) "_class", NULL
15487 };
15488
15489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15491 if (!SWIG_IsOK(res1)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15493 }
15494 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15495 arg2 = obj1;
15496 arg3 = obj2;
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 (arg1)->_setCallbackInfo(arg2,arg3);
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 resultobj = SWIG_Py_Void();
15504 return resultobj;
15505fail:
15506 return NULL;
15507}
15508
15509
15510SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj = 0;
15512 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15513 wxWindow *arg2 = (wxWindow *) 0 ;
15514 int arg3 = (int) wxID_ANY ;
15515 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15516 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15517 wxSize const &arg5_defvalue = wxDefaultSize ;
15518 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15519 long arg6 = (long) 0 ;
15520 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15521 wxString *arg7 = (wxString *) &arg7_defvalue ;
15522 bool result;
15523 void *argp1 = 0 ;
15524 int res1 = 0 ;
15525 void *argp2 = 0 ;
15526 int res2 = 0 ;
15527 int val3 ;
15528 int ecode3 = 0 ;
15529 wxPoint temp4 ;
15530 wxSize temp5 ;
15531 long val6 ;
15532 int ecode6 = 0 ;
15533 bool temp7 = false ;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 PyObject * obj2 = 0 ;
15537 PyObject * obj3 = 0 ;
15538 PyObject * obj4 = 0 ;
15539 PyObject * obj5 = 0 ;
15540 PyObject * obj6 = 0 ;
15541 char * kwnames[] = {
15542 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15543 };
15544
15545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15547 if (!SWIG_IsOK(res1)) {
15548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15549 }
15550 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15551 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15552 if (!SWIG_IsOK(res2)) {
15553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15554 }
15555 arg2 = reinterpret_cast< wxWindow * >(argp2);
15556 if (obj2) {
15557 ecode3 = SWIG_AsVal_int(obj2, &val3);
15558 if (!SWIG_IsOK(ecode3)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15560 }
15561 arg3 = static_cast< int >(val3);
15562 }
15563 if (obj3) {
36ed4f51 15564 {
1bd55598
RD
15565 arg4 = &temp4;
15566 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15567 }
1bd55598
RD
15568 }
15569 if (obj4) {
d55e5bfc 15570 {
1bd55598
RD
15571 arg5 = &temp5;
15572 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15573 }
1bd55598
RD
15574 }
15575 if (obj5) {
15576 ecode6 = SWIG_AsVal_long(obj5, &val6);
15577 if (!SWIG_IsOK(ecode6)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15579 }
15580 arg6 = static_cast< long >(val6);
15581 }
15582 if (obj6) {
36ed4f51 15583 {
1bd55598
RD
15584 arg7 = wxString_in_helper(obj6);
15585 if (arg7 == NULL) SWIG_fail;
15586 temp7 = true;
36ed4f51 15587 }
1bd55598
RD
15588 }
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 {
15596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15597 }
15598 {
15599 if (temp7)
15600 delete arg7;
15601 }
15602 return resultobj;
15603fail:
15604 {
15605 if (temp7)
15606 delete arg7;
15607 }
15608 return NULL;
15609}
15610
15611
15612SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15613 PyObject *resultobj = 0;
15614 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15615 size_t arg2 ;
15616 void *argp1 = 0 ;
15617 int res1 = 0 ;
15618 size_t val2 ;
15619 int ecode2 = 0 ;
15620 PyObject * obj0 = 0 ;
15621 PyObject * obj1 = 0 ;
15622 char * kwnames[] = {
15623 (char *) "self",(char *) "count", NULL
15624 };
15625
15626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15628 if (!SWIG_IsOK(res1)) {
15629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15630 }
15631 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15632 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15633 if (!SWIG_IsOK(ecode2)) {
15634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15635 }
15636 arg2 = static_cast< size_t >(val2);
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->SetItemCount(arg2);
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 resultobj = SWIG_Py_Void();
15644 return resultobj;
15645fail:
15646 return NULL;
d55e5bfc
RD
15647}
15648
15649
1bd55598
RD
15650SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15651 PyObject *resultobj = 0;
15652 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15653 wxFileSystem *result = 0 ;
15654 void *argp1 = 0 ;
15655 int res1 = 0 ;
15656 PyObject *swig_obj[1] ;
15657
15658 if (!args) SWIG_fail;
15659 swig_obj[0] = args;
15660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15661 if (!SWIG_IsOK(res1)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15663 }
15664 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15667 {
1bd55598
RD
15668 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15669 result = (wxFileSystem *) &_result_ref;
36ed4f51 15670 }
1bd55598
RD
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15675 return resultobj;
15676fail:
15677 return NULL;
d55e5bfc
RD
15678}
15679
15680
e9d6f3a4
RD
15681SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj = 0;
15683 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15684 size_t arg2 ;
15685 wxHtmlLinkInfo *arg3 = 0 ;
15686 void *argp1 = 0 ;
15687 int res1 = 0 ;
15688 size_t val2 ;
15689 int ecode2 = 0 ;
15690 void *argp3 = 0 ;
15691 int res3 = 0 ;
15692 PyObject * obj0 = 0 ;
15693 PyObject * obj1 = 0 ;
15694 PyObject * obj2 = 0 ;
15695 char * kwnames[] = {
15696 (char *) "self",(char *) "n",(char *) "link", NULL
15697 };
15698
15699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15701 if (!SWIG_IsOK(res1)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15703 }
15704 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15705 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15706 if (!SWIG_IsOK(ecode2)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15708 }
15709 arg2 = static_cast< size_t >(val2);
15710 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15711 if (!SWIG_IsOK(res3)) {
15712 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15713 }
15714 if (!argp3) {
15715 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15716 }
15717 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 resultobj = SWIG_Py_Void();
15725 return resultobj;
15726fail:
15727 return NULL;
15728}
15729
15730
1bd55598
RD
15731SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15732 PyObject *obj;
15733 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15734 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15735 return SWIG_Py_Void();
d55e5bfc
RD
15736}
15737
1bd55598
RD
15738SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15739 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15740}
15741
f9bf356b
RD
15742SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15743 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15744 return 1;
15745}
15746
15747
15748SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15749 PyObject *pyobj = 0;
15750
15751 {
15752#if wxUSE_UNICODE
15753 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15754#else
15755 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15756#endif
15757 }
15758 return pyobj;
15759}
15760
15761
15762SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj = 0;
15764 wxWindow *arg1 = (wxWindow *) 0 ;
15765 int arg2 = (int) -1 ;
15766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15768 wxSize const &arg4_defvalue = wxDefaultSize ;
15769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15770 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15771 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15772 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15773 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15774 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15775 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15776 wxString *arg8 = (wxString *) &arg8_defvalue ;
15777 wxSimpleHtmlListBox *result = 0 ;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 int val2 ;
15781 int ecode2 = 0 ;
15782 wxPoint temp3 ;
15783 wxSize temp4 ;
15784 bool temp5 = false ;
15785 long val6 ;
15786 int ecode6 = 0 ;
15787 void *argp7 = 0 ;
15788 int res7 = 0 ;
15789 bool temp8 = false ;
15790 PyObject * obj0 = 0 ;
15791 PyObject * obj1 = 0 ;
15792 PyObject * obj2 = 0 ;
15793 PyObject * obj3 = 0 ;
15794 PyObject * obj4 = 0 ;
15795 PyObject * obj5 = 0 ;
15796 PyObject * obj6 = 0 ;
15797 PyObject * obj7 = 0 ;
15798 char * kwnames[] = {
15799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15800 };
15801
15802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
15803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15804 if (!SWIG_IsOK(res1)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15806 }
15807 arg1 = reinterpret_cast< wxWindow * >(argp1);
15808 if (obj1) {
15809 ecode2 = SWIG_AsVal_int(obj1, &val2);
15810 if (!SWIG_IsOK(ecode2)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15812 }
15813 arg2 = static_cast< int >(val2);
15814 }
15815 if (obj2) {
15816 {
15817 arg3 = &temp3;
15818 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15819 }
15820 }
15821 if (obj3) {
15822 {
15823 arg4 = &temp4;
15824 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15825 }
15826 }
15827 if (obj4) {
15828 {
15829 if (! PySequence_Check(obj4)) {
15830 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15831 SWIG_fail;
15832 }
15833 arg5 = new wxArrayString;
15834 temp5 = true;
15835 int i, len=PySequence_Length(obj4);
15836 for (i=0; i<len; i++) {
15837 PyObject* item = PySequence_GetItem(obj4, i);
15838 wxString* s = wxString_in_helper(item);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 arg5->Add(*s);
15841 delete s;
15842 Py_DECREF(item);
15843 }
15844 }
15845 }
15846 if (obj5) {
15847 ecode6 = SWIG_AsVal_long(obj5, &val6);
15848 if (!SWIG_IsOK(ecode6)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15850 }
15851 arg6 = static_cast< long >(val6);
15852 }
15853 if (obj6) {
15854 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
15855 if (!SWIG_IsOK(res7)) {
15856 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15857 }
15858 if (!argp7) {
15859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15860 }
15861 arg7 = reinterpret_cast< wxValidator * >(argp7);
15862 }
15863 if (obj7) {
15864 {
15865 arg8 = wxString_in_helper(obj7);
15866 if (arg8 == NULL) SWIG_fail;
15867 temp8 = true;
15868 }
15869 }
15870 {
15871 if (!wxPyCheckForApp()) SWIG_fail;
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
15878 {
15879 if (temp5) delete arg5;
15880 }
15881 {
15882 if (temp8)
15883 delete arg8;
15884 }
15885 return resultobj;
15886fail:
15887 {
15888 if (temp5) delete arg5;
15889 }
15890 {
15891 if (temp8)
15892 delete arg8;
15893 }
15894 return NULL;
15895}
15896
15897
15898SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15899 PyObject *resultobj = 0;
15900 wxSimpleHtmlListBox *result = 0 ;
15901
15902 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
15903 {
15904 if (!wxPyCheckForApp()) SWIG_fail;
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
15911 return resultobj;
15912fail:
15913 return NULL;
15914}
15915
15916
15917SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj = 0;
15919 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
15920 wxWindow *arg2 = (wxWindow *) 0 ;
15921 int arg3 = (int) -1 ;
15922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15924 wxSize const &arg5_defvalue = wxDefaultSize ;
15925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15926 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15927 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15928 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
15929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15931 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
15932 wxString *arg9 = (wxString *) &arg9_defvalue ;
15933 bool result;
15934 void *argp1 = 0 ;
15935 int res1 = 0 ;
15936 void *argp2 = 0 ;
15937 int res2 = 0 ;
15938 int val3 ;
15939 int ecode3 = 0 ;
15940 wxPoint temp4 ;
15941 wxSize temp5 ;
15942 bool temp6 = false ;
15943 long val7 ;
15944 int ecode7 = 0 ;
15945 void *argp8 = 0 ;
15946 int res8 = 0 ;
15947 bool temp9 = false ;
15948 PyObject * obj0 = 0 ;
15949 PyObject * obj1 = 0 ;
15950 PyObject * obj2 = 0 ;
15951 PyObject * obj3 = 0 ;
15952 PyObject * obj4 = 0 ;
15953 PyObject * obj5 = 0 ;
15954 PyObject * obj6 = 0 ;
15955 PyObject * obj7 = 0 ;
15956 PyObject * obj8 = 0 ;
15957 char * kwnames[] = {
15958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15959 };
15960
15961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
15962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
15963 if (!SWIG_IsOK(res1)) {
15964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
15965 }
15966 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
15967 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15968 if (!SWIG_IsOK(res2)) {
15969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15970 }
15971 arg2 = reinterpret_cast< wxWindow * >(argp2);
15972 if (obj2) {
15973 ecode3 = SWIG_AsVal_int(obj2, &val3);
15974 if (!SWIG_IsOK(ecode3)) {
15975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15976 }
15977 arg3 = static_cast< int >(val3);
15978 }
15979 if (obj3) {
15980 {
15981 arg4 = &temp4;
15982 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15983 }
15984 }
15985 if (obj4) {
15986 {
15987 arg5 = &temp5;
15988 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15989 }
15990 }
15991 if (obj5) {
15992 {
15993 if (! PySequence_Check(obj5)) {
15994 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15995 SWIG_fail;
15996 }
15997 arg6 = new wxArrayString;
15998 temp6 = true;
15999 int i, len=PySequence_Length(obj5);
16000 for (i=0; i<len; i++) {
16001 PyObject* item = PySequence_GetItem(obj5, i);
16002 wxString* s = wxString_in_helper(item);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 arg6->Add(*s);
16005 delete s;
16006 Py_DECREF(item);
16007 }
16008 }
16009 }
16010 if (obj6) {
16011 ecode7 = SWIG_AsVal_long(obj6, &val7);
16012 if (!SWIG_IsOK(ecode7)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16014 }
16015 arg7 = static_cast< long >(val7);
16016 }
16017 if (obj7) {
16018 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16019 if (!SWIG_IsOK(res8)) {
16020 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16021 }
16022 if (!argp8) {
16023 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16024 }
16025 arg8 = reinterpret_cast< wxValidator * >(argp8);
16026 }
16027 if (obj8) {
16028 {
16029 arg9 = wxString_in_helper(obj8);
16030 if (arg9 == NULL) SWIG_fail;
16031 temp9 = true;
16032 }
16033 }
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16042 }
16043 {
16044 if (temp6) delete arg6;
16045 }
16046 {
16047 if (temp9)
16048 delete arg9;
16049 }
16050 return resultobj;
16051fail:
16052 {
16053 if (temp6) delete arg6;
16054 }
16055 {
16056 if (temp9)
16057 delete arg9;
16058 }
16059 return NULL;
16060}
16061
16062
16063SWIGINTERN PyObject *SimpleHtmlListBox_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_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16067 return SWIG_Py_Void();
16068}
16069
16070SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16071 return SWIG_Python_InitShadowInstance(args);
16072}
16073
1bd55598
RD
16074SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16075 PyObject *resultobj = 0;
16076 wxPyTaskBarIcon *result = 0 ;
16077
16078 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16079 {
16080 if (!wxPyCheckForApp()) SWIG_fail;
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16083 wxPyEndAllowThreads(__tstate);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16087 return resultobj;
16088fail:
16089 return NULL;
d55e5bfc
RD
16090}
16091
16092
1bd55598
RD
16093SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16094 PyObject *resultobj = 0;
16095 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16096 void *argp1 = 0 ;
16097 int res1 = 0 ;
16098 PyObject *swig_obj[1] ;
16099
16100 if (!args) SWIG_fail;
16101 swig_obj[0] = args;
16102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16103 if (!SWIG_IsOK(res1)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16105 }
16106 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 delete arg1;
d55e5bfc 16110
1bd55598
RD
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 resultobj = SWIG_Py_Void();
16115 return resultobj;
16116fail:
16117 return NULL;
16118}
16119
16120
16121SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16122 PyObject *resultobj = 0;
16123 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16124 PyObject *arg2 = (PyObject *) 0 ;
16125 PyObject *arg3 = (PyObject *) 0 ;
c25f90f6 16126 int arg4 = (int) 0 ;
1bd55598
RD
16127 void *argp1 = 0 ;
16128 int res1 = 0 ;
16129 int val4 ;
16130 int ecode4 = 0 ;
16131 PyObject * obj0 = 0 ;
16132 PyObject * obj1 = 0 ;
16133 PyObject * obj2 = 0 ;
16134 PyObject * obj3 = 0 ;
16135 char * kwnames[] = {
16136 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16137 };
16138
c25f90f6 16139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
1bd55598
RD
16140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16141 if (!SWIG_IsOK(res1)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16143 }
16144 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16145 arg2 = obj1;
16146 arg3 = obj2;
c25f90f6
RD
16147 if (obj3) {
16148 ecode4 = SWIG_AsVal_int(obj3, &val4);
16149 if (!SWIG_IsOK(ecode4)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16151 }
16152 arg4 = static_cast< int >(val4);
16153 }
1bd55598
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16157 wxPyEndAllowThreads(__tstate);
16158 if (PyErr_Occurred()) SWIG_fail;
16159 }
16160 resultobj = SWIG_Py_Void();
16161 return resultobj;
16162fail:
16163 return NULL;
d55e5bfc
RD
16164}
16165
16166
1bd55598
RD
16167SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16168 PyObject *resultobj = 0;
16169 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16170 void *argp1 = 0 ;
16171 int res1 = 0 ;
16172 PyObject *swig_obj[1] ;
16173
16174 if (!args) SWIG_fail;
16175 swig_obj[0] = args;
16176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16177 if (!SWIG_IsOK(res1)) {
16178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16179 }
16180 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 wxPyTaskBarIcon_Destroy(arg1);
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 resultobj = SWIG_Py_Void();
16188 return resultobj;
16189fail:
16190 return NULL;
d55e5bfc
RD
16191}
16192
16193
1bd55598
RD
16194SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16195 PyObject *resultobj = 0;
16196 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16197 bool result;
16198 void *argp1 = 0 ;
16199 int res1 = 0 ;
16200 PyObject *swig_obj[1] ;
16201
16202 if (!args) SWIG_fail;
16203 swig_obj[0] = args;
16204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16205 if (!SWIG_IsOK(res1)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16207 }
16208 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16217 }
16218 return resultobj;
16219fail:
16220 return NULL;
d55e5bfc
RD
16221}
16222
16223
1bd55598
RD
16224SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16225 PyObject *resultobj = 0;
16226 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16227 bool result;
16228 void *argp1 = 0 ;
16229 int res1 = 0 ;
16230 PyObject *swig_obj[1] ;
16231
16232 if (!args) SWIG_fail;
16233 swig_obj[0] = args;
16234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16235 if (!SWIG_IsOK(res1)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16237 }
16238 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 {
16246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16247 }
16248 return resultobj;
16249fail:
16250 return NULL;
16251}
16252
16253
16254SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj = 0;
16256 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16257 wxIcon *arg2 = 0 ;
16258 wxString const &arg3_defvalue = wxPyEmptyString ;
16259 wxString *arg3 = (wxString *) &arg3_defvalue ;
16260 bool result;
16261 void *argp1 = 0 ;
16262 int res1 = 0 ;
16263 void *argp2 = 0 ;
16264 int res2 = 0 ;
16265 bool temp3 = false ;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 PyObject * obj2 = 0 ;
16269 char * kwnames[] = {
16270 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16271 };
16272
16273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16275 if (!SWIG_IsOK(res1)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16277 }
16278 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16279 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16280 if (!SWIG_IsOK(res2)) {
16281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16282 }
16283 if (!argp2) {
16284 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16285 }
16286 arg2 = reinterpret_cast< wxIcon * >(argp2);
16287 if (obj2) {
36ed4f51 16288 {
1bd55598
RD
16289 arg3 = wxString_in_helper(obj2);
16290 if (arg3 == NULL) SWIG_fail;
16291 temp3 = true;
36ed4f51 16292 }
1bd55598
RD
16293 }
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16302 }
16303 {
16304 if (temp3)
16305 delete arg3;
16306 }
16307 return resultobj;
16308fail:
16309 {
16310 if (temp3)
16311 delete arg3;
16312 }
16313 return NULL;
d55e5bfc
RD
16314}
16315
16316
1bd55598
RD
16317SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16318 PyObject *resultobj = 0;
16319 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16320 bool result;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 PyObject *swig_obj[1] ;
16324
16325 if (!args) SWIG_fail;
16326 swig_obj[0] = args;
16327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16328 if (!SWIG_IsOK(res1)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16330 }
16331 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 result = (bool)(arg1)->RemoveIcon();
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16340 }
16341 return resultobj;
16342fail:
16343 return NULL;
16344}
16345
16346
16347SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16348 PyObject *resultobj = 0;
16349 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16350 wxMenu *arg2 = (wxMenu *) 0 ;
16351 bool result;
16352 void *argp1 = 0 ;
16353 int res1 = 0 ;
16354 void *argp2 = 0 ;
16355 int res2 = 0 ;
16356 PyObject * obj0 = 0 ;
16357 PyObject * obj1 = 0 ;
16358 char * kwnames[] = {
16359 (char *) "self",(char *) "menu", NULL
16360 };
16361
16362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16364 if (!SWIG_IsOK(res1)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16366 }
16367 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16368 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16369 if (!SWIG_IsOK(res2)) {
16370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16371 }
16372 arg2 = reinterpret_cast< wxMenu * >(argp2);
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 result = (bool)(arg1)->PopupMenu(arg2);
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16381 }
16382 return resultobj;
16383fail:
16384 return NULL;
d55e5bfc
RD
16385}
16386
16387
1bd55598
RD
16388SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16389 PyObject *obj;
16390 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16392 return SWIG_Py_Void();
d55e5bfc
RD
16393}
16394
1bd55598
RD
16395SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16396 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16397}
16398
1bd55598
RD
16399SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj = 0;
16401 wxEventType arg1 ;
16402 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16403 wxTaskBarIconEvent *result = 0 ;
16404 int val1 ;
16405 int ecode1 = 0 ;
16406 void *argp2 = 0 ;
16407 int res2 = 0 ;
16408 PyObject * obj0 = 0 ;
16409 PyObject * obj1 = 0 ;
16410 char * kwnames[] = {
16411 (char *) "evtType",(char *) "tbIcon", NULL
16412 };
16413
16414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16415 ecode1 = SWIG_AsVal_int(obj0, &val1);
16416 if (!SWIG_IsOK(ecode1)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16418 }
16419 arg1 = static_cast< wxEventType >(val1);
16420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16421 if (!SWIG_IsOK(res2)) {
16422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16423 }
16424 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16432 return resultobj;
16433fail:
16434 return NULL;
d55e5bfc
RD
16435}
16436
16437
1bd55598
RD
16438SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16439 PyObject *obj;
16440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16442 return SWIG_Py_Void();
d55e5bfc
RD
16443}
16444
1bd55598
RD
16445SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16446 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16447}
16448
1bd55598
RD
16449SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16450 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16451 return 1;
d55e5bfc
RD
16452}
16453
16454
1bd55598
RD
16455SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16456 PyObject *pyobj = 0;
16457
16458 {
16459#if wxUSE_UNICODE
16460 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16461#else
16462 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16463#endif
16464 }
16465 return pyobj;
d55e5bfc
RD
16466}
16467
16468
1bd55598
RD
16469SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16470 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16471 return 1;
d55e5bfc
RD
16472}
16473
16474
1bd55598
RD
16475SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16476 PyObject *pyobj = 0;
16477
16478 {
16479#if wxUSE_UNICODE
16480 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16481#else
16482 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16483#endif
16484 }
16485 return pyobj;
d55e5bfc
RD
16486}
16487
16488
1bd55598
RD
16489SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16490 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16491 return 1;
d55e5bfc
RD
16492}
16493
16494
1bd55598
RD
16495SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16496 PyObject *pyobj = 0;
16497
16498 {
16499#if wxUSE_UNICODE
16500 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16501#else
16502 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16503#endif
16504 }
16505 return pyobj;
d55e5bfc
RD
16506}
16507
16508
1bd55598
RD
16509SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16510 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16511 return 1;
d55e5bfc
RD
16512}
16513
16514
1bd55598
RD
16515SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16516 PyObject *pyobj = 0;
16517
16518 {
16519#if wxUSE_UNICODE
16520 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16521#else
16522 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16523#endif
16524 }
16525 return pyobj;
d55e5bfc
RD
16526}
16527
16528
1bd55598
RD
16529SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16530 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16531 return 1;
d55e5bfc
RD
16532}
16533
16534
1bd55598
RD
16535SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16536 PyObject *pyobj = 0;
16537
16538 {
16539#if wxUSE_UNICODE
16540 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16541#else
16542 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16543#endif
16544 }
16545 return pyobj;
d55e5bfc
RD
16546}
16547
16548
1bd55598
RD
16549SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16550 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16551 return 1;
d55e5bfc
RD
16552}
16553
16554
1bd55598
RD
16555SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16556 PyObject *pyobj = 0;
16557
16558 {
16559#if wxUSE_UNICODE
16560 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16561#else
16562 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16563#endif
16564 }
16565 return pyobj;
d55e5bfc
RD
16566}
16567
16568
1bd55598
RD
16569SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16570 PyObject *resultobj = 0;
16571 wxColourData *result = 0 ;
16572
16573 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 result = (wxColourData *)new wxColourData();
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16581 return resultobj;
16582fail:
16583 return NULL;
d55e5bfc
RD
16584}
16585
16586
1bd55598
RD
16587SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16588 PyObject *resultobj = 0;
16589 wxColourData *arg1 = (wxColourData *) 0 ;
16590 void *argp1 = 0 ;
16591 int res1 = 0 ;
16592 PyObject *swig_obj[1] ;
16593
16594 if (!args) SWIG_fail;
16595 swig_obj[0] = args;
16596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16597 if (!SWIG_IsOK(res1)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16599 }
16600 arg1 = reinterpret_cast< wxColourData * >(argp1);
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 delete arg1;
d55e5bfc 16604
1bd55598
RD
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 resultobj = SWIG_Py_Void();
16609 return resultobj;
16610fail:
16611 return NULL;
d55e5bfc
RD
16612}
16613
16614
1bd55598
RD
16615SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16616 PyObject *resultobj = 0;
16617 wxColourData *arg1 = (wxColourData *) 0 ;
16618 bool result;
16619 void *argp1 = 0 ;
16620 int res1 = 0 ;
16621 PyObject *swig_obj[1] ;
16622
16623 if (!args) SWIG_fail;
16624 swig_obj[0] = args;
16625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16626 if (!SWIG_IsOK(res1)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16628 }
16629 arg1 = reinterpret_cast< wxColourData * >(argp1);
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 result = (bool)(arg1)->GetChooseFull();
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16638 }
16639 return resultobj;
16640fail:
16641 return NULL;
d55e5bfc
RD
16642}
16643
16644
1bd55598
RD
16645SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16646 PyObject *resultobj = 0;
16647 wxColourData *arg1 = (wxColourData *) 0 ;
16648 wxColour result;
16649 void *argp1 = 0 ;
16650 int res1 = 0 ;
16651 PyObject *swig_obj[1] ;
16652
16653 if (!args) SWIG_fail;
16654 swig_obj[0] = args;
16655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16656 if (!SWIG_IsOK(res1)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16658 }
16659 arg1 = reinterpret_cast< wxColourData * >(argp1);
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (arg1)->GetColour();
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16667 return resultobj;
16668fail:
16669 return NULL;
16670}
16671
16672
16673SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj = 0;
16675 wxColourData *arg1 = (wxColourData *) 0 ;
16676 int arg2 ;
16677 wxColour result;
16678 void *argp1 = 0 ;
16679 int res1 = 0 ;
16680 int val2 ;
16681 int ecode2 = 0 ;
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char * kwnames[] = {
16685 (char *) "self",(char *) "i", NULL
16686 };
16687
16688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16690 if (!SWIG_IsOK(res1)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16692 }
16693 arg1 = reinterpret_cast< wxColourData * >(argp1);
16694 ecode2 = SWIG_AsVal_int(obj1, &val2);
16695 if (!SWIG_IsOK(ecode2)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16697 }
16698 arg2 = static_cast< int >(val2);
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (arg1)->GetCustomColour(arg2);
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16706 return resultobj;
16707fail:
16708 return NULL;
16709}
16710
16711
16712SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj = 0;
16714 wxColourData *arg1 = (wxColourData *) 0 ;
16715 int arg2 ;
16716 void *argp1 = 0 ;
16717 int res1 = 0 ;
16718 int val2 ;
16719 int ecode2 = 0 ;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 char * kwnames[] = {
16723 (char *) "self",(char *) "flag", NULL
16724 };
16725
16726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16728 if (!SWIG_IsOK(res1)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16730 }
16731 arg1 = reinterpret_cast< wxColourData * >(argp1);
16732 ecode2 = SWIG_AsVal_int(obj1, &val2);
16733 if (!SWIG_IsOK(ecode2)) {
16734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16735 }
16736 arg2 = static_cast< int >(val2);
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 (arg1)->SetChooseFull(arg2);
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 resultobj = SWIG_Py_Void();
16744 return resultobj;
16745fail:
16746 return NULL;
16747}
16748
16749
16750SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj = 0;
16752 wxColourData *arg1 = (wxColourData *) 0 ;
16753 wxColour *arg2 = 0 ;
16754 void *argp1 = 0 ;
16755 int res1 = 0 ;
16756 wxColour temp2 ;
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char * kwnames[] = {
16760 (char *) "self",(char *) "colour", NULL
16761 };
16762
16763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16765 if (!SWIG_IsOK(res1)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16767 }
16768 arg1 = reinterpret_cast< wxColourData * >(argp1);
16769 {
16770 arg2 = &temp2;
16771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16772 }
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 (arg1)->SetColour((wxColour const &)*arg2);
16776 wxPyEndAllowThreads(__tstate);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 resultobj = SWIG_Py_Void();
16780 return resultobj;
16781fail:
16782 return NULL;
16783}
16784
16785
16786SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj = 0;
16788 wxColourData *arg1 = (wxColourData *) 0 ;
16789 int arg2 ;
16790 wxColour *arg3 = 0 ;
16791 void *argp1 = 0 ;
16792 int res1 = 0 ;
16793 int val2 ;
16794 int ecode2 = 0 ;
16795 wxColour temp3 ;
16796 PyObject * obj0 = 0 ;
16797 PyObject * obj1 = 0 ;
16798 PyObject * obj2 = 0 ;
16799 char * kwnames[] = {
16800 (char *) "self",(char *) "i",(char *) "colour", NULL
16801 };
16802
16803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16805 if (!SWIG_IsOK(res1)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16807 }
16808 arg1 = reinterpret_cast< wxColourData * >(argp1);
16809 ecode2 = SWIG_AsVal_int(obj1, &val2);
16810 if (!SWIG_IsOK(ecode2)) {
16811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16812 }
16813 arg2 = static_cast< int >(val2);
16814 {
16815 arg3 = &temp3;
16816 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16817 }
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 resultobj = SWIG_Py_Void();
16825 return resultobj;
16826fail:
16827 return NULL;
d55e5bfc
RD
16828}
16829
16830
1bd55598
RD
16831SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16832 PyObject *obj;
16833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16834 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16835 return SWIG_Py_Void();
d55e5bfc
RD
16836}
16837
1bd55598
RD
16838SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16839 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16840}
16841
1bd55598
RD
16842SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj = 0;
16844 wxWindow *arg1 = (wxWindow *) 0 ;
16845 wxColourData *arg2 = (wxColourData *) NULL ;
16846 wxColourDialog *result = 0 ;
16847 void *argp1 = 0 ;
16848 int res1 = 0 ;
16849 void *argp2 = 0 ;
16850 int res2 = 0 ;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 char * kwnames[] = {
16854 (char *) "parent",(char *) "data", NULL
16855 };
16856
16857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16859 if (!SWIG_IsOK(res1)) {
16860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16861 }
16862 arg1 = reinterpret_cast< wxWindow * >(argp1);
16863 if (obj1) {
16864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16865 if (!SWIG_IsOK(res2)) {
16866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 16867 }
1bd55598
RD
16868 arg2 = reinterpret_cast< wxColourData * >(argp2);
16869 }
16870 {
16871 if (!wxPyCheckForApp()) SWIG_fail;
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16878 return resultobj;
16879fail:
16880 return NULL;
d55e5bfc
RD
16881}
16882
16883
1bd55598
RD
16884SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16885 PyObject *resultobj = 0;
16886 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16887 wxColourData *result = 0 ;
16888 void *argp1 = 0 ;
16889 int res1 = 0 ;
16890 PyObject *swig_obj[1] ;
16891
16892 if (!args) SWIG_fail;
16893 swig_obj[0] = args;
16894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16895 if (!SWIG_IsOK(res1)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16897 }
16898 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 16901 {
1bd55598
RD
16902 wxColourData &_result_ref = (arg1)->GetColourData();
16903 result = (wxColourData *) &_result_ref;
d55e5bfc 16904 }
1bd55598
RD
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16909 return resultobj;
16910fail:
16911 return NULL;
16912}
16913
16914
16915SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16916 PyObject *obj;
16917 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16918 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16919 return SWIG_Py_Void();
16920}
16921
16922SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16923 return SWIG_Python_InitShadowInstance(args);
16924}
16925
16926SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj = 0;
16928 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16929 wxColour const &arg2_defvalue = wxNullColour ;
16930 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16931 wxString const &arg3_defvalue = wxPyEmptyString ;
16932 wxString *arg3 = (wxString *) &arg3_defvalue ;
16933 wxColour result;
16934 void *argp1 = 0 ;
16935 int res1 = 0 ;
16936 wxColour temp2 ;
16937 bool temp3 = false ;
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 PyObject * obj2 = 0 ;
16941 char * kwnames[] = {
16942 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16943 };
16944
16945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16946 if (obj0) {
16947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16948 if (!SWIG_IsOK(res1)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16950 }
1bd55598
RD
16951 arg1 = reinterpret_cast< wxWindow * >(argp1);
16952 }
16953 if (obj1) {
d55e5bfc 16954 {
1bd55598
RD
16955 arg2 = &temp2;
16956 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16957 }
1bd55598
RD
16958 }
16959 if (obj2) {
d55e5bfc 16960 {
1bd55598
RD
16961 arg3 = wxString_in_helper(obj2);
16962 if (arg3 == NULL) SWIG_fail;
16963 temp3 = true;
d55e5bfc 16964 }
1bd55598
RD
16965 }
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16973 {
16974 if (temp3)
16975 delete arg3;
16976 }
16977 return resultobj;
16978fail:
16979 {
16980 if (temp3)
16981 delete arg3;
16982 }
16983 return NULL;
16984}
16985
16986
16987SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj = 0;
16989 wxWindow *arg1 = (wxWindow *) 0 ;
16990 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16991 wxString *arg2 = (wxString *) &arg2_defvalue ;
16992 wxString const &arg3_defvalue = wxPyEmptyString ;
16993 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16994 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
16995 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16996 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16997 wxSize const &arg6_defvalue = wxDefaultSize ;
16998 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16999 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17000 wxString *arg7 = (wxString *) &arg7_defvalue ;
17001 wxDirDialog *result = 0 ;
17002 void *argp1 = 0 ;
17003 int res1 = 0 ;
17004 bool temp2 = false ;
17005 bool temp3 = false ;
17006 long val4 ;
17007 int ecode4 = 0 ;
17008 wxPoint temp5 ;
17009 wxSize temp6 ;
17010 bool temp7 = false ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 PyObject * obj2 = 0 ;
17014 PyObject * obj3 = 0 ;
17015 PyObject * obj4 = 0 ;
17016 PyObject * obj5 = 0 ;
17017 PyObject * obj6 = 0 ;
17018 char * kwnames[] = {
17019 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17020 };
17021
17022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17024 if (!SWIG_IsOK(res1)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17026 }
17027 arg1 = reinterpret_cast< wxWindow * >(argp1);
17028 if (obj1) {
d55e5bfc 17029 {
1bd55598
RD
17030 arg2 = wxString_in_helper(obj1);
17031 if (arg2 == NULL) SWIG_fail;
17032 temp2 = true;
d55e5bfc 17033 }
1bd55598
RD
17034 }
17035 if (obj2) {
d55e5bfc 17036 {
1bd55598
RD
17037 arg3 = wxString_in_helper(obj2);
17038 if (arg3 == NULL) SWIG_fail;
17039 temp3 = true;
d55e5bfc 17040 }
1bd55598
RD
17041 }
17042 if (obj3) {
17043 ecode4 = SWIG_AsVal_long(obj3, &val4);
17044 if (!SWIG_IsOK(ecode4)) {
17045 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17046 }
17047 arg4 = static_cast< long >(val4);
17048 }
17049 if (obj4) {
d55e5bfc 17050 {
1bd55598
RD
17051 arg5 = &temp5;
17052 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17053 }
1bd55598
RD
17054 }
17055 if (obj5) {
17056 {
17057 arg6 = &temp6;
17058 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17059 }
1bd55598
RD
17060 }
17061 if (obj6) {
d55e5bfc 17062 {
1bd55598
RD
17063 arg7 = wxString_in_helper(obj6);
17064 if (arg7 == NULL) SWIG_fail;
17065 temp7 = true;
17066 }
17067 }
17068 {
17069 if (!wxPyCheckForApp()) SWIG_fail;
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17076 {
17077 if (temp2)
17078 delete arg2;
17079 }
17080 {
17081 if (temp3)
17082 delete arg3;
17083 }
17084 {
17085 if (temp7)
17086 delete arg7;
17087 }
17088 return resultobj;
17089fail:
17090 {
17091 if (temp2)
17092 delete arg2;
17093 }
17094 {
17095 if (temp3)
17096 delete arg3;
17097 }
17098 {
17099 if (temp7)
17100 delete arg7;
17101 }
17102 return NULL;
d55e5bfc
RD
17103}
17104
17105
1bd55598
RD
17106SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17107 PyObject *resultobj = 0;
17108 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17109 wxString result;
17110 void *argp1 = 0 ;
17111 int res1 = 0 ;
17112 PyObject *swig_obj[1] ;
17113
17114 if (!args) SWIG_fail;
17115 swig_obj[0] = args;
17116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17117 if (!SWIG_IsOK(res1)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17119 }
17120 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (arg1)->GetPath();
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 {
17128#if wxUSE_UNICODE
17129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17130#else
17131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17132#endif
17133 }
17134 return resultobj;
17135fail:
17136 return NULL;
d55e5bfc
RD
17137}
17138
17139
1bd55598
RD
17140SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17141 PyObject *resultobj = 0;
17142 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17143 wxString result;
17144 void *argp1 = 0 ;
17145 int res1 = 0 ;
17146 PyObject *swig_obj[1] ;
17147
17148 if (!args) SWIG_fail;
17149 swig_obj[0] = args;
17150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17151 if (!SWIG_IsOK(res1)) {
17152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17153 }
17154 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (arg1)->GetMessage();
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 {
17162#if wxUSE_UNICODE
17163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17164#else
17165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17166#endif
17167 }
17168 return resultobj;
17169fail:
17170 return NULL;
d55e5bfc
RD
17171}
17172
17173
1bd55598
RD
17174SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj = 0;
17176 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17177 wxString *arg2 = 0 ;
17178 void *argp1 = 0 ;
17179 int res1 = 0 ;
17180 bool temp2 = false ;
17181 PyObject * obj0 = 0 ;
17182 PyObject * obj1 = 0 ;
17183 char * kwnames[] = {
17184 (char *) "self",(char *) "message", NULL
17185 };
17186
17187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17189 if (!SWIG_IsOK(res1)) {
17190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17191 }
17192 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17193 {
17194 arg2 = wxString_in_helper(obj1);
17195 if (arg2 == NULL) SWIG_fail;
17196 temp2 = true;
17197 }
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 (arg1)->SetMessage((wxString const &)*arg2);
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 resultobj = SWIG_Py_Void();
17205 {
17206 if (temp2)
17207 delete arg2;
17208 }
17209 return resultobj;
17210fail:
17211 {
17212 if (temp2)
17213 delete arg2;
17214 }
17215 return NULL;
d55e5bfc
RD
17216}
17217
17218
1bd55598
RD
17219SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj = 0;
17221 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17222 wxString *arg2 = 0 ;
17223 void *argp1 = 0 ;
17224 int res1 = 0 ;
17225 bool temp2 = false ;
17226 PyObject * obj0 = 0 ;
17227 PyObject * obj1 = 0 ;
17228 char * kwnames[] = {
17229 (char *) "self",(char *) "path", NULL
17230 };
17231
17232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17234 if (!SWIG_IsOK(res1)) {
17235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17236 }
17237 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17238 {
17239 arg2 = wxString_in_helper(obj1);
17240 if (arg2 == NULL) SWIG_fail;
17241 temp2 = true;
17242 }
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 (arg1)->SetPath((wxString const &)*arg2);
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = SWIG_Py_Void();
17250 {
17251 if (temp2)
17252 delete arg2;
17253 }
17254 return resultobj;
17255fail:
17256 {
17257 if (temp2)
17258 delete arg2;
17259 }
17260 return NULL;
17261}
17262
17263
17264SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17265 PyObject *obj;
17266 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17267 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17268 return SWIG_Py_Void();
17269}
17270
17271SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17272 return SWIG_Python_InitShadowInstance(args);
17273}
17274
17275SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17276 PyObject *resultobj = 0;
17277 wxWindow *arg1 = (wxWindow *) 0 ;
17278 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17279 wxString *arg2 = (wxString *) &arg2_defvalue ;
17280 wxString const &arg3_defvalue = wxPyEmptyString ;
17281 wxString *arg3 = (wxString *) &arg3_defvalue ;
17282 wxString const &arg4_defvalue = wxPyEmptyString ;
17283 wxString *arg4 = (wxString *) &arg4_defvalue ;
17284 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17285 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17286 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
17287 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17288 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17289 wxFileDialog *result = 0 ;
17290 void *argp1 = 0 ;
17291 int res1 = 0 ;
17292 bool temp2 = false ;
17293 bool temp3 = false ;
17294 bool temp4 = false ;
17295 bool temp5 = false ;
17296 long val6 ;
17297 int ecode6 = 0 ;
17298 wxPoint temp7 ;
17299 PyObject * obj0 = 0 ;
17300 PyObject * obj1 = 0 ;
17301 PyObject * obj2 = 0 ;
17302 PyObject * obj3 = 0 ;
17303 PyObject * obj4 = 0 ;
17304 PyObject * obj5 = 0 ;
17305 PyObject * obj6 = 0 ;
17306 char * kwnames[] = {
17307 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17308 };
17309
17310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17312 if (!SWIG_IsOK(res1)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17314 }
17315 arg1 = reinterpret_cast< wxWindow * >(argp1);
17316 if (obj1) {
d55e5bfc 17317 {
1bd55598
RD
17318 arg2 = wxString_in_helper(obj1);
17319 if (arg2 == NULL) SWIG_fail;
17320 temp2 = true;
d55e5bfc 17321 }
1bd55598
RD
17322 }
17323 if (obj2) {
17324 {
17325 arg3 = wxString_in_helper(obj2);
17326 if (arg3 == NULL) SWIG_fail;
17327 temp3 = true;
d55e5bfc 17328 }
1bd55598
RD
17329 }
17330 if (obj3) {
d55e5bfc 17331 {
1bd55598
RD
17332 arg4 = wxString_in_helper(obj3);
17333 if (arg4 == NULL) SWIG_fail;
17334 temp4 = true;
17335 }
17336 }
17337 if (obj4) {
d55e5bfc 17338 {
1bd55598
RD
17339 arg5 = wxString_in_helper(obj4);
17340 if (arg5 == NULL) SWIG_fail;
17341 temp5 = true;
d55e5bfc 17342 }
1bd55598
RD
17343 }
17344 if (obj5) {
17345 ecode6 = SWIG_AsVal_long(obj5, &val6);
17346 if (!SWIG_IsOK(ecode6)) {
17347 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17348 }
17349 arg6 = static_cast< long >(val6);
17350 }
17351 if (obj6) {
d55e5bfc 17352 {
1bd55598
RD
17353 arg7 = &temp7;
17354 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17355 }
1bd55598
RD
17356 }
17357 {
17358 if (!wxPyCheckForApp()) SWIG_fail;
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17365 {
17366 if (temp2)
17367 delete arg2;
17368 }
17369 {
17370 if (temp3)
17371 delete arg3;
17372 }
17373 {
17374 if (temp4)
17375 delete arg4;
17376 }
17377 {
17378 if (temp5)
17379 delete arg5;
17380 }
17381 return resultobj;
17382fail:
17383 {
17384 if (temp2)
17385 delete arg2;
17386 }
17387 {
17388 if (temp3)
17389 delete arg3;
17390 }
17391 {
17392 if (temp4)
17393 delete arg4;
17394 }
17395 {
17396 if (temp5)
17397 delete arg5;
17398 }
17399 return NULL;
d55e5bfc
RD
17400}
17401
17402
1bd55598
RD
17403SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj = 0;
17405 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17406 wxString *arg2 = 0 ;
17407 void *argp1 = 0 ;
17408 int res1 = 0 ;
17409 bool temp2 = false ;
17410 PyObject * obj0 = 0 ;
17411 PyObject * obj1 = 0 ;
17412 char * kwnames[] = {
17413 (char *) "self",(char *) "message", NULL
17414 };
17415
17416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17418 if (!SWIG_IsOK(res1)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17420 }
17421 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17422 {
17423 arg2 = wxString_in_helper(obj1);
17424 if (arg2 == NULL) SWIG_fail;
17425 temp2 = true;
17426 }
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 (arg1)->SetMessage((wxString const &)*arg2);
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 resultobj = SWIG_Py_Void();
17434 {
17435 if (temp2)
17436 delete arg2;
17437 }
17438 return resultobj;
17439fail:
17440 {
17441 if (temp2)
17442 delete arg2;
17443 }
17444 return NULL;
d55e5bfc
RD
17445}
17446
17447
1bd55598
RD
17448SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj = 0;
17450 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17451 wxString *arg2 = 0 ;
17452 void *argp1 = 0 ;
17453 int res1 = 0 ;
17454 bool temp2 = false ;
17455 PyObject * obj0 = 0 ;
17456 PyObject * obj1 = 0 ;
17457 char * kwnames[] = {
17458 (char *) "self",(char *) "path", NULL
17459 };
17460
17461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17463 if (!SWIG_IsOK(res1)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17465 }
17466 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17467 {
17468 arg2 = wxString_in_helper(obj1);
17469 if (arg2 == NULL) SWIG_fail;
17470 temp2 = true;
17471 }
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 (arg1)->SetPath((wxString const &)*arg2);
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 resultobj = SWIG_Py_Void();
17479 {
17480 if (temp2)
17481 delete arg2;
17482 }
17483 return resultobj;
17484fail:
17485 {
17486 if (temp2)
17487 delete arg2;
17488 }
17489 return NULL;
d55e5bfc
RD
17490}
17491
17492
1bd55598
RD
17493SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj = 0;
17495 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17496 wxString *arg2 = 0 ;
17497 void *argp1 = 0 ;
17498 int res1 = 0 ;
17499 bool temp2 = false ;
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 char * kwnames[] = {
17503 (char *) "self",(char *) "dir", NULL
17504 };
17505
17506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17508 if (!SWIG_IsOK(res1)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17510 }
17511 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17512 {
17513 arg2 = wxString_in_helper(obj1);
17514 if (arg2 == NULL) SWIG_fail;
17515 temp2 = true;
17516 }
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 (arg1)->SetDirectory((wxString const &)*arg2);
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 resultobj = SWIG_Py_Void();
17524 {
17525 if (temp2)
17526 delete arg2;
17527 }
17528 return resultobj;
17529fail:
17530 {
17531 if (temp2)
17532 delete arg2;
17533 }
17534 return NULL;
d55e5bfc
RD
17535}
17536
17537
1bd55598
RD
17538SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj = 0;
17540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17541 wxString *arg2 = 0 ;
17542 void *argp1 = 0 ;
17543 int res1 = 0 ;
17544 bool temp2 = false ;
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 char * kwnames[] = {
17548 (char *) "self",(char *) "name", NULL
17549 };
17550
17551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17553 if (!SWIG_IsOK(res1)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17555 }
17556 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17557 {
17558 arg2 = wxString_in_helper(obj1);
17559 if (arg2 == NULL) SWIG_fail;
17560 temp2 = true;
17561 }
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 (arg1)->SetFilename((wxString const &)*arg2);
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 resultobj = SWIG_Py_Void();
17569 {
17570 if (temp2)
17571 delete arg2;
17572 }
17573 return resultobj;
17574fail:
17575 {
17576 if (temp2)
17577 delete arg2;
17578 }
17579 return NULL;
d55e5bfc
RD
17580}
17581
17582
1bd55598
RD
17583SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj = 0;
17585 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17586 wxString *arg2 = 0 ;
17587 void *argp1 = 0 ;
17588 int res1 = 0 ;
17589 bool temp2 = false ;
17590 PyObject * obj0 = 0 ;
17591 PyObject * obj1 = 0 ;
17592 char * kwnames[] = {
17593 (char *) "self",(char *) "wildCard", NULL
17594 };
17595
17596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17598 if (!SWIG_IsOK(res1)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17600 }
17601 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17602 {
17603 arg2 = wxString_in_helper(obj1);
17604 if (arg2 == NULL) SWIG_fail;
17605 temp2 = true;
17606 }
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->SetWildcard((wxString const &)*arg2);
17610 wxPyEndAllowThreads(__tstate);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
17613 resultobj = SWIG_Py_Void();
17614 {
17615 if (temp2)
17616 delete arg2;
17617 }
17618 return resultobj;
17619fail:
17620 {
17621 if (temp2)
17622 delete arg2;
17623 }
17624 return NULL;
17625}
17626
17627
1bd55598
RD
17628SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj = 0;
17630 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17631 int arg2 ;
17632 void *argp1 = 0 ;
17633 int res1 = 0 ;
17634 int val2 ;
17635 int ecode2 = 0 ;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 char * kwnames[] = {
17639 (char *) "self",(char *) "filterIndex", NULL
17640 };
17641
17642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17644 if (!SWIG_IsOK(res1)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17646 }
17647 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17648 ecode2 = SWIG_AsVal_int(obj1, &val2);
17649 if (!SWIG_IsOK(ecode2)) {
17650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17651 }
17652 arg2 = static_cast< int >(val2);
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SetFilterIndex(arg2);
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = SWIG_Py_Void();
17660 return resultobj;
17661fail:
17662 return NULL;
d55e5bfc
RD
17663}
17664
17665
1bd55598
RD
17666SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17667 PyObject *resultobj = 0;
17668 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17669 wxString result;
17670 void *argp1 = 0 ;
17671 int res1 = 0 ;
17672 PyObject *swig_obj[1] ;
17673
17674 if (!args) SWIG_fail;
17675 swig_obj[0] = args;
17676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17677 if (!SWIG_IsOK(res1)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17679 }
17680 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = ((wxFileDialog const *)arg1)->GetMessage();
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 {
17688#if wxUSE_UNICODE
17689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17690#else
17691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17692#endif
17693 }
17694 return resultobj;
17695fail:
17696 return NULL;
d55e5bfc
RD
17697}
17698
17699
1bd55598
RD
17700SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17701 PyObject *resultobj = 0;
17702 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17703 wxString result;
17704 void *argp1 = 0 ;
17705 int res1 = 0 ;
17706 PyObject *swig_obj[1] ;
17707
17708 if (!args) SWIG_fail;
17709 swig_obj[0] = args;
17710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17711 if (!SWIG_IsOK(res1)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17713 }
17714 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = ((wxFileDialog const *)arg1)->GetPath();
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 {
17722#if wxUSE_UNICODE
17723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17724#else
17725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17726#endif
17727 }
17728 return resultobj;
17729fail:
17730 return NULL;
d55e5bfc
RD
17731}
17732
17733
1bd55598
RD
17734SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17735 PyObject *resultobj = 0;
17736 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17737 wxString result;
17738 void *argp1 = 0 ;
17739 int res1 = 0 ;
17740 PyObject *swig_obj[1] ;
17741
17742 if (!args) SWIG_fail;
17743 swig_obj[0] = args;
17744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17745 if (!SWIG_IsOK(res1)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17747 }
17748 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = ((wxFileDialog const *)arg1)->GetDirectory();
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 {
17756#if wxUSE_UNICODE
17757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17758#else
17759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17760#endif
17761 }
17762 return resultobj;
17763fail:
17764 return NULL;
d55e5bfc
RD
17765}
17766
17767
1bd55598
RD
17768SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17769 PyObject *resultobj = 0;
17770 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17771 wxString result;
17772 void *argp1 = 0 ;
17773 int res1 = 0 ;
17774 PyObject *swig_obj[1] ;
17775
17776 if (!args) SWIG_fail;
17777 swig_obj[0] = args;
17778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17779 if (!SWIG_IsOK(res1)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17781 }
17782 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 result = ((wxFileDialog const *)arg1)->GetFilename();
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 {
17790#if wxUSE_UNICODE
17791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17792#else
17793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17794#endif
17795 }
17796 return resultobj;
17797fail:
17798 return NULL;
d55e5bfc
RD
17799}
17800
17801
1bd55598
RD
17802SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17803 PyObject *resultobj = 0;
17804 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17805 wxString result;
17806 void *argp1 = 0 ;
17807 int res1 = 0 ;
17808 PyObject *swig_obj[1] ;
17809
17810 if (!args) SWIG_fail;
17811 swig_obj[0] = args;
17812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17813 if (!SWIG_IsOK(res1)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17815 }
17816 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 result = ((wxFileDialog const *)arg1)->GetWildcard();
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 {
17824#if wxUSE_UNICODE
17825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17826#else
17827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17828#endif
17829 }
17830 return resultobj;
17831fail:
17832 return NULL;
d55e5bfc
RD
17833}
17834
17835
1bd55598
RD
17836SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17837 PyObject *resultobj = 0;
17838 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17839 int result;
17840 void *argp1 = 0 ;
17841 int res1 = 0 ;
17842 PyObject *swig_obj[1] ;
17843
17844 if (!args) SWIG_fail;
17845 swig_obj[0] = args;
17846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17847 if (!SWIG_IsOK(res1)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17849 }
17850 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 resultobj = SWIG_From_int(static_cast< int >(result));
17858 return resultobj;
17859fail:
17860 return NULL;
d55e5bfc
RD
17861}
17862
17863
1bd55598
RD
17864SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17865 PyObject *resultobj = 0;
17866 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17867 PyObject *result = 0 ;
17868 void *argp1 = 0 ;
17869 int res1 = 0 ;
17870 PyObject *swig_obj[1] ;
17871
17872 if (!args) SWIG_fail;
17873 swig_obj[0] = args;
17874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17875 if (!SWIG_IsOK(res1)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17877 }
17878 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 resultobj = result;
17886 return resultobj;
17887fail:
17888 return NULL;
d55e5bfc
RD
17889}
17890
17891
1bd55598
RD
17892SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17893 PyObject *resultobj = 0;
17894 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17895 PyObject *result = 0 ;
17896 void *argp1 = 0 ;
17897 int res1 = 0 ;
17898 PyObject *swig_obj[1] ;
17899
17900 if (!args) SWIG_fail;
17901 swig_obj[0] = args;
17902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17903 if (!SWIG_IsOK(res1)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17905 }
17906 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 resultobj = result;
17914 return resultobj;
17915fail:
17916 return NULL;
17917}
17918
17919
17920SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17921 PyObject *obj;
17922 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17923 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17924 return SWIG_Py_Void();
17925}
17926
17927SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17928 return SWIG_Python_InitShadowInstance(args);
17929}
17930
17931SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj = 0;
17933 wxWindow *arg1 = (wxWindow *) 0 ;
17934 wxString *arg2 = 0 ;
17935 wxString *arg3 = 0 ;
17936 int arg4 = (int) 0 ;
17937 wxString *arg5 = (wxString *) NULL ;
17938 long arg6 = (long) wxCHOICEDLG_STYLE ;
17939 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17940 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17941 wxMultiChoiceDialog *result = 0 ;
17942 void *argp1 = 0 ;
17943 int res1 = 0 ;
17944 bool temp2 = false ;
17945 bool temp3 = false ;
17946 long val6 ;
17947 int ecode6 = 0 ;
17948 wxPoint temp7 ;
17949 PyObject * obj0 = 0 ;
17950 PyObject * obj1 = 0 ;
17951 PyObject * obj2 = 0 ;
17952 PyObject * obj3 = 0 ;
17953 PyObject * obj4 = 0 ;
17954 PyObject * obj5 = 0 ;
17955 char * kwnames[] = {
17956 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17957 };
17958
17959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17961 if (!SWIG_IsOK(res1)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17963 }
17964 arg1 = reinterpret_cast< wxWindow * >(argp1);
17965 {
17966 arg2 = wxString_in_helper(obj1);
17967 if (arg2 == NULL) SWIG_fail;
17968 temp2 = true;
17969 }
17970 {
17971 arg3 = wxString_in_helper(obj2);
17972 if (arg3 == NULL) SWIG_fail;
17973 temp3 = true;
17974 }
17975 if (obj3) {
d55e5bfc 17976 {
1bd55598
RD
17977 arg4 = PyList_Size(obj3);
17978 arg5 = wxString_LIST_helper(obj3);
17979 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17980 }
1bd55598
RD
17981 }
17982 if (obj4) {
17983 ecode6 = SWIG_AsVal_long(obj4, &val6);
17984 if (!SWIG_IsOK(ecode6)) {
17985 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17986 }
17987 arg6 = static_cast< long >(val6);
17988 }
17989 if (obj5) {
36ed4f51 17990 {
1bd55598
RD
17991 arg7 = &temp7;
17992 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17993 }
1bd55598
RD
17994 }
17995 {
17996 if (!wxPyCheckForApp()) SWIG_fail;
17997 PyThreadState* __tstate = wxPyBeginAllowThreads();
17998 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18003 {
18004 if (temp2)
18005 delete arg2;
18006 }
18007 {
18008 if (temp3)
18009 delete arg3;
18010 }
18011 {
18012 if (arg5) delete [] arg5;
18013 }
18014 return resultobj;
18015fail:
18016 {
18017 if (temp2)
18018 delete arg2;
18019 }
18020 {
18021 if (temp3)
18022 delete arg3;
18023 }
18024 {
18025 if (arg5) delete [] arg5;
18026 }
18027 return NULL;
d55e5bfc
RD
18028}
18029
18030
1bd55598
RD
18031SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj = 0;
18033 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18034 wxArrayInt *arg2 = 0 ;
18035 void *argp1 = 0 ;
18036 int res1 = 0 ;
18037 bool temp2 = false ;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char * kwnames[] = {
18041 (char *) "self",(char *) "selections", NULL
18042 };
18043
18044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18046 if (!SWIG_IsOK(res1)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18048 }
18049 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18050 {
18051 if (! PySequence_Check(obj1)) {
18052 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18053 SWIG_fail;
18054 }
18055 arg2 = new wxArrayInt;
18056 temp2 = true;
18057 int i, len=PySequence_Length(obj1);
18058 for (i=0; i<len; i++) {
18059 PyObject* item = PySequence_GetItem(obj1, i);
18060 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
18061 if (!number) {
18062 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18063 SWIG_fail;
18064 }
1bd55598
RD
18065 arg2->Add(PyInt_AS_LONG(number));
18066 Py_DECREF(item);
18067 Py_DECREF(number);
36ed4f51 18068 }
1bd55598
RD
18069 }
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 resultobj = SWIG_Py_Void();
18077 {
18078 if (temp2) delete arg2;
18079 }
18080 return resultobj;
18081fail:
18082 {
18083 if (temp2) delete arg2;
18084 }
18085 return NULL;
d55e5bfc
RD
18086}
18087
18088
1bd55598
RD
18089SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18090 PyObject *resultobj = 0;
18091 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18092 PyObject *result = 0 ;
18093 void *argp1 = 0 ;
18094 int res1 = 0 ;
18095 PyObject *swig_obj[1] ;
18096
18097 if (!args) SWIG_fail;
18098 swig_obj[0] = args;
18099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18100 if (!SWIG_IsOK(res1)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18102 }
18103 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = result;
18111 return resultobj;
18112fail:
18113 return NULL;
18114}
18115
18116
18117SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18118 PyObject *obj;
18119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18120 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18121 return SWIG_Py_Void();
18122}
18123
18124SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18125 return SWIG_Python_InitShadowInstance(args);
18126}
18127
18128SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj = 0;
18130 wxWindow *arg1 = (wxWindow *) 0 ;
18131 wxString *arg2 = 0 ;
18132 wxString *arg3 = 0 ;
18133 int arg4 ;
18134 wxString *arg5 = (wxString *) 0 ;
18135 long arg6 = (long) wxCHOICEDLG_STYLE ;
18136 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18137 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18138 wxSingleChoiceDialog *result = 0 ;
18139 void *argp1 = 0 ;
18140 int res1 = 0 ;
18141 bool temp2 = false ;
18142 bool temp3 = false ;
18143 long val6 ;
18144 int ecode6 = 0 ;
18145 wxPoint temp7 ;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 PyObject * obj2 = 0 ;
18149 PyObject * obj3 = 0 ;
18150 PyObject * obj4 = 0 ;
18151 PyObject * obj5 = 0 ;
18152 char * kwnames[] = {
18153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18154 };
18155
18156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18158 if (!SWIG_IsOK(res1)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18160 }
18161 arg1 = reinterpret_cast< wxWindow * >(argp1);
18162 {
18163 arg2 = wxString_in_helper(obj1);
18164 if (arg2 == NULL) SWIG_fail;
18165 temp2 = true;
18166 }
18167 {
18168 arg3 = wxString_in_helper(obj2);
18169 if (arg3 == NULL) SWIG_fail;
18170 temp3 = true;
18171 }
18172 {
18173 arg4 = PyList_Size(obj3);
18174 arg5 = wxString_LIST_helper(obj3);
18175 if (arg5 == NULL) SWIG_fail;
18176 }
18177 if (obj4) {
18178 ecode6 = SWIG_AsVal_long(obj4, &val6);
18179 if (!SWIG_IsOK(ecode6)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18181 }
18182 arg6 = static_cast< long >(val6);
18183 }
18184 if (obj5) {
36ed4f51 18185 {
1bd55598
RD
18186 arg7 = &temp7;
18187 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 18188 }
1bd55598
RD
18189 }
18190 {
18191 if (!wxPyCheckForApp()) SWIG_fail;
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18198 {
18199 if (temp2)
18200 delete arg2;
18201 }
18202 {
18203 if (temp3)
18204 delete arg3;
18205 }
18206 {
18207 if (arg5) delete [] arg5;
18208 }
18209 return resultobj;
18210fail:
18211 {
18212 if (temp2)
18213 delete arg2;
18214 }
18215 {
18216 if (temp3)
18217 delete arg3;
18218 }
18219 {
18220 if (arg5) delete [] arg5;
18221 }
18222 return NULL;
d55e5bfc
RD
18223}
18224
18225
1bd55598
RD
18226SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18227 PyObject *resultobj = 0;
18228 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18229 int result;
18230 void *argp1 = 0 ;
18231 int res1 = 0 ;
18232 PyObject *swig_obj[1] ;
18233
18234 if (!args) SWIG_fail;
18235 swig_obj[0] = args;
18236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18237 if (!SWIG_IsOK(res1)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18239 }
18240 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 result = (int)(arg1)->GetSelection();
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = SWIG_From_int(static_cast< int >(result));
18248 return resultobj;
18249fail:
18250 return NULL;
d55e5bfc
RD
18251}
18252
18253
1bd55598
RD
18254SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18255 PyObject *resultobj = 0;
18256 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18257 wxString result;
18258 void *argp1 = 0 ;
18259 int res1 = 0 ;
18260 PyObject *swig_obj[1] ;
18261
18262 if (!args) SWIG_fail;
18263 swig_obj[0] = args;
18264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18265 if (!SWIG_IsOK(res1)) {
18266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18267 }
18268 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 result = (arg1)->GetStringSelection();
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 {
18276#if wxUSE_UNICODE
18277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18278#else
18279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18280#endif
18281 }
18282 return resultobj;
18283fail:
18284 return NULL;
18285}
18286
18287
18288SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj = 0;
18290 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18291 int arg2 ;
18292 void *argp1 = 0 ;
18293 int res1 = 0 ;
18294 int val2 ;
18295 int ecode2 = 0 ;
18296 PyObject * obj0 = 0 ;
18297 PyObject * obj1 = 0 ;
18298 char * kwnames[] = {
18299 (char *) "self",(char *) "sel", NULL
18300 };
18301
18302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18304 if (!SWIG_IsOK(res1)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18306 }
18307 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18308 ecode2 = SWIG_AsVal_int(obj1, &val2);
18309 if (!SWIG_IsOK(ecode2)) {
18310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18311 }
18312 arg2 = static_cast< int >(val2);
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 (arg1)->SetSelection(arg2);
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 resultobj = SWIG_Py_Void();
18320 return resultobj;
18321fail:
18322 return NULL;
18323}
18324
18325
18326SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18327 PyObject *obj;
18328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18329 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18330 return SWIG_Py_Void();
18331}
18332
18333SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18334 return SWIG_Python_InitShadowInstance(args);
18335}
18336
18337SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj = 0;
18339 wxWindow *arg1 = (wxWindow *) 0 ;
18340 wxString *arg2 = 0 ;
18341 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18342 wxString *arg3 = (wxString *) &arg3_defvalue ;
18343 wxString const &arg4_defvalue = wxPyEmptyString ;
18344 wxString *arg4 = (wxString *) &arg4_defvalue ;
18345 long arg5 = (long) wxTextEntryDialogStyle ;
18346 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18347 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18348 wxTextEntryDialog *result = 0 ;
18349 void *argp1 = 0 ;
18350 int res1 = 0 ;
18351 bool temp2 = false ;
18352 bool temp3 = false ;
18353 bool temp4 = false ;
18354 long val5 ;
18355 int ecode5 = 0 ;
18356 wxPoint temp6 ;
18357 PyObject * obj0 = 0 ;
18358 PyObject * obj1 = 0 ;
18359 PyObject * obj2 = 0 ;
18360 PyObject * obj3 = 0 ;
18361 PyObject * obj4 = 0 ;
18362 PyObject * obj5 = 0 ;
18363 char * kwnames[] = {
18364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18365 };
18366
18367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18369 if (!SWIG_IsOK(res1)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18371 }
18372 arg1 = reinterpret_cast< wxWindow * >(argp1);
18373 {
18374 arg2 = wxString_in_helper(obj1);
18375 if (arg2 == NULL) SWIG_fail;
18376 temp2 = true;
18377 }
18378 if (obj2) {
36ed4f51 18379 {
1bd55598
RD
18380 arg3 = wxString_in_helper(obj2);
18381 if (arg3 == NULL) SWIG_fail;
18382 temp3 = true;
36ed4f51 18383 }
1bd55598
RD
18384 }
18385 if (obj3) {
d55e5bfc 18386 {
1bd55598
RD
18387 arg4 = wxString_in_helper(obj3);
18388 if (arg4 == NULL) SWIG_fail;
18389 temp4 = true;
d55e5bfc 18390 }
1bd55598
RD
18391 }
18392 if (obj4) {
18393 ecode5 = SWIG_AsVal_long(obj4, &val5);
18394 if (!SWIG_IsOK(ecode5)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18396 }
18397 arg5 = static_cast< long >(val5);
18398 }
18399 if (obj5) {
d55e5bfc 18400 {
1bd55598
RD
18401 arg6 = &temp6;
18402 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18403 }
1bd55598
RD
18404 }
18405 {
18406 if (!wxPyCheckForApp()) SWIG_fail;
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18413 {
18414 if (temp2)
18415 delete arg2;
18416 }
18417 {
18418 if (temp3)
18419 delete arg3;
18420 }
18421 {
18422 if (temp4)
18423 delete arg4;
18424 }
18425 return resultobj;
18426fail:
18427 {
18428 if (temp2)
18429 delete arg2;
18430 }
18431 {
18432 if (temp3)
18433 delete arg3;
18434 }
18435 {
18436 if (temp4)
18437 delete arg4;
18438 }
18439 return NULL;
d55e5bfc
RD
18440}
18441
18442
1bd55598
RD
18443SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18444 PyObject *resultobj = 0;
18445 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18446 wxString result;
18447 void *argp1 = 0 ;
18448 int res1 = 0 ;
18449 PyObject *swig_obj[1] ;
18450
18451 if (!args) SWIG_fail;
18452 swig_obj[0] = args;
18453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18454 if (!SWIG_IsOK(res1)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18456 }
18457 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (arg1)->GetValue();
18461 wxPyEndAllowThreads(__tstate);
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 {
18465#if wxUSE_UNICODE
18466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18467#else
18468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18469#endif
18470 }
18471 return resultobj;
18472fail:
18473 return NULL;
18474}
18475
18476
18477SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj = 0;
18479 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18480 wxString *arg2 = 0 ;
18481 void *argp1 = 0 ;
18482 int res1 = 0 ;
18483 bool temp2 = false ;
18484 PyObject * obj0 = 0 ;
18485 PyObject * obj1 = 0 ;
18486 char * kwnames[] = {
18487 (char *) "self",(char *) "value", NULL
18488 };
18489
18490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18492 if (!SWIG_IsOK(res1)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18494 }
18495 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18496 {
18497 arg2 = wxString_in_helper(obj1);
18498 if (arg2 == NULL) SWIG_fail;
18499 temp2 = true;
18500 }
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 (arg1)->SetValue((wxString const &)*arg2);
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 resultobj = SWIG_Py_Void();
18508 {
18509 if (temp2)
18510 delete arg2;
18511 }
18512 return resultobj;
18513fail:
18514 {
18515 if (temp2)
18516 delete arg2;
18517 }
18518 return NULL;
7993762b
RD
18519}
18520
18521
1bd55598
RD
18522SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18523 PyObject *obj;
18524 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18525 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18526 return SWIG_Py_Void();
7993762b
RD
18527}
18528
1bd55598
RD
18529SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18530 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 18531}
1bd55598
RD
18532
18533SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18534 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18535 return 1;
d55e5bfc
RD
18536}
18537
18538
1bd55598
RD
18539SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18540 PyObject *pyobj = 0;
18541
18542 {
d55e5bfc 18543#if wxUSE_UNICODE
1bd55598 18544 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18545#else
1bd55598 18546 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18547#endif
1bd55598
RD
18548 }
18549 return pyobj;
18550}
18551
18552
18553SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj = 0;
18555 wxWindow *arg1 = (wxWindow *) 0 ;
18556 wxString *arg2 = 0 ;
18557 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18558 wxString *arg3 = (wxString *) &arg3_defvalue ;
18559 wxString const &arg4_defvalue = wxPyEmptyString ;
18560 wxString *arg4 = (wxString *) &arg4_defvalue ;
18561 long arg5 = (long) wxTextEntryDialogStyle ;
18562 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18563 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18564 wxPasswordEntryDialog *result = 0 ;
18565 void *argp1 = 0 ;
18566 int res1 = 0 ;
18567 bool temp2 = false ;
18568 bool temp3 = false ;
18569 bool temp4 = false ;
18570 long val5 ;
18571 int ecode5 = 0 ;
18572 wxPoint temp6 ;
18573 PyObject * obj0 = 0 ;
18574 PyObject * obj1 = 0 ;
18575 PyObject * obj2 = 0 ;
18576 PyObject * obj3 = 0 ;
18577 PyObject * obj4 = 0 ;
18578 PyObject * obj5 = 0 ;
18579 char * kwnames[] = {
18580 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18581 };
18582
18583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18585 if (!SWIG_IsOK(res1)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18587 }
18588 arg1 = reinterpret_cast< wxWindow * >(argp1);
18589 {
18590 arg2 = wxString_in_helper(obj1);
18591 if (arg2 == NULL) SWIG_fail;
18592 temp2 = true;
18593 }
18594 if (obj2) {
d55e5bfc 18595 {
1bd55598
RD
18596 arg3 = wxString_in_helper(obj2);
18597 if (arg3 == NULL) SWIG_fail;
18598 temp3 = true;
d55e5bfc 18599 }
1bd55598
RD
18600 }
18601 if (obj3) {
d55e5bfc 18602 {
1bd55598
RD
18603 arg4 = wxString_in_helper(obj3);
18604 if (arg4 == NULL) SWIG_fail;
18605 temp4 = true;
d55e5bfc 18606 }
1bd55598
RD
18607 }
18608 if (obj4) {
18609 ecode5 = SWIG_AsVal_long(obj4, &val5);
18610 if (!SWIG_IsOK(ecode5)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18612 }
18613 arg5 = static_cast< long >(val5);
18614 }
18615 if (obj5) {
d55e5bfc 18616 {
1bd55598
RD
18617 arg6 = &temp6;
18618 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18619 }
18620 }
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18628 {
18629 if (temp2)
18630 delete arg2;
18631 }
18632 {
18633 if (temp3)
18634 delete arg3;
18635 }
18636 {
18637 if (temp4)
18638 delete arg4;
18639 }
18640 return resultobj;
18641fail:
18642 {
18643 if (temp2)
18644 delete arg2;
18645 }
18646 {
18647 if (temp3)
18648 delete arg3;
18649 }
18650 {
18651 if (temp4)
18652 delete arg4;
18653 }
18654 return NULL;
d55e5bfc
RD
18655}
18656
18657
1bd55598
RD
18658SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18659 PyObject *obj;
18660 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18661 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18662 return SWIG_Py_Void();
d55e5bfc
RD
18663}
18664
1bd55598
RD
18665SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18666 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18667}
18668
27e45892
RD
18669SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj = 0;
18671 wxWindow *arg1 = (wxWindow *) 0 ;
18672 wxString *arg2 = 0 ;
18673 wxString *arg3 = 0 ;
18674 wxString *arg4 = 0 ;
18675 long arg5 ;
18676 long arg6 ;
18677 long arg7 ;
18678 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18679 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18680 wxNumberEntryDialog *result = 0 ;
18681 void *argp1 = 0 ;
18682 int res1 = 0 ;
18683 bool temp2 = false ;
18684 bool temp3 = false ;
18685 bool temp4 = false ;
18686 long val5 ;
18687 int ecode5 = 0 ;
18688 long val6 ;
18689 int ecode6 = 0 ;
18690 long val7 ;
18691 int ecode7 = 0 ;
18692 wxPoint temp8 ;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 PyObject * obj2 = 0 ;
18696 PyObject * obj3 = 0 ;
18697 PyObject * obj4 = 0 ;
18698 PyObject * obj5 = 0 ;
18699 PyObject * obj6 = 0 ;
18700 PyObject * obj7 = 0 ;
18701 char * kwnames[] = {
18702 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18703 };
18704
18705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18707 if (!SWIG_IsOK(res1)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18709 }
18710 arg1 = reinterpret_cast< wxWindow * >(argp1);
18711 {
18712 arg2 = wxString_in_helper(obj1);
18713 if (arg2 == NULL) SWIG_fail;
18714 temp2 = true;
18715 }
18716 {
18717 arg3 = wxString_in_helper(obj2);
18718 if (arg3 == NULL) SWIG_fail;
18719 temp3 = true;
18720 }
18721 {
18722 arg4 = wxString_in_helper(obj3);
18723 if (arg4 == NULL) SWIG_fail;
18724 temp4 = true;
18725 }
18726 ecode5 = SWIG_AsVal_long(obj4, &val5);
18727 if (!SWIG_IsOK(ecode5)) {
18728 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18729 }
18730 arg5 = static_cast< long >(val5);
18731 ecode6 = SWIG_AsVal_long(obj5, &val6);
18732 if (!SWIG_IsOK(ecode6)) {
18733 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18734 }
18735 arg6 = static_cast< long >(val6);
18736 ecode7 = SWIG_AsVal_long(obj6, &val7);
18737 if (!SWIG_IsOK(ecode7)) {
18738 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18739 }
18740 arg7 = static_cast< long >(val7);
18741 if (obj7) {
18742 {
18743 arg8 = &temp8;
18744 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18745 }
18746 }
18747 {
18748 if (!wxPyCheckForApp()) SWIG_fail;
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18755 {
18756 if (temp2)
18757 delete arg2;
18758 }
18759 {
18760 if (temp3)
18761 delete arg3;
18762 }
18763 {
18764 if (temp4)
18765 delete arg4;
18766 }
18767 return resultobj;
18768fail:
18769 {
18770 if (temp2)
18771 delete arg2;
18772 }
18773 {
18774 if (temp3)
18775 delete arg3;
18776 }
18777 {
18778 if (temp4)
18779 delete arg4;
18780 }
18781 return NULL;
18782}
18783
18784
18785SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18786 PyObject *resultobj = 0;
18787 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18788 long result;
18789 void *argp1 = 0 ;
18790 int res1 = 0 ;
18791 PyObject *swig_obj[1] ;
18792
18793 if (!args) SWIG_fail;
18794 swig_obj[0] = args;
18795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18796 if (!SWIG_IsOK(res1)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18798 }
18799 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 result = (long)(arg1)->GetValue();
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 resultobj = SWIG_From_long(static_cast< long >(result));
18807 return resultobj;
18808fail:
18809 return NULL;
18810}
18811
18812
18813SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18814 PyObject *obj;
18815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18816 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18817 return SWIG_Py_Void();
18818}
18819
18820SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18821 return SWIG_Python_InitShadowInstance(args);
18822}
18823
1bd55598
RD
18824SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 PyObject *resultobj = 0;
18826 wxFontData *result = 0 ;
18827
18828 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 result = (wxFontData *)new wxFontData();
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18836 return resultobj;
18837fail:
18838 return NULL;
d55e5bfc
RD
18839}
18840
18841
1bd55598
RD
18842SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18843 PyObject *resultobj = 0;
18844 wxFontData *arg1 = (wxFontData *) 0 ;
18845 void *argp1 = 0 ;
18846 int res1 = 0 ;
18847 PyObject *swig_obj[1] ;
18848
18849 if (!args) SWIG_fail;
18850 swig_obj[0] = args;
18851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18852 if (!SWIG_IsOK(res1)) {
18853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18854 }
18855 arg1 = reinterpret_cast< wxFontData * >(argp1);
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 delete arg1;
d55e5bfc 18859
1bd55598
RD
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 resultobj = SWIG_Py_Void();
18864 return resultobj;
18865fail:
18866 return NULL;
18867}
18868
18869
18870SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj = 0;
18872 wxFontData *arg1 = (wxFontData *) 0 ;
18873 bool arg2 ;
18874 void *argp1 = 0 ;
18875 int res1 = 0 ;
18876 bool val2 ;
18877 int ecode2 = 0 ;
18878 PyObject * obj0 = 0 ;
18879 PyObject * obj1 = 0 ;
18880 char * kwnames[] = {
18881 (char *) "self",(char *) "enable", NULL
18882 };
18883
18884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18886 if (!SWIG_IsOK(res1)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18888 }
18889 arg1 = reinterpret_cast< wxFontData * >(argp1);
18890 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18891 if (!SWIG_IsOK(ecode2)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18893 }
18894 arg2 = static_cast< bool >(val2);
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 (arg1)->EnableEffects(arg2);
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 resultobj = SWIG_Py_Void();
18902 return resultobj;
18903fail:
18904 return NULL;
d55e5bfc
RD
18905}
18906
18907
1bd55598
RD
18908SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18909 PyObject *resultobj = 0;
18910 wxFontData *arg1 = (wxFontData *) 0 ;
18911 bool result;
18912 void *argp1 = 0 ;
18913 int res1 = 0 ;
18914 PyObject *swig_obj[1] ;
18915
18916 if (!args) SWIG_fail;
18917 swig_obj[0] = args;
18918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18919 if (!SWIG_IsOK(res1)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18921 }
18922 arg1 = reinterpret_cast< wxFontData * >(argp1);
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (bool)(arg1)->GetAllowSymbols();
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18931 }
18932 return resultobj;
18933fail:
18934 return NULL;
d55e5bfc
RD
18935}
18936
18937
1bd55598
RD
18938SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18939 PyObject *resultobj = 0;
18940 wxFontData *arg1 = (wxFontData *) 0 ;
18941 wxColour result;
18942 void *argp1 = 0 ;
18943 int res1 = 0 ;
18944 PyObject *swig_obj[1] ;
18945
18946 if (!args) SWIG_fail;
18947 swig_obj[0] = args;
18948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18949 if (!SWIG_IsOK(res1)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18951 }
18952 arg1 = reinterpret_cast< wxFontData * >(argp1);
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (arg1)->GetColour();
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18960 return resultobj;
18961fail:
18962 return NULL;
d55e5bfc
RD
18963}
18964
18965
1bd55598
RD
18966SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *resultobj = 0;
18968 wxFontData *arg1 = (wxFontData *) 0 ;
18969 wxFont result;
18970 void *argp1 = 0 ;
18971 int res1 = 0 ;
18972 PyObject *swig_obj[1] ;
18973
18974 if (!args) SWIG_fail;
18975 swig_obj[0] = args;
18976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18977 if (!SWIG_IsOK(res1)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18979 }
18980 arg1 = reinterpret_cast< wxFontData * >(argp1);
18981 {
18982 PyThreadState* __tstate = wxPyBeginAllowThreads();
18983 result = (arg1)->GetChosenFont();
18984 wxPyEndAllowThreads(__tstate);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18988 return resultobj;
18989fail:
18990 return NULL;
d55e5bfc
RD
18991}
18992
18993
1bd55598
RD
18994SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18995 PyObject *resultobj = 0;
18996 wxFontData *arg1 = (wxFontData *) 0 ;
18997 bool result;
18998 void *argp1 = 0 ;
18999 int res1 = 0 ;
19000 PyObject *swig_obj[1] ;
19001
19002 if (!args) SWIG_fail;
19003 swig_obj[0] = args;
19004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19005 if (!SWIG_IsOK(res1)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19007 }
19008 arg1 = reinterpret_cast< wxFontData * >(argp1);
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (bool)(arg1)->GetEnableEffects();
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19017 }
19018 return resultobj;
19019fail:
19020 return NULL;
d55e5bfc
RD
19021}
19022
19023
1bd55598
RD
19024SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19025 PyObject *resultobj = 0;
19026 wxFontData *arg1 = (wxFontData *) 0 ;
19027 wxFont result;
19028 void *argp1 = 0 ;
19029 int res1 = 0 ;
19030 PyObject *swig_obj[1] ;
19031
19032 if (!args) SWIG_fail;
19033 swig_obj[0] = args;
19034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19035 if (!SWIG_IsOK(res1)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19037 }
19038 arg1 = reinterpret_cast< wxFontData * >(argp1);
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 result = (arg1)->GetInitialFont();
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19046 return resultobj;
19047fail:
19048 return NULL;
d55e5bfc
RD
19049}
19050
19051
1bd55598
RD
19052SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19053 PyObject *resultobj = 0;
19054 wxFontData *arg1 = (wxFontData *) 0 ;
19055 bool result;
19056 void *argp1 = 0 ;
19057 int res1 = 0 ;
19058 PyObject *swig_obj[1] ;
19059
19060 if (!args) SWIG_fail;
19061 swig_obj[0] = args;
19062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19063 if (!SWIG_IsOK(res1)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19065 }
19066 arg1 = reinterpret_cast< wxFontData * >(argp1);
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 result = (bool)(arg1)->GetShowHelp();
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 {
19074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19075 }
19076 return resultobj;
19077fail:
19078 return NULL;
19079}
19080
19081
19082SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj = 0;
19084 wxFontData *arg1 = (wxFontData *) 0 ;
19085 bool arg2 ;
19086 void *argp1 = 0 ;
19087 int res1 = 0 ;
19088 bool val2 ;
19089 int ecode2 = 0 ;
19090 PyObject * obj0 = 0 ;
19091 PyObject * obj1 = 0 ;
19092 char * kwnames[] = {
19093 (char *) "self",(char *) "allowSymbols", NULL
19094 };
19095
19096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19098 if (!SWIG_IsOK(res1)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19100 }
19101 arg1 = reinterpret_cast< wxFontData * >(argp1);
19102 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19103 if (!SWIG_IsOK(ecode2)) {
19104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19105 }
19106 arg2 = static_cast< bool >(val2);
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 (arg1)->SetAllowSymbols(arg2);
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 resultobj = SWIG_Py_Void();
19114 return resultobj;
19115fail:
19116 return NULL;
19117}
19118
19119
19120SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj = 0;
19122 wxFontData *arg1 = (wxFontData *) 0 ;
19123 wxFont *arg2 = 0 ;
19124 void *argp1 = 0 ;
19125 int res1 = 0 ;
19126 void *argp2 = 0 ;
19127 int res2 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char * kwnames[] = {
19131 (char *) "self",(char *) "font", NULL
19132 };
19133
19134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19136 if (!SWIG_IsOK(res1)) {
19137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19138 }
19139 arg1 = reinterpret_cast< wxFontData * >(argp1);
19140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19141 if (!SWIG_IsOK(res2)) {
19142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19143 }
19144 if (!argp2) {
19145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19146 }
19147 arg2 = reinterpret_cast< wxFont * >(argp2);
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 (arg1)->SetChosenFont((wxFont const &)*arg2);
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 resultobj = SWIG_Py_Void();
19155 return resultobj;
19156fail:
19157 return NULL;
19158}
19159
19160
19161SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19162 PyObject *resultobj = 0;
19163 wxFontData *arg1 = (wxFontData *) 0 ;
19164 wxColour *arg2 = 0 ;
19165 void *argp1 = 0 ;
19166 int res1 = 0 ;
19167 wxColour temp2 ;
19168 PyObject * obj0 = 0 ;
19169 PyObject * obj1 = 0 ;
19170 char * kwnames[] = {
19171 (char *) "self",(char *) "colour", NULL
19172 };
19173
19174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19176 if (!SWIG_IsOK(res1)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19178 }
19179 arg1 = reinterpret_cast< wxFontData * >(argp1);
19180 {
19181 arg2 = &temp2;
19182 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19183 }
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->SetColour((wxColour const &)*arg2);
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 resultobj = SWIG_Py_Void();
19191 return resultobj;
19192fail:
19193 return NULL;
19194}
19195
19196
19197SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj = 0;
19199 wxFontData *arg1 = (wxFontData *) 0 ;
19200 wxFont *arg2 = 0 ;
19201 void *argp1 = 0 ;
19202 int res1 = 0 ;
19203 void *argp2 = 0 ;
19204 int res2 = 0 ;
19205 PyObject * obj0 = 0 ;
19206 PyObject * obj1 = 0 ;
19207 char * kwnames[] = {
19208 (char *) "self",(char *) "font", NULL
19209 };
19210
19211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19213 if (!SWIG_IsOK(res1)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19215 }
19216 arg1 = reinterpret_cast< wxFontData * >(argp1);
19217 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19218 if (!SWIG_IsOK(res2)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19220 }
19221 if (!argp2) {
19222 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19223 }
19224 arg2 = reinterpret_cast< wxFont * >(argp2);
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 (arg1)->SetInitialFont((wxFont const &)*arg2);
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 resultobj = SWIG_Py_Void();
19232 return resultobj;
19233fail:
19234 return NULL;
19235}
19236
19237
19238SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj = 0;
19240 wxFontData *arg1 = (wxFontData *) 0 ;
19241 int arg2 ;
19242 int arg3 ;
19243 void *argp1 = 0 ;
19244 int res1 = 0 ;
19245 int val2 ;
19246 int ecode2 = 0 ;
19247 int val3 ;
19248 int ecode3 = 0 ;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 PyObject * obj2 = 0 ;
19252 char * kwnames[] = {
19253 (char *) "self",(char *) "min",(char *) "max", NULL
19254 };
19255
19256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19258 if (!SWIG_IsOK(res1)) {
19259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19260 }
19261 arg1 = reinterpret_cast< wxFontData * >(argp1);
19262 ecode2 = SWIG_AsVal_int(obj1, &val2);
19263 if (!SWIG_IsOK(ecode2)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19265 }
19266 arg2 = static_cast< int >(val2);
19267 ecode3 = SWIG_AsVal_int(obj2, &val3);
19268 if (!SWIG_IsOK(ecode3)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19270 }
19271 arg3 = static_cast< int >(val3);
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->SetRange(arg2,arg3);
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = SWIG_Py_Void();
19279 return resultobj;
19280fail:
19281 return NULL;
19282}
19283
19284
19285SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj = 0;
19287 wxFontData *arg1 = (wxFontData *) 0 ;
19288 bool arg2 ;
19289 void *argp1 = 0 ;
19290 int res1 = 0 ;
19291 bool val2 ;
19292 int ecode2 = 0 ;
19293 PyObject * obj0 = 0 ;
19294 PyObject * obj1 = 0 ;
19295 char * kwnames[] = {
19296 (char *) "self",(char *) "showHelp", NULL
19297 };
19298
19299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19301 if (!SWIG_IsOK(res1)) {
19302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19303 }
19304 arg1 = reinterpret_cast< wxFontData * >(argp1);
19305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19306 if (!SWIG_IsOK(ecode2)) {
19307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19308 }
19309 arg2 = static_cast< bool >(val2);
19310 {
19311 PyThreadState* __tstate = wxPyBeginAllowThreads();
19312 (arg1)->SetShowHelp(arg2);
19313 wxPyEndAllowThreads(__tstate);
19314 if (PyErr_Occurred()) SWIG_fail;
19315 }
19316 resultobj = SWIG_Py_Void();
19317 return resultobj;
19318fail:
19319 return NULL;
d55e5bfc
RD
19320}
19321
19322
1bd55598
RD
19323SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19324 PyObject *obj;
19325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19326 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19327 return SWIG_Py_Void();
d55e5bfc
RD
19328}
19329
1bd55598
RD
19330SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19331 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19332}
19333
1bd55598
RD
19334SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj = 0;
19336 wxWindow *arg1 = (wxWindow *) 0 ;
19337 wxFontData *arg2 = 0 ;
19338 wxFontDialog *result = 0 ;
19339 void *argp1 = 0 ;
19340 int res1 = 0 ;
19341 void *argp2 = 0 ;
19342 int res2 = 0 ;
19343 PyObject * obj0 = 0 ;
19344 PyObject * obj1 = 0 ;
19345 char * kwnames[] = {
19346 (char *) "parent",(char *) "data", NULL
19347 };
19348
19349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19351 if (!SWIG_IsOK(res1)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19353 }
19354 arg1 = reinterpret_cast< wxWindow * >(argp1);
19355 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19356 if (!SWIG_IsOK(res2)) {
19357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19358 }
19359 if (!argp2) {
19360 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19361 }
19362 arg2 = reinterpret_cast< wxFontData * >(argp2);
19363 {
19364 if (!wxPyCheckForApp()) SWIG_fail;
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19371 return resultobj;
19372fail:
19373 return NULL;
d55e5bfc
RD
19374}
19375
19376
1bd55598
RD
19377SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19378 PyObject *resultobj = 0;
19379 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19380 wxFontData *result = 0 ;
19381 void *argp1 = 0 ;
19382 int res1 = 0 ;
19383 PyObject *swig_obj[1] ;
19384
19385 if (!args) SWIG_fail;
19386 swig_obj[0] = args;
19387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19388 if (!SWIG_IsOK(res1)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19390 }
19391 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19394 {
1bd55598
RD
19395 wxFontData &_result_ref = (arg1)->GetFontData();
19396 result = (wxFontData *) &_result_ref;
36ed4f51 19397 }
1bd55598
RD
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19402 return resultobj;
19403fail:
19404 return NULL;
19405}
19406
19407
19408SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19409 PyObject *obj;
19410 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19411 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19412 return SWIG_Py_Void();
19413}
19414
19415SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19416 return SWIG_Python_InitShadowInstance(args);
19417}
19418
19419SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj = 0;
19421 wxWindow *arg1 = (wxWindow *) NULL ;
19422 wxFont const &arg2_defvalue = wxNullFont ;
19423 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19424 wxString const &arg3_defvalue = wxPyEmptyString ;
19425 wxString *arg3 = (wxString *) &arg3_defvalue ;
19426 wxFont result;
19427 void *argp1 = 0 ;
19428 int res1 = 0 ;
19429 void *argp2 = 0 ;
19430 int res2 = 0 ;
19431 bool temp3 = false ;
19432 PyObject * obj0 = 0 ;
19433 PyObject * obj1 = 0 ;
19434 PyObject * obj2 = 0 ;
19435 char * kwnames[] = {
19436 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19437 };
19438
19439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19440 if (obj0) {
19441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19442 if (!SWIG_IsOK(res1)) {
19443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 19444 }
1bd55598
RD
19445 arg1 = reinterpret_cast< wxWindow * >(argp1);
19446 }
19447 if (obj1) {
19448 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19449 if (!SWIG_IsOK(res2)) {
19450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19451 }
1bd55598
RD
19452 if (!argp2) {
19453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19454 }
1bd55598
RD
19455 arg2 = reinterpret_cast< wxFont * >(argp2);
19456 }
19457 if (obj2) {
d55e5bfc 19458 {
1bd55598
RD
19459 arg3 = wxString_in_helper(obj2);
19460 if (arg3 == NULL) SWIG_fail;
19461 temp3 = true;
d55e5bfc 19462 }
1bd55598
RD
19463 }
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19471 {
19472 if (temp3)
19473 delete arg3;
19474 }
19475 return resultobj;
19476fail:
19477 {
19478 if (temp3)
19479 delete arg3;
19480 }
19481 return NULL;
19482}
19483
19484
19485SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj = 0;
19487 wxWindow *arg1 = (wxWindow *) 0 ;
19488 wxString *arg2 = 0 ;
19489 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19490 wxString *arg3 = (wxString *) &arg3_defvalue ;
19491 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19492 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19493 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19494 wxMessageDialog *result = 0 ;
19495 void *argp1 = 0 ;
19496 int res1 = 0 ;
19497 bool temp2 = false ;
19498 bool temp3 = false ;
19499 long val4 ;
19500 int ecode4 = 0 ;
19501 wxPoint temp5 ;
19502 PyObject * obj0 = 0 ;
19503 PyObject * obj1 = 0 ;
19504 PyObject * obj2 = 0 ;
19505 PyObject * obj3 = 0 ;
19506 PyObject * obj4 = 0 ;
19507 char * kwnames[] = {
19508 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19509 };
19510
19511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19513 if (!SWIG_IsOK(res1)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19515 }
19516 arg1 = reinterpret_cast< wxWindow * >(argp1);
19517 {
19518 arg2 = wxString_in_helper(obj1);
19519 if (arg2 == NULL) SWIG_fail;
19520 temp2 = true;
19521 }
19522 if (obj2) {
36ed4f51 19523 {
1bd55598
RD
19524 arg3 = wxString_in_helper(obj2);
19525 if (arg3 == NULL) SWIG_fail;
19526 temp3 = true;
36ed4f51 19527 }
1bd55598
RD
19528 }
19529 if (obj3) {
19530 ecode4 = SWIG_AsVal_long(obj3, &val4);
19531 if (!SWIG_IsOK(ecode4)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19533 }
19534 arg4 = static_cast< long >(val4);
19535 }
19536 if (obj4) {
36ed4f51 19537 {
1bd55598
RD
19538 arg5 = &temp5;
19539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 19540 }
1bd55598
RD
19541 }
19542 {
19543 if (!wxPyCheckForApp()) SWIG_fail;
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19550 {
19551 if (temp2)
19552 delete arg2;
19553 }
19554 {
19555 if (temp3)
19556 delete arg3;
19557 }
19558 return resultobj;
19559fail:
19560 {
19561 if (temp2)
19562 delete arg2;
19563 }
19564 {
19565 if (temp3)
19566 delete arg3;
19567 }
19568 return NULL;
19569}
19570
19571
19572SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19573 PyObject *obj;
19574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19575 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19576 return SWIG_Py_Void();
19577}
19578
19579SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19580 return SWIG_Python_InitShadowInstance(args);
19581}
19582
19583SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj = 0;
19585 wxString *arg1 = 0 ;
19586 wxString *arg2 = 0 ;
19587 int arg3 = (int) 100 ;
19588 wxWindow *arg4 = (wxWindow *) NULL ;
19589 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19590 wxProgressDialog *result = 0 ;
19591 bool temp1 = false ;
19592 bool temp2 = false ;
19593 int val3 ;
19594 int ecode3 = 0 ;
19595 void *argp4 = 0 ;
19596 int res4 = 0 ;
19597 int val5 ;
19598 int ecode5 = 0 ;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 PyObject * obj2 = 0 ;
19602 PyObject * obj3 = 0 ;
19603 PyObject * obj4 = 0 ;
19604 char * kwnames[] = {
19605 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19606 };
19607
19608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19609 {
19610 arg1 = wxString_in_helper(obj0);
19611 if (arg1 == NULL) SWIG_fail;
19612 temp1 = true;
19613 }
19614 {
19615 arg2 = wxString_in_helper(obj1);
19616 if (arg2 == NULL) SWIG_fail;
19617 temp2 = true;
19618 }
19619 if (obj2) {
19620 ecode3 = SWIG_AsVal_int(obj2, &val3);
19621 if (!SWIG_IsOK(ecode3)) {
19622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19623 }
19624 arg3 = static_cast< int >(val3);
19625 }
19626 if (obj3) {
19627 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19628 if (!SWIG_IsOK(res4)) {
19629 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19630 }
1bd55598
RD
19631 arg4 = reinterpret_cast< wxWindow * >(argp4);
19632 }
19633 if (obj4) {
19634 ecode5 = SWIG_AsVal_int(obj4, &val5);
19635 if (!SWIG_IsOK(ecode5)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19637 }
19638 arg5 = static_cast< int >(val5);
19639 }
19640 {
19641 if (!wxPyCheckForApp()) SWIG_fail;
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19648 {
19649 if (temp1)
19650 delete arg1;
19651 }
19652 {
19653 if (temp2)
19654 delete arg2;
19655 }
19656 return resultobj;
19657fail:
19658 {
19659 if (temp1)
19660 delete arg1;
19661 }
19662 {
19663 if (temp2)
19664 delete arg2;
19665 }
19666 return NULL;
19667}
19668
19669
19670SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19671 PyObject *resultobj = 0;
19672 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19673 int arg2 ;
19674 wxString const &arg3_defvalue = wxPyEmptyString ;
19675 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 19676 bool *arg4 = (bool *) 0 ;
1bd55598
RD
19677 bool result;
19678 void *argp1 = 0 ;
19679 int res1 = 0 ;
19680 int val2 ;
19681 int ecode2 = 0 ;
19682 bool temp3 = false ;
2131d850
RD
19683 bool temp4 ;
19684 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
19685 PyObject * obj0 = 0 ;
19686 PyObject * obj1 = 0 ;
19687 PyObject * obj2 = 0 ;
19688 char * kwnames[] = {
19689 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19690 };
19691
2131d850 19692 arg4 = &temp4;
1bd55598
RD
19693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19695 if (!SWIG_IsOK(res1)) {
19696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19697 }
19698 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19699 ecode2 = SWIG_AsVal_int(obj1, &val2);
19700 if (!SWIG_IsOK(ecode2)) {
19701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19702 }
19703 arg2 = static_cast< int >(val2);
19704 if (obj2) {
d55e5bfc 19705 {
1bd55598
RD
19706 arg3 = wxString_in_helper(obj2);
19707 if (arg3 == NULL) SWIG_fail;
19708 temp3 = true;
d55e5bfc 19709 }
1bd55598
RD
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 19713 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 {
19718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19719 }
2131d850
RD
19720 if (SWIG_IsTmpObj(res4)) {
19721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19722 } else {
19723 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19724 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19725 }
1bd55598
RD
19726 {
19727 if (temp3)
19728 delete arg3;
19729 }
19730 return resultobj;
19731fail:
19732 {
19733 if (temp3)
19734 delete arg3;
19735 }
19736 return NULL;
d55e5bfc
RD
19737}
19738
19739
6b449b19 19740SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
19741 PyObject *resultobj = 0;
19742 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19743 wxString const &arg2_defvalue = wxPyEmptyString ;
19744 wxString *arg2 = (wxString *) &arg2_defvalue ;
19745 bool *arg3 = (bool *) 0 ;
19746 bool result;
19747 void *argp1 = 0 ;
19748 int res1 = 0 ;
19749 bool temp2 = false ;
19750 bool temp3 ;
19751 int res3 = SWIG_TMPOBJ ;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 char * kwnames[] = {
19755 (char *) "self",(char *) "newmsg", NULL
19756 };
19757
19758 arg3 = &temp3;
6b449b19 19759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
19760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19761 if (!SWIG_IsOK(res1)) {
6b449b19 19762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
19763 }
19764 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19765 if (obj1) {
19766 {
19767 arg2 = wxString_in_helper(obj1);
19768 if (arg2 == NULL) SWIG_fail;
19769 temp2 = true;
19770 }
19771 }
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 19774 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 {
19779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19780 }
19781 if (SWIG_IsTmpObj(res3)) {
19782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19783 } else {
19784 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19786 }
19787 {
19788 if (temp2)
19789 delete arg2;
19790 }
19791 return resultobj;
19792fail:
19793 {
19794 if (temp2)
19795 delete arg2;
19796 }
19797 return NULL;
19798}
19799
19800
1bd55598
RD
19801SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19802 PyObject *resultobj = 0;
19803 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19804 void *argp1 = 0 ;
19805 int res1 = 0 ;
19806 PyObject *swig_obj[1] ;
19807
19808 if (!args) SWIG_fail;
19809 swig_obj[0] = args;
19810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19811 if (!SWIG_IsOK(res1)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19813 }
19814 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 (arg1)->Resume();
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 resultobj = SWIG_Py_Void();
19822 return resultobj;
19823fail:
19824 return NULL;
d55e5bfc
RD
19825}
19826
19827
1bd55598
RD
19828SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19829 PyObject *obj;
19830 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19831 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19832 return SWIG_Py_Void();
d55e5bfc
RD
19833}
19834
1bd55598
RD
19835SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19836 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19837}
19838
1bd55598
RD
19839SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj = 0;
19841 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19842 int arg2 = (int) 0 ;
19843 wxFindDialogEvent *result = 0 ;
19844 int val1 ;
19845 int ecode1 = 0 ;
19846 int val2 ;
19847 int ecode2 = 0 ;
19848 PyObject * obj0 = 0 ;
19849 PyObject * obj1 = 0 ;
19850 char * kwnames[] = {
19851 (char *) "commandType",(char *) "id", NULL
19852 };
19853
19854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19855 if (obj0) {
19856 ecode1 = SWIG_AsVal_int(obj0, &val1);
19857 if (!SWIG_IsOK(ecode1)) {
19858 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19859 }
19860 arg1 = static_cast< wxEventType >(val1);
19861 }
19862 if (obj1) {
19863 ecode2 = SWIG_AsVal_int(obj1, &val2);
19864 if (!SWIG_IsOK(ecode2)) {
19865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19866 }
19867 arg2 = static_cast< int >(val2);
19868 }
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19876 return resultobj;
19877fail:
19878 return NULL;
d55e5bfc
RD
19879}
19880
19881
1bd55598
RD
19882SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19883 PyObject *resultobj = 0;
19884 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19885 int result;
19886 void *argp1 = 0 ;
19887 int res1 = 0 ;
19888 PyObject *swig_obj[1] ;
19889
19890 if (!args) SWIG_fail;
19891 swig_obj[0] = args;
19892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19893 if (!SWIG_IsOK(res1)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19895 }
19896 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 result = (int)(arg1)->GetFlags();
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 resultobj = SWIG_From_int(static_cast< int >(result));
19904 return resultobj;
19905fail:
19906 return NULL;
d55e5bfc
RD
19907}
19908
19909
1bd55598
RD
19910SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19911 PyObject *resultobj = 0;
19912 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19913 wxString *result = 0 ;
19914 void *argp1 = 0 ;
19915 int res1 = 0 ;
19916 PyObject *swig_obj[1] ;
19917
19918 if (!args) SWIG_fail;
19919 swig_obj[0] = args;
19920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19921 if (!SWIG_IsOK(res1)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19923 }
19924 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19927 {
1bd55598
RD
19928 wxString const &_result_ref = (arg1)->GetFindString();
19929 result = (wxString *) &_result_ref;
d55e5bfc 19930 }
1bd55598
RD
19931 wxPyEndAllowThreads(__tstate);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 }
19934 {
19935#if wxUSE_UNICODE
19936 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19937#else
19938 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19939#endif
19940 }
19941 return resultobj;
19942fail:
19943 return NULL;
d55e5bfc
RD
19944}
19945
19946
1bd55598
RD
19947SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19948 PyObject *resultobj = 0;
19949 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19950 wxString *result = 0 ;
19951 void *argp1 = 0 ;
19952 int res1 = 0 ;
19953 PyObject *swig_obj[1] ;
19954
19955 if (!args) SWIG_fail;
19956 swig_obj[0] = args;
19957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19958 if (!SWIG_IsOK(res1)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19960 }
19961 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19964 {
1bd55598
RD
19965 wxString const &_result_ref = (arg1)->GetReplaceString();
19966 result = (wxString *) &_result_ref;
d55e5bfc 19967 }
1bd55598
RD
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972#if wxUSE_UNICODE
19973 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19974#else
19975 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19976#endif
19977 }
19978 return resultobj;
19979fail:
19980 return NULL;
d55e5bfc
RD
19981}
19982
19983
1bd55598
RD
19984SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19985 PyObject *resultobj = 0;
19986 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19987 wxFindReplaceDialog *result = 0 ;
19988 void *argp1 = 0 ;
19989 int res1 = 0 ;
19990 PyObject *swig_obj[1] ;
19991
19992 if (!args) SWIG_fail;
19993 swig_obj[0] = args;
19994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19995 if (!SWIG_IsOK(res1)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19997 }
19998 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19999 {
20000 PyThreadState* __tstate = wxPyBeginAllowThreads();
20001 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20006 return resultobj;
20007fail:
20008 return NULL;
20009}
20010
20011
20012SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj = 0;
20014 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20015 int arg2 ;
20016 void *argp1 = 0 ;
20017 int res1 = 0 ;
20018 int val2 ;
20019 int ecode2 = 0 ;
20020 PyObject * obj0 = 0 ;
20021 PyObject * obj1 = 0 ;
20022 char * kwnames[] = {
20023 (char *) "self",(char *) "flags", NULL
20024 };
20025
20026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20028 if (!SWIG_IsOK(res1)) {
20029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20030 }
20031 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20032 ecode2 = SWIG_AsVal_int(obj1, &val2);
20033 if (!SWIG_IsOK(ecode2)) {
20034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20035 }
20036 arg2 = static_cast< int >(val2);
20037 {
20038 PyThreadState* __tstate = wxPyBeginAllowThreads();
20039 (arg1)->SetFlags(arg2);
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 resultobj = SWIG_Py_Void();
20044 return resultobj;
20045fail:
20046 return NULL;
20047}
20048
20049
20050SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj = 0;
20052 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20053 wxString *arg2 = 0 ;
20054 void *argp1 = 0 ;
20055 int res1 = 0 ;
20056 bool temp2 = false ;
20057 PyObject * obj0 = 0 ;
20058 PyObject * obj1 = 0 ;
20059 char * kwnames[] = {
20060 (char *) "self",(char *) "str", NULL
20061 };
20062
20063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20065 if (!SWIG_IsOK(res1)) {
20066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20067 }
20068 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20069 {
20070 arg2 = wxString_in_helper(obj1);
20071 if (arg2 == NULL) SWIG_fail;
20072 temp2 = true;
20073 }
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 (arg1)->SetFindString((wxString const &)*arg2);
20077 wxPyEndAllowThreads(__tstate);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 resultobj = SWIG_Py_Void();
20081 {
20082 if (temp2)
20083 delete arg2;
20084 }
20085 return resultobj;
20086fail:
20087 {
20088 if (temp2)
20089 delete arg2;
20090 }
20091 return NULL;
d55e5bfc
RD
20092}
20093
20094
1bd55598
RD
20095SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj = 0;
20097 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20098 wxString *arg2 = 0 ;
20099 void *argp1 = 0 ;
20100 int res1 = 0 ;
20101 bool temp2 = false ;
20102 PyObject * obj0 = 0 ;
20103 PyObject * obj1 = 0 ;
20104 char * kwnames[] = {
20105 (char *) "self",(char *) "str", NULL
20106 };
20107
20108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20110 if (!SWIG_IsOK(res1)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20112 }
20113 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20114 {
20115 arg2 = wxString_in_helper(obj1);
20116 if (arg2 == NULL) SWIG_fail;
20117 temp2 = true;
20118 }
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 (arg1)->SetReplaceString((wxString const &)*arg2);
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = SWIG_Py_Void();
20126 {
20127 if (temp2)
20128 delete arg2;
20129 }
20130 return resultobj;
20131fail:
20132 {
20133 if (temp2)
20134 delete arg2;
20135 }
20136 return NULL;
d55e5bfc
RD
20137}
20138
20139
1bd55598
RD
20140SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20141 PyObject *obj;
20142 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20143 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20144 return SWIG_Py_Void();
d55e5bfc
RD
20145}
20146
1bd55598
RD
20147SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20148 return SWIG_Python_InitShadowInstance(args);
20149}
d55e5bfc 20150
1bd55598
RD
20151SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj = 0;
20153 int arg1 = (int) 0 ;
20154 wxFindReplaceData *result = 0 ;
20155 int val1 ;
20156 int ecode1 = 0 ;
20157 PyObject * obj0 = 0 ;
20158 char * kwnames[] = {
20159 (char *) "flags", NULL
20160 };
20161
20162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20163 if (obj0) {
20164 ecode1 = SWIG_AsVal_int(obj0, &val1);
20165 if (!SWIG_IsOK(ecode1)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20167 }
20168 arg1 = static_cast< int >(val1);
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20177 return resultobj;
20178fail:
20179 return NULL;
d6c14a4c
RD
20180}
20181
20182
1bd55598
RD
20183SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20184 PyObject *resultobj = 0;
20185 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20186 void *argp1 = 0 ;
20187 int res1 = 0 ;
20188 PyObject *swig_obj[1] ;
20189
20190 if (!args) SWIG_fail;
20191 swig_obj[0] = args;
20192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20193 if (!SWIG_IsOK(res1)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20195 }
20196 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 delete arg1;
d55e5bfc 20200
1bd55598
RD
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 resultobj = SWIG_Py_Void();
20205 return resultobj;
20206fail:
20207 return NULL;
d55e5bfc
RD
20208}
20209
20210
1bd55598
RD
20211SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20212 PyObject *resultobj = 0;
20213 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20214 wxString *result = 0 ;
20215 void *argp1 = 0 ;
20216 int res1 = 0 ;
20217 PyObject *swig_obj[1] ;
20218
20219 if (!args) SWIG_fail;
20220 swig_obj[0] = args;
20221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20222 if (!SWIG_IsOK(res1)) {
20223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20224 }
20225 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 20228 {
1bd55598
RD
20229 wxString const &_result_ref = (arg1)->GetFindString();
20230 result = (wxString *) &_result_ref;
20231 }
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 {
20236#if wxUSE_UNICODE
20237 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20238#else
20239 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20240#endif
20241 }
20242 return resultobj;
20243fail:
20244 return NULL;
7e08d4ef
RD
20245}
20246
20247
1bd55598
RD
20248SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20249 PyObject *resultobj = 0;
20250 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20251 wxString *result = 0 ;
20252 void *argp1 = 0 ;
20253 int res1 = 0 ;
20254 PyObject *swig_obj[1] ;
20255
20256 if (!args) SWIG_fail;
20257 swig_obj[0] = args;
20258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20259 if (!SWIG_IsOK(res1)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20261 }
20262 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20265 {
1bd55598
RD
20266 wxString const &_result_ref = (arg1)->GetReplaceString();
20267 result = (wxString *) &_result_ref;
36ed4f51 20268 }
1bd55598
RD
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 {
20273#if wxUSE_UNICODE
20274 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20275#else
20276 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20277#endif
20278 }
20279 return resultobj;
20280fail:
20281 return NULL;
d55e5bfc
RD
20282}
20283
20284
1bd55598
RD
20285SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20286 PyObject *resultobj = 0;
20287 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20288 int result;
20289 void *argp1 = 0 ;
20290 int res1 = 0 ;
20291 PyObject *swig_obj[1] ;
20292
20293 if (!args) SWIG_fail;
20294 swig_obj[0] = args;
20295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20296 if (!SWIG_IsOK(res1)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20298 }
20299 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = (int)(arg1)->GetFlags();
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 resultobj = SWIG_From_int(static_cast< int >(result));
20307 return resultobj;
20308fail:
20309 return NULL;
20310}
20311
20312
20313SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj = 0;
20315 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20316 int arg2 ;
20317 void *argp1 = 0 ;
20318 int res1 = 0 ;
20319 int val2 ;
20320 int ecode2 = 0 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 char * kwnames[] = {
20324 (char *) "self",(char *) "flags", NULL
20325 };
20326
20327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20329 if (!SWIG_IsOK(res1)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20331 }
20332 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20333 ecode2 = SWIG_AsVal_int(obj1, &val2);
20334 if (!SWIG_IsOK(ecode2)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20336 }
20337 arg2 = static_cast< int >(val2);
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 (arg1)->SetFlags(arg2);
20341 wxPyEndAllowThreads(__tstate);
20342 if (PyErr_Occurred()) SWIG_fail;
20343 }
20344 resultobj = SWIG_Py_Void();
20345 return resultobj;
20346fail:
20347 return NULL;
20348}
20349
20350
20351SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj = 0;
20353 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20354 wxString *arg2 = 0 ;
20355 void *argp1 = 0 ;
20356 int res1 = 0 ;
20357 bool temp2 = false ;
20358 PyObject * obj0 = 0 ;
20359 PyObject * obj1 = 0 ;
20360 char * kwnames[] = {
20361 (char *) "self",(char *) "str", NULL
20362 };
20363
20364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20366 if (!SWIG_IsOK(res1)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20368 }
20369 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20370 {
20371 arg2 = wxString_in_helper(obj1);
20372 if (arg2 == NULL) SWIG_fail;
20373 temp2 = true;
20374 }
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 (arg1)->SetFindString((wxString const &)*arg2);
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 resultobj = SWIG_Py_Void();
20382 {
20383 if (temp2)
20384 delete arg2;
20385 }
20386 return resultobj;
20387fail:
20388 {
20389 if (temp2)
20390 delete arg2;
20391 }
20392 return NULL;
d55e5bfc
RD
20393}
20394
20395
1bd55598
RD
20396SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj = 0;
20398 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20399 wxString *arg2 = 0 ;
20400 void *argp1 = 0 ;
20401 int res1 = 0 ;
20402 bool temp2 = false ;
20403 PyObject * obj0 = 0 ;
20404 PyObject * obj1 = 0 ;
20405 char * kwnames[] = {
20406 (char *) "self",(char *) "str", NULL
20407 };
20408
20409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20411 if (!SWIG_IsOK(res1)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20413 }
20414 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20415 {
20416 arg2 = wxString_in_helper(obj1);
20417 if (arg2 == NULL) SWIG_fail;
20418 temp2 = true;
20419 }
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 (arg1)->SetReplaceString((wxString const &)*arg2);
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 resultobj = SWIG_Py_Void();
20427 {
20428 if (temp2)
20429 delete arg2;
20430 }
20431 return resultobj;
20432fail:
20433 {
20434 if (temp2)
20435 delete arg2;
20436 }
20437 return NULL;
20438}
20439
20440
20441SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20442 PyObject *obj;
20443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20444 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20445 return SWIG_Py_Void();
20446}
20447
20448SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20449 return SWIG_Python_InitShadowInstance(args);
20450}
20451
20452SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj = 0;
20454 wxWindow *arg1 = (wxWindow *) 0 ;
20455 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20456 wxString *arg3 = 0 ;
20457 int arg4 = (int) 0 ;
20458 wxFindReplaceDialog *result = 0 ;
20459 void *argp1 = 0 ;
20460 int res1 = 0 ;
20461 void *argp2 = 0 ;
20462 int res2 = 0 ;
20463 bool temp3 = false ;
20464 int val4 ;
20465 int ecode4 = 0 ;
20466 PyObject * obj0 = 0 ;
20467 PyObject * obj1 = 0 ;
20468 PyObject * obj2 = 0 ;
20469 PyObject * obj3 = 0 ;
20470 char * kwnames[] = {
20471 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20472 };
20473
20474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20476 if (!SWIG_IsOK(res1)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20478 }
20479 arg1 = reinterpret_cast< wxWindow * >(argp1);
20480 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20481 if (!SWIG_IsOK(res2)) {
20482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20483 }
20484 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20485 {
20486 arg3 = wxString_in_helper(obj2);
20487 if (arg3 == NULL) SWIG_fail;
20488 temp3 = true;
20489 }
20490 if (obj3) {
20491 ecode4 = SWIG_AsVal_int(obj3, &val4);
20492 if (!SWIG_IsOK(ecode4)) {
20493 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20494 }
20495 arg4 = static_cast< int >(val4);
20496 }
20497 {
20498 if (!wxPyCheckForApp()) SWIG_fail;
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20505 {
20506 if (temp3)
20507 delete arg3;
20508 }
20509 return resultobj;
20510fail:
20511 {
20512 if (temp3)
20513 delete arg3;
20514 }
20515 return NULL;
b411df4a
RD
20516}
20517
20518
1bd55598
RD
20519SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20520 PyObject *resultobj = 0;
20521 wxFindReplaceDialog *result = 0 ;
20522
20523 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20524 {
20525 if (!wxPyCheckForApp()) SWIG_fail;
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20528 wxPyEndAllowThreads(__tstate);
20529 if (PyErr_Occurred()) SWIG_fail;
20530 }
20531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20532 return resultobj;
20533fail:
20534 return NULL;
20535}
20536
20537
20538SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20539 PyObject *resultobj = 0;
20540 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20541 wxWindow *arg2 = (wxWindow *) 0 ;
20542 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20543 wxString *arg4 = 0 ;
20544 int arg5 = (int) 0 ;
20545 bool result;
20546 void *argp1 = 0 ;
20547 int res1 = 0 ;
20548 void *argp2 = 0 ;
20549 int res2 = 0 ;
20550 void *argp3 = 0 ;
20551 int res3 = 0 ;
20552 bool temp4 = false ;
20553 int val5 ;
20554 int ecode5 = 0 ;
20555 PyObject * obj0 = 0 ;
20556 PyObject * obj1 = 0 ;
20557 PyObject * obj2 = 0 ;
20558 PyObject * obj3 = 0 ;
20559 PyObject * obj4 = 0 ;
20560 char * kwnames[] = {
20561 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20562 };
20563
20564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20566 if (!SWIG_IsOK(res1)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20568 }
20569 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20570 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20571 if (!SWIG_IsOK(res2)) {
20572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20573 }
20574 arg2 = reinterpret_cast< wxWindow * >(argp2);
20575 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20576 if (!SWIG_IsOK(res3)) {
20577 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20578 }
20579 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20580 {
20581 arg4 = wxString_in_helper(obj3);
20582 if (arg4 == NULL) SWIG_fail;
20583 temp4 = true;
20584 }
20585 if (obj4) {
20586 ecode5 = SWIG_AsVal_int(obj4, &val5);
20587 if (!SWIG_IsOK(ecode5)) {
20588 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20589 }
20590 arg5 = static_cast< int >(val5);
20591 }
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 {
20599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20600 }
20601 {
20602 if (temp4)
20603 delete arg4;
20604 }
20605 return resultobj;
20606fail:
20607 {
20608 if (temp4)
20609 delete arg4;
20610 }
20611 return NULL;
b411df4a
RD
20612}
20613
20614
1bd55598
RD
20615SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20616 PyObject *resultobj = 0;
20617 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20618 wxFindReplaceData *result = 0 ;
20619 void *argp1 = 0 ;
20620 int res1 = 0 ;
20621 PyObject *swig_obj[1] ;
20622
20623 if (!args) SWIG_fail;
20624 swig_obj[0] = args;
20625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20626 if (!SWIG_IsOK(res1)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20628 }
20629 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (wxFindReplaceData *)(arg1)->GetData();
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20637 return resultobj;
20638fail:
20639 return NULL;
20640}
20641
20642
20643SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20644 PyObject *resultobj = 0;
20645 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20646 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20647 void *argp1 = 0 ;
20648 int res1 = 0 ;
20649 void *argp2 = 0 ;
20650 int res2 = 0 ;
20651 PyObject * obj0 = 0 ;
20652 PyObject * obj1 = 0 ;
20653 char * kwnames[] = {
20654 (char *) "self",(char *) "data", NULL
20655 };
20656
20657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20659 if (!SWIG_IsOK(res1)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20661 }
20662 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20663 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20664 if (!SWIG_IsOK(res2)) {
20665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20666 }
20667 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 (arg1)->SetData(arg2);
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_Py_Void();
20675 return resultobj;
20676fail:
20677 return NULL;
20678}
20679
20680
20681SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20682 PyObject *obj;
20683 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20684 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20685 return SWIG_Py_Void();
20686}
20687
20688SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20689 return SWIG_Python_InitShadowInstance(args);
20690}
20691
20692SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20693 PyObject *resultobj = 0;
20694 wxWindow *arg1 = (wxWindow *) 0 ;
20695 int arg2 = (int) (int)-1 ;
20696 wxString const &arg3_defvalue = wxPyEmptyString ;
20697 wxString *arg3 = (wxString *) &arg3_defvalue ;
20698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20700 wxSize const &arg5_defvalue = wxDefaultSize ;
20701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20702 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20703 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20704 wxString *arg7 = (wxString *) &arg7_defvalue ;
20705 wxMDIParentFrame *result = 0 ;
20706 void *argp1 = 0 ;
20707 int res1 = 0 ;
20708 int val2 ;
20709 int ecode2 = 0 ;
20710 bool temp3 = false ;
20711 wxPoint temp4 ;
20712 wxSize temp5 ;
20713 long val6 ;
20714 int ecode6 = 0 ;
20715 bool temp7 = false ;
20716 PyObject * obj0 = 0 ;
20717 PyObject * obj1 = 0 ;
20718 PyObject * obj2 = 0 ;
20719 PyObject * obj3 = 0 ;
20720 PyObject * obj4 = 0 ;
20721 PyObject * obj5 = 0 ;
20722 PyObject * obj6 = 0 ;
20723 char * kwnames[] = {
20724 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20725 };
20726
20727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20729 if (!SWIG_IsOK(res1)) {
20730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20731 }
20732 arg1 = reinterpret_cast< wxWindow * >(argp1);
20733 if (obj1) {
20734 ecode2 = SWIG_AsVal_int(obj1, &val2);
20735 if (!SWIG_IsOK(ecode2)) {
20736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20737 }
20738 arg2 = static_cast< int >(val2);
20739 }
20740 if (obj2) {
b411df4a 20741 {
1bd55598
RD
20742 arg3 = wxString_in_helper(obj2);
20743 if (arg3 == NULL) SWIG_fail;
20744 temp3 = true;
b411df4a 20745 }
1bd55598
RD
20746 }
20747 if (obj3) {
b411df4a 20748 {
1bd55598
RD
20749 arg4 = &temp4;
20750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 20751 }
1bd55598
RD
20752 }
20753 if (obj4) {
b411df4a 20754 {
1bd55598
RD
20755 arg5 = &temp5;
20756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20757 }
1bd55598
RD
20758 }
20759 if (obj5) {
20760 ecode6 = SWIG_AsVal_long(obj5, &val6);
20761 if (!SWIG_IsOK(ecode6)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20763 }
20764 arg6 = static_cast< long >(val6);
20765 }
20766 if (obj6) {
b411df4a 20767 {
1bd55598
RD
20768 arg7 = wxString_in_helper(obj6);
20769 if (arg7 == NULL) SWIG_fail;
20770 temp7 = true;
b411df4a 20771 }
1bd55598
RD
20772 }
20773 {
20774 if (!wxPyCheckForApp()) SWIG_fail;
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20781 {
20782 if (temp3)
20783 delete arg3;
20784 }
20785 {
20786 if (temp7)
20787 delete arg7;
20788 }
20789 return resultobj;
20790fail:
20791 {
20792 if (temp3)
20793 delete arg3;
20794 }
20795 {
20796 if (temp7)
20797 delete arg7;
20798 }
20799 return NULL;
b411df4a
RD
20800}
20801
20802
1bd55598
RD
20803SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20804 PyObject *resultobj = 0;
20805 wxMDIParentFrame *result = 0 ;
20806
20807 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20808 {
20809 if (!wxPyCheckForApp()) SWIG_fail;
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
20815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20816 return resultobj;
20817fail:
20818 return NULL;
20819}
20820
20821
20822SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20823 PyObject *resultobj = 0;
20824 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20825 wxWindow *arg2 = (wxWindow *) 0 ;
20826 int arg3 = (int) (int)-1 ;
20827 wxString const &arg4_defvalue = wxPyEmptyString ;
20828 wxString *arg4 = (wxString *) &arg4_defvalue ;
20829 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20830 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20831 wxSize const &arg6_defvalue = wxDefaultSize ;
20832 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20833 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20834 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20835 wxString *arg8 = (wxString *) &arg8_defvalue ;
20836 bool result;
20837 void *argp1 = 0 ;
20838 int res1 = 0 ;
20839 void *argp2 = 0 ;
20840 int res2 = 0 ;
20841 int val3 ;
20842 int ecode3 = 0 ;
20843 bool temp4 = false ;
20844 wxPoint temp5 ;
20845 wxSize temp6 ;
20846 long val7 ;
20847 int ecode7 = 0 ;
20848 bool temp8 = false ;
20849 PyObject * obj0 = 0 ;
20850 PyObject * obj1 = 0 ;
20851 PyObject * obj2 = 0 ;
20852 PyObject * obj3 = 0 ;
20853 PyObject * obj4 = 0 ;
20854 PyObject * obj5 = 0 ;
20855 PyObject * obj6 = 0 ;
20856 PyObject * obj7 = 0 ;
20857 char * kwnames[] = {
20858 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20859 };
20860
20861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20863 if (!SWIG_IsOK(res1)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20865 }
20866 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20867 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20868 if (!SWIG_IsOK(res2)) {
20869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20870 }
20871 arg2 = reinterpret_cast< wxWindow * >(argp2);
20872 if (obj2) {
20873 ecode3 = SWIG_AsVal_int(obj2, &val3);
20874 if (!SWIG_IsOK(ecode3)) {
20875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20876 }
20877 arg3 = static_cast< int >(val3);
20878 }
20879 if (obj3) {
b411df4a 20880 {
1bd55598
RD
20881 arg4 = wxString_in_helper(obj3);
20882 if (arg4 == NULL) SWIG_fail;
20883 temp4 = true;
b411df4a 20884 }
1bd55598
RD
20885 }
20886 if (obj4) {
b411df4a 20887 {
1bd55598
RD
20888 arg5 = &temp5;
20889 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20890 }
1bd55598
RD
20891 }
20892 if (obj5) {
b411df4a 20893 {
1bd55598
RD
20894 arg6 = &temp6;
20895 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 20896 }
1bd55598
RD
20897 }
20898 if (obj6) {
20899 ecode7 = SWIG_AsVal_long(obj6, &val7);
20900 if (!SWIG_IsOK(ecode7)) {
20901 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20902 }
20903 arg7 = static_cast< long >(val7);
20904 }
20905 if (obj7) {
36ed4f51 20906 {
1bd55598
RD
20907 arg8 = wxString_in_helper(obj7);
20908 if (arg8 == NULL) SWIG_fail;
20909 temp8 = true;
36ed4f51 20910 }
1bd55598
RD
20911 }
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 {
20919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20920 }
20921 {
20922 if (temp4)
20923 delete arg4;
20924 }
20925 {
20926 if (temp8)
20927 delete arg8;
20928 }
20929 return resultobj;
20930fail:
20931 {
20932 if (temp4)
20933 delete arg4;
20934 }
20935 {
20936 if (temp8)
20937 delete arg8;
20938 }
20939 return NULL;
d55e5bfc
RD
20940}
20941
20942
1bd55598
RD
20943SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20944 PyObject *resultobj = 0;
20945 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20946 void *argp1 = 0 ;
20947 int res1 = 0 ;
20948 PyObject *swig_obj[1] ;
20949
20950 if (!args) SWIG_fail;
20951 swig_obj[0] = args;
20952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20953 if (!SWIG_IsOK(res1)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20955 }
20956 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 (arg1)->ActivateNext();
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 resultobj = SWIG_Py_Void();
20964 return resultobj;
20965fail:
20966 return NULL;
d55e5bfc
RD
20967}
20968
20969
1bd55598
RD
20970SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20971 PyObject *resultobj = 0;
20972 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20973 void *argp1 = 0 ;
20974 int res1 = 0 ;
20975 PyObject *swig_obj[1] ;
20976
20977 if (!args) SWIG_fail;
20978 swig_obj[0] = args;
20979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20980 if (!SWIG_IsOK(res1)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20982 }
20983 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 (arg1)->ActivatePrevious();
20987 wxPyEndAllowThreads(__tstate);
20988 if (PyErr_Occurred()) SWIG_fail;
20989 }
20990 resultobj = SWIG_Py_Void();
20991 return resultobj;
20992fail:
20993 return NULL;
d55e5bfc
RD
20994}
20995
20996
1bd55598
RD
20997SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20998 PyObject *resultobj = 0;
20999 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21000 void *argp1 = 0 ;
21001 int res1 = 0 ;
21002 PyObject *swig_obj[1] ;
21003
21004 if (!args) SWIG_fail;
21005 swig_obj[0] = args;
21006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21007 if (!SWIG_IsOK(res1)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21009 }
21010 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 (arg1)->ArrangeIcons();
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 resultobj = SWIG_Py_Void();
21018 return resultobj;
21019fail:
21020 return NULL;
d55e5bfc
RD
21021}
21022
21023
1bd55598
RD
21024SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21025 PyObject *resultobj = 0;
21026 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21027 void *argp1 = 0 ;
21028 int res1 = 0 ;
21029 PyObject *swig_obj[1] ;
21030
21031 if (!args) SWIG_fail;
21032 swig_obj[0] = args;
21033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21034 if (!SWIG_IsOK(res1)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21036 }
21037 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->Cascade();
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 resultobj = SWIG_Py_Void();
21045 return resultobj;
21046fail:
21047 return NULL;
d55e5bfc
RD
21048}
21049
21050
1bd55598
RD
21051SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21052 PyObject *resultobj = 0;
21053 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21054 wxMDIChildFrame *result = 0 ;
21055 void *argp1 = 0 ;
21056 int res1 = 0 ;
21057 PyObject *swig_obj[1] ;
21058
21059 if (!args) SWIG_fail;
21060 swig_obj[0] = args;
21061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21062 if (!SWIG_IsOK(res1)) {
21063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21064 }
21065 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 {
21073 resultobj = wxPyMake_wxObject(result, (bool)0);
21074 }
21075 return resultobj;
21076fail:
21077 return NULL;
d55e5bfc
RD
21078}
21079
21080
1bd55598
RD
21081SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21082 PyObject *resultobj = 0;
21083 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21084 wxMDIClientWindow *result = 0 ;
21085 void *argp1 = 0 ;
21086 int res1 = 0 ;
21087 PyObject *swig_obj[1] ;
21088
21089 if (!args) SWIG_fail;
21090 swig_obj[0] = args;
21091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21092 if (!SWIG_IsOK(res1)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21094 }
21095 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103 resultobj = wxPyMake_wxObject(result, (bool)0);
21104 }
21105 return resultobj;
21106fail:
21107 return NULL;
d55e5bfc
RD
21108}
21109
21110
1bd55598
RD
21111SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj = 0;
21113 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21114 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21115 void *argp1 = 0 ;
21116 int res1 = 0 ;
21117 int val2 ;
21118 int ecode2 = 0 ;
21119 PyObject * obj0 = 0 ;
21120 PyObject * obj1 = 0 ;
21121 char * kwnames[] = {
21122 (char *) "self",(char *) "orient", NULL
21123 };
21124
21125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21127 if (!SWIG_IsOK(res1)) {
21128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21129 }
21130 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21131 if (obj1) {
21132 ecode2 = SWIG_AsVal_int(obj1, &val2);
21133 if (!SWIG_IsOK(ecode2)) {
21134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21135 }
21136 arg2 = static_cast< wxOrientation >(val2);
21137 }
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 (arg1)->Tile(arg2);
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 resultobj = SWIG_Py_Void();
21145 return resultobj;
21146fail:
21147 return NULL;
21148}
21149
21150
21151SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21152 PyObject *obj;
21153 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21154 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21155 return SWIG_Py_Void();
21156}
21157
21158SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21159 return SWIG_Python_InitShadowInstance(args);
21160}
21161
21162SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj = 0;
21164 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21165 int arg2 = (int) (int)-1 ;
21166 wxString const &arg3_defvalue = wxPyEmptyString ;
21167 wxString *arg3 = (wxString *) &arg3_defvalue ;
21168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21170 wxSize const &arg5_defvalue = wxDefaultSize ;
21171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21172 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21173 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21174 wxString *arg7 = (wxString *) &arg7_defvalue ;
21175 wxMDIChildFrame *result = 0 ;
21176 void *argp1 = 0 ;
21177 int res1 = 0 ;
21178 int val2 ;
21179 int ecode2 = 0 ;
21180 bool temp3 = false ;
21181 wxPoint temp4 ;
21182 wxSize temp5 ;
21183 long val6 ;
21184 int ecode6 = 0 ;
21185 bool temp7 = false ;
21186 PyObject * obj0 = 0 ;
21187 PyObject * obj1 = 0 ;
21188 PyObject * obj2 = 0 ;
21189 PyObject * obj3 = 0 ;
21190 PyObject * obj4 = 0 ;
21191 PyObject * obj5 = 0 ;
21192 PyObject * obj6 = 0 ;
21193 char * kwnames[] = {
21194 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21195 };
21196
21197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21199 if (!SWIG_IsOK(res1)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21201 }
21202 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21203 if (obj1) {
21204 ecode2 = SWIG_AsVal_int(obj1, &val2);
21205 if (!SWIG_IsOK(ecode2)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21207 }
21208 arg2 = static_cast< int >(val2);
21209 }
21210 if (obj2) {
d55e5bfc 21211 {
1bd55598
RD
21212 arg3 = wxString_in_helper(obj2);
21213 if (arg3 == NULL) SWIG_fail;
21214 temp3 = true;
d55e5bfc 21215 }
1bd55598
RD
21216 }
21217 if (obj3) {
d55e5bfc 21218 {
1bd55598
RD
21219 arg4 = &temp4;
21220 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21221 }
1bd55598
RD
21222 }
21223 if (obj4) {
d55e5bfc 21224 {
1bd55598
RD
21225 arg5 = &temp5;
21226 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21227 }
1bd55598
RD
21228 }
21229 if (obj5) {
21230 ecode6 = SWIG_AsVal_long(obj5, &val6);
21231 if (!SWIG_IsOK(ecode6)) {
21232 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21233 }
21234 arg6 = static_cast< long >(val6);
21235 }
21236 if (obj6) {
d55e5bfc 21237 {
1bd55598
RD
21238 arg7 = wxString_in_helper(obj6);
21239 if (arg7 == NULL) SWIG_fail;
21240 temp7 = true;
d55e5bfc 21241 }
1bd55598
RD
21242 }
21243 {
21244 if (!wxPyCheckForApp()) SWIG_fail;
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21251 {
21252 if (temp3)
21253 delete arg3;
21254 }
21255 {
21256 if (temp7)
21257 delete arg7;
21258 }
21259 return resultobj;
21260fail:
21261 {
21262 if (temp3)
21263 delete arg3;
21264 }
21265 {
21266 if (temp7)
21267 delete arg7;
21268 }
21269 return NULL;
d55e5bfc
RD
21270}
21271
21272
1bd55598
RD
21273SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21274 PyObject *resultobj = 0;
21275 wxMDIChildFrame *result = 0 ;
21276
21277 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21278 {
21279 if (!wxPyCheckForApp()) SWIG_fail;
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21286 return resultobj;
21287fail:
21288 return NULL;
21289}
21290
21291
21292SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21293 PyObject *resultobj = 0;
21294 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21295 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21296 int arg3 = (int) (int)-1 ;
21297 wxString const &arg4_defvalue = wxPyEmptyString ;
21298 wxString *arg4 = (wxString *) &arg4_defvalue ;
21299 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21300 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21301 wxSize const &arg6_defvalue = wxDefaultSize ;
21302 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21303 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21304 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21305 wxString *arg8 = (wxString *) &arg8_defvalue ;
21306 bool result;
21307 void *argp1 = 0 ;
21308 int res1 = 0 ;
21309 void *argp2 = 0 ;
21310 int res2 = 0 ;
21311 int val3 ;
21312 int ecode3 = 0 ;
21313 bool temp4 = false ;
21314 wxPoint temp5 ;
21315 wxSize temp6 ;
21316 long val7 ;
21317 int ecode7 = 0 ;
21318 bool temp8 = false ;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 PyObject * obj2 = 0 ;
21322 PyObject * obj3 = 0 ;
21323 PyObject * obj4 = 0 ;
21324 PyObject * obj5 = 0 ;
21325 PyObject * obj6 = 0 ;
21326 PyObject * obj7 = 0 ;
21327 char * kwnames[] = {
21328 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21329 };
21330
21331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21333 if (!SWIG_IsOK(res1)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21335 }
21336 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21337 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21338 if (!SWIG_IsOK(res2)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21340 }
21341 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21342 if (obj2) {
21343 ecode3 = SWIG_AsVal_int(obj2, &val3);
21344 if (!SWIG_IsOK(ecode3)) {
21345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21346 }
21347 arg3 = static_cast< int >(val3);
21348 }
21349 if (obj3) {
36ed4f51 21350 {
1bd55598
RD
21351 arg4 = wxString_in_helper(obj3);
21352 if (arg4 == NULL) SWIG_fail;
21353 temp4 = true;
36ed4f51 21354 }
1bd55598
RD
21355 }
21356 if (obj4) {
d55e5bfc 21357 {
1bd55598
RD
21358 arg5 = &temp5;
21359 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21360 }
1bd55598
RD
21361 }
21362 if (obj5) {
d55e5bfc 21363 {
1bd55598
RD
21364 arg6 = &temp6;
21365 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 21366 }
1bd55598
RD
21367 }
21368 if (obj6) {
21369 ecode7 = SWIG_AsVal_long(obj6, &val7);
21370 if (!SWIG_IsOK(ecode7)) {
21371 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21372 }
21373 arg7 = static_cast< long >(val7);
21374 }
21375 if (obj7) {
36ed4f51 21376 {
1bd55598
RD
21377 arg8 = wxString_in_helper(obj7);
21378 if (arg8 == NULL) SWIG_fail;
21379 temp8 = true;
36ed4f51 21380 }
1bd55598
RD
21381 }
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 {
21389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21390 }
21391 {
21392 if (temp4)
21393 delete arg4;
21394 }
21395 {
21396 if (temp8)
21397 delete arg8;
21398 }
21399 return resultobj;
21400fail:
21401 {
21402 if (temp4)
21403 delete arg4;
21404 }
21405 {
21406 if (temp8)
21407 delete arg8;
21408 }
21409 return NULL;
d55e5bfc
RD
21410}
21411
21412
1bd55598
RD
21413SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21414 PyObject *resultobj = 0;
21415 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21416 void *argp1 = 0 ;
21417 int res1 = 0 ;
21418 PyObject *swig_obj[1] ;
21419
21420 if (!args) SWIG_fail;
21421 swig_obj[0] = args;
21422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21423 if (!SWIG_IsOK(res1)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21425 }
21426 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->Activate();
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = SWIG_Py_Void();
21434 return resultobj;
21435fail:
21436 return NULL;
d55e5bfc
RD
21437}
21438
21439
1bd55598
RD
21440SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21441 PyObject *obj;
21442 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21443 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21444 return SWIG_Py_Void();
d55e5bfc
RD
21445}
21446
1bd55598
RD
21447SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21448 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21449}
21450
1bd55598
RD
21451SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj = 0;
21453 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21454 long arg2 = (long) 0 ;
21455 wxMDIClientWindow *result = 0 ;
21456 void *argp1 = 0 ;
21457 int res1 = 0 ;
21458 long val2 ;
21459 int ecode2 = 0 ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 char * kwnames[] = {
21463 (char *) "parent",(char *) "style", NULL
21464 };
21465
21466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21468 if (!SWIG_IsOK(res1)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21470 }
21471 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21472 if (obj1) {
21473 ecode2 = SWIG_AsVal_long(obj1, &val2);
21474 if (!SWIG_IsOK(ecode2)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21476 }
21477 arg2 = static_cast< long >(val2);
21478 }
21479 {
21480 if (!wxPyCheckForApp()) SWIG_fail;
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21487 return resultobj;
21488fail:
21489 return NULL;
d55e5bfc
RD
21490}
21491
21492
1bd55598
RD
21493SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21494 PyObject *resultobj = 0;
21495 wxMDIClientWindow *result = 0 ;
21496
21497 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21498 {
21499 if (!wxPyCheckForApp()) SWIG_fail;
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21506 return resultobj;
21507fail:
21508 return NULL;
21509}
21510
21511
21512SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj = 0;
21514 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21515 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21516 long arg3 = (long) 0 ;
21517 bool result;
21518 void *argp1 = 0 ;
21519 int res1 = 0 ;
21520 void *argp2 = 0 ;
21521 int res2 = 0 ;
21522 long val3 ;
21523 int ecode3 = 0 ;
21524 PyObject * obj0 = 0 ;
21525 PyObject * obj1 = 0 ;
21526 PyObject * obj2 = 0 ;
21527 char * kwnames[] = {
21528 (char *) "self",(char *) "parent",(char *) "style", NULL
21529 };
21530
21531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21533 if (!SWIG_IsOK(res1)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21535 }
21536 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21537 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21538 if (!SWIG_IsOK(res2)) {
21539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21540 }
21541 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21542 if (obj2) {
21543 ecode3 = SWIG_AsVal_long(obj2, &val3);
21544 if (!SWIG_IsOK(ecode3)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21546 }
21547 arg3 = static_cast< long >(val3);
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (bool)(arg1)->Create(arg2,arg3);
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 {
21556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21557 }
21558 return resultobj;
21559fail:
21560 return NULL;
21561}
21562
21563
21564SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21565 PyObject *obj;
21566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21567 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21568 return SWIG_Py_Void();
21569}
21570
21571SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21572 return SWIG_Python_InitShadowInstance(args);
21573}
21574
21575SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj = 0;
21577 wxWindow *arg1 = (wxWindow *) 0 ;
21578 int arg2 = (int) (int)-1 ;
21579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21581 wxSize const &arg4_defvalue = wxDefaultSize ;
21582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21583 long arg5 = (long) 0 ;
21584 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21585 wxString *arg6 = (wxString *) &arg6_defvalue ;
21586 wxPyWindow *result = 0 ;
21587 void *argp1 = 0 ;
21588 int res1 = 0 ;
21589 int val2 ;
21590 int ecode2 = 0 ;
21591 wxPoint temp3 ;
21592 wxSize temp4 ;
21593 long val5 ;
21594 int ecode5 = 0 ;
21595 bool temp6 = false ;
21596 PyObject * obj0 = 0 ;
21597 PyObject * obj1 = 0 ;
21598 PyObject * obj2 = 0 ;
21599 PyObject * obj3 = 0 ;
21600 PyObject * obj4 = 0 ;
21601 PyObject * obj5 = 0 ;
21602 char * kwnames[] = {
21603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21604 };
21605
21606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21608 if (!SWIG_IsOK(res1)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21610 }
21611 arg1 = reinterpret_cast< wxWindow * >(argp1);
21612 if (obj1) {
21613 ecode2 = SWIG_AsVal_int(obj1, &val2);
21614 if (!SWIG_IsOK(ecode2)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21616 }
21617 arg2 = static_cast< int >(val2);
21618 }
21619 if (obj2) {
32fe5131 21620 {
1bd55598
RD
21621 arg3 = &temp3;
21622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 21623 }
1bd55598
RD
21624 }
21625 if (obj3) {
32fe5131 21626 {
1bd55598
RD
21627 arg4 = &temp4;
21628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 21629 }
1bd55598
RD
21630 }
21631 if (obj4) {
21632 ecode5 = SWIG_AsVal_long(obj4, &val5);
21633 if (!SWIG_IsOK(ecode5)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21635 }
21636 arg5 = static_cast< long >(val5);
21637 }
21638 if (obj5) {
32fe5131 21639 {
1bd55598
RD
21640 arg6 = wxString_in_helper(obj5);
21641 if (arg6 == NULL) SWIG_fail;
21642 temp6 = true;
32fe5131 21643 }
1bd55598
RD
21644 }
21645 {
21646 if (!wxPyCheckForApp()) SWIG_fail;
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21649 wxPyEndAllowThreads(__tstate);
21650 if (PyErr_Occurred()) SWIG_fail;
21651 }
21652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21653 {
21654 if (temp6)
21655 delete arg6;
21656 }
21657 return resultobj;
21658fail:
21659 {
21660 if (temp6)
21661 delete arg6;
21662 }
21663 return NULL;
32fe5131
RD
21664}
21665
21666
1bd55598
RD
21667SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21668 PyObject *resultobj = 0;
21669 wxPyWindow *result = 0 ;
21670
21671 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21672 {
21673 if (!wxPyCheckForApp()) SWIG_fail;
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 result = (wxPyWindow *)new wxPyWindow();
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21680 return resultobj;
21681fail:
21682 return NULL;
21683}
21684
21685
21686SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj = 0;
21688 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21689 PyObject *arg2 = (PyObject *) 0 ;
21690 PyObject *arg3 = (PyObject *) 0 ;
21691 void *argp1 = 0 ;
21692 int res1 = 0 ;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 PyObject * obj2 = 0 ;
21696 char * kwnames[] = {
21697 (char *) "self",(char *) "self",(char *) "_class", NULL
21698 };
21699
21700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21702 if (!SWIG_IsOK(res1)) {
21703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21704 }
21705 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21706 arg2 = obj1;
21707 arg3 = obj2;
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 (arg1)->_setCallbackInfo(arg2,arg3);
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 resultobj = SWIG_Py_Void();
21715 return resultobj;
21716fail:
21717 return NULL;
21718}
21719
21720
1bd55598
RD
21721SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj = 0;
21723 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21724 wxDC *arg2 = (wxDC *) 0 ;
21725 bool result;
21726 void *argp1 = 0 ;
21727 int res1 = 0 ;
21728 void *argp2 = 0 ;
21729 int res2 = 0 ;
21730 PyObject * obj0 = 0 ;
21731 PyObject * obj1 = 0 ;
21732 char * kwnames[] = {
21733 (char *) "self",(char *) "dc", NULL
21734 };
21735
21736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21738 if (!SWIG_IsOK(res1)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21740 }
21741 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21742 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21743 if (!SWIG_IsOK(res2)) {
21744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21745 }
21746 arg2 = reinterpret_cast< wxDC * >(argp2);
21747 {
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = (bool)(arg1)->DoEraseBackground(arg2);
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 {
21754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21755 }
21756 return resultobj;
21757fail:
21758 return NULL;
21759}
21760
21761
21762SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj = 0;
21764 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21765 int arg2 ;
21766 int arg3 ;
21767 int arg4 ;
21768 int arg5 ;
21769 void *argp1 = 0 ;
21770 int res1 = 0 ;
21771 int val2 ;
21772 int ecode2 = 0 ;
21773 int val3 ;
21774 int ecode3 = 0 ;
21775 int val4 ;
21776 int ecode4 = 0 ;
21777 int val5 ;
21778 int ecode5 = 0 ;
21779 PyObject * obj0 = 0 ;
21780 PyObject * obj1 = 0 ;
21781 PyObject * obj2 = 0 ;
21782 PyObject * obj3 = 0 ;
21783 PyObject * obj4 = 0 ;
21784 char * kwnames[] = {
21785 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21786 };
21787
21788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21790 if (!SWIG_IsOK(res1)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21792 }
21793 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21794 ecode2 = SWIG_AsVal_int(obj1, &val2);
21795 if (!SWIG_IsOK(ecode2)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21797 }
21798 arg2 = static_cast< int >(val2);
21799 ecode3 = SWIG_AsVal_int(obj2, &val3);
21800 if (!SWIG_IsOK(ecode3)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21802 }
21803 arg3 = static_cast< int >(val3);
21804 ecode4 = SWIG_AsVal_int(obj3, &val4);
21805 if (!SWIG_IsOK(ecode4)) {
21806 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21807 }
21808 arg4 = static_cast< int >(val4);
21809 ecode5 = SWIG_AsVal_int(obj4, &val5);
21810 if (!SWIG_IsOK(ecode5)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21812 }
21813 arg5 = static_cast< int >(val5);
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 resultobj = SWIG_Py_Void();
21821 return resultobj;
21822fail:
21823 return NULL;
21824}
21825
21826
21827SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj = 0;
21829 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21830 int arg2 ;
21831 int arg3 ;
21832 int arg4 ;
21833 int arg5 ;
21834 int arg6 = (int) wxSIZE_AUTO ;
21835 void *argp1 = 0 ;
21836 int res1 = 0 ;
21837 int val2 ;
21838 int ecode2 = 0 ;
21839 int val3 ;
21840 int ecode3 = 0 ;
21841 int val4 ;
21842 int ecode4 = 0 ;
21843 int val5 ;
21844 int ecode5 = 0 ;
21845 int val6 ;
21846 int ecode6 = 0 ;
21847 PyObject * obj0 = 0 ;
21848 PyObject * obj1 = 0 ;
21849 PyObject * obj2 = 0 ;
21850 PyObject * obj3 = 0 ;
21851 PyObject * obj4 = 0 ;
21852 PyObject * obj5 = 0 ;
21853 char * kwnames[] = {
21854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21855 };
21856
21857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21859 if (!SWIG_IsOK(res1)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21861 }
21862 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21863 ecode2 = SWIG_AsVal_int(obj1, &val2);
21864 if (!SWIG_IsOK(ecode2)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21866 }
21867 arg2 = static_cast< int >(val2);
21868 ecode3 = SWIG_AsVal_int(obj2, &val3);
21869 if (!SWIG_IsOK(ecode3)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21871 }
21872 arg3 = static_cast< int >(val3);
21873 ecode4 = SWIG_AsVal_int(obj3, &val4);
21874 if (!SWIG_IsOK(ecode4)) {
21875 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21876 }
21877 arg4 = static_cast< int >(val4);
21878 ecode5 = SWIG_AsVal_int(obj4, &val5);
21879 if (!SWIG_IsOK(ecode5)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21881 }
21882 arg5 = static_cast< int >(val5);
21883 if (obj5) {
21884 ecode6 = SWIG_AsVal_int(obj5, &val6);
21885 if (!SWIG_IsOK(ecode6)) {
21886 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21887 }
21888 arg6 = static_cast< int >(val6);
21889 }
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 resultobj = SWIG_Py_Void();
21897 return resultobj;
21898fail:
21899 return NULL;
21900}
21901
21902
21903SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj = 0;
21905 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21906 int arg2 ;
21907 int arg3 ;
21908 void *argp1 = 0 ;
21909 int res1 = 0 ;
21910 int val2 ;
21911 int ecode2 = 0 ;
21912 int val3 ;
21913 int ecode3 = 0 ;
21914 PyObject * obj0 = 0 ;
21915 PyObject * obj1 = 0 ;
21916 PyObject * obj2 = 0 ;
21917 char * kwnames[] = {
21918 (char *) "self",(char *) "width",(char *) "height", NULL
21919 };
21920
21921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21923 if (!SWIG_IsOK(res1)) {
21924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21925 }
21926 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21927 ecode2 = SWIG_AsVal_int(obj1, &val2);
21928 if (!SWIG_IsOK(ecode2)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21930 }
21931 arg2 = static_cast< int >(val2);
21932 ecode3 = SWIG_AsVal_int(obj2, &val3);
21933 if (!SWIG_IsOK(ecode3)) {
21934 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21935 }
21936 arg3 = static_cast< int >(val3);
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 (arg1)->DoSetClientSize(arg2,arg3);
21940 wxPyEndAllowThreads(__tstate);
21941 if (PyErr_Occurred()) SWIG_fail;
21942 }
21943 resultobj = SWIG_Py_Void();
21944 return resultobj;
21945fail:
21946 return NULL;
21947}
21948
21949
21950SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj = 0;
21952 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21953 int arg2 ;
21954 int arg3 ;
21955 void *argp1 = 0 ;
21956 int res1 = 0 ;
21957 int val2 ;
21958 int ecode2 = 0 ;
21959 int val3 ;
21960 int ecode3 = 0 ;
21961 PyObject * obj0 = 0 ;
21962 PyObject * obj1 = 0 ;
21963 PyObject * obj2 = 0 ;
21964 char * kwnames[] = {
21965 (char *) "self",(char *) "x",(char *) "y", NULL
21966 };
21967
21968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21970 if (!SWIG_IsOK(res1)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21972 }
21973 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21974 ecode2 = SWIG_AsVal_int(obj1, &val2);
21975 if (!SWIG_IsOK(ecode2)) {
21976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21977 }
21978 arg2 = static_cast< int >(val2);
21979 ecode3 = SWIG_AsVal_int(obj2, &val3);
21980 if (!SWIG_IsOK(ecode3)) {
21981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21982 }
21983 arg3 = static_cast< int >(val3);
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 (arg1)->DoSetVirtualSize(arg2,arg3);
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 resultobj = SWIG_Py_Void();
21991 return resultobj;
21992fail:
21993 return NULL;
21994}
21995
21996
21997SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21998 PyObject *resultobj = 0;
21999 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22000 int *arg2 = (int *) 0 ;
22001 int *arg3 = (int *) 0 ;
22002 void *argp1 = 0 ;
22003 int res1 = 0 ;
22004 int temp2 ;
22005 int res2 = SWIG_TMPOBJ ;
22006 int temp3 ;
22007 int res3 = SWIG_TMPOBJ ;
22008 PyObject *swig_obj[1] ;
22009
22010 arg2 = &temp2;
22011 arg3 = &temp3;
22012 if (!args) SWIG_fail;
22013 swig_obj[0] = args;
22014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22015 if (!SWIG_IsOK(res1)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22017 }
22018 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22022 wxPyEndAllowThreads(__tstate);
22023 if (PyErr_Occurred()) SWIG_fail;
22024 }
22025 resultobj = SWIG_Py_Void();
22026 if (SWIG_IsTmpObj(res2)) {
22027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22028 } else {
22029 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22030 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22031 }
22032 if (SWIG_IsTmpObj(res3)) {
22033 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22034 } else {
22035 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22036 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22037 }
22038 return resultobj;
22039fail:
22040 return NULL;
22041}
22042
22043
22044SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22045 PyObject *resultobj = 0;
22046 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22047 int *arg2 = (int *) 0 ;
22048 int *arg3 = (int *) 0 ;
22049 void *argp1 = 0 ;
22050 int res1 = 0 ;
22051 int temp2 ;
22052 int res2 = SWIG_TMPOBJ ;
22053 int temp3 ;
22054 int res3 = SWIG_TMPOBJ ;
22055 PyObject *swig_obj[1] ;
22056
22057 arg2 = &temp2;
22058 arg3 = &temp3;
22059 if (!args) SWIG_fail;
22060 swig_obj[0] = args;
22061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22062 if (!SWIG_IsOK(res1)) {
22063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22064 }
22065 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22066 {
22067 PyThreadState* __tstate = wxPyBeginAllowThreads();
22068 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 resultobj = SWIG_Py_Void();
22073 if (SWIG_IsTmpObj(res2)) {
22074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22075 } else {
22076 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22078 }
22079 if (SWIG_IsTmpObj(res3)) {
22080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22081 } else {
22082 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22084 }
22085 return resultobj;
22086fail:
22087 return NULL;
22088}
22089
22090
22091SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22092 PyObject *resultobj = 0;
22093 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22094 int *arg2 = (int *) 0 ;
22095 int *arg3 = (int *) 0 ;
22096 void *argp1 = 0 ;
22097 int res1 = 0 ;
22098 int temp2 ;
22099 int res2 = SWIG_TMPOBJ ;
22100 int temp3 ;
22101 int res3 = SWIG_TMPOBJ ;
22102 PyObject *swig_obj[1] ;
22103
22104 arg2 = &temp2;
22105 arg3 = &temp3;
22106 if (!args) SWIG_fail;
22107 swig_obj[0] = args;
22108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22109 if (!SWIG_IsOK(res1)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22111 }
22112 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 resultobj = SWIG_Py_Void();
22120 if (SWIG_IsTmpObj(res2)) {
22121 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22122 } else {
22123 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22124 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22125 }
22126 if (SWIG_IsTmpObj(res3)) {
22127 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22128 } else {
22129 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22130 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22131 }
22132 return resultobj;
22133fail:
22134 return NULL;
d55e5bfc
RD
22135}
22136
22137
1bd55598
RD
22138SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22139 PyObject *resultobj = 0;
22140 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22141 wxSize result;
22142 void *argp1 = 0 ;
22143 int res1 = 0 ;
22144 PyObject *swig_obj[1] ;
22145
22146 if (!args) SWIG_fail;
22147 swig_obj[0] = args;
22148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22149 if (!SWIG_IsOK(res1)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22151 }
22152 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22160 return resultobj;
22161fail:
22162 return NULL;
d55e5bfc
RD
22163}
22164
22165
1bd55598
RD
22166SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22167 PyObject *resultobj = 0;
22168 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22169 wxSize result;
22170 void *argp1 = 0 ;
22171 int res1 = 0 ;
22172 PyObject *swig_obj[1] ;
22173
22174 if (!args) SWIG_fail;
22175 swig_obj[0] = args;
22176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22177 if (!SWIG_IsOK(res1)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22179 }
22180 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22188 return resultobj;
22189fail:
22190 return NULL;
d55e5bfc
RD
22191}
22192
22193
1bd55598
RD
22194SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22195 PyObject *resultobj = 0;
22196 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22197 SwigValueWrapper<wxVisualAttributes > result;
22198 void *argp1 = 0 ;
22199 int res1 = 0 ;
22200 PyObject *swig_obj[1] ;
22201
22202 if (!args) SWIG_fail;
22203 swig_obj[0] = args;
22204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22205 if (!SWIG_IsOK(res1)) {
22206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22207 }
22208 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 result = (arg1)->GetDefaultAttributes();
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22216 return resultobj;
22217fail:
22218 return NULL;
d55e5bfc
RD
22219}
22220
22221
1bd55598
RD
22222SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22223 PyObject *resultobj = 0;
22224 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22225 void *argp1 = 0 ;
22226 int res1 = 0 ;
22227 PyObject *swig_obj[1] ;
22228
22229 if (!args) SWIG_fail;
22230 swig_obj[0] = args;
22231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22232 if (!SWIG_IsOK(res1)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22234 }
22235 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 (arg1)->OnInternalIdle();
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 resultobj = SWIG_Py_Void();
22243 return resultobj;
22244fail:
22245 return NULL;
22246}
22247
22248
22249SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22250 PyObject *obj;
22251 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22252 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22253 return SWIG_Py_Void();
22254}
22255
22256SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22257 return SWIG_Python_InitShadowInstance(args);
22258}
22259
22260SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj = 0;
22262 wxWindow *arg1 = (wxWindow *) 0 ;
22263 int arg2 = (int) (int)-1 ;
22264 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22265 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22266 wxSize const &arg4_defvalue = wxDefaultSize ;
22267 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22268 long arg5 = (long) 0 ;
22269 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22270 wxString *arg6 = (wxString *) &arg6_defvalue ;
22271 wxPyPanel *result = 0 ;
22272 void *argp1 = 0 ;
22273 int res1 = 0 ;
22274 int val2 ;
22275 int ecode2 = 0 ;
22276 wxPoint temp3 ;
22277 wxSize temp4 ;
22278 long val5 ;
22279 int ecode5 = 0 ;
22280 bool temp6 = false ;
22281 PyObject * obj0 = 0 ;
22282 PyObject * obj1 = 0 ;
22283 PyObject * obj2 = 0 ;
22284 PyObject * obj3 = 0 ;
22285 PyObject * obj4 = 0 ;
22286 PyObject * obj5 = 0 ;
22287 char * kwnames[] = {
22288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22289 };
22290
22291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22293 if (!SWIG_IsOK(res1)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22295 }
22296 arg1 = reinterpret_cast< wxWindow * >(argp1);
22297 if (obj1) {
22298 ecode2 = SWIG_AsVal_int(obj1, &val2);
22299 if (!SWIG_IsOK(ecode2)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22301 }
22302 arg2 = static_cast< int >(val2);
22303 }
22304 if (obj2) {
d55e5bfc 22305 {
1bd55598
RD
22306 arg3 = &temp3;
22307 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22308 }
1bd55598
RD
22309 }
22310 if (obj3) {
d55e5bfc 22311 {
1bd55598
RD
22312 arg4 = &temp4;
22313 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22314 }
1bd55598
RD
22315 }
22316 if (obj4) {
22317 ecode5 = SWIG_AsVal_long(obj4, &val5);
22318 if (!SWIG_IsOK(ecode5)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22320 }
22321 arg5 = static_cast< long >(val5);
22322 }
22323 if (obj5) {
d55e5bfc 22324 {
1bd55598
RD
22325 arg6 = wxString_in_helper(obj5);
22326 if (arg6 == NULL) SWIG_fail;
22327 temp6 = true;
d55e5bfc 22328 }
1bd55598
RD
22329 }
22330 {
22331 if (!wxPyCheckForApp()) SWIG_fail;
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22338 {
22339 if (temp6)
22340 delete arg6;
22341 }
22342 return resultobj;
22343fail:
22344 {
22345 if (temp6)
22346 delete arg6;
22347 }
22348 return NULL;
d55e5bfc
RD
22349}
22350
22351
1bd55598
RD
22352SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22353 PyObject *resultobj = 0;
22354 wxPyPanel *result = 0 ;
22355
22356 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22357 {
22358 if (!wxPyCheckForApp()) SWIG_fail;
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = (wxPyPanel *)new wxPyPanel();
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22365 return resultobj;
22366fail:
22367 return NULL;
22368}
22369
22370
22371SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj = 0;
22373 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22374 PyObject *arg2 = (PyObject *) 0 ;
22375 PyObject *arg3 = (PyObject *) 0 ;
22376 void *argp1 = 0 ;
22377 int res1 = 0 ;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 PyObject * obj2 = 0 ;
22381 char * kwnames[] = {
22382 (char *) "self",(char *) "self",(char *) "_class", NULL
22383 };
22384
22385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22387 if (!SWIG_IsOK(res1)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22389 }
22390 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22391 arg2 = obj1;
22392 arg3 = obj2;
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 (arg1)->_setCallbackInfo(arg2,arg3);
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 resultobj = SWIG_Py_Void();
22400 return resultobj;
22401fail:
22402 return NULL;
22403}
22404
22405
1bd55598
RD
22406SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22407 PyObject *resultobj = 0;
22408 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22409 wxDC *arg2 = (wxDC *) 0 ;
22410 bool result;
22411 void *argp1 = 0 ;
22412 int res1 = 0 ;
22413 void *argp2 = 0 ;
22414 int res2 = 0 ;
22415 PyObject * obj0 = 0 ;
22416 PyObject * obj1 = 0 ;
22417 char * kwnames[] = {
22418 (char *) "self",(char *) "dc", NULL
22419 };
22420
22421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22423 if (!SWIG_IsOK(res1)) {
22424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22425 }
22426 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22428 if (!SWIG_IsOK(res2)) {
22429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22430 }
22431 arg2 = reinterpret_cast< wxDC * >(argp2);
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = (bool)(arg1)->DoEraseBackground(arg2);
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
22438 {
22439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22440 }
22441 return resultobj;
22442fail:
22443 return NULL;
22444}
22445
22446
22447SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj = 0;
22449 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22450 int arg2 ;
22451 int arg3 ;
22452 int arg4 ;
22453 int arg5 ;
22454 void *argp1 = 0 ;
22455 int res1 = 0 ;
22456 int val2 ;
22457 int ecode2 = 0 ;
22458 int val3 ;
22459 int ecode3 = 0 ;
22460 int val4 ;
22461 int ecode4 = 0 ;
22462 int val5 ;
22463 int ecode5 = 0 ;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 PyObject * obj2 = 0 ;
22467 PyObject * obj3 = 0 ;
22468 PyObject * obj4 = 0 ;
22469 char * kwnames[] = {
22470 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22471 };
22472
22473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22475 if (!SWIG_IsOK(res1)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22477 }
22478 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22479 ecode2 = SWIG_AsVal_int(obj1, &val2);
22480 if (!SWIG_IsOK(ecode2)) {
22481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22482 }
22483 arg2 = static_cast< int >(val2);
22484 ecode3 = SWIG_AsVal_int(obj2, &val3);
22485 if (!SWIG_IsOK(ecode3)) {
22486 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22487 }
22488 arg3 = static_cast< int >(val3);
22489 ecode4 = SWIG_AsVal_int(obj3, &val4);
22490 if (!SWIG_IsOK(ecode4)) {
22491 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22492 }
22493 arg4 = static_cast< int >(val4);
22494 ecode5 = SWIG_AsVal_int(obj4, &val5);
22495 if (!SWIG_IsOK(ecode5)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22497 }
22498 arg5 = static_cast< int >(val5);
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 resultobj = SWIG_Py_Void();
22506 return resultobj;
22507fail:
22508 return NULL;
22509}
22510
22511
22512SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj = 0;
22514 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22515 int arg2 ;
22516 int arg3 ;
22517 int arg4 ;
22518 int arg5 ;
22519 int arg6 = (int) wxSIZE_AUTO ;
22520 void *argp1 = 0 ;
22521 int res1 = 0 ;
22522 int val2 ;
22523 int ecode2 = 0 ;
22524 int val3 ;
22525 int ecode3 = 0 ;
22526 int val4 ;
22527 int ecode4 = 0 ;
22528 int val5 ;
22529 int ecode5 = 0 ;
22530 int val6 ;
22531 int ecode6 = 0 ;
22532 PyObject * obj0 = 0 ;
22533 PyObject * obj1 = 0 ;
22534 PyObject * obj2 = 0 ;
22535 PyObject * obj3 = 0 ;
22536 PyObject * obj4 = 0 ;
22537 PyObject * obj5 = 0 ;
22538 char * kwnames[] = {
22539 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22540 };
22541
22542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22544 if (!SWIG_IsOK(res1)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22546 }
22547 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22548 ecode2 = SWIG_AsVal_int(obj1, &val2);
22549 if (!SWIG_IsOK(ecode2)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22551 }
22552 arg2 = static_cast< int >(val2);
22553 ecode3 = SWIG_AsVal_int(obj2, &val3);
22554 if (!SWIG_IsOK(ecode3)) {
22555 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22556 }
22557 arg3 = static_cast< int >(val3);
22558 ecode4 = SWIG_AsVal_int(obj3, &val4);
22559 if (!SWIG_IsOK(ecode4)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22561 }
22562 arg4 = static_cast< int >(val4);
22563 ecode5 = SWIG_AsVal_int(obj4, &val5);
22564 if (!SWIG_IsOK(ecode5)) {
22565 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22566 }
22567 arg5 = static_cast< int >(val5);
22568 if (obj5) {
22569 ecode6 = SWIG_AsVal_int(obj5, &val6);
22570 if (!SWIG_IsOK(ecode6)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22572 }
22573 arg6 = static_cast< int >(val6);
22574 }
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 resultobj = SWIG_Py_Void();
22582 return resultobj;
22583fail:
22584 return NULL;
22585}
22586
22587
22588SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj = 0;
22590 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22591 int arg2 ;
22592 int arg3 ;
22593 void *argp1 = 0 ;
22594 int res1 = 0 ;
22595 int val2 ;
22596 int ecode2 = 0 ;
22597 int val3 ;
22598 int ecode3 = 0 ;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 PyObject * obj2 = 0 ;
22602 char * kwnames[] = {
22603 (char *) "self",(char *) "width",(char *) "height", NULL
22604 };
22605
22606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22610 }
22611 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22612 ecode2 = SWIG_AsVal_int(obj1, &val2);
22613 if (!SWIG_IsOK(ecode2)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22615 }
22616 arg2 = static_cast< int >(val2);
22617 ecode3 = SWIG_AsVal_int(obj2, &val3);
22618 if (!SWIG_IsOK(ecode3)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22620 }
22621 arg3 = static_cast< int >(val3);
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 (arg1)->DoSetClientSize(arg2,arg3);
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 resultobj = SWIG_Py_Void();
22629 return resultobj;
22630fail:
22631 return NULL;
22632}
22633
22634
22635SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj = 0;
22637 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22638 int arg2 ;
22639 int arg3 ;
22640 void *argp1 = 0 ;
22641 int res1 = 0 ;
22642 int val2 ;
22643 int ecode2 = 0 ;
22644 int val3 ;
22645 int ecode3 = 0 ;
22646 PyObject * obj0 = 0 ;
22647 PyObject * obj1 = 0 ;
22648 PyObject * obj2 = 0 ;
22649 char * kwnames[] = {
22650 (char *) "self",(char *) "x",(char *) "y", NULL
22651 };
22652
22653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22655 if (!SWIG_IsOK(res1)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22657 }
22658 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22659 ecode2 = SWIG_AsVal_int(obj1, &val2);
22660 if (!SWIG_IsOK(ecode2)) {
22661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22662 }
22663 arg2 = static_cast< int >(val2);
22664 ecode3 = SWIG_AsVal_int(obj2, &val3);
22665 if (!SWIG_IsOK(ecode3)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22667 }
22668 arg3 = static_cast< int >(val3);
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 (arg1)->DoSetVirtualSize(arg2,arg3);
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 resultobj = SWIG_Py_Void();
22676 return resultobj;
22677fail:
22678 return NULL;
22679}
22680
22681
22682SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22683 PyObject *resultobj = 0;
22684 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22685 int *arg2 = (int *) 0 ;
22686 int *arg3 = (int *) 0 ;
22687 void *argp1 = 0 ;
22688 int res1 = 0 ;
22689 int temp2 ;
22690 int res2 = SWIG_TMPOBJ ;
22691 int temp3 ;
22692 int res3 = SWIG_TMPOBJ ;
22693 PyObject *swig_obj[1] ;
22694
22695 arg2 = &temp2;
22696 arg3 = &temp3;
22697 if (!args) SWIG_fail;
22698 swig_obj[0] = args;
22699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22700 if (!SWIG_IsOK(res1)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22702 }
22703 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 resultobj = SWIG_Py_Void();
22711 if (SWIG_IsTmpObj(res2)) {
22712 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22713 } else {
22714 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22715 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22716 }
22717 if (SWIG_IsTmpObj(res3)) {
22718 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22719 } else {
22720 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22722 }
22723 return resultobj;
22724fail:
22725 return NULL;
22726}
22727
22728
22729SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22730 PyObject *resultobj = 0;
22731 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22732 int *arg2 = (int *) 0 ;
22733 int *arg3 = (int *) 0 ;
22734 void *argp1 = 0 ;
22735 int res1 = 0 ;
22736 int temp2 ;
22737 int res2 = SWIG_TMPOBJ ;
22738 int temp3 ;
22739 int res3 = SWIG_TMPOBJ ;
22740 PyObject *swig_obj[1] ;
22741
22742 arg2 = &temp2;
22743 arg3 = &temp3;
22744 if (!args) SWIG_fail;
22745 swig_obj[0] = args;
22746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22747 if (!SWIG_IsOK(res1)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22749 }
22750 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 resultobj = SWIG_Py_Void();
22758 if (SWIG_IsTmpObj(res2)) {
22759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22760 } else {
22761 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22762 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22763 }
22764 if (SWIG_IsTmpObj(res3)) {
22765 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22766 } else {
22767 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22769 }
22770 return resultobj;
22771fail:
22772 return NULL;
22773}
22774
22775
22776SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22777 PyObject *resultobj = 0;
22778 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22779 int *arg2 = (int *) 0 ;
22780 int *arg3 = (int *) 0 ;
22781 void *argp1 = 0 ;
22782 int res1 = 0 ;
22783 int temp2 ;
22784 int res2 = SWIG_TMPOBJ ;
22785 int temp3 ;
22786 int res3 = SWIG_TMPOBJ ;
22787 PyObject *swig_obj[1] ;
22788
22789 arg2 = &temp2;
22790 arg3 = &temp3;
22791 if (!args) SWIG_fail;
22792 swig_obj[0] = args;
22793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22794 if (!SWIG_IsOK(res1)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22796 }
22797 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 resultobj = SWIG_Py_Void();
22805 if (SWIG_IsTmpObj(res2)) {
22806 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22807 } else {
22808 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22809 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22810 }
22811 if (SWIG_IsTmpObj(res3)) {
22812 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22813 } else {
22814 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22816 }
22817 return resultobj;
22818fail:
22819 return NULL;
d55e5bfc
RD
22820}
22821
22822
1bd55598
RD
22823SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22824 PyObject *resultobj = 0;
22825 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22826 wxSize result;
22827 void *argp1 = 0 ;
22828 int res1 = 0 ;
22829 PyObject *swig_obj[1] ;
22830
22831 if (!args) SWIG_fail;
22832 swig_obj[0] = args;
22833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22834 if (!SWIG_IsOK(res1)) {
22835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22836 }
22837 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22840 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22845 return resultobj;
22846fail:
22847 return NULL;
d55e5bfc
RD
22848}
22849
22850
1bd55598
RD
22851SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22852 PyObject *resultobj = 0;
22853 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22854 wxSize result;
22855 void *argp1 = 0 ;
22856 int res1 = 0 ;
22857 PyObject *swig_obj[1] ;
22858
22859 if (!args) SWIG_fail;
22860 swig_obj[0] = args;
22861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22862 if (!SWIG_IsOK(res1)) {
22863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22864 }
22865 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22873 return resultobj;
22874fail:
22875 return NULL;
d55e5bfc
RD
22876}
22877
22878
1bd55598
RD
22879SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22880 PyObject *resultobj = 0;
22881 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22882 SwigValueWrapper<wxVisualAttributes > result;
22883 void *argp1 = 0 ;
22884 int res1 = 0 ;
22885 PyObject *swig_obj[1] ;
22886
22887 if (!args) SWIG_fail;
22888 swig_obj[0] = args;
22889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22890 if (!SWIG_IsOK(res1)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22892 }
22893 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = (arg1)->GetDefaultAttributes();
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22901 return resultobj;
22902fail:
22903 return NULL;
d55e5bfc
RD
22904}
22905
22906
1bd55598
RD
22907SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22908 PyObject *resultobj = 0;
22909 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22910 void *argp1 = 0 ;
22911 int res1 = 0 ;
22912 PyObject *swig_obj[1] ;
22913
22914 if (!args) SWIG_fail;
22915 swig_obj[0] = args;
22916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22917 if (!SWIG_IsOK(res1)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22919 }
22920 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 (arg1)->OnInternalIdle();
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 resultobj = SWIG_Py_Void();
22928 return resultobj;
22929fail:
22930 return NULL;
22931}
22932
22933
22934SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22935 PyObject *obj;
22936 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22937 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22938 return SWIG_Py_Void();
22939}
22940
22941SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22942 return SWIG_Python_InitShadowInstance(args);
22943}
22944
22945SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22946 PyObject *resultobj = 0;
22947 wxWindow *arg1 = (wxWindow *) 0 ;
22948 int arg2 = (int) (int)-1 ;
22949 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22950 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22951 wxSize const &arg4_defvalue = wxDefaultSize ;
22952 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22953 long arg5 = (long) 0 ;
22954 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22955 wxString *arg6 = (wxString *) &arg6_defvalue ;
22956 wxPyScrolledWindow *result = 0 ;
22957 void *argp1 = 0 ;
22958 int res1 = 0 ;
22959 int val2 ;
22960 int ecode2 = 0 ;
22961 wxPoint temp3 ;
22962 wxSize temp4 ;
22963 long val5 ;
22964 int ecode5 = 0 ;
22965 bool temp6 = false ;
22966 PyObject * obj0 = 0 ;
22967 PyObject * obj1 = 0 ;
22968 PyObject * obj2 = 0 ;
22969 PyObject * obj3 = 0 ;
22970 PyObject * obj4 = 0 ;
22971 PyObject * obj5 = 0 ;
22972 char * kwnames[] = {
22973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22974 };
22975
22976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22978 if (!SWIG_IsOK(res1)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22980 }
22981 arg1 = reinterpret_cast< wxWindow * >(argp1);
22982 if (obj1) {
22983 ecode2 = SWIG_AsVal_int(obj1, &val2);
22984 if (!SWIG_IsOK(ecode2)) {
22985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22986 }
22987 arg2 = static_cast< int >(val2);
22988 }
22989 if (obj2) {
d55e5bfc 22990 {
1bd55598
RD
22991 arg3 = &temp3;
22992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22993 }
1bd55598
RD
22994 }
22995 if (obj3) {
d55e5bfc 22996 {
1bd55598
RD
22997 arg4 = &temp4;
22998 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22999 }
1bd55598
RD
23000 }
23001 if (obj4) {
23002 ecode5 = SWIG_AsVal_long(obj4, &val5);
23003 if (!SWIG_IsOK(ecode5)) {
23004 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23005 }
23006 arg5 = static_cast< long >(val5);
23007 }
23008 if (obj5) {
d55e5bfc 23009 {
1bd55598
RD
23010 arg6 = wxString_in_helper(obj5);
23011 if (arg6 == NULL) SWIG_fail;
23012 temp6 = true;
d55e5bfc 23013 }
1bd55598
RD
23014 }
23015 {
23016 if (!wxPyCheckForApp()) SWIG_fail;
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23023 {
23024 if (temp6)
23025 delete arg6;
23026 }
23027 return resultobj;
23028fail:
23029 {
23030 if (temp6)
23031 delete arg6;
23032 }
23033 return NULL;
d55e5bfc
RD
23034}
23035
23036
1bd55598
RD
23037SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23038 PyObject *resultobj = 0;
23039 wxPyScrolledWindow *result = 0 ;
23040
23041 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23042 {
23043 if (!wxPyCheckForApp()) SWIG_fail;
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23050 return resultobj;
23051fail:
23052 return NULL;
23053}
23054
23055
23056SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj = 0;
23058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23059 PyObject *arg2 = (PyObject *) 0 ;
23060 PyObject *arg3 = (PyObject *) 0 ;
23061 void *argp1 = 0 ;
23062 int res1 = 0 ;
23063 PyObject * obj0 = 0 ;
23064 PyObject * obj1 = 0 ;
23065 PyObject * obj2 = 0 ;
23066 char * kwnames[] = {
23067 (char *) "self",(char *) "self",(char *) "_class", NULL
23068 };
23069
23070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23072 if (!SWIG_IsOK(res1)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23074 }
23075 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23076 arg2 = obj1;
23077 arg3 = obj2;
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 (arg1)->_setCallbackInfo(arg2,arg3);
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 resultobj = SWIG_Py_Void();
23085 return resultobj;
23086fail:
23087 return NULL;
23088}
23089
23090
1bd55598
RD
23091SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23092 PyObject *resultobj = 0;
23093 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23094 wxDC *arg2 = (wxDC *) 0 ;
23095 bool result;
23096 void *argp1 = 0 ;
23097 int res1 = 0 ;
23098 void *argp2 = 0 ;
23099 int res2 = 0 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 char * kwnames[] = {
23103 (char *) "self",(char *) "dc", NULL
23104 };
23105
23106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23108 if (!SWIG_IsOK(res1)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23110 }
23111 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23112 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23113 if (!SWIG_IsOK(res2)) {
23114 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23115 }
23116 arg2 = reinterpret_cast< wxDC * >(argp2);
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 result = (bool)(arg1)->DoEraseBackground(arg2);
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 {
23124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23125 }
23126 return resultobj;
23127fail:
23128 return NULL;
23129}
23130
23131
23132SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj = 0;
23134 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23135 int arg2 ;
23136 int arg3 ;
23137 int arg4 ;
23138 int arg5 ;
23139 void *argp1 = 0 ;
23140 int res1 = 0 ;
23141 int val2 ;
23142 int ecode2 = 0 ;
23143 int val3 ;
23144 int ecode3 = 0 ;
23145 int val4 ;
23146 int ecode4 = 0 ;
23147 int val5 ;
23148 int ecode5 = 0 ;
23149 PyObject * obj0 = 0 ;
23150 PyObject * obj1 = 0 ;
23151 PyObject * obj2 = 0 ;
23152 PyObject * obj3 = 0 ;
23153 PyObject * obj4 = 0 ;
23154 char * kwnames[] = {
23155 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23156 };
23157
23158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23160 if (!SWIG_IsOK(res1)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23162 }
23163 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23164 ecode2 = SWIG_AsVal_int(obj1, &val2);
23165 if (!SWIG_IsOK(ecode2)) {
23166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23167 }
23168 arg2 = static_cast< int >(val2);
23169 ecode3 = SWIG_AsVal_int(obj2, &val3);
23170 if (!SWIG_IsOK(ecode3)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23172 }
23173 arg3 = static_cast< int >(val3);
23174 ecode4 = SWIG_AsVal_int(obj3, &val4);
23175 if (!SWIG_IsOK(ecode4)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23177 }
23178 arg4 = static_cast< int >(val4);
23179 ecode5 = SWIG_AsVal_int(obj4, &val5);
23180 if (!SWIG_IsOK(ecode5)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23182 }
23183 arg5 = static_cast< int >(val5);
23184 {
23185 PyThreadState* __tstate = wxPyBeginAllowThreads();
23186 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 resultobj = SWIG_Py_Void();
23191 return resultobj;
23192fail:
23193 return NULL;
23194}
23195
23196
23197SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23198 PyObject *resultobj = 0;
23199 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23200 int arg2 ;
23201 int arg3 ;
23202 int arg4 ;
23203 int arg5 ;
23204 int arg6 = (int) wxSIZE_AUTO ;
23205 void *argp1 = 0 ;
23206 int res1 = 0 ;
23207 int val2 ;
23208 int ecode2 = 0 ;
23209 int val3 ;
23210 int ecode3 = 0 ;
23211 int val4 ;
23212 int ecode4 = 0 ;
23213 int val5 ;
23214 int ecode5 = 0 ;
23215 int val6 ;
23216 int ecode6 = 0 ;
23217 PyObject * obj0 = 0 ;
23218 PyObject * obj1 = 0 ;
23219 PyObject * obj2 = 0 ;
23220 PyObject * obj3 = 0 ;
23221 PyObject * obj4 = 0 ;
23222 PyObject * obj5 = 0 ;
23223 char * kwnames[] = {
23224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23225 };
23226
23227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23229 if (!SWIG_IsOK(res1)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23231 }
23232 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23233 ecode2 = SWIG_AsVal_int(obj1, &val2);
23234 if (!SWIG_IsOK(ecode2)) {
23235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23236 }
23237 arg2 = static_cast< int >(val2);
23238 ecode3 = SWIG_AsVal_int(obj2, &val3);
23239 if (!SWIG_IsOK(ecode3)) {
23240 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23241 }
23242 arg3 = static_cast< int >(val3);
23243 ecode4 = SWIG_AsVal_int(obj3, &val4);
23244 if (!SWIG_IsOK(ecode4)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23246 }
23247 arg4 = static_cast< int >(val4);
23248 ecode5 = SWIG_AsVal_int(obj4, &val5);
23249 if (!SWIG_IsOK(ecode5)) {
23250 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23251 }
23252 arg5 = static_cast< int >(val5);
23253 if (obj5) {
23254 ecode6 = SWIG_AsVal_int(obj5, &val6);
23255 if (!SWIG_IsOK(ecode6)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23257 }
23258 arg6 = static_cast< int >(val6);
23259 }
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23263 wxPyEndAllowThreads(__tstate);
23264 if (PyErr_Occurred()) SWIG_fail;
23265 }
23266 resultobj = SWIG_Py_Void();
23267 return resultobj;
23268fail:
23269 return NULL;
23270}
23271
23272
23273SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23274 PyObject *resultobj = 0;
23275 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23276 int arg2 ;
23277 int arg3 ;
23278 void *argp1 = 0 ;
23279 int res1 = 0 ;
23280 int val2 ;
23281 int ecode2 = 0 ;
23282 int val3 ;
23283 int ecode3 = 0 ;
23284 PyObject * obj0 = 0 ;
23285 PyObject * obj1 = 0 ;
23286 PyObject * obj2 = 0 ;
23287 char * kwnames[] = {
23288 (char *) "self",(char *) "width",(char *) "height", NULL
23289 };
23290
23291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23293 if (!SWIG_IsOK(res1)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23295 }
23296 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23297 ecode2 = SWIG_AsVal_int(obj1, &val2);
23298 if (!SWIG_IsOK(ecode2)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23300 }
23301 arg2 = static_cast< int >(val2);
23302 ecode3 = SWIG_AsVal_int(obj2, &val3);
23303 if (!SWIG_IsOK(ecode3)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23305 }
23306 arg3 = static_cast< int >(val3);
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 (arg1)->DoSetClientSize(arg2,arg3);
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 resultobj = SWIG_Py_Void();
23314 return resultobj;
23315fail:
23316 return NULL;
23317}
23318
23319
23320SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj = 0;
23322 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23323 int arg2 ;
23324 int arg3 ;
23325 void *argp1 = 0 ;
23326 int res1 = 0 ;
23327 int val2 ;
23328 int ecode2 = 0 ;
23329 int val3 ;
23330 int ecode3 = 0 ;
23331 PyObject * obj0 = 0 ;
23332 PyObject * obj1 = 0 ;
23333 PyObject * obj2 = 0 ;
23334 char * kwnames[] = {
23335 (char *) "self",(char *) "x",(char *) "y", NULL
23336 };
23337
23338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23340 if (!SWIG_IsOK(res1)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23342 }
23343 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23344 ecode2 = SWIG_AsVal_int(obj1, &val2);
23345 if (!SWIG_IsOK(ecode2)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23347 }
23348 arg2 = static_cast< int >(val2);
23349 ecode3 = SWIG_AsVal_int(obj2, &val3);
23350 if (!SWIG_IsOK(ecode3)) {
23351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23352 }
23353 arg3 = static_cast< int >(val3);
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->DoSetVirtualSize(arg2,arg3);
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 resultobj = SWIG_Py_Void();
23361 return resultobj;
23362fail:
23363 return NULL;
23364}
23365
23366
23367SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23368 PyObject *resultobj = 0;
23369 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23370 int *arg2 = (int *) 0 ;
23371 int *arg3 = (int *) 0 ;
23372 void *argp1 = 0 ;
23373 int res1 = 0 ;
23374 int temp2 ;
23375 int res2 = SWIG_TMPOBJ ;
23376 int temp3 ;
23377 int res3 = SWIG_TMPOBJ ;
23378 PyObject *swig_obj[1] ;
23379
23380 arg2 = &temp2;
23381 arg3 = &temp3;
23382 if (!args) SWIG_fail;
23383 swig_obj[0] = args;
23384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23385 if (!SWIG_IsOK(res1)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23387 }
23388 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 resultobj = SWIG_Py_Void();
23396 if (SWIG_IsTmpObj(res2)) {
23397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23398 } else {
23399 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23401 }
23402 if (SWIG_IsTmpObj(res3)) {
23403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23404 } else {
23405 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23406 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23407 }
23408 return resultobj;
23409fail:
23410 return NULL;
23411}
23412
23413
23414SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23415 PyObject *resultobj = 0;
23416 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23417 int *arg2 = (int *) 0 ;
23418 int *arg3 = (int *) 0 ;
23419 void *argp1 = 0 ;
23420 int res1 = 0 ;
23421 int temp2 ;
23422 int res2 = SWIG_TMPOBJ ;
23423 int temp3 ;
23424 int res3 = SWIG_TMPOBJ ;
23425 PyObject *swig_obj[1] ;
23426
23427 arg2 = &temp2;
23428 arg3 = &temp3;
23429 if (!args) SWIG_fail;
23430 swig_obj[0] = args;
23431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23432 if (!SWIG_IsOK(res1)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23434 }
23435 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_Py_Void();
23443 if (SWIG_IsTmpObj(res2)) {
23444 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23445 } else {
23446 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23448 }
23449 if (SWIG_IsTmpObj(res3)) {
23450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23451 } else {
23452 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23454 }
23455 return resultobj;
23456fail:
23457 return NULL;
23458}
23459
23460
23461SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23462 PyObject *resultobj = 0;
23463 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23464 int *arg2 = (int *) 0 ;
23465 int *arg3 = (int *) 0 ;
23466 void *argp1 = 0 ;
23467 int res1 = 0 ;
23468 int temp2 ;
23469 int res2 = SWIG_TMPOBJ ;
23470 int temp3 ;
23471 int res3 = SWIG_TMPOBJ ;
23472 PyObject *swig_obj[1] ;
23473
23474 arg2 = &temp2;
23475 arg3 = &temp3;
23476 if (!args) SWIG_fail;
23477 swig_obj[0] = args;
23478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23479 if (!SWIG_IsOK(res1)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23481 }
23482 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 resultobj = SWIG_Py_Void();
23490 if (SWIG_IsTmpObj(res2)) {
23491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23492 } else {
23493 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23494 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23495 }
23496 if (SWIG_IsTmpObj(res3)) {
23497 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23498 } else {
23499 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23500 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23501 }
23502 return resultobj;
23503fail:
23504 return NULL;
d55e5bfc
RD
23505}
23506
23507
1bd55598
RD
23508SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23509 PyObject *resultobj = 0;
23510 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23511 wxSize result;
23512 void *argp1 = 0 ;
23513 int res1 = 0 ;
23514 PyObject *swig_obj[1] ;
23515
23516 if (!args) SWIG_fail;
23517 swig_obj[0] = args;
23518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23519 if (!SWIG_IsOK(res1)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23521 }
23522 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23530 return resultobj;
23531fail:
23532 return NULL;
d55e5bfc
RD
23533}
23534
23535
1bd55598
RD
23536SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23537 PyObject *resultobj = 0;
23538 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23539 wxSize result;
23540 void *argp1 = 0 ;
23541 int res1 = 0 ;
23542 PyObject *swig_obj[1] ;
23543
23544 if (!args) SWIG_fail;
23545 swig_obj[0] = args;
23546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23547 if (!SWIG_IsOK(res1)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23549 }
23550 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23558 return resultobj;
23559fail:
23560 return NULL;
d55e5bfc
RD
23561}
23562
23563
1bd55598
RD
23564SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23565 PyObject *resultobj = 0;
23566 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23567 SwigValueWrapper<wxVisualAttributes > result;
23568 void *argp1 = 0 ;
23569 int res1 = 0 ;
23570 PyObject *swig_obj[1] ;
23571
23572 if (!args) SWIG_fail;
23573 swig_obj[0] = args;
23574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23575 if (!SWIG_IsOK(res1)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23577 }
23578 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 result = (arg1)->GetDefaultAttributes();
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23586 return resultobj;
23587fail:
23588 return NULL;
d55e5bfc
RD
23589}
23590
23591
1bd55598
RD
23592SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23593 PyObject *resultobj = 0;
23594 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23595 void *argp1 = 0 ;
23596 int res1 = 0 ;
23597 PyObject *swig_obj[1] ;
23598
23599 if (!args) SWIG_fail;
23600 swig_obj[0] = args;
23601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23602 if (!SWIG_IsOK(res1)) {
23603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23604 }
23605 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->OnInternalIdle();
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 resultobj = SWIG_Py_Void();
23613 return resultobj;
23614fail:
23615 return NULL;
d55e5bfc
RD
23616}
23617
23618
1bd55598
RD
23619SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23620 PyObject *obj;
23621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23623 return SWIG_Py_Void();
d55e5bfc
RD
23624}
23625
1bd55598
RD
23626SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23627 return SWIG_Python_InitShadowInstance(args);
23628}
d55e5bfc 23629
1bd55598
RD
23630SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23631 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23632 return 1;
d55e5bfc
RD
23633}
23634
23635
1bd55598
RD
23636SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23637 PyObject *pyobj = 0;
23638
23639 {
d55e5bfc 23640#if wxUSE_UNICODE
1bd55598 23641 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23642#else
1bd55598 23643 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23644#endif
1bd55598
RD
23645 }
23646 return pyobj;
d55e5bfc
RD
23647}
23648
23649
1bd55598
RD
23650SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23651 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23652 return 1;
23653}
23654
23655
23656SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23657 PyObject *pyobj = 0;
23658
23659 {
d55e5bfc 23660#if wxUSE_UNICODE
1bd55598 23661 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23662#else
1bd55598 23663 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23664#endif
1bd55598
RD
23665 }
23666 return pyobj;
d55e5bfc
RD
23667}
23668
23669
1bd55598
RD
23670SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23671 PyObject *resultobj = 0;
23672 wxPrintData *result = 0 ;
23673
23674 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 result = (wxPrintData *)new wxPrintData();
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23682 return resultobj;
23683fail:
23684 return NULL;
d55e5bfc
RD
23685}
23686
23687
1bd55598
RD
23688SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23689 PyObject *resultobj = 0;
23690 wxPrintData *arg1 = 0 ;
23691 wxPrintData *result = 0 ;
23692 void *argp1 = 0 ;
23693 int res1 = 0 ;
23694
23695 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23697 if (!SWIG_IsOK(res1)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23699 }
23700 if (!argp1) {
23701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23702 }
23703 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23711 return resultobj;
23712fail:
23713 return NULL;
d55e5bfc
RD
23714}
23715
23716
1bd55598
RD
23717SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23718 int argc;
23719 PyObject *argv[2];
23720
23721 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23722 --argc;
23723 if (argc == 0) {
23724 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23725 }
23726 if (argc == 1) {
23727 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23728 }
23729
23730fail:
23731 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23732 return NULL;
d55e5bfc
RD
23733}
23734
23735
1bd55598
RD
23736SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23737 PyObject *resultobj = 0;
23738 wxPrintData *arg1 = (wxPrintData *) 0 ;
23739 void *argp1 = 0 ;
23740 int res1 = 0 ;
23741 PyObject *swig_obj[1] ;
23742
23743 if (!args) SWIG_fail;
23744 swig_obj[0] = args;
23745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23746 if (!SWIG_IsOK(res1)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23748 }
23749 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23750 {
23751 PyThreadState* __tstate = wxPyBeginAllowThreads();
23752 delete arg1;
d55e5bfc 23753
1bd55598
RD
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 resultobj = SWIG_Py_Void();
23758 return resultobj;
23759fail:
23760 return NULL;
d55e5bfc
RD
23761}
23762
23763
1bd55598
RD
23764SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23765 PyObject *resultobj = 0;
23766 wxPrintData *arg1 = (wxPrintData *) 0 ;
23767 int result;
23768 void *argp1 = 0 ;
23769 int res1 = 0 ;
23770 PyObject *swig_obj[1] ;
23771
23772 if (!args) SWIG_fail;
23773 swig_obj[0] = args;
23774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23777 }
23778 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 result = (int)(arg1)->GetNoCopies();
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 resultobj = SWIG_From_int(static_cast< int >(result));
23786 return resultobj;
23787fail:
23788 return NULL;
d55e5bfc
RD
23789}
23790
23791
1bd55598
RD
23792SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23793 PyObject *resultobj = 0;
23794 wxPrintData *arg1 = (wxPrintData *) 0 ;
23795 bool result;
23796 void *argp1 = 0 ;
23797 int res1 = 0 ;
23798 PyObject *swig_obj[1] ;
23799
23800 if (!args) SWIG_fail;
23801 swig_obj[0] = args;
23802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23803 if (!SWIG_IsOK(res1)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23805 }
23806 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 result = (bool)(arg1)->GetCollate();
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 {
23814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23815 }
23816 return resultobj;
23817fail:
23818 return NULL;
d55e5bfc
RD
23819}
23820
23821
1bd55598
RD
23822SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23823 PyObject *resultobj = 0;
23824 wxPrintData *arg1 = (wxPrintData *) 0 ;
23825 int result;
23826 void *argp1 = 0 ;
23827 int res1 = 0 ;
23828 PyObject *swig_obj[1] ;
23829
23830 if (!args) SWIG_fail;
23831 swig_obj[0] = args;
23832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23835 }
23836 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 result = (int)(arg1)->GetOrientation();
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 resultobj = SWIG_From_int(static_cast< int >(result));
23844 return resultobj;
23845fail:
23846 return NULL;
d55e5bfc
RD
23847}
23848
23849
5172800e
RD
23850SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23851 PyObject *resultobj = 0;
23852 wxPrintData *arg1 = (wxPrintData *) 0 ;
23853 bool result;
23854 void *argp1 = 0 ;
23855 int res1 = 0 ;
23856 PyObject *swig_obj[1] ;
23857
23858 if (!args) SWIG_fail;
23859 swig_obj[0] = args;
23860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23861 if (!SWIG_IsOK(res1)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23863 }
23864 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 {
23872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23873 }
23874 return resultobj;
23875fail:
23876 return NULL;
23877}
23878
23879
b39fe951 23880SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
23881 PyObject *resultobj = 0;
23882 wxPrintData *arg1 = (wxPrintData *) 0 ;
23883 bool result;
23884 void *argp1 = 0 ;
23885 int res1 = 0 ;
23886 PyObject *swig_obj[1] ;
23887
23888 if (!args) SWIG_fail;
23889 swig_obj[0] = args;
23890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23891 if (!SWIG_IsOK(res1)) {
b39fe951 23892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
1bd55598
RD
23893 }
23894 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 23897 result = (bool)(arg1)->IsOk();
1bd55598
RD
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 {
23902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23903 }
23904 return resultobj;
23905fail:
23906 return NULL;
d55e5bfc
RD
23907}
23908
23909
1bd55598
RD
23910SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23911 PyObject *resultobj = 0;
23912 wxPrintData *arg1 = (wxPrintData *) 0 ;
23913 wxString *result = 0 ;
23914 void *argp1 = 0 ;
23915 int res1 = 0 ;
23916 PyObject *swig_obj[1] ;
23917
23918 if (!args) SWIG_fail;
23919 swig_obj[0] = args;
23920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23921 if (!SWIG_IsOK(res1)) {
23922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23923 }
23924 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23927 {
1bd55598
RD
23928 wxString const &_result_ref = (arg1)->GetPrinterName();
23929 result = (wxString *) &_result_ref;
d55e5bfc 23930 }
1bd55598
RD
23931 wxPyEndAllowThreads(__tstate);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 {
d55e5bfc 23935#if wxUSE_UNICODE
1bd55598 23936 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23937#else
1bd55598 23938 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23939#endif
1bd55598
RD
23940 }
23941 return resultobj;
23942fail:
23943 return NULL;
d55e5bfc
RD
23944}
23945
23946
1bd55598
RD
23947SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23948 PyObject *resultobj = 0;
23949 wxPrintData *arg1 = (wxPrintData *) 0 ;
23950 bool result;
23951 void *argp1 = 0 ;
23952 int res1 = 0 ;
23953 PyObject *swig_obj[1] ;
23954
23955 if (!args) SWIG_fail;
23956 swig_obj[0] = args;
23957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23958 if (!SWIG_IsOK(res1)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23960 }
23961 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 result = (bool)(arg1)->GetColour();
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 {
23969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23970 }
23971 return resultobj;
23972fail:
23973 return NULL;
d55e5bfc
RD
23974}
23975
23976
1bd55598
RD
23977SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23978 PyObject *resultobj = 0;
23979 wxPrintData *arg1 = (wxPrintData *) 0 ;
23980 wxDuplexMode result;
23981 void *argp1 = 0 ;
23982 int res1 = 0 ;
23983 PyObject *swig_obj[1] ;
23984
23985 if (!args) SWIG_fail;
23986 swig_obj[0] = args;
23987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23988 if (!SWIG_IsOK(res1)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23990 }
23991 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 result = (wxDuplexMode)(arg1)->GetDuplex();
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 resultobj = SWIG_From_int(static_cast< int >(result));
23999 return resultobj;
24000fail:
24001 return NULL;
d55e5bfc
RD
24002}
24003
24004
1bd55598
RD
24005SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24006 PyObject *resultobj = 0;
24007 wxPrintData *arg1 = (wxPrintData *) 0 ;
24008 wxPaperSize result;
24009 void *argp1 = 0 ;
24010 int res1 = 0 ;
24011 PyObject *swig_obj[1] ;
24012
24013 if (!args) SWIG_fail;
24014 swig_obj[0] = args;
24015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24016 if (!SWIG_IsOK(res1)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24018 }
24019 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = (wxPaperSize)(arg1)->GetPaperId();
24023 wxPyEndAllowThreads(__tstate);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 }
24026 resultobj = SWIG_From_int(static_cast< int >(result));
24027 return resultobj;
24028fail:
24029 return NULL;
070c48b4
RD
24030}
24031
24032
1bd55598
RD
24033SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24034 PyObject *resultobj = 0;
24035 wxPrintData *arg1 = (wxPrintData *) 0 ;
24036 wxSize *result = 0 ;
24037 void *argp1 = 0 ;
24038 int res1 = 0 ;
24039 PyObject *swig_obj[1] ;
24040
24041 if (!args) SWIG_fail;
24042 swig_obj[0] = args;
24043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24044 if (!SWIG_IsOK(res1)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24046 }
24047 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24050 {
1bd55598
RD
24051 wxSize const &_result_ref = (arg1)->GetPaperSize();
24052 result = (wxSize *) &_result_ref;
070c48b4 24053 }
1bd55598
RD
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24058 return resultobj;
24059fail:
24060 return NULL;
d55e5bfc
RD
24061}
24062
24063
1bd55598
RD
24064SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24065 PyObject *resultobj = 0;
24066 wxPrintData *arg1 = (wxPrintData *) 0 ;
24067 int result;
24068 void *argp1 = 0 ;
24069 int res1 = 0 ;
24070 PyObject *swig_obj[1] ;
24071
24072 if (!args) SWIG_fail;
24073 swig_obj[0] = args;
24074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24075 if (!SWIG_IsOK(res1)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24077 }
24078 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 result = (int)(arg1)->GetQuality();
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 resultobj = SWIG_From_int(static_cast< int >(result));
24086 return resultobj;
24087fail:
24088 return NULL;
d55e5bfc
RD
24089}
24090
24091
1bd55598
RD
24092SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24093 PyObject *resultobj = 0;
24094 wxPrintData *arg1 = (wxPrintData *) 0 ;
24095 wxPrintBin result;
24096 void *argp1 = 0 ;
24097 int res1 = 0 ;
24098 PyObject *swig_obj[1] ;
24099
24100 if (!args) SWIG_fail;
24101 swig_obj[0] = args;
24102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24103 if (!SWIG_IsOK(res1)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24105 }
24106 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 result = (wxPrintBin)(arg1)->GetBin();
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
24113 resultobj = SWIG_From_int(static_cast< int >(result));
24114 return resultobj;
24115fail:
24116 return NULL;
d55e5bfc
RD
24117}
24118
24119
1bd55598
RD
24120SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24121 PyObject *resultobj = 0;
24122 wxPrintData *arg1 = (wxPrintData *) 0 ;
24123 wxPrintMode result;
24124 void *argp1 = 0 ;
24125 int res1 = 0 ;
24126 PyObject *swig_obj[1] ;
24127
24128 if (!args) SWIG_fail;
24129 swig_obj[0] = args;
24130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24131 if (!SWIG_IsOK(res1)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24133 }
24134 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 resultobj = SWIG_From_int(static_cast< int >(result));
24142 return resultobj;
24143fail:
24144 return NULL;
24145}
24146
24147
8f514ab4
RD
24148SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24149 PyObject *resultobj = 0;
24150 wxPrintData *arg1 = (wxPrintData *) 0 ;
24151 int result;
24152 void *argp1 = 0 ;
24153 int res1 = 0 ;
24154 PyObject *swig_obj[1] ;
24155
24156 if (!args) SWIG_fail;
24157 swig_obj[0] = args;
24158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24159 if (!SWIG_IsOK(res1)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24161 }
24162 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 result = (int)((wxPrintData const *)arg1)->GetMedia();
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 resultobj = SWIG_From_int(static_cast< int >(result));
24170 return resultobj;
24171fail:
24172 return NULL;
24173}
24174
24175
1bd55598
RD
24176SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24177 PyObject *resultobj = 0;
24178 wxPrintData *arg1 = (wxPrintData *) 0 ;
24179 int arg2 ;
24180 void *argp1 = 0 ;
24181 int res1 = 0 ;
24182 int val2 ;
24183 int ecode2 = 0 ;
24184 PyObject * obj0 = 0 ;
24185 PyObject * obj1 = 0 ;
24186 char * kwnames[] = {
24187 (char *) "self",(char *) "v", NULL
24188 };
24189
24190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24192 if (!SWIG_IsOK(res1)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24194 }
24195 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24196 ecode2 = SWIG_AsVal_int(obj1, &val2);
24197 if (!SWIG_IsOK(ecode2)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24199 }
24200 arg2 = static_cast< int >(val2);
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->SetNoCopies(arg2);
24204 wxPyEndAllowThreads(__tstate);
24205 if (PyErr_Occurred()) SWIG_fail;
24206 }
24207 resultobj = SWIG_Py_Void();
24208 return resultobj;
24209fail:
24210 return NULL;
24211}
24212
24213
24214SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24215 PyObject *resultobj = 0;
24216 wxPrintData *arg1 = (wxPrintData *) 0 ;
24217 bool arg2 ;
24218 void *argp1 = 0 ;
24219 int res1 = 0 ;
24220 bool val2 ;
24221 int ecode2 = 0 ;
24222 PyObject * obj0 = 0 ;
24223 PyObject * obj1 = 0 ;
24224 char * kwnames[] = {
24225 (char *) "self",(char *) "flag", NULL
24226 };
24227
24228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24230 if (!SWIG_IsOK(res1)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24232 }
24233 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24234 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24235 if (!SWIG_IsOK(ecode2)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24237 }
24238 arg2 = static_cast< bool >(val2);
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 (arg1)->SetCollate(arg2);
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 resultobj = SWIG_Py_Void();
24246 return resultobj;
24247fail:
24248 return NULL;
24249}
24250
24251
24252SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj = 0;
24254 wxPrintData *arg1 = (wxPrintData *) 0 ;
24255 int arg2 ;
24256 void *argp1 = 0 ;
24257 int res1 = 0 ;
24258 int val2 ;
24259 int ecode2 = 0 ;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char * kwnames[] = {
24263 (char *) "self",(char *) "orient", NULL
24264 };
24265
24266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24268 if (!SWIG_IsOK(res1)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24270 }
24271 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24272 ecode2 = SWIG_AsVal_int(obj1, &val2);
24273 if (!SWIG_IsOK(ecode2)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24275 }
24276 arg2 = static_cast< int >(val2);
24277 {
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 (arg1)->SetOrientation(arg2);
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 resultobj = SWIG_Py_Void();
24284 return resultobj;
24285fail:
24286 return NULL;
24287}
24288
24289
5172800e
RD
24290SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24291 PyObject *resultobj = 0;
24292 wxPrintData *arg1 = (wxPrintData *) 0 ;
24293 bool arg2 ;
24294 void *argp1 = 0 ;
24295 int res1 = 0 ;
24296 bool val2 ;
24297 int ecode2 = 0 ;
24298 PyObject * obj0 = 0 ;
24299 PyObject * obj1 = 0 ;
24300 char * kwnames[] = {
24301 (char *) "self",(char *) "reversed", NULL
24302 };
24303
24304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24306 if (!SWIG_IsOK(res1)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24308 }
24309 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24311 if (!SWIG_IsOK(ecode2)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24313 }
24314 arg2 = static_cast< bool >(val2);
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 (arg1)->SetOrientationReversed(arg2);
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = SWIG_Py_Void();
24322 return resultobj;
24323fail:
24324 return NULL;
24325}
24326
24327
1bd55598
RD
24328SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj = 0;
24330 wxPrintData *arg1 = (wxPrintData *) 0 ;
24331 wxString *arg2 = 0 ;
24332 void *argp1 = 0 ;
24333 int res1 = 0 ;
24334 bool temp2 = false ;
24335 PyObject * obj0 = 0 ;
24336 PyObject * obj1 = 0 ;
24337 char * kwnames[] = {
24338 (char *) "self",(char *) "name", NULL
24339 };
24340
24341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24343 if (!SWIG_IsOK(res1)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24345 }
24346 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24347 {
24348 arg2 = wxString_in_helper(obj1);
24349 if (arg2 == NULL) SWIG_fail;
24350 temp2 = true;
24351 }
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 (arg1)->SetPrinterName((wxString const &)*arg2);
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = SWIG_Py_Void();
24359 {
24360 if (temp2)
24361 delete arg2;
24362 }
24363 return resultobj;
24364fail:
24365 {
24366 if (temp2)
24367 delete arg2;
24368 }
24369 return NULL;
24370}
24371
24372
24373SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj = 0;
24375 wxPrintData *arg1 = (wxPrintData *) 0 ;
24376 bool arg2 ;
24377 void *argp1 = 0 ;
24378 int res1 = 0 ;
24379 bool val2 ;
24380 int ecode2 = 0 ;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char * kwnames[] = {
24384 (char *) "self",(char *) "colour", NULL
24385 };
24386
24387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24389 if (!SWIG_IsOK(res1)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24391 }
24392 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24393 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24394 if (!SWIG_IsOK(ecode2)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24396 }
24397 arg2 = static_cast< bool >(val2);
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 (arg1)->SetColour(arg2);
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 resultobj = SWIG_Py_Void();
24405 return resultobj;
24406fail:
24407 return NULL;
24408}
24409
24410
24411SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj = 0;
24413 wxPrintData *arg1 = (wxPrintData *) 0 ;
24414 wxDuplexMode arg2 ;
24415 void *argp1 = 0 ;
24416 int res1 = 0 ;
24417 int val2 ;
24418 int ecode2 = 0 ;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 char * kwnames[] = {
24422 (char *) "self",(char *) "duplex", NULL
24423 };
24424
24425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24427 if (!SWIG_IsOK(res1)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24429 }
24430 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24431 ecode2 = SWIG_AsVal_int(obj1, &val2);
24432 if (!SWIG_IsOK(ecode2)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24434 }
24435 arg2 = static_cast< wxDuplexMode >(val2);
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 (arg1)->SetDuplex(arg2);
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 resultobj = SWIG_Py_Void();
24443 return resultobj;
24444fail:
24445 return NULL;
24446}
24447
24448
24449SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj = 0;
24451 wxPrintData *arg1 = (wxPrintData *) 0 ;
24452 wxPaperSize arg2 ;
24453 void *argp1 = 0 ;
24454 int res1 = 0 ;
24455 int val2 ;
24456 int ecode2 = 0 ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 char * kwnames[] = {
24460 (char *) "self",(char *) "sizeId", NULL
24461 };
24462
24463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24465 if (!SWIG_IsOK(res1)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24467 }
24468 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24469 ecode2 = SWIG_AsVal_int(obj1, &val2);
24470 if (!SWIG_IsOK(ecode2)) {
24471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24472 }
24473 arg2 = static_cast< wxPaperSize >(val2);
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 (arg1)->SetPaperId(arg2);
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 resultobj = SWIG_Py_Void();
24481 return resultobj;
24482fail:
24483 return NULL;
24484}
24485
24486
24487SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24488 PyObject *resultobj = 0;
24489 wxPrintData *arg1 = (wxPrintData *) 0 ;
24490 wxSize *arg2 = 0 ;
24491 void *argp1 = 0 ;
24492 int res1 = 0 ;
24493 wxSize temp2 ;
24494 PyObject * obj0 = 0 ;
24495 PyObject * obj1 = 0 ;
24496 char * kwnames[] = {
24497 (char *) "self",(char *) "sz", NULL
24498 };
24499
24500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24502 if (!SWIG_IsOK(res1)) {
24503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24504 }
24505 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24506 {
24507 arg2 = &temp2;
24508 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24509 }
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 (arg1)->SetPaperSize((wxSize const &)*arg2);
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_Py_Void();
24517 return resultobj;
24518fail:
24519 return NULL;
24520}
24521
24522
24523SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj = 0;
24525 wxPrintData *arg1 = (wxPrintData *) 0 ;
24526 int arg2 ;
24527 void *argp1 = 0 ;
24528 int res1 = 0 ;
24529 int val2 ;
24530 int ecode2 = 0 ;
24531 PyObject * obj0 = 0 ;
24532 PyObject * obj1 = 0 ;
24533 char * kwnames[] = {
24534 (char *) "self",(char *) "quality", NULL
24535 };
24536
24537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24539 if (!SWIG_IsOK(res1)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24541 }
24542 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24543 ecode2 = SWIG_AsVal_int(obj1, &val2);
24544 if (!SWIG_IsOK(ecode2)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24546 }
24547 arg2 = static_cast< int >(val2);
24548 {
24549 PyThreadState* __tstate = wxPyBeginAllowThreads();
24550 (arg1)->SetQuality(arg2);
24551 wxPyEndAllowThreads(__tstate);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 }
24554 resultobj = SWIG_Py_Void();
24555 return resultobj;
24556fail:
24557 return NULL;
24558}
24559
24560
24561SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj = 0;
24563 wxPrintData *arg1 = (wxPrintData *) 0 ;
24564 wxPrintBin arg2 ;
24565 void *argp1 = 0 ;
24566 int res1 = 0 ;
24567 int val2 ;
24568 int ecode2 = 0 ;
24569 PyObject * obj0 = 0 ;
24570 PyObject * obj1 = 0 ;
24571 char * kwnames[] = {
24572 (char *) "self",(char *) "bin", NULL
24573 };
24574
24575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24577 if (!SWIG_IsOK(res1)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24579 }
24580 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24581 ecode2 = SWIG_AsVal_int(obj1, &val2);
24582 if (!SWIG_IsOK(ecode2)) {
24583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24584 }
24585 arg2 = static_cast< wxPrintBin >(val2);
24586 {
24587 PyThreadState* __tstate = wxPyBeginAllowThreads();
24588 (arg1)->SetBin(arg2);
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 resultobj = SWIG_Py_Void();
24593 return resultobj;
24594fail:
24595 return NULL;
24596}
24597
24598
24599SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj = 0;
24601 wxPrintData *arg1 = (wxPrintData *) 0 ;
24602 wxPrintMode arg2 ;
24603 void *argp1 = 0 ;
24604 int res1 = 0 ;
24605 int val2 ;
24606 int ecode2 = 0 ;
24607 PyObject * obj0 = 0 ;
24608 PyObject * obj1 = 0 ;
24609 char * kwnames[] = {
24610 (char *) "self",(char *) "printMode", NULL
24611 };
24612
24613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24615 if (!SWIG_IsOK(res1)) {
24616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24617 }
24618 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24619 ecode2 = SWIG_AsVal_int(obj1, &val2);
24620 if (!SWIG_IsOK(ecode2)) {
24621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24622 }
24623 arg2 = static_cast< wxPrintMode >(val2);
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 (arg1)->SetPrintMode(arg2);
24627 wxPyEndAllowThreads(__tstate);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 }
24630 resultobj = SWIG_Py_Void();
24631 return resultobj;
24632fail:
24633 return NULL;
24634}
d55e5bfc
RD
24635
24636
8f514ab4
RD
24637SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24638 PyObject *resultobj = 0;
24639 wxPrintData *arg1 = (wxPrintData *) 0 ;
24640 int arg2 ;
24641 void *argp1 = 0 ;
24642 int res1 = 0 ;
24643 int val2 ;
24644 int ecode2 = 0 ;
24645 PyObject * obj0 = 0 ;
24646 PyObject * obj1 = 0 ;
24647 char * kwnames[] = {
24648 (char *) "self",(char *) "media", NULL
24649 };
24650
24651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24653 if (!SWIG_IsOK(res1)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24655 }
24656 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24657 ecode2 = SWIG_AsVal_int(obj1, &val2);
24658 if (!SWIG_IsOK(ecode2)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24660 }
24661 arg2 = static_cast< int >(val2);
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 (arg1)->SetMedia(arg2);
24665 wxPyEndAllowThreads(__tstate);
24666 if (PyErr_Occurred()) SWIG_fail;
24667 }
24668 resultobj = SWIG_Py_Void();
24669 return resultobj;
24670fail:
24671 return NULL;
24672}
24673
24674
1bd55598
RD
24675SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24676 PyObject *resultobj = 0;
24677 wxPrintData *arg1 = (wxPrintData *) 0 ;
24678 wxString result;
24679 void *argp1 = 0 ;
24680 int res1 = 0 ;
24681 PyObject *swig_obj[1] ;
24682
24683 if (!args) SWIG_fail;
24684 swig_obj[0] = args;
24685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24686 if (!SWIG_IsOK(res1)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24688 }
24689 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 result = ((wxPrintData const *)arg1)->GetFilename();
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 {
24697#if wxUSE_UNICODE
24698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24699#else
24700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24701#endif
24702 }
24703 return resultobj;
24704fail:
24705 return NULL;
24706}
24707
24708
24709SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj = 0;
24711 wxPrintData *arg1 = (wxPrintData *) 0 ;
24712 wxString *arg2 = 0 ;
24713 void *argp1 = 0 ;
24714 int res1 = 0 ;
24715 bool temp2 = false ;
24716 PyObject * obj0 = 0 ;
24717 PyObject * obj1 = 0 ;
24718 char * kwnames[] = {
24719 (char *) "self",(char *) "filename", NULL
24720 };
24721
24722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24724 if (!SWIG_IsOK(res1)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24726 }
24727 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24728 {
24729 arg2 = wxString_in_helper(obj1);
24730 if (arg2 == NULL) SWIG_fail;
24731 temp2 = true;
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 (arg1)->SetFilename((wxString const &)*arg2);
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 resultobj = SWIG_Py_Void();
24740 {
24741 if (temp2)
24742 delete arg2;
24743 }
24744 return resultobj;
24745fail:
24746 {
24747 if (temp2)
24748 delete arg2;
24749 }
24750 return NULL;
d55e5bfc
RD
24751}
24752
24753
1bd55598
RD
24754SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24755 PyObject *resultobj = 0;
24756 wxPrintData *arg1 = (wxPrintData *) 0 ;
24757 PyObject *result = 0 ;
24758 void *argp1 = 0 ;
24759 int res1 = 0 ;
24760 PyObject *swig_obj[1] ;
24761
24762 if (!args) SWIG_fail;
24763 swig_obj[0] = args;
24764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24765 if (!SWIG_IsOK(res1)) {
24766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24767 }
24768 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24772 wxPyEndAllowThreads(__tstate);
24773 if (PyErr_Occurred()) SWIG_fail;
24774 }
24775 resultobj = result;
24776 return resultobj;
24777fail:
24778 return NULL;
24779}
24780
24781
24782SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24783 PyObject *resultobj = 0;
24784 wxPrintData *arg1 = (wxPrintData *) 0 ;
24785 PyObject *arg2 = (PyObject *) 0 ;
24786 void *argp1 = 0 ;
24787 int res1 = 0 ;
24788 PyObject * obj0 = 0 ;
24789 PyObject * obj1 = 0 ;
24790 char * kwnames[] = {
24791 (char *) "self",(char *) "data", NULL
24792 };
24793
24794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24798 }
24799 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24800 arg2 = obj1;
24801 {
24802 PyThreadState* __tstate = wxPyBeginAllowThreads();
24803 wxPrintData_SetPrivData(arg1,arg2);
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 resultobj = SWIG_Py_Void();
24808 return resultobj;
24809fail:
24810 return NULL;
d55e5bfc
RD
24811}
24812
24813
1bd55598
RD
24814SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24815 PyObject *obj;
24816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24817 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24818 return SWIG_Py_Void();
d55e5bfc
RD
24819}
24820
1bd55598
RD
24821SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24822 return SWIG_Python_InitShadowInstance(args);
24823}
d55e5bfc 24824
1bd55598
RD
24825SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24826 PyObject *resultobj = 0;
24827 wxPageSetupDialogData *result = 0 ;
24828
24829 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24837 return resultobj;
24838fail:
24839 return NULL;
d55e5bfc
RD
24840}
24841
24842
1bd55598
RD
24843SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24844 PyObject *resultobj = 0;
24845 wxPageSetupDialogData *arg1 = 0 ;
24846 wxPageSetupDialogData *result = 0 ;
24847 void *argp1 = 0 ;
24848 int res1 = 0 ;
24849
24850 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24852 if (!SWIG_IsOK(res1)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24854 }
24855 if (!argp1) {
24856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24857 }
24858 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24866 return resultobj;
24867fail:
24868 return NULL;
d55e5bfc
RD
24869}
24870
24871
1bd55598
RD
24872SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24873 PyObject *resultobj = 0;
24874 wxPrintData *arg1 = 0 ;
24875 wxPageSetupDialogData *result = 0 ;
24876 void *argp1 = 0 ;
24877 int res1 = 0 ;
24878
24879 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24881 if (!SWIG_IsOK(res1)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24883 }
24884 if (!argp1) {
24885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24886 }
24887 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24888 {
24889 PyThreadState* __tstate = wxPyBeginAllowThreads();
24890 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24895 return resultobj;
24896fail:
24897 return NULL;
d55e5bfc
RD
24898}
24899
24900
1bd55598
RD
24901SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24902 int argc;
24903 PyObject *argv[2];
24904
24905 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24906 --argc;
24907 if (argc == 0) {
24908 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24909 }
24910 if (argc == 1) {
24911 int _v = 0;
36ed4f51 24912 {
1bd55598
RD
24913 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24914 _v = SWIG_CheckState(res);
d55e5bfc 24915 }
1bd55598
RD
24916 if (!_v) goto check_2;
24917 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24918 }
24919check_2:
24920
24921 if (argc == 1) {
24922 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24923 }
24924
24925fail:
24926 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24927 return NULL;
d55e5bfc
RD
24928}
24929
24930
1bd55598
RD
24931SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24932 PyObject *resultobj = 0;
24933 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24934 void *argp1 = 0 ;
24935 int res1 = 0 ;
24936 PyObject *swig_obj[1] ;
24937
24938 if (!args) SWIG_fail;
24939 swig_obj[0] = args;
24940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24941 if (!SWIG_IsOK(res1)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24943 }
24944 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 delete arg1;
d55e5bfc 24948
1bd55598
RD
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 resultobj = SWIG_Py_Void();
24953 return resultobj;
24954fail:
24955 return NULL;
24956}
24957
24958
24959SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj = 0;
24961 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24962 bool arg2 ;
24963 void *argp1 = 0 ;
24964 int res1 = 0 ;
24965 bool val2 ;
24966 int ecode2 = 0 ;
24967 PyObject * obj0 = 0 ;
24968 PyObject * obj1 = 0 ;
24969 char * kwnames[] = {
24970 (char *) "self",(char *) "flag", NULL
24971 };
24972
24973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24975 if (!SWIG_IsOK(res1)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24977 }
24978 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24979 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24980 if (!SWIG_IsOK(ecode2)) {
24981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24982 }
24983 arg2 = static_cast< bool >(val2);
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->EnableHelp(arg2);
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 resultobj = SWIG_Py_Void();
24991 return resultobj;
24992fail:
24993 return NULL;
24994}
24995
24996
24997SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24998 PyObject *resultobj = 0;
24999 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25000 bool arg2 ;
25001 void *argp1 = 0 ;
25002 int res1 = 0 ;
25003 bool val2 ;
25004 int ecode2 = 0 ;
25005 PyObject * obj0 = 0 ;
25006 PyObject * obj1 = 0 ;
25007 char * kwnames[] = {
25008 (char *) "self",(char *) "flag", NULL
25009 };
25010
25011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25013 if (!SWIG_IsOK(res1)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25015 }
25016 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25017 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25018 if (!SWIG_IsOK(ecode2)) {
25019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25020 }
25021 arg2 = static_cast< bool >(val2);
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->EnableMargins(arg2);
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 resultobj = SWIG_Py_Void();
25029 return resultobj;
25030fail:
25031 return NULL;
25032}
25033
25034
25035SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25036 PyObject *resultobj = 0;
25037 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25038 bool arg2 ;
25039 void *argp1 = 0 ;
25040 int res1 = 0 ;
25041 bool val2 ;
25042 int ecode2 = 0 ;
25043 PyObject * obj0 = 0 ;
25044 PyObject * obj1 = 0 ;
25045 char * kwnames[] = {
25046 (char *) "self",(char *) "flag", NULL
25047 };
25048
25049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25051 if (!SWIG_IsOK(res1)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25053 }
25054 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25055 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25056 if (!SWIG_IsOK(ecode2)) {
25057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25058 }
25059 arg2 = static_cast< bool >(val2);
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->EnableOrientation(arg2);
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 resultobj = SWIG_Py_Void();
25067 return resultobj;
25068fail:
25069 return NULL;
25070}
25071
25072
25073SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25074 PyObject *resultobj = 0;
25075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25076 bool arg2 ;
25077 void *argp1 = 0 ;
25078 int res1 = 0 ;
25079 bool val2 ;
25080 int ecode2 = 0 ;
25081 PyObject * obj0 = 0 ;
25082 PyObject * obj1 = 0 ;
25083 char * kwnames[] = {
25084 (char *) "self",(char *) "flag", NULL
25085 };
25086
25087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25089 if (!SWIG_IsOK(res1)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25091 }
25092 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25093 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25094 if (!SWIG_IsOK(ecode2)) {
25095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25096 }
25097 arg2 = static_cast< bool >(val2);
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 (arg1)->EnablePaper(arg2);
25101 wxPyEndAllowThreads(__tstate);
25102 if (PyErr_Occurred()) SWIG_fail;
25103 }
25104 resultobj = SWIG_Py_Void();
25105 return resultobj;
25106fail:
25107 return NULL;
25108}
25109
25110
25111SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25112 PyObject *resultobj = 0;
25113 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25114 bool arg2 ;
25115 void *argp1 = 0 ;
25116 int res1 = 0 ;
25117 bool val2 ;
25118 int ecode2 = 0 ;
25119 PyObject * obj0 = 0 ;
25120 PyObject * obj1 = 0 ;
25121 char * kwnames[] = {
25122 (char *) "self",(char *) "flag", NULL
25123 };
25124
25125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25127 if (!SWIG_IsOK(res1)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25129 }
25130 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25131 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25132 if (!SWIG_IsOK(ecode2)) {
25133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25134 }
25135 arg2 = static_cast< bool >(val2);
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 (arg1)->EnablePrinter(arg2);
25139 wxPyEndAllowThreads(__tstate);
25140 if (PyErr_Occurred()) SWIG_fail;
25141 }
25142 resultobj = SWIG_Py_Void();
25143 return resultobj;
25144fail:
25145 return NULL;
d55e5bfc
RD
25146}
25147
25148
1bd55598
RD
25149SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25150 PyObject *resultobj = 0;
25151 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25152 bool result;
25153 void *argp1 = 0 ;
25154 int res1 = 0 ;
25155 PyObject *swig_obj[1] ;
25156
25157 if (!args) SWIG_fail;
25158 swig_obj[0] = args;
25159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25160 if (!SWIG_IsOK(res1)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25162 }
25163 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25164 {
25165 PyThreadState* __tstate = wxPyBeginAllowThreads();
25166 result = (bool)(arg1)->GetDefaultMinMargins();
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 {
25171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25172 }
25173 return resultobj;
25174fail:
25175 return NULL;
d55e5bfc
RD
25176}
25177
25178
1bd55598
RD
25179SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25180 PyObject *resultobj = 0;
25181 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25182 bool result;
25183 void *argp1 = 0 ;
25184 int res1 = 0 ;
25185 PyObject *swig_obj[1] ;
25186
25187 if (!args) SWIG_fail;
25188 swig_obj[0] = args;
25189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25190 if (!SWIG_IsOK(res1)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25192 }
25193 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25194 {
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 result = (bool)(arg1)->GetEnableMargins();
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
25200 {
25201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25202 }
25203 return resultobj;
25204fail:
25205 return NULL;
d55e5bfc
RD
25206}
25207
25208
1bd55598
RD
25209SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25210 PyObject *resultobj = 0;
25211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25212 bool result;
25213 void *argp1 = 0 ;
25214 int res1 = 0 ;
25215 PyObject *swig_obj[1] ;
25216
25217 if (!args) SWIG_fail;
25218 swig_obj[0] = args;
25219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25222 }
25223 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 result = (bool)(arg1)->GetEnableOrientation();
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 {
25231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25232 }
25233 return resultobj;
25234fail:
25235 return NULL;
d55e5bfc
RD
25236}
25237
25238
1bd55598
RD
25239SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25240 PyObject *resultobj = 0;
25241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25242 bool result;
25243 void *argp1 = 0 ;
25244 int res1 = 0 ;
25245 PyObject *swig_obj[1] ;
25246
25247 if (!args) SWIG_fail;
25248 swig_obj[0] = args;
25249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25250 if (!SWIG_IsOK(res1)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25252 }
25253 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (bool)(arg1)->GetEnablePaper();
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 {
25261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25262 }
25263 return resultobj;
25264fail:
25265 return NULL;
d55e5bfc
RD
25266}
25267
25268
1bd55598
RD
25269SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25270 PyObject *resultobj = 0;
25271 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25272 bool result;
25273 void *argp1 = 0 ;
25274 int res1 = 0 ;
25275 PyObject *swig_obj[1] ;
25276
25277 if (!args) SWIG_fail;
25278 swig_obj[0] = args;
25279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25280 if (!SWIG_IsOK(res1)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25282 }
25283 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (bool)(arg1)->GetEnablePrinter();
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 {
25291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25292 }
25293 return resultobj;
25294fail:
25295 return NULL;
32fe5131
RD
25296}
25297
25298
1bd55598
RD
25299SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25300 PyObject *resultobj = 0;
25301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25302 bool result;
25303 void *argp1 = 0 ;
25304 int res1 = 0 ;
25305 PyObject *swig_obj[1] ;
25306
25307 if (!args) SWIG_fail;
25308 swig_obj[0] = args;
25309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25310 if (!SWIG_IsOK(res1)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 }
25313 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 result = (bool)(arg1)->GetEnableHelp();
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 {
25321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25322 }
25323 return resultobj;
25324fail:
25325 return NULL;
d55e5bfc
RD
25326}
25327
25328
1bd55598
RD
25329SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25330 PyObject *resultobj = 0;
25331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25332 bool result;
25333 void *argp1 = 0 ;
25334 int res1 = 0 ;
25335 PyObject *swig_obj[1] ;
25336
25337 if (!args) SWIG_fail;
25338 swig_obj[0] = args;
25339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25340 if (!SWIG_IsOK(res1)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25342 }
25343 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = (bool)(arg1)->GetDefaultInfo();
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 {
25351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25352 }
25353 return resultobj;
25354fail:
25355 return NULL;
d55e5bfc
RD
25356}
25357
25358
1bd55598
RD
25359SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25360 PyObject *resultobj = 0;
25361 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25362 wxPoint result;
25363 void *argp1 = 0 ;
25364 int res1 = 0 ;
25365 PyObject *swig_obj[1] ;
25366
25367 if (!args) SWIG_fail;
25368 swig_obj[0] = args;
25369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 }
25373 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 result = (arg1)->GetMarginTopLeft();
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25381 return resultobj;
25382fail:
25383 return NULL;
d55e5bfc
RD
25384}
25385
25386
1bd55598
RD
25387SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25388 PyObject *resultobj = 0;
25389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25390 wxPoint result;
25391 void *argp1 = 0 ;
25392 int res1 = 0 ;
25393 PyObject *swig_obj[1] ;
25394
25395 if (!args) SWIG_fail;
25396 swig_obj[0] = args;
25397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25398 if (!SWIG_IsOK(res1)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25400 }
25401 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 result = (arg1)->GetMarginBottomRight();
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25409 return resultobj;
25410fail:
25411 return NULL;
d55e5bfc
RD
25412}
25413
25414
1bd55598
RD
25415SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25416 PyObject *resultobj = 0;
25417 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25418 wxPoint result;
25419 void *argp1 = 0 ;
25420 int res1 = 0 ;
25421 PyObject *swig_obj[1] ;
25422
25423 if (!args) SWIG_fail;
25424 swig_obj[0] = args;
25425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25426 if (!SWIG_IsOK(res1)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25428 }
25429 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (arg1)->GetMinMarginTopLeft();
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25437 return resultobj;
25438fail:
25439 return NULL;
d55e5bfc
RD
25440}
25441
25442
1bd55598
RD
25443SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25444 PyObject *resultobj = 0;
25445 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25446 wxPoint result;
25447 void *argp1 = 0 ;
25448 int res1 = 0 ;
25449 PyObject *swig_obj[1] ;
25450
25451 if (!args) SWIG_fail;
25452 swig_obj[0] = args;
25453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25454 if (!SWIG_IsOK(res1)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25456 }
25457 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = (arg1)->GetMinMarginBottomRight();
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25465 return resultobj;
25466fail:
25467 return NULL;
d55e5bfc
RD
25468}
25469
25470
1bd55598
RD
25471SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25472 PyObject *resultobj = 0;
25473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25474 wxPaperSize result;
25475 void *argp1 = 0 ;
25476 int res1 = 0 ;
25477 PyObject *swig_obj[1] ;
25478
25479 if (!args) SWIG_fail;
25480 swig_obj[0] = args;
25481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25482 if (!SWIG_IsOK(res1)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25484 }
25485 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 result = (wxPaperSize)(arg1)->GetPaperId();
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 resultobj = SWIG_From_int(static_cast< int >(result));
25493 return resultobj;
25494fail:
25495 return NULL;
d55e5bfc
RD
25496}
25497
25498
1bd55598
RD
25499SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25500 PyObject *resultobj = 0;
25501 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25502 wxSize result;
25503 void *argp1 = 0 ;
25504 int res1 = 0 ;
25505 PyObject *swig_obj[1] ;
25506
25507 if (!args) SWIG_fail;
25508 swig_obj[0] = args;
25509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25510 if (!SWIG_IsOK(res1)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25512 }
25513 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 result = (arg1)->GetPaperSize();
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25521 return resultobj;
25522fail:
25523 return NULL;
d55e5bfc
RD
25524}
25525
25526
1bd55598
RD
25527SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25528 PyObject *resultobj = 0;
25529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25530 wxPrintData *result = 0 ;
25531 void *argp1 = 0 ;
25532 int res1 = 0 ;
25533 PyObject *swig_obj[1] ;
25534
25535 if (!args) SWIG_fail;
25536 swig_obj[0] = args;
25537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25538 if (!SWIG_IsOK(res1)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25540 }
25541 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25544 {
1bd55598
RD
25545 wxPrintData &_result_ref = (arg1)->GetPrintData();
25546 result = (wxPrintData *) &_result_ref;
d55e5bfc 25547 }
1bd55598
RD
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25552 return resultobj;
25553fail:
25554 return NULL;
d55e5bfc
RD
25555}
25556
25557
b39fe951 25558SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
25559 PyObject *resultobj = 0;
25560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25561 bool result;
25562 void *argp1 = 0 ;
25563 int res1 = 0 ;
25564 PyObject *swig_obj[1] ;
25565
25566 if (!args) SWIG_fail;
25567 swig_obj[0] = args;
25568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25569 if (!SWIG_IsOK(res1)) {
b39fe951 25570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
1bd55598
RD
25571 }
25572 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 25575 result = (bool)(arg1)->IsOk();
1bd55598
RD
25576 wxPyEndAllowThreads(__tstate);
25577 if (PyErr_Occurred()) SWIG_fail;
25578 }
25579 {
25580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25581 }
25582 return resultobj;
25583fail:
25584 return NULL;
25585}
25586
25587
25588SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25589 PyObject *resultobj = 0;
25590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25591 bool arg2 ;
25592 void *argp1 = 0 ;
25593 int res1 = 0 ;
25594 bool val2 ;
25595 int ecode2 = 0 ;
25596 PyObject * obj0 = 0 ;
25597 PyObject * obj1 = 0 ;
25598 char * kwnames[] = {
25599 (char *) "self",(char *) "flag", NULL
25600 };
25601
25602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25604 if (!SWIG_IsOK(res1)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25606 }
25607 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25608 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25609 if (!SWIG_IsOK(ecode2)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25611 }
25612 arg2 = static_cast< bool >(val2);
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 (arg1)->SetDefaultInfo(arg2);
25616 wxPyEndAllowThreads(__tstate);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 resultobj = SWIG_Py_Void();
25620 return resultobj;
25621fail:
25622 return NULL;
25623}
25624
25625
25626SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25627 PyObject *resultobj = 0;
25628 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25629 bool arg2 ;
25630 void *argp1 = 0 ;
25631 int res1 = 0 ;
25632 bool val2 ;
25633 int ecode2 = 0 ;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 char * kwnames[] = {
25637 (char *) "self",(char *) "flag", NULL
25638 };
25639
25640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25642 if (!SWIG_IsOK(res1)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25644 }
25645 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25646 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25647 if (!SWIG_IsOK(ecode2)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25649 }
25650 arg2 = static_cast< bool >(val2);
25651 {
25652 PyThreadState* __tstate = wxPyBeginAllowThreads();
25653 (arg1)->SetDefaultMinMargins(arg2);
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_Py_Void();
25658 return resultobj;
25659fail:
25660 return NULL;
25661}
25662
25663
25664SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25665 PyObject *resultobj = 0;
25666 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25667 wxPoint *arg2 = 0 ;
25668 void *argp1 = 0 ;
25669 int res1 = 0 ;
25670 wxPoint temp2 ;
25671 PyObject * obj0 = 0 ;
25672 PyObject * obj1 = 0 ;
25673 char * kwnames[] = {
25674 (char *) "self",(char *) "pt", NULL
25675 };
25676
25677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25679 if (!SWIG_IsOK(res1)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25681 }
25682 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25683 {
25684 arg2 = &temp2;
25685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25686 }
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 resultobj = SWIG_Py_Void();
25694 return resultobj;
25695fail:
25696 return NULL;
25697}
25698
25699
25700SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25701 PyObject *resultobj = 0;
25702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25703 wxPoint *arg2 = 0 ;
25704 void *argp1 = 0 ;
25705 int res1 = 0 ;
25706 wxPoint temp2 ;
25707 PyObject * obj0 = 0 ;
25708 PyObject * obj1 = 0 ;
25709 char * kwnames[] = {
25710 (char *) "self",(char *) "pt", NULL
25711 };
25712
25713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25715 if (!SWIG_IsOK(res1)) {
25716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25717 }
25718 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25719 {
25720 arg2 = &temp2;
25721 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25722 }
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 resultobj = SWIG_Py_Void();
25730 return resultobj;
25731fail:
25732 return NULL;
25733}
25734
25735
25736SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25737 PyObject *resultobj = 0;
25738 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25739 wxPoint *arg2 = 0 ;
25740 void *argp1 = 0 ;
25741 int res1 = 0 ;
25742 wxPoint temp2 ;
25743 PyObject * obj0 = 0 ;
25744 PyObject * obj1 = 0 ;
25745 char * kwnames[] = {
25746 (char *) "self",(char *) "pt", NULL
25747 };
25748
25749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25751 if (!SWIG_IsOK(res1)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25753 }
25754 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25755 {
25756 arg2 = &temp2;
25757 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25758 }
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 resultobj = SWIG_Py_Void();
25766 return resultobj;
25767fail:
25768 return NULL;
25769}
25770
25771
25772SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj = 0;
25774 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25775 wxPoint *arg2 = 0 ;
25776 void *argp1 = 0 ;
25777 int res1 = 0 ;
25778 wxPoint temp2 ;
25779 PyObject * obj0 = 0 ;
25780 PyObject * obj1 = 0 ;
25781 char * kwnames[] = {
25782 (char *) "self",(char *) "pt", NULL
25783 };
25784
25785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25787 if (!SWIG_IsOK(res1)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25789 }
25790 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25791 {
25792 arg2 = &temp2;
25793 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25794 }
25795 {
25796 PyThreadState* __tstate = wxPyBeginAllowThreads();
25797 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 resultobj = SWIG_Py_Void();
25802 return resultobj;
25803fail:
25804 return NULL;
25805}
25806
25807
25808SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25809 PyObject *resultobj = 0;
25810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25811 wxPaperSize arg2 ;
25812 void *argp1 = 0 ;
25813 int res1 = 0 ;
25814 int val2 ;
25815 int ecode2 = 0 ;
25816 PyObject * obj0 = 0 ;
25817 PyObject * obj1 = 0 ;
25818 char * kwnames[] = {
25819 (char *) "self",(char *) "id", NULL
25820 };
25821
25822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25824 if (!SWIG_IsOK(res1)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25826 }
25827 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25828 ecode2 = SWIG_AsVal_int(obj1, &val2);
25829 if (!SWIG_IsOK(ecode2)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25831 }
25832 arg2 = static_cast< wxPaperSize >(val2);
25833 {
25834 PyThreadState* __tstate = wxPyBeginAllowThreads();
25835 (arg1)->SetPaperId(arg2);
25836 wxPyEndAllowThreads(__tstate);
25837 if (PyErr_Occurred()) SWIG_fail;
25838 }
25839 resultobj = SWIG_Py_Void();
25840 return resultobj;
25841fail:
25842 return NULL;
25843}
25844
25845
25846SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25847 PyObject *resultobj = 0;
25848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25849 wxSize *arg2 = 0 ;
25850 void *argp1 = 0 ;
25851 int res1 = 0 ;
25852 wxSize temp2 ;
25853 PyObject * obj0 = 0 ;
25854 PyObject * obj1 = 0 ;
25855 char * kwnames[] = {
25856 (char *) "self",(char *) "size", NULL
25857 };
25858
25859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25861 if (!SWIG_IsOK(res1)) {
25862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25863 }
25864 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25865 {
25866 arg2 = &temp2;
25867 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25868 }
25869 {
25870 PyThreadState* __tstate = wxPyBeginAllowThreads();
25871 (arg1)->SetPaperSize((wxSize const &)*arg2);
25872 wxPyEndAllowThreads(__tstate);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 resultobj = SWIG_Py_Void();
25876 return resultobj;
25877fail:
25878 return NULL;
25879}
25880
25881
25882SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25883 PyObject *resultobj = 0;
25884 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25885 wxPrintData *arg2 = 0 ;
25886 void *argp1 = 0 ;
25887 int res1 = 0 ;
25888 void *argp2 = 0 ;
25889 int res2 = 0 ;
25890 PyObject * obj0 = 0 ;
25891 PyObject * obj1 = 0 ;
25892 char * kwnames[] = {
25893 (char *) "self",(char *) "printData", NULL
25894 };
25895
25896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25898 if (!SWIG_IsOK(res1)) {
25899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25900 }
25901 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25902 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25903 if (!SWIG_IsOK(res2)) {
25904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25905 }
25906 if (!argp2) {
25907 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25908 }
25909 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 resultobj = SWIG_Py_Void();
25917 return resultobj;
25918fail:
25919 return NULL;
d55e5bfc
RD
25920}
25921
25922
1bd55598
RD
25923SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25924 PyObject *resultobj = 0;
25925 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25926 void *argp1 = 0 ;
25927 int res1 = 0 ;
25928 PyObject *swig_obj[1] ;
25929
25930 if (!args) SWIG_fail;
25931 swig_obj[0] = args;
25932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25933 if (!SWIG_IsOK(res1)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25935 }
25936 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 (arg1)->CalculateIdFromPaperSize();
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 resultobj = SWIG_Py_Void();
25944 return resultobj;
25945fail:
25946 return NULL;
d55e5bfc
RD
25947}
25948
25949
1bd55598
RD
25950SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25951 PyObject *resultobj = 0;
25952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25953 void *argp1 = 0 ;
25954 int res1 = 0 ;
25955 PyObject *swig_obj[1] ;
25956
25957 if (!args) SWIG_fail;
25958 swig_obj[0] = args;
25959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25960 if (!SWIG_IsOK(res1)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25962 }
25963 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 (arg1)->CalculatePaperSizeFromId();
25967 wxPyEndAllowThreads(__tstate);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 resultobj = SWIG_Py_Void();
25971 return resultobj;
25972fail:
25973 return NULL;
d55e5bfc
RD
25974}
25975
25976
1bd55598
RD
25977SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25978 PyObject *obj;
25979 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25980 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25981 return SWIG_Py_Void();
d55e5bfc
RD
25982}
25983
1bd55598
RD
25984SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25985 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25986}
25987
1bd55598
RD
25988SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj = 0;
25990 wxWindow *arg1 = (wxWindow *) 0 ;
25991 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25992 wxPageSetupDialog *result = 0 ;
25993 void *argp1 = 0 ;
25994 int res1 = 0 ;
25995 void *argp2 = 0 ;
25996 int res2 = 0 ;
25997 PyObject * obj0 = 0 ;
25998 PyObject * obj1 = 0 ;
25999 char * kwnames[] = {
26000 (char *) "parent",(char *) "data", NULL
26001 };
26002
26003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26005 if (!SWIG_IsOK(res1)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26007 }
26008 arg1 = reinterpret_cast< wxWindow * >(argp1);
26009 if (obj1) {
26010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26011 if (!SWIG_IsOK(res2)) {
26012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 26013 }
1bd55598
RD
26014 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26015 }
26016 {
26017 if (!wxPyCheckForApp()) SWIG_fail;
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26024 return resultobj;
26025fail:
26026 return NULL;
d55e5bfc
RD
26027}
26028
26029
06810ecf
RD
26030SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26031 PyObject *resultobj = 0;
26032 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26033 void *argp1 = 0 ;
26034 int res1 = 0 ;
26035 PyObject *swig_obj[1] ;
26036
26037 if (!args) SWIG_fail;
26038 swig_obj[0] = args;
26039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26040 if (!SWIG_IsOK(res1)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26042 }
26043 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 delete arg1;
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 resultobj = SWIG_Py_Void();
26052 return resultobj;
26053fail:
26054 return NULL;
26055}
26056
26057
1bd55598
RD
26058SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26059 PyObject *resultobj = 0;
26060 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26061 wxPageSetupDialogData *result = 0 ;
26062 void *argp1 = 0 ;
26063 int res1 = 0 ;
26064 PyObject *swig_obj[1] ;
26065
26066 if (!args) SWIG_fail;
26067 swig_obj[0] = args;
26068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26069 if (!SWIG_IsOK(res1)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26071 }
26072 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26073 {
26074 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 26075 {
1bd55598
RD
26076 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26077 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 26078 }
1bd55598
RD
26079 wxPyEndAllowThreads(__tstate);
26080 if (PyErr_Occurred()) SWIG_fail;
26081 }
26082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26083 return resultobj;
26084fail:
26085 return NULL;
d55e5bfc
RD
26086}
26087
26088
1bd55598
RD
26089SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26090 PyObject *resultobj = 0;
26091 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26092 wxPageSetupDialogData *result = 0 ;
26093 void *argp1 = 0 ;
26094 int res1 = 0 ;
26095 PyObject *swig_obj[1] ;
26096
26097 if (!args) SWIG_fail;
26098 swig_obj[0] = args;
26099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26100 if (!SWIG_IsOK(res1)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26102 }
26103 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26106 {
1bd55598
RD
26107 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26108 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 26109 }
1bd55598
RD
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26114 return resultobj;
26115fail:
26116 return NULL;
d55e5bfc
RD
26117}
26118
26119
1bd55598
RD
26120SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26123 int result;
26124 void *argp1 = 0 ;
26125 int res1 = 0 ;
26126 PyObject *swig_obj[1] ;
26127
26128 if (!args) SWIG_fail;
26129 swig_obj[0] = args;
26130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26131 if (!SWIG_IsOK(res1)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26133 }
26134 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26135 {
26136 PyThreadState* __tstate = wxPyBeginAllowThreads();
26137 result = (int)(arg1)->ShowModal();
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 resultobj = SWIG_From_int(static_cast< int >(result));
26142 return resultobj;
26143fail:
26144 return NULL;
d55e5bfc
RD
26145}
26146
26147
1bd55598
RD
26148SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26149 PyObject *obj;
26150 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26151 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26152 return SWIG_Py_Void();
d55e5bfc
RD
26153}
26154
1bd55598
RD
26155SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26156 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
26157}
26158
1bd55598
RD
26159SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26160 PyObject *resultobj = 0;
26161 wxPrintDialogData *result = 0 ;
26162
26163 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26164 {
26165 PyThreadState* __tstate = wxPyBeginAllowThreads();
26166 result = (wxPrintDialogData *)new wxPrintDialogData();
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26171 return resultobj;
26172fail:
26173 return NULL;
d55e5bfc
RD
26174}
26175
26176
1bd55598
RD
26177SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26178 PyObject *resultobj = 0;
26179 wxPrintData *arg1 = 0 ;
26180 wxPrintDialogData *result = 0 ;
26181 void *argp1 = 0 ;
26182 int res1 = 0 ;
26183
26184 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26186 if (!SWIG_IsOK(res1)) {
26187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26188 }
26189 if (!argp1) {
26190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26191 }
26192 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26193 {
26194 PyThreadState* __tstate = wxPyBeginAllowThreads();
26195 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26196 wxPyEndAllowThreads(__tstate);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
26199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26200 return resultobj;
26201fail:
26202 return NULL;
d55e5bfc
RD
26203}
26204
26205
1bd55598
RD
26206SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26207 PyObject *resultobj = 0;
26208 wxPrintDialogData *arg1 = 0 ;
26209 wxPrintDialogData *result = 0 ;
26210 void *argp1 = 0 ;
26211 int res1 = 0 ;
26212
26213 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26215 if (!SWIG_IsOK(res1)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26217 }
26218 if (!argp1) {
26219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26220 }
26221 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26229 return resultobj;
26230fail:
26231 return NULL;
d55e5bfc
RD
26232}
26233
26234
1bd55598
RD
26235SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26236 int argc;
26237 PyObject *argv[2];
26238
26239 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26240 --argc;
26241 if (argc == 0) {
26242 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26243 }
26244 if (argc == 1) {
26245 int _v = 0;
d55e5bfc 26246 {
1bd55598
RD
26247 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26248 _v = SWIG_CheckState(res);
d55e5bfc 26249 }
1bd55598
RD
26250 if (!_v) goto check_2;
26251 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26252 }
26253check_2:
26254
26255 if (argc == 1) {
26256 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26257 }
26258
26259fail:
26260 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26261 return NULL;
d55e5bfc
RD
26262}
26263
26264
1bd55598
RD
26265SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26266 PyObject *resultobj = 0;
26267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26268 void *argp1 = 0 ;
26269 int res1 = 0 ;
26270 PyObject *swig_obj[1] ;
26271
26272 if (!args) SWIG_fail;
26273 swig_obj[0] = args;
26274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26275 if (!SWIG_IsOK(res1)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26277 }
26278 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26279 {
26280 PyThreadState* __tstate = wxPyBeginAllowThreads();
26281 delete arg1;
d55e5bfc 26282
1bd55598
RD
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 resultobj = SWIG_Py_Void();
26287 return resultobj;
26288fail:
26289 return NULL;
d55e5bfc
RD
26290}
26291
26292
1bd55598
RD
26293SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26294 PyObject *resultobj = 0;
26295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26296 int result;
26297 void *argp1 = 0 ;
26298 int res1 = 0 ;
26299 PyObject *swig_obj[1] ;
26300
26301 if (!args) SWIG_fail;
26302 swig_obj[0] = args;
26303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26304 if (!SWIG_IsOK(res1)) {
26305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26306 }
26307 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26308 {
26309 PyThreadState* __tstate = wxPyBeginAllowThreads();
26310 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26311 wxPyEndAllowThreads(__tstate);
26312 if (PyErr_Occurred()) SWIG_fail;
26313 }
26314 resultobj = SWIG_From_int(static_cast< int >(result));
26315 return resultobj;
26316fail:
26317 return NULL;
d55e5bfc
RD
26318}
26319
26320
1bd55598
RD
26321SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26322 PyObject *resultobj = 0;
26323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26324 int result;
26325 void *argp1 = 0 ;
26326 int res1 = 0 ;
26327 PyObject *swig_obj[1] ;
26328
26329 if (!args) SWIG_fail;
26330 swig_obj[0] = args;
26331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26332 if (!SWIG_IsOK(res1)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26334 }
26335 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 resultobj = SWIG_From_int(static_cast< int >(result));
26343 return resultobj;
26344fail:
26345 return NULL;
d55e5bfc
RD
26346}
26347
26348
1bd55598
RD
26349SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26350 PyObject *resultobj = 0;
26351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 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_wxPrintDialogData, 0 | 0 );
26360 if (!SWIG_IsOK(res1)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26362 }
26363 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
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;
d55e5bfc
RD
26374}
26375
26376
1bd55598
RD
26377SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26378 PyObject *resultobj = 0;
26379 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26380 int 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_wxPrintDialogData, 0 | 0 );
26388 if (!SWIG_IsOK(res1)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26390 }
26391 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26392 {
26393 PyThreadState* __tstate = wxPyBeginAllowThreads();
26394 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
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;
d55e5bfc
RD
26402}
26403
26404
1bd55598
RD
26405SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26406 PyObject *resultobj = 0;
26407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26408 int 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_wxPrintDialogData, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26418 }
26419 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
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;
d55e5bfc
RD
26430}
26431
26432
1bd55598
RD
26433SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26434 PyObject *resultobj = 0;
26435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26436 bool 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_wxPrintDialogData, 0 | 0 );
26444 if (!SWIG_IsOK(res1)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26446 }
26447 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26448 {
26449 PyThreadState* __tstate = wxPyBeginAllowThreads();
26450 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 {
26455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26456 }
26457 return resultobj;
26458fail:
26459 return NULL;
d55e5bfc
RD
26460}
26461
26462
1bd55598
RD
26463SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26464 PyObject *resultobj = 0;
26465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26466 bool result;
26467 void *argp1 = 0 ;
26468 int res1 = 0 ;
26469 PyObject *swig_obj[1] ;
26470
26471 if (!args) SWIG_fail;
26472 swig_obj[0] = args;
26473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26474 if (!SWIG_IsOK(res1)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26476 }
26477 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26481 wxPyEndAllowThreads(__tstate);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 {
26485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26486 }
26487 return resultobj;
26488fail:
26489 return NULL;
d55e5bfc
RD
26490}
26491
26492
1bd55598
RD
26493SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26494 PyObject *resultobj = 0;
26495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26496 bool result;
26497 void *argp1 = 0 ;
26498 int res1 = 0 ;
26499 PyObject *swig_obj[1] ;
26500
26501 if (!args) SWIG_fail;
26502 swig_obj[0] = args;
26503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26504 if (!SWIG_IsOK(res1)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26506 }
26507 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 {
26515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26516 }
26517 return resultobj;
26518fail:
26519 return NULL;
d55e5bfc
RD
26520}
26521
26522
1bd55598
RD
26523SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26524 PyObject *resultobj = 0;
26525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26526 bool result;
26527 void *argp1 = 0 ;
26528 int res1 = 0 ;
26529 PyObject *swig_obj[1] ;
26530
26531 if (!args) SWIG_fail;
26532 swig_obj[0] = args;
26533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26534 if (!SWIG_IsOK(res1)) {
26535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26536 }
26537 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26541 wxPyEndAllowThreads(__tstate);
26542 if (PyErr_Occurred()) SWIG_fail;
26543 }
26544 {
26545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26546 }
26547 return resultobj;
26548fail:
26549 return NULL;
26550}
26551
26552
26553SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26554 PyObject *resultobj = 0;
26555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26556 int arg2 ;
26557 void *argp1 = 0 ;
26558 int res1 = 0 ;
26559 int val2 ;
26560 int ecode2 = 0 ;
26561 PyObject * obj0 = 0 ;
26562 PyObject * obj1 = 0 ;
26563 char * kwnames[] = {
26564 (char *) "self",(char *) "v", NULL
26565 };
26566
26567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26569 if (!SWIG_IsOK(res1)) {
26570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26571 }
26572 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26573 ecode2 = SWIG_AsVal_int(obj1, &val2);
26574 if (!SWIG_IsOK(ecode2)) {
26575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26576 }
26577 arg2 = static_cast< int >(val2);
26578 {
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 (arg1)->SetFromPage(arg2);
26581 wxPyEndAllowThreads(__tstate);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 }
26584 resultobj = SWIG_Py_Void();
26585 return resultobj;
26586fail:
26587 return NULL;
26588}
26589
26590
26591SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26592 PyObject *resultobj = 0;
26593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26594 int arg2 ;
26595 void *argp1 = 0 ;
26596 int res1 = 0 ;
26597 int val2 ;
26598 int ecode2 = 0 ;
26599 PyObject * obj0 = 0 ;
26600 PyObject * obj1 = 0 ;
26601 char * kwnames[] = {
26602 (char *) "self",(char *) "v", NULL
26603 };
26604
26605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26607 if (!SWIG_IsOK(res1)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26609 }
26610 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26611 ecode2 = SWIG_AsVal_int(obj1, &val2);
26612 if (!SWIG_IsOK(ecode2)) {
26613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26614 }
26615 arg2 = static_cast< int >(val2);
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 (arg1)->SetToPage(arg2);
26619 wxPyEndAllowThreads(__tstate);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
26622 resultobj = SWIG_Py_Void();
26623 return resultobj;
26624fail:
26625 return NULL;
26626}
26627
26628
26629SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26630 PyObject *resultobj = 0;
26631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26632 int arg2 ;
26633 void *argp1 = 0 ;
26634 int res1 = 0 ;
26635 int val2 ;
26636 int ecode2 = 0 ;
26637 PyObject * obj0 = 0 ;
26638 PyObject * obj1 = 0 ;
26639 char * kwnames[] = {
26640 (char *) "self",(char *) "v", NULL
26641 };
26642
26643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26645 if (!SWIG_IsOK(res1)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26647 }
26648 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26649 ecode2 = SWIG_AsVal_int(obj1, &val2);
26650 if (!SWIG_IsOK(ecode2)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26652 }
26653 arg2 = static_cast< int >(val2);
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 (arg1)->SetMinPage(arg2);
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 resultobj = SWIG_Py_Void();
26661 return resultobj;
26662fail:
26663 return NULL;
26664}
26665
26666
26667SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26668 PyObject *resultobj = 0;
26669 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26670 int arg2 ;
26671 void *argp1 = 0 ;
26672 int res1 = 0 ;
26673 int val2 ;
26674 int ecode2 = 0 ;
26675 PyObject * obj0 = 0 ;
26676 PyObject * obj1 = 0 ;
26677 char * kwnames[] = {
26678 (char *) "self",(char *) "v", NULL
26679 };
26680
26681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26683 if (!SWIG_IsOK(res1)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26685 }
26686 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26687 ecode2 = SWIG_AsVal_int(obj1, &val2);
26688 if (!SWIG_IsOK(ecode2)) {
26689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26690 }
26691 arg2 = static_cast< int >(val2);
26692 {
26693 PyThreadState* __tstate = wxPyBeginAllowThreads();
26694 (arg1)->SetMaxPage(arg2);
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 resultobj = SWIG_Py_Void();
26699 return resultobj;
26700fail:
26701 return NULL;
26702}
26703
26704
26705SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26706 PyObject *resultobj = 0;
26707 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26708 int arg2 ;
26709 void *argp1 = 0 ;
26710 int res1 = 0 ;
26711 int val2 ;
26712 int ecode2 = 0 ;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715 char * kwnames[] = {
26716 (char *) "self",(char *) "v", NULL
26717 };
26718
26719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26721 if (!SWIG_IsOK(res1)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26723 }
26724 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26725 ecode2 = SWIG_AsVal_int(obj1, &val2);
26726 if (!SWIG_IsOK(ecode2)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26728 }
26729 arg2 = static_cast< int >(val2);
26730 {
26731 PyThreadState* __tstate = wxPyBeginAllowThreads();
26732 (arg1)->SetNoCopies(arg2);
26733 wxPyEndAllowThreads(__tstate);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 }
26736 resultobj = SWIG_Py_Void();
26737 return resultobj;
26738fail:
26739 return NULL;
26740}
26741
26742
26743SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj = 0;
26745 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26746 bool arg2 ;
26747 void *argp1 = 0 ;
26748 int res1 = 0 ;
26749 bool val2 ;
26750 int ecode2 = 0 ;
26751 PyObject * obj0 = 0 ;
26752 PyObject * obj1 = 0 ;
26753 char * kwnames[] = {
26754 (char *) "self",(char *) "flag", NULL
26755 };
26756
26757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26759 if (!SWIG_IsOK(res1)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26761 }
26762 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26763 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26764 if (!SWIG_IsOK(ecode2)) {
26765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26766 }
26767 arg2 = static_cast< bool >(val2);
26768 {
26769 PyThreadState* __tstate = wxPyBeginAllowThreads();
26770 (arg1)->SetAllPages(arg2);
26771 wxPyEndAllowThreads(__tstate);
26772 if (PyErr_Occurred()) SWIG_fail;
26773 }
26774 resultobj = SWIG_Py_Void();
26775 return resultobj;
26776fail:
26777 return NULL;
26778}
26779
26780
26781SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26782 PyObject *resultobj = 0;
26783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26784 bool arg2 ;
26785 void *argp1 = 0 ;
26786 int res1 = 0 ;
26787 bool val2 ;
26788 int ecode2 = 0 ;
26789 PyObject * obj0 = 0 ;
26790 PyObject * obj1 = 0 ;
26791 char * kwnames[] = {
26792 (char *) "self",(char *) "flag", NULL
26793 };
26794
26795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26797 if (!SWIG_IsOK(res1)) {
26798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26799 }
26800 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26801 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26802 if (!SWIG_IsOK(ecode2)) {
26803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26804 }
26805 arg2 = static_cast< bool >(val2);
26806 {
26807 PyThreadState* __tstate = wxPyBeginAllowThreads();
26808 (arg1)->SetSelection(arg2);
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 resultobj = SWIG_Py_Void();
26813 return resultobj;
26814fail:
26815 return NULL;
26816}
26817
26818
26819SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26820 PyObject *resultobj = 0;
26821 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26822 bool arg2 ;
26823 void *argp1 = 0 ;
26824 int res1 = 0 ;
26825 bool val2 ;
26826 int ecode2 = 0 ;
26827 PyObject * obj0 = 0 ;
26828 PyObject * obj1 = 0 ;
26829 char * kwnames[] = {
26830 (char *) "self",(char *) "flag", NULL
26831 };
26832
26833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26835 if (!SWIG_IsOK(res1)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26837 }
26838 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26839 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26840 if (!SWIG_IsOK(ecode2)) {
26841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26842 }
26843 arg2 = static_cast< bool >(val2);
26844 {
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 (arg1)->SetCollate(arg2);
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
26850 resultobj = SWIG_Py_Void();
26851 return resultobj;
26852fail:
26853 return NULL;
26854}
26855
26856
26857SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26858 PyObject *resultobj = 0;
26859 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26860 bool arg2 ;
26861 void *argp1 = 0 ;
26862 int res1 = 0 ;
26863 bool val2 ;
26864 int ecode2 = 0 ;
26865 PyObject * obj0 = 0 ;
26866 PyObject * obj1 = 0 ;
26867 char * kwnames[] = {
26868 (char *) "self",(char *) "flag", NULL
26869 };
26870
26871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26873 if (!SWIG_IsOK(res1)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26875 }
26876 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26877 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26878 if (!SWIG_IsOK(ecode2)) {
26879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26880 }
26881 arg2 = static_cast< bool >(val2);
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 (arg1)->SetPrintToFile(arg2);
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
26888 resultobj = SWIG_Py_Void();
26889 return resultobj;
26890fail:
26891 return NULL;
26892}
26893
26894
26895SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26896 PyObject *resultobj = 0;
26897 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26898 bool arg2 ;
26899 void *argp1 = 0 ;
26900 int res1 = 0 ;
26901 bool val2 ;
26902 int ecode2 = 0 ;
26903 PyObject * obj0 = 0 ;
26904 PyObject * obj1 = 0 ;
26905 char * kwnames[] = {
26906 (char *) "self",(char *) "flag", NULL
26907 };
26908
26909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26911 if (!SWIG_IsOK(res1)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26913 }
26914 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26915 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26916 if (!SWIG_IsOK(ecode2)) {
26917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26918 }
26919 arg2 = static_cast< bool >(val2);
26920 {
26921 PyThreadState* __tstate = wxPyBeginAllowThreads();
26922 (arg1)->EnablePrintToFile(arg2);
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 resultobj = SWIG_Py_Void();
26927 return resultobj;
26928fail:
26929 return NULL;
26930}
26931
26932
26933SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26934 PyObject *resultobj = 0;
26935 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26936 bool arg2 ;
26937 void *argp1 = 0 ;
26938 int res1 = 0 ;
26939 bool val2 ;
26940 int ecode2 = 0 ;
26941 PyObject * obj0 = 0 ;
26942 PyObject * obj1 = 0 ;
26943 char * kwnames[] = {
26944 (char *) "self",(char *) "flag", NULL
26945 };
26946
26947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26949 if (!SWIG_IsOK(res1)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26951 }
26952 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26953 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26954 if (!SWIG_IsOK(ecode2)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26956 }
26957 arg2 = static_cast< bool >(val2);
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 (arg1)->EnableSelection(arg2);
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_Py_Void();
26965 return resultobj;
26966fail:
26967 return NULL;
26968}
26969
26970
26971SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26972 PyObject *resultobj = 0;
26973 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26974 bool arg2 ;
26975 void *argp1 = 0 ;
26976 int res1 = 0 ;
26977 bool val2 ;
26978 int ecode2 = 0 ;
26979 PyObject * obj0 = 0 ;
26980 PyObject * obj1 = 0 ;
26981 char * kwnames[] = {
26982 (char *) "self",(char *) "flag", NULL
26983 };
26984
26985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26987 if (!SWIG_IsOK(res1)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26989 }
26990 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26991 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26992 if (!SWIG_IsOK(ecode2)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26994 }
26995 arg2 = static_cast< bool >(val2);
26996 {
26997 PyThreadState* __tstate = wxPyBeginAllowThreads();
26998 (arg1)->EnablePageNumbers(arg2);
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 resultobj = SWIG_Py_Void();
27003 return resultobj;
27004fail:
27005 return NULL;
27006}
27007
27008
27009SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj = 0;
27011 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27012 bool arg2 ;
27013 void *argp1 = 0 ;
27014 int res1 = 0 ;
27015 bool val2 ;
27016 int ecode2 = 0 ;
27017 PyObject * obj0 = 0 ;
27018 PyObject * obj1 = 0 ;
27019 char * kwnames[] = {
27020 (char *) "self",(char *) "flag", NULL
27021 };
27022
27023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27025 if (!SWIG_IsOK(res1)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27027 }
27028 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27029 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27030 if (!SWIG_IsOK(ecode2)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27032 }
27033 arg2 = static_cast< bool >(val2);
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 (arg1)->EnableHelp(arg2);
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 resultobj = SWIG_Py_Void();
27041 return resultobj;
27042fail:
27043 return NULL;
27044}
d55e5bfc 27045
1bd55598
RD
27046
27047SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27048 PyObject *resultobj = 0;
27049 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27050 bool result;
27051 void *argp1 = 0 ;
27052 int res1 = 0 ;
27053 PyObject *swig_obj[1] ;
27054
27055 if (!args) SWIG_fail;
27056 swig_obj[0] = args;
27057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27058 if (!SWIG_IsOK(res1)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27060 }
27061 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27062 {
27063 PyThreadState* __tstate = wxPyBeginAllowThreads();
27064 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27065 wxPyEndAllowThreads(__tstate);
27066 if (PyErr_Occurred()) SWIG_fail;
27067 }
27068 {
27069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27070 }
27071 return resultobj;
27072fail:
27073 return NULL;
d55e5bfc
RD
27074}
27075
27076
1bd55598
RD
27077SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27078 PyObject *resultobj = 0;
27079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27080 bool result;
27081 void *argp1 = 0 ;
27082 int res1 = 0 ;
27083 PyObject *swig_obj[1] ;
27084
27085 if (!args) SWIG_fail;
27086 swig_obj[0] = args;
27087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27088 if (!SWIG_IsOK(res1)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27090 }
27091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27092 {
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 {
27099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27100 }
27101 return resultobj;
27102fail:
27103 return NULL;
d55e5bfc
RD
27104}
27105
27106
1bd55598
RD
27107SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27108 PyObject *resultobj = 0;
27109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27110 bool result;
27111 void *argp1 = 0 ;
27112 int res1 = 0 ;
27113 PyObject *swig_obj[1] ;
27114
27115 if (!args) SWIG_fail;
27116 swig_obj[0] = args;
27117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27118 if (!SWIG_IsOK(res1)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27120 }
27121 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27122 {
27123 PyThreadState* __tstate = wxPyBeginAllowThreads();
27124 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27125 wxPyEndAllowThreads(__tstate);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 }
27128 {
27129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27130 }
27131 return resultobj;
27132fail:
27133 return NULL;
d55e5bfc
RD
27134}
27135
27136
1bd55598
RD
27137SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27138 PyObject *resultobj = 0;
27139 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27140 bool result;
27141 void *argp1 = 0 ;
27142 int res1 = 0 ;
27143 PyObject *swig_obj[1] ;
27144
27145 if (!args) SWIG_fail;
27146 swig_obj[0] = args;
27147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27148 if (!SWIG_IsOK(res1)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27150 }
27151 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 {
27159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27160 }
27161 return resultobj;
27162fail:
27163 return NULL;
d55e5bfc
RD
27164}
27165
27166
b39fe951 27167SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
27168 PyObject *resultobj = 0;
27169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27170 bool result;
27171 void *argp1 = 0 ;
27172 int res1 = 0 ;
27173 PyObject *swig_obj[1] ;
27174
27175 if (!args) SWIG_fail;
27176 swig_obj[0] = args;
27177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27178 if (!SWIG_IsOK(res1)) {
b39fe951 27179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
1bd55598
RD
27180 }
27181 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27182 {
27183 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 27184 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
1bd55598
RD
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 {
27189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27190 }
27191 return resultobj;
27192fail:
27193 return NULL;
d55e5bfc
RD
27194}
27195
27196
1bd55598
RD
27197SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27198 PyObject *resultobj = 0;
27199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27200 wxPrintData *result = 0 ;
27201 void *argp1 = 0 ;
27202 int res1 = 0 ;
27203 PyObject *swig_obj[1] ;
27204
27205 if (!args) SWIG_fail;
27206 swig_obj[0] = args;
27207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27208 if (!SWIG_IsOK(res1)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27210 }
27211 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27214 {
1bd55598
RD
27215 wxPrintData &_result_ref = (arg1)->GetPrintData();
27216 result = (wxPrintData *) &_result_ref;
27217 }
27218 wxPyEndAllowThreads(__tstate);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27222 return resultobj;
27223fail:
27224 return NULL;
27225}
27226
27227
27228SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27229 PyObject *resultobj = 0;
27230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27231 wxPrintData *arg2 = 0 ;
27232 void *argp1 = 0 ;
27233 int res1 = 0 ;
27234 void *argp2 = 0 ;
27235 int res2 = 0 ;
27236 PyObject * obj0 = 0 ;
27237 PyObject * obj1 = 0 ;
27238 char * kwnames[] = {
27239 (char *) "self",(char *) "printData", NULL
27240 };
27241
27242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27244 if (!SWIG_IsOK(res1)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27246 }
27247 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27249 if (!SWIG_IsOK(res2)) {
27250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27251 }
27252 if (!argp2) {
27253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27254 }
27255 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27259 wxPyEndAllowThreads(__tstate);
27260 if (PyErr_Occurred()) SWIG_fail;
27261 }
27262 resultobj = SWIG_Py_Void();
27263 return resultobj;
27264fail:
27265 return NULL;
d55e5bfc
RD
27266}
27267
27268
1bd55598
RD
27269SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27270 PyObject *obj;
27271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27272 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27273 return SWIG_Py_Void();
27274}
27275
27276SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27277 return SWIG_Python_InitShadowInstance(args);
27278}
27279
27280SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj = 0;
27282 wxWindow *arg1 = (wxWindow *) 0 ;
27283 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27284 wxPrintDialog *result = 0 ;
27285 void *argp1 = 0 ;
27286 int res1 = 0 ;
27287 void *argp2 = 0 ;
27288 int res2 = 0 ;
27289 PyObject * obj0 = 0 ;
27290 PyObject * obj1 = 0 ;
27291 char * kwnames[] = {
27292 (char *) "parent",(char *) "data", NULL
27293 };
27294
27295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27297 if (!SWIG_IsOK(res1)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27299 }
27300 arg1 = reinterpret_cast< wxWindow * >(argp1);
27301 if (obj1) {
27302 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27303 if (!SWIG_IsOK(res2)) {
27304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27305 }
1bd55598
RD
27306 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27307 }
27308 {
27309 if (!wxPyCheckForApp()) SWIG_fail;
27310 PyThreadState* __tstate = wxPyBeginAllowThreads();
27311 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27312 wxPyEndAllowThreads(__tstate);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
27315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27316 return resultobj;
27317fail:
27318 return NULL;
d55e5bfc
RD
27319}
27320
27321
06810ecf
RD
27322SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27323 PyObject *resultobj = 0;
27324 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27325 void *argp1 = 0 ;
27326 int res1 = 0 ;
27327 PyObject *swig_obj[1] ;
27328
27329 if (!args) SWIG_fail;
27330 swig_obj[0] = args;
27331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27332 if (!SWIG_IsOK(res1)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27334 }
27335 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27336 {
27337 PyThreadState* __tstate = wxPyBeginAllowThreads();
27338 delete arg1;
27339
27340 wxPyEndAllowThreads(__tstate);
27341 if (PyErr_Occurred()) SWIG_fail;
27342 }
27343 resultobj = SWIG_Py_Void();
27344 return resultobj;
27345fail:
27346 return NULL;
27347}
27348
27349
1bd55598
RD
27350SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27351 PyObject *resultobj = 0;
27352 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27353 int result;
27354 void *argp1 = 0 ;
27355 int res1 = 0 ;
27356 PyObject *swig_obj[1] ;
27357
27358 if (!args) SWIG_fail;
27359 swig_obj[0] = args;
27360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27361 if (!SWIG_IsOK(res1)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27363 }
27364 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (int)(arg1)->ShowModal();
27368 wxPyEndAllowThreads(__tstate);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 }
27371 resultobj = SWIG_From_int(static_cast< int >(result));
27372 return resultobj;
27373fail:
27374 return NULL;
d55e5bfc
RD
27375}
27376
27377
1bd55598
RD
27378SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27379 PyObject *resultobj = 0;
27380 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27381 wxPrintDialogData *result = 0 ;
27382 void *argp1 = 0 ;
27383 int res1 = 0 ;
27384 PyObject *swig_obj[1] ;
27385
27386 if (!args) SWIG_fail;
27387 swig_obj[0] = args;
27388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27389 if (!SWIG_IsOK(res1)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27391 }
27392 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27395 {
1bd55598
RD
27396 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27397 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27398 }
1bd55598
RD
27399 wxPyEndAllowThreads(__tstate);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 }
27402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27403 return resultobj;
27404fail:
27405 return NULL;
d55e5bfc
RD
27406}
27407
27408
1bd55598
RD
27409SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27410 PyObject *resultobj = 0;
27411 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27412 wxPrintData *result = 0 ;
27413 void *argp1 = 0 ;
27414 int res1 = 0 ;
27415 PyObject *swig_obj[1] ;
27416
27417 if (!args) SWIG_fail;
27418 swig_obj[0] = args;
27419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27420 if (!SWIG_IsOK(res1)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27422 }
27423 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27426 {
1bd55598
RD
27427 wxPrintData &_result_ref = (arg1)->GetPrintData();
27428 result = (wxPrintData *) &_result_ref;
d55e5bfc 27429 }
1bd55598
RD
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27434 return resultobj;
27435fail:
27436 return NULL;
d55e5bfc
RD
27437}
27438
27439
1bd55598
RD
27440SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27441 PyObject *resultobj = 0;
27442 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27443 wxDC *result = 0 ;
27444 void *argp1 = 0 ;
27445 int res1 = 0 ;
27446 PyObject *swig_obj[1] ;
27447
27448 if (!args) SWIG_fail;
27449 swig_obj[0] = args;
27450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27451 if (!SWIG_IsOK(res1)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27453 }
27454 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 result = (wxDC *)(arg1)->GetPrintDC();
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 {
27462 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27463 }
27464 return resultobj;
27465fail:
27466 return NULL;
d55e5bfc
RD
27467}
27468
27469
1bd55598
RD
27470SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 PyObject *obj;
27472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27474 return SWIG_Py_Void();
d55e5bfc
RD
27475}
27476
1bd55598
RD
27477SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27478 return SWIG_Python_InitShadowInstance(args);
27479}
d55e5bfc 27480
1bd55598
RD
27481SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj = 0;
27483 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27484 wxPrinter *result = 0 ;
27485 void *argp1 = 0 ;
27486 int res1 = 0 ;
27487 PyObject * obj0 = 0 ;
27488 char * kwnames[] = {
27489 (char *) "data", NULL
27490 };
27491
27492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27493 if (obj0) {
27494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27495 if (!SWIG_IsOK(res1)) {
27496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27497 }
1bd55598
RD
27498 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27499 }
27500 {
27501 if (!wxPyCheckForApp()) SWIG_fail;
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 result = (wxPrinter *)new wxPrinter(arg1);
27504 wxPyEndAllowThreads(__tstate);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27508 return resultobj;
27509fail:
27510 return NULL;
d55e5bfc
RD
27511}
27512
27513
1bd55598
RD
27514SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27515 PyObject *resultobj = 0;
27516 wxPrinter *arg1 = (wxPrinter *) 0 ;
27517 void *argp1 = 0 ;
27518 int res1 = 0 ;
27519 PyObject *swig_obj[1] ;
27520
27521 if (!args) SWIG_fail;
27522 swig_obj[0] = args;
27523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27524 if (!SWIG_IsOK(res1)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27526 }
27527 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27528 {
27529 PyThreadState* __tstate = wxPyBeginAllowThreads();
27530 delete arg1;
d55e5bfc 27531
1bd55598
RD
27532 wxPyEndAllowThreads(__tstate);
27533 if (PyErr_Occurred()) SWIG_fail;
27534 }
27535 resultobj = SWIG_Py_Void();
27536 return resultobj;
27537fail:
27538 return NULL;
27539}
27540
27541
27542SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27543 PyObject *resultobj = 0;
27544 wxPrinter *arg1 = (wxPrinter *) 0 ;
27545 wxWindow *arg2 = (wxWindow *) 0 ;
27546 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27547 wxWindow *result = 0 ;
27548 void *argp1 = 0 ;
27549 int res1 = 0 ;
27550 void *argp2 = 0 ;
27551 int res2 = 0 ;
27552 void *argp3 = 0 ;
27553 int res3 = 0 ;
27554 PyObject * obj0 = 0 ;
27555 PyObject * obj1 = 0 ;
27556 PyObject * obj2 = 0 ;
27557 char * kwnames[] = {
27558 (char *) "self",(char *) "parent",(char *) "printout", NULL
27559 };
27560
27561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27563 if (!SWIG_IsOK(res1)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27565 }
27566 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27568 if (!SWIG_IsOK(res2)) {
27569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27570 }
27571 arg2 = reinterpret_cast< wxWindow * >(argp2);
27572 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27573 if (!SWIG_IsOK(res3)) {
27574 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27575 }
27576 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27577 {
27578 PyThreadState* __tstate = wxPyBeginAllowThreads();
27579 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27580 wxPyEndAllowThreads(__tstate);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 }
27583 {
27584 resultobj = wxPyMake_wxObject(result, 0);
27585 }
27586 return resultobj;
27587fail:
27588 return NULL;
27589}
27590
27591
27592SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27593 PyObject *resultobj = 0;
27594 wxPrinter *arg1 = (wxPrinter *) 0 ;
27595 wxWindow *arg2 = (wxWindow *) 0 ;
27596 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27597 wxString *arg4 = 0 ;
27598 void *argp1 = 0 ;
27599 int res1 = 0 ;
27600 void *argp2 = 0 ;
27601 int res2 = 0 ;
27602 void *argp3 = 0 ;
27603 int res3 = 0 ;
27604 bool temp4 = false ;
27605 PyObject * obj0 = 0 ;
27606 PyObject * obj1 = 0 ;
27607 PyObject * obj2 = 0 ;
27608 PyObject * obj3 = 0 ;
27609 char * kwnames[] = {
27610 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27611 };
27612
27613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27615 if (!SWIG_IsOK(res1)) {
27616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27617 }
27618 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27619 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27620 if (!SWIG_IsOK(res2)) {
27621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27622 }
27623 arg2 = reinterpret_cast< wxWindow * >(argp2);
27624 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27625 if (!SWIG_IsOK(res3)) {
27626 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27627 }
27628 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27629 {
27630 arg4 = wxString_in_helper(obj3);
27631 if (arg4 == NULL) SWIG_fail;
27632 temp4 = true;
27633 }
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 resultobj = SWIG_Py_Void();
27641 {
27642 if (temp4)
27643 delete arg4;
27644 }
27645 return resultobj;
27646fail:
27647 {
27648 if (temp4)
27649 delete arg4;
27650 }
27651 return NULL;
27652}
27653
27654
27655SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27656 PyObject *resultobj = 0;
27657 wxPrinter *arg1 = (wxPrinter *) 0 ;
27658 wxWindow *arg2 = (wxWindow *) 0 ;
27659 bool result;
27660 void *argp1 = 0 ;
27661 int res1 = 0 ;
27662 void *argp2 = 0 ;
27663 int res2 = 0 ;
27664 PyObject * obj0 = 0 ;
27665 PyObject * obj1 = 0 ;
27666 char * kwnames[] = {
27667 (char *) "self",(char *) "parent", NULL
27668 };
27669
27670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27672 if (!SWIG_IsOK(res1)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27674 }
27675 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27677 if (!SWIG_IsOK(res2)) {
27678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27679 }
27680 arg2 = reinterpret_cast< wxWindow * >(argp2);
27681 {
27682 PyThreadState* __tstate = wxPyBeginAllowThreads();
27683 result = (bool)(arg1)->Setup(arg2);
27684 wxPyEndAllowThreads(__tstate);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 }
27687 {
27688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27689 }
27690 return resultobj;
27691fail:
27692 return NULL;
27693}
27694
27695
27696SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27697 PyObject *resultobj = 0;
27698 wxPrinter *arg1 = (wxPrinter *) 0 ;
27699 wxWindow *arg2 = (wxWindow *) 0 ;
27700 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27701 bool arg4 = (bool) true ;
27702 bool result;
27703 void *argp1 = 0 ;
27704 int res1 = 0 ;
27705 void *argp2 = 0 ;
27706 int res2 = 0 ;
27707 void *argp3 = 0 ;
27708 int res3 = 0 ;
27709 bool val4 ;
27710 int ecode4 = 0 ;
27711 PyObject * obj0 = 0 ;
27712 PyObject * obj1 = 0 ;
27713 PyObject * obj2 = 0 ;
27714 PyObject * obj3 = 0 ;
27715 char * kwnames[] = {
27716 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27717 };
27718
27719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27721 if (!SWIG_IsOK(res1)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27723 }
27724 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27725 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27726 if (!SWIG_IsOK(res2)) {
27727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27728 }
27729 arg2 = reinterpret_cast< wxWindow * >(argp2);
27730 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27731 if (!SWIG_IsOK(res3)) {
27732 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27733 }
27734 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27735 if (obj3) {
27736 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27737 if (!SWIG_IsOK(ecode4)) {
27738 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27739 }
27740 arg4 = static_cast< bool >(val4);
27741 }
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27745 wxPyEndAllowThreads(__tstate);
27746 if (PyErr_Occurred()) SWIG_fail;
27747 }
27748 {
27749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27750 }
27751 return resultobj;
27752fail:
27753 return NULL;
27754}
27755
27756
27757SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27758 PyObject *resultobj = 0;
27759 wxPrinter *arg1 = (wxPrinter *) 0 ;
27760 wxWindow *arg2 = (wxWindow *) 0 ;
27761 wxDC *result = 0 ;
27762 void *argp1 = 0 ;
27763 int res1 = 0 ;
27764 void *argp2 = 0 ;
27765 int res2 = 0 ;
27766 PyObject * obj0 = 0 ;
27767 PyObject * obj1 = 0 ;
27768 char * kwnames[] = {
27769 (char *) "self",(char *) "parent", NULL
27770 };
27771
27772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27774 if (!SWIG_IsOK(res1)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27776 }
27777 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27778 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27779 if (!SWIG_IsOK(res2)) {
27780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27781 }
27782 arg2 = reinterpret_cast< wxWindow * >(argp2);
27783 {
27784 PyThreadState* __tstate = wxPyBeginAllowThreads();
27785 result = (wxDC *)(arg1)->PrintDialog(arg2);
27786 wxPyEndAllowThreads(__tstate);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 }
27789 {
27790 resultobj = wxPyMake_wxObject(result, (bool)0);
27791 }
27792 return resultobj;
27793fail:
27794 return NULL;
d55e5bfc
RD
27795}
27796
27797
1bd55598
RD
27798SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27799 PyObject *resultobj = 0;
27800 wxPrinter *arg1 = (wxPrinter *) 0 ;
27801 wxPrintDialogData *result = 0 ;
27802 void *argp1 = 0 ;
27803 int res1 = 0 ;
27804 PyObject *swig_obj[1] ;
27805
27806 if (!args) SWIG_fail;
27807 swig_obj[0] = args;
27808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27809 if (!SWIG_IsOK(res1)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27811 }
27812 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27815 {
1bd55598
RD
27816 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27817 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 27818 }
1bd55598
RD
27819 wxPyEndAllowThreads(__tstate);
27820 if (PyErr_Occurred()) SWIG_fail;
27821 }
27822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27823 return resultobj;
27824fail:
27825 return NULL;
d55e5bfc
RD
27826}
27827
27828
1bd55598
RD
27829SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27830 PyObject *resultobj = 0;
27831 wxPrinter *arg1 = (wxPrinter *) 0 ;
27832 bool result;
27833 void *argp1 = 0 ;
27834 int res1 = 0 ;
27835 PyObject *swig_obj[1] ;
27836
27837 if (!args) SWIG_fail;
27838 swig_obj[0] = args;
27839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27840 if (!SWIG_IsOK(res1)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27842 }
27843 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27844 {
27845 PyThreadState* __tstate = wxPyBeginAllowThreads();
27846 result = (bool)(arg1)->GetAbort();
27847 wxPyEndAllowThreads(__tstate);
27848 if (PyErr_Occurred()) SWIG_fail;
27849 }
27850 {
27851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27852 }
27853 return resultobj;
27854fail:
27855 return NULL;
d55e5bfc
RD
27856}
27857
27858
1bd55598
RD
27859SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27860 PyObject *resultobj = 0;
27861 wxPrinterError result;
27862
27863 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27864 {
27865 PyThreadState* __tstate = wxPyBeginAllowThreads();
27866 result = (wxPrinterError)wxPrinter::GetLastError();
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 resultobj = SWIG_From_int(static_cast< int >(result));
27871 return resultobj;
27872fail:
27873 return NULL;
d55e5bfc
RD
27874}
27875
27876
1bd55598
RD
27877SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27878 PyObject *obj;
27879 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27880 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27881 return SWIG_Py_Void();
d55e5bfc
RD
27882}
27883
1bd55598
RD
27884SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27885 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27886}
27887
1bd55598
RD
27888SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27889 PyObject *resultobj = 0;
27890 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27891 wxString *arg1 = (wxString *) &arg1_defvalue ;
27892 wxPyPrintout *result = 0 ;
27893 bool temp1 = false ;
27894 PyObject * obj0 = 0 ;
27895 char * kwnames[] = {
27896 (char *) "title", NULL
27897 };
27898
27899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27900 if (obj0) {
d55e5bfc 27901 {
1bd55598
RD
27902 arg1 = wxString_in_helper(obj0);
27903 if (arg1 == NULL) SWIG_fail;
27904 temp1 = true;
d55e5bfc 27905 }
1bd55598
RD
27906 }
27907 {
27908 if (!wxPyCheckForApp()) SWIG_fail;
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
27910 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27911 wxPyEndAllowThreads(__tstate);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 }
27914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27915 {
27916 if (temp1)
27917 delete arg1;
27918 }
27919 return resultobj;
27920fail:
27921 {
27922 if (temp1)
27923 delete arg1;
27924 }
27925 return NULL;
d55e5bfc
RD
27926}
27927
27928
1bd55598
RD
27929SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27930 PyObject *resultobj = 0;
27931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27932 void *argp1 = 0 ;
27933 int res1 = 0 ;
27934 PyObject *swig_obj[1] ;
27935
27936 if (!args) SWIG_fail;
27937 swig_obj[0] = args;
27938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27939 if (!SWIG_IsOK(res1)) {
27940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27941 }
27942 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 delete arg1;
d55e5bfc 27946
1bd55598
RD
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_Py_Void();
27951 return resultobj;
27952fail:
27953 return NULL;
27954}
27955
27956
27957SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj = 0;
27959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27960 PyObject *arg2 = (PyObject *) 0 ;
27961 PyObject *arg3 = (PyObject *) 0 ;
27962 void *argp1 = 0 ;
27963 int res1 = 0 ;
27964 PyObject * obj0 = 0 ;
27965 PyObject * obj1 = 0 ;
27966 PyObject * obj2 = 0 ;
27967 char * kwnames[] = {
27968 (char *) "self",(char *) "self",(char *) "_class", NULL
27969 };
27970
27971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27973 if (!SWIG_IsOK(res1)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27975 }
27976 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27977 arg2 = obj1;
27978 arg3 = obj2;
27979 {
27980 PyThreadState* __tstate = wxPyBeginAllowThreads();
27981 (arg1)->_setCallbackInfo(arg2,arg3);
27982 wxPyEndAllowThreads(__tstate);
27983 if (PyErr_Occurred()) SWIG_fail;
27984 }
27985 resultobj = SWIG_Py_Void();
27986 return resultobj;
27987fail:
27988 return NULL;
d55e5bfc
RD
27989}
27990
27991
1bd55598
RD
27992SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27993 PyObject *resultobj = 0;
27994 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27995 wxString result;
27996 void *argp1 = 0 ;
27997 int res1 = 0 ;
27998 PyObject *swig_obj[1] ;
27999
28000 if (!args) SWIG_fail;
28001 swig_obj[0] = args;
28002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28003 if (!SWIG_IsOK(res1)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28005 }
28006 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 result = ((wxPyPrintout const *)arg1)->GetTitle();
28010 wxPyEndAllowThreads(__tstate);
28011 if (PyErr_Occurred()) SWIG_fail;
28012 }
28013 {
28014#if wxUSE_UNICODE
28015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28016#else
28017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28018#endif
28019 }
28020 return resultobj;
28021fail:
28022 return NULL;
d55e5bfc
RD
28023}
28024
28025
1bd55598
RD
28026SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28027 PyObject *resultobj = 0;
28028 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28029 wxDC *result = 0 ;
28030 void *argp1 = 0 ;
28031 int res1 = 0 ;
28032 PyObject *swig_obj[1] ;
28033
28034 if (!args) SWIG_fail;
28035 swig_obj[0] = args;
28036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28037 if (!SWIG_IsOK(res1)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28039 }
28040 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28041 {
28042 PyThreadState* __tstate = wxPyBeginAllowThreads();
28043 result = (wxDC *)(arg1)->GetDC();
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 {
28048 resultobj = wxPyMake_wxObject(result, (bool)0);
28049 }
28050 return resultobj;
28051fail:
28052 return NULL;
28053}
28054
28055
28056SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28057 PyObject *resultobj = 0;
28058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28059 wxDC *arg2 = (wxDC *) 0 ;
28060 void *argp1 = 0 ;
28061 int res1 = 0 ;
28062 void *argp2 = 0 ;
28063 int res2 = 0 ;
28064 PyObject * obj0 = 0 ;
28065 PyObject * obj1 = 0 ;
28066 char * kwnames[] = {
28067 (char *) "self",(char *) "dc", NULL
28068 };
28069
28070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28077 if (!SWIG_IsOK(res2)) {
28078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28079 }
28080 arg2 = reinterpret_cast< wxDC * >(argp2);
28081 {
28082 PyThreadState* __tstate = wxPyBeginAllowThreads();
28083 (arg1)->SetDC(arg2);
28084 wxPyEndAllowThreads(__tstate);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 }
28087 resultobj = SWIG_Py_Void();
28088 return resultobj;
28089fail:
28090 return NULL;
28091}
28092
28093
70d7cb34
RD
28094SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28095 PyObject *resultobj = 0;
28096 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28097 wxSize *arg2 = 0 ;
28098 void *argp1 = 0 ;
28099 int res1 = 0 ;
28100 wxSize temp2 ;
28101 PyObject * obj0 = 0 ;
28102 PyObject * obj1 = 0 ;
28103 char * kwnames[] = {
28104 (char *) "self",(char *) "imageSize", NULL
28105 };
28106
28107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28113 {
28114 arg2 = &temp2;
28115 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28116 }
28117 {
28118 PyThreadState* __tstate = wxPyBeginAllowThreads();
28119 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28120 wxPyEndAllowThreads(__tstate);
28121 if (PyErr_Occurred()) SWIG_fail;
28122 }
28123 resultobj = SWIG_Py_Void();
28124 return resultobj;
28125fail:
28126 return NULL;
28127}
28128
28129
28130SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28131 PyObject *resultobj = 0;
28132 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28133 wxSize *arg2 = 0 ;
28134 void *argp1 = 0 ;
28135 int res1 = 0 ;
28136 wxSize temp2 ;
28137 PyObject * obj0 = 0 ;
28138 PyObject * obj1 = 0 ;
28139 char * kwnames[] = {
28140 (char *) "self",(char *) "imageSize", NULL
28141 };
28142
28143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28145 if (!SWIG_IsOK(res1)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28147 }
28148 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28149 {
28150 arg2 = &temp2;
28151 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28152 }
28153 {
28154 PyThreadState* __tstate = wxPyBeginAllowThreads();
28155 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28156 wxPyEndAllowThreads(__tstate);
28157 if (PyErr_Occurred()) SWIG_fail;
28158 }
28159 resultobj = SWIG_Py_Void();
28160 return resultobj;
28161fail:
28162 return NULL;
28163}
28164
28165
28166SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28167 PyObject *resultobj = 0;
28168 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28169 wxSize *arg2 = 0 ;
28170 wxPageSetupDialogData *arg3 = 0 ;
28171 void *argp1 = 0 ;
28172 int res1 = 0 ;
28173 wxSize temp2 ;
28174 void *argp3 = 0 ;
28175 int res3 = 0 ;
28176 PyObject * obj0 = 0 ;
28177 PyObject * obj1 = 0 ;
28178 PyObject * obj2 = 0 ;
28179 char * kwnames[] = {
28180 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28181 };
28182
28183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28185 if (!SWIG_IsOK(res1)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28187 }
28188 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28189 {
28190 arg2 = &temp2;
28191 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28192 }
28193 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28194 if (!SWIG_IsOK(res3)) {
28195 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28196 }
28197 if (!argp3) {
28198 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28199 }
28200 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28201 {
28202 PyThreadState* __tstate = wxPyBeginAllowThreads();
28203 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28204 wxPyEndAllowThreads(__tstate);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 resultobj = SWIG_Py_Void();
28208 return resultobj;
28209fail:
28210 return NULL;
28211}
28212
28213
28214SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28215 PyObject *resultobj = 0;
28216 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28217 void *argp1 = 0 ;
28218 int res1 = 0 ;
28219 PyObject *swig_obj[1] ;
28220
28221 if (!args) SWIG_fail;
28222 swig_obj[0] = args;
28223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28224 if (!SWIG_IsOK(res1)) {
28225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28226 }
28227 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28228 {
28229 PyThreadState* __tstate = wxPyBeginAllowThreads();
28230 (arg1)->MapScreenSizeToPaper();
28231 wxPyEndAllowThreads(__tstate);
28232 if (PyErr_Occurred()) SWIG_fail;
28233 }
28234 resultobj = SWIG_Py_Void();
28235 return resultobj;
28236fail:
28237 return NULL;
28238}
28239
28240
28241SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28242 PyObject *resultobj = 0;
28243 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28244 void *argp1 = 0 ;
28245 int res1 = 0 ;
28246 PyObject *swig_obj[1] ;
28247
28248 if (!args) SWIG_fail;
28249 swig_obj[0] = args;
28250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28251 if (!SWIG_IsOK(res1)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28253 }
28254 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28255 {
28256 PyThreadState* __tstate = wxPyBeginAllowThreads();
28257 (arg1)->MapScreenSizeToPage();
28258 wxPyEndAllowThreads(__tstate);
28259 if (PyErr_Occurred()) SWIG_fail;
28260 }
28261 resultobj = SWIG_Py_Void();
28262 return resultobj;
28263fail:
28264 return NULL;
28265}
28266
28267
28268SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28269 PyObject *resultobj = 0;
28270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28271 wxPageSetupDialogData *arg2 = 0 ;
28272 void *argp1 = 0 ;
28273 int res1 = 0 ;
28274 void *argp2 = 0 ;
28275 int res2 = 0 ;
28276 PyObject * obj0 = 0 ;
28277 PyObject * obj1 = 0 ;
28278 char * kwnames[] = {
28279 (char *) "self",(char *) "pageSetupData", NULL
28280 };
28281
28282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28284 if (!SWIG_IsOK(res1)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28286 }
28287 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28288 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28289 if (!SWIG_IsOK(res2)) {
28290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28291 }
28292 if (!argp2) {
28293 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28294 }
28295 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 resultobj = SWIG_Py_Void();
28303 return resultobj;
28304fail:
28305 return NULL;
28306}
28307
28308
28309SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28310 PyObject *resultobj = 0;
28311 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28312 void *argp1 = 0 ;
28313 int res1 = 0 ;
28314 PyObject *swig_obj[1] ;
28315
28316 if (!args) SWIG_fail;
28317 swig_obj[0] = args;
28318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28319 if (!SWIG_IsOK(res1)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28321 }
28322 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28323 {
28324 PyThreadState* __tstate = wxPyBeginAllowThreads();
28325 (arg1)->MapScreenSizeToDevice();
28326 wxPyEndAllowThreads(__tstate);
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
28329 resultobj = SWIG_Py_Void();
28330 return resultobj;
28331fail:
28332 return NULL;
28333}
28334
28335
28336SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28337 PyObject *resultobj = 0;
28338 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28339 wxRect result;
28340 void *argp1 = 0 ;
28341 int res1 = 0 ;
28342 PyObject *swig_obj[1] ;
28343
28344 if (!args) SWIG_fail;
28345 swig_obj[0] = args;
28346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28347 if (!SWIG_IsOK(res1)) {
28348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28349 }
28350 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28351 {
28352 PyThreadState* __tstate = wxPyBeginAllowThreads();
28353 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28354 wxPyEndAllowThreads(__tstate);
28355 if (PyErr_Occurred()) SWIG_fail;
28356 }
28357 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28358 return resultobj;
28359fail:
28360 return NULL;
28361}
28362
28363
28364SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28365 PyObject *resultobj = 0;
28366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28367 wxRect result;
28368 void *argp1 = 0 ;
28369 int res1 = 0 ;
28370 PyObject *swig_obj[1] ;
28371
28372 if (!args) SWIG_fail;
28373 swig_obj[0] = args;
28374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28375 if (!SWIG_IsOK(res1)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28377 }
28378 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28379 {
28380 PyThreadState* __tstate = wxPyBeginAllowThreads();
28381 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28382 wxPyEndAllowThreads(__tstate);
28383 if (PyErr_Occurred()) SWIG_fail;
28384 }
28385 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28386 return resultobj;
28387fail:
28388 return NULL;
28389}
28390
28391
28392SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28393 PyObject *resultobj = 0;
28394 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28395 wxPageSetupDialogData *arg2 = 0 ;
28396 wxRect result;
28397 void *argp1 = 0 ;
28398 int res1 = 0 ;
28399 void *argp2 = 0 ;
28400 int res2 = 0 ;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 char * kwnames[] = {
28404 (char *) "self",(char *) "pageSetupData", NULL
28405 };
28406
28407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28409 if (!SWIG_IsOK(res1)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28411 }
28412 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28413 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28414 if (!SWIG_IsOK(res2)) {
28415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28416 }
28417 if (!argp2) {
28418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28419 }
28420 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28421 {
28422 PyThreadState* __tstate = wxPyBeginAllowThreads();
28423 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28424 wxPyEndAllowThreads(__tstate);
28425 if (PyErr_Occurred()) SWIG_fail;
28426 }
28427 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28428 return resultobj;
28429fail:
28430 return NULL;
28431}
28432
28433
28434SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj = 0;
28436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28437 int arg2 ;
28438 int arg3 ;
28439 void *argp1 = 0 ;
28440 int res1 = 0 ;
28441 int val2 ;
28442 int ecode2 = 0 ;
28443 int val3 ;
28444 int ecode3 = 0 ;
28445 PyObject * obj0 = 0 ;
28446 PyObject * obj1 = 0 ;
28447 PyObject * obj2 = 0 ;
28448 char * kwnames[] = {
28449 (char *) "self",(char *) "x",(char *) "y", NULL
28450 };
28451
28452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28454 if (!SWIG_IsOK(res1)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28456 }
28457 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28458 ecode2 = SWIG_AsVal_int(obj1, &val2);
28459 if (!SWIG_IsOK(ecode2)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28461 }
28462 arg2 = static_cast< int >(val2);
28463 ecode3 = SWIG_AsVal_int(obj2, &val3);
28464 if (!SWIG_IsOK(ecode3)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28466 }
28467 arg3 = static_cast< int >(val3);
28468 {
28469 PyThreadState* __tstate = wxPyBeginAllowThreads();
28470 (arg1)->SetLogicalOrigin(arg2,arg3);
28471 wxPyEndAllowThreads(__tstate);
28472 if (PyErr_Occurred()) SWIG_fail;
28473 }
28474 resultobj = SWIG_Py_Void();
28475 return resultobj;
28476fail:
28477 return NULL;
28478}
28479
28480
28481SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj = 0;
28483 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28484 int arg2 ;
28485 int arg3 ;
28486 void *argp1 = 0 ;
28487 int res1 = 0 ;
28488 int val2 ;
28489 int ecode2 = 0 ;
28490 int val3 ;
28491 int ecode3 = 0 ;
28492 PyObject * obj0 = 0 ;
28493 PyObject * obj1 = 0 ;
28494 PyObject * obj2 = 0 ;
28495 char * kwnames[] = {
28496 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28497 };
28498
28499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28501 if (!SWIG_IsOK(res1)) {
28502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28503 }
28504 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28505 ecode2 = SWIG_AsVal_int(obj1, &val2);
28506 if (!SWIG_IsOK(ecode2)) {
28507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28508 }
28509 arg2 = static_cast< int >(val2);
28510 ecode3 = SWIG_AsVal_int(obj2, &val3);
28511 if (!SWIG_IsOK(ecode3)) {
28512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28513 }
28514 arg3 = static_cast< int >(val3);
28515 {
28516 PyThreadState* __tstate = wxPyBeginAllowThreads();
28517 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 resultobj = SWIG_Py_Void();
28522 return resultobj;
28523fail:
28524 return NULL;
28525}
28526
28527
1bd55598
RD
28528SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28529 PyObject *resultobj = 0;
28530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28531 int arg2 ;
28532 int arg3 ;
28533 void *argp1 = 0 ;
28534 int res1 = 0 ;
28535 int val2 ;
28536 int ecode2 = 0 ;
28537 int val3 ;
28538 int ecode3 = 0 ;
28539 PyObject * obj0 = 0 ;
28540 PyObject * obj1 = 0 ;
28541 PyObject * obj2 = 0 ;
28542 char * kwnames[] = {
28543 (char *) "self",(char *) "w",(char *) "h", NULL
28544 };
28545
28546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28548 if (!SWIG_IsOK(res1)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28550 }
28551 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28552 ecode2 = SWIG_AsVal_int(obj1, &val2);
28553 if (!SWIG_IsOK(ecode2)) {
28554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28555 }
28556 arg2 = static_cast< int >(val2);
28557 ecode3 = SWIG_AsVal_int(obj2, &val3);
28558 if (!SWIG_IsOK(ecode3)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28560 }
28561 arg3 = static_cast< int >(val3);
28562 {
28563 PyThreadState* __tstate = wxPyBeginAllowThreads();
28564 (arg1)->SetPageSizePixels(arg2,arg3);
28565 wxPyEndAllowThreads(__tstate);
28566 if (PyErr_Occurred()) SWIG_fail;
28567 }
28568 resultobj = SWIG_Py_Void();
28569 return resultobj;
28570fail:
28571 return NULL;
28572}
28573
28574
28575SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28576 PyObject *resultobj = 0;
28577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28578 int *arg2 = (int *) 0 ;
28579 int *arg3 = (int *) 0 ;
28580 void *argp1 = 0 ;
28581 int res1 = 0 ;
28582 int temp2 ;
28583 int res2 = SWIG_TMPOBJ ;
28584 int temp3 ;
28585 int res3 = SWIG_TMPOBJ ;
28586 PyObject *swig_obj[1] ;
28587
28588 arg2 = &temp2;
28589 arg3 = &temp3;
28590 if (!args) SWIG_fail;
28591 swig_obj[0] = args;
28592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28593 if (!SWIG_IsOK(res1)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28595 }
28596 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 (arg1)->GetPageSizePixels(arg2,arg3);
28600 wxPyEndAllowThreads(__tstate);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 resultobj = SWIG_Py_Void();
28604 if (SWIG_IsTmpObj(res2)) {
28605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28606 } else {
28607 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28609 }
28610 if (SWIG_IsTmpObj(res3)) {
28611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28612 } else {
28613 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28615 }
28616 return resultobj;
28617fail:
28618 return NULL;
28619}
28620
28621
28622SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28623 PyObject *resultobj = 0;
28624 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28625 int arg2 ;
28626 int arg3 ;
28627 void *argp1 = 0 ;
28628 int res1 = 0 ;
28629 int val2 ;
28630 int ecode2 = 0 ;
28631 int val3 ;
28632 int ecode3 = 0 ;
28633 PyObject * obj0 = 0 ;
28634 PyObject * obj1 = 0 ;
28635 PyObject * obj2 = 0 ;
28636 char * kwnames[] = {
28637 (char *) "self",(char *) "w",(char *) "h", NULL
28638 };
28639
28640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28642 if (!SWIG_IsOK(res1)) {
28643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28644 }
28645 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28646 ecode2 = SWIG_AsVal_int(obj1, &val2);
28647 if (!SWIG_IsOK(ecode2)) {
28648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28649 }
28650 arg2 = static_cast< int >(val2);
28651 ecode3 = SWIG_AsVal_int(obj2, &val3);
28652 if (!SWIG_IsOK(ecode3)) {
28653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28654 }
28655 arg3 = static_cast< int >(val3);
28656 {
28657 PyThreadState* __tstate = wxPyBeginAllowThreads();
28658 (arg1)->SetPageSizeMM(arg2,arg3);
28659 wxPyEndAllowThreads(__tstate);
28660 if (PyErr_Occurred()) SWIG_fail;
28661 }
28662 resultobj = SWIG_Py_Void();
28663 return resultobj;
28664fail:
28665 return NULL;
28666}
28667
28668
28669SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28670 PyObject *resultobj = 0;
28671 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28672 int *arg2 = (int *) 0 ;
28673 int *arg3 = (int *) 0 ;
28674 void *argp1 = 0 ;
28675 int res1 = 0 ;
28676 int temp2 ;
28677 int res2 = SWIG_TMPOBJ ;
28678 int temp3 ;
28679 int res3 = SWIG_TMPOBJ ;
28680 PyObject *swig_obj[1] ;
28681
28682 arg2 = &temp2;
28683 arg3 = &temp3;
28684 if (!args) SWIG_fail;
28685 swig_obj[0] = args;
28686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28687 if (!SWIG_IsOK(res1)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28689 }
28690 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28691 {
28692 PyThreadState* __tstate = wxPyBeginAllowThreads();
28693 (arg1)->GetPageSizeMM(arg2,arg3);
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 resultobj = SWIG_Py_Void();
28698 if (SWIG_IsTmpObj(res2)) {
28699 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28700 } else {
28701 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28702 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28703 }
28704 if (SWIG_IsTmpObj(res3)) {
28705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28706 } else {
28707 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28709 }
28710 return resultobj;
28711fail:
28712 return NULL;
28713}
28714
28715
28716SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28717 PyObject *resultobj = 0;
28718 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28719 int arg2 ;
28720 int arg3 ;
28721 void *argp1 = 0 ;
28722 int res1 = 0 ;
28723 int val2 ;
28724 int ecode2 = 0 ;
28725 int val3 ;
28726 int ecode3 = 0 ;
28727 PyObject * obj0 = 0 ;
28728 PyObject * obj1 = 0 ;
28729 PyObject * obj2 = 0 ;
28730 char * kwnames[] = {
28731 (char *) "self",(char *) "x",(char *) "y", NULL
28732 };
28733
28734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28736 if (!SWIG_IsOK(res1)) {
28737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28738 }
28739 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28740 ecode2 = SWIG_AsVal_int(obj1, &val2);
28741 if (!SWIG_IsOK(ecode2)) {
28742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28743 }
28744 arg2 = static_cast< int >(val2);
28745 ecode3 = SWIG_AsVal_int(obj2, &val3);
28746 if (!SWIG_IsOK(ecode3)) {
28747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28748 }
28749 arg3 = static_cast< int >(val3);
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
28752 (arg1)->SetPPIScreen(arg2,arg3);
28753 wxPyEndAllowThreads(__tstate);
28754 if (PyErr_Occurred()) SWIG_fail;
28755 }
28756 resultobj = SWIG_Py_Void();
28757 return resultobj;
28758fail:
28759 return NULL;
28760}
28761
28762
28763SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28764 PyObject *resultobj = 0;
28765 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28766 int *arg2 = (int *) 0 ;
28767 int *arg3 = (int *) 0 ;
28768 void *argp1 = 0 ;
28769 int res1 = 0 ;
28770 int temp2 ;
28771 int res2 = SWIG_TMPOBJ ;
28772 int temp3 ;
28773 int res3 = SWIG_TMPOBJ ;
28774 PyObject *swig_obj[1] ;
28775
28776 arg2 = &temp2;
28777 arg3 = &temp3;
28778 if (!args) SWIG_fail;
28779 swig_obj[0] = args;
28780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28781 if (!SWIG_IsOK(res1)) {
28782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28783 }
28784 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28785 {
28786 PyThreadState* __tstate = wxPyBeginAllowThreads();
28787 (arg1)->GetPPIScreen(arg2,arg3);
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 resultobj = SWIG_Py_Void();
28792 if (SWIG_IsTmpObj(res2)) {
28793 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28794 } else {
28795 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28796 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28797 }
28798 if (SWIG_IsTmpObj(res3)) {
28799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28800 } else {
28801 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28803 }
28804 return resultobj;
28805fail:
28806 return NULL;
28807}
28808
28809
28810SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28811 PyObject *resultobj = 0;
28812 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28813 int arg2 ;
28814 int arg3 ;
28815 void *argp1 = 0 ;
28816 int res1 = 0 ;
28817 int val2 ;
28818 int ecode2 = 0 ;
28819 int val3 ;
28820 int ecode3 = 0 ;
28821 PyObject * obj0 = 0 ;
28822 PyObject * obj1 = 0 ;
28823 PyObject * obj2 = 0 ;
28824 char * kwnames[] = {
28825 (char *) "self",(char *) "x",(char *) "y", NULL
28826 };
28827
28828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28830 if (!SWIG_IsOK(res1)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28832 }
28833 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28834 ecode2 = SWIG_AsVal_int(obj1, &val2);
28835 if (!SWIG_IsOK(ecode2)) {
28836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28837 }
28838 arg2 = static_cast< int >(val2);
28839 ecode3 = SWIG_AsVal_int(obj2, &val3);
28840 if (!SWIG_IsOK(ecode3)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28842 }
28843 arg3 = static_cast< int >(val3);
28844 {
28845 PyThreadState* __tstate = wxPyBeginAllowThreads();
28846 (arg1)->SetPPIPrinter(arg2,arg3);
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
28850 resultobj = SWIG_Py_Void();
28851 return resultobj;
28852fail:
28853 return NULL;
28854}
28855
28856
28857SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28858 PyObject *resultobj = 0;
28859 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28860 int *arg2 = (int *) 0 ;
28861 int *arg3 = (int *) 0 ;
28862 void *argp1 = 0 ;
28863 int res1 = 0 ;
28864 int temp2 ;
28865 int res2 = SWIG_TMPOBJ ;
28866 int temp3 ;
28867 int res3 = SWIG_TMPOBJ ;
28868 PyObject *swig_obj[1] ;
28869
28870 arg2 = &temp2;
28871 arg3 = &temp3;
28872 if (!args) SWIG_fail;
28873 swig_obj[0] = args;
28874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28875 if (!SWIG_IsOK(res1)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28877 }
28878 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 (arg1)->GetPPIPrinter(arg2,arg3);
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 resultobj = SWIG_Py_Void();
28886 if (SWIG_IsTmpObj(res2)) {
28887 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28888 } else {
28889 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28890 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28891 }
28892 if (SWIG_IsTmpObj(res3)) {
28893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28894 } else {
28895 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28897 }
28898 return resultobj;
28899fail:
28900 return NULL;
d55e5bfc
RD
28901}
28902
28903
70d7cb34
RD
28904SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28905 PyObject *resultobj = 0;
28906 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28907 wxRect *arg2 = 0 ;
28908 void *argp1 = 0 ;
28909 int res1 = 0 ;
28910 wxRect temp2 ;
28911 PyObject * obj0 = 0 ;
28912 PyObject * obj1 = 0 ;
28913 char * kwnames[] = {
28914 (char *) "self",(char *) "paperRectPixels", NULL
28915 };
28916
28917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28919 if (!SWIG_IsOK(res1)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28921 }
28922 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28923 {
28924 arg2 = &temp2;
28925 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28926 }
28927 {
28928 PyThreadState* __tstate = wxPyBeginAllowThreads();
28929 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28930 wxPyEndAllowThreads(__tstate);
28931 if (PyErr_Occurred()) SWIG_fail;
28932 }
28933 resultobj = SWIG_Py_Void();
28934 return resultobj;
28935fail:
28936 return NULL;
28937}
28938
28939
28940SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28941 PyObject *resultobj = 0;
28942 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28943 wxRect result;
28944 void *argp1 = 0 ;
28945 int res1 = 0 ;
28946 PyObject *swig_obj[1] ;
28947
28948 if (!args) SWIG_fail;
28949 swig_obj[0] = args;
28950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28951 if (!SWIG_IsOK(res1)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28953 }
28954 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28958 wxPyEndAllowThreads(__tstate);
28959 if (PyErr_Occurred()) SWIG_fail;
28960 }
28961 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28962 return resultobj;
28963fail:
28964 return NULL;
28965}
28966
28967
1bd55598
RD
28968SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28969 PyObject *resultobj = 0;
28970 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28971 bool result;
28972 void *argp1 = 0 ;
28973 int res1 = 0 ;
28974 PyObject *swig_obj[1] ;
28975
28976 if (!args) SWIG_fail;
28977 swig_obj[0] = args;
28978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28979 if (!SWIG_IsOK(res1)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28981 }
28982 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28983 {
28984 PyThreadState* __tstate = wxPyBeginAllowThreads();
28985 result = (bool)(arg1)->IsPreview();
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 {
28990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28991 }
28992 return resultobj;
28993fail:
28994 return NULL;
28995}
28996
28997
28998SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28999 PyObject *resultobj = 0;
29000 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29001 bool arg2 ;
29002 void *argp1 = 0 ;
29003 int res1 = 0 ;
29004 bool val2 ;
29005 int ecode2 = 0 ;
29006 PyObject * obj0 = 0 ;
29007 PyObject * obj1 = 0 ;
29008 char * kwnames[] = {
29009 (char *) "self",(char *) "p", NULL
29010 };
29011
29012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29014 if (!SWIG_IsOK(res1)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29016 }
29017 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29018 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29019 if (!SWIG_IsOK(ecode2)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29021 }
29022 arg2 = static_cast< bool >(val2);
29023 {
29024 PyThreadState* __tstate = wxPyBeginAllowThreads();
29025 (arg1)->SetIsPreview(arg2);
29026 wxPyEndAllowThreads(__tstate);
29027 if (PyErr_Occurred()) SWIG_fail;
29028 }
29029 resultobj = SWIG_Py_Void();
29030 return resultobj;
29031fail:
29032 return NULL;
29033}
29034
29035
29036SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29037 PyObject *resultobj = 0;
29038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29039 int arg2 ;
29040 int arg3 ;
29041 bool result;
29042 void *argp1 = 0 ;
29043 int res1 = 0 ;
29044 int val2 ;
29045 int ecode2 = 0 ;
29046 int val3 ;
29047 int ecode3 = 0 ;
29048 PyObject * obj0 = 0 ;
29049 PyObject * obj1 = 0 ;
29050 PyObject * obj2 = 0 ;
29051 char * kwnames[] = {
29052 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29053 };
29054
29055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29057 if (!SWIG_IsOK(res1)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29059 }
29060 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29061 ecode2 = SWIG_AsVal_int(obj1, &val2);
29062 if (!SWIG_IsOK(ecode2)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29064 }
29065 arg2 = static_cast< int >(val2);
29066 ecode3 = SWIG_AsVal_int(obj2, &val3);
29067 if (!SWIG_IsOK(ecode3)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29069 }
29070 arg3 = static_cast< int >(val3);
29071 {
29072 PyThreadState* __tstate = wxPyBeginAllowThreads();
29073 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 {
29078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29079 }
29080 return resultobj;
29081fail:
29082 return NULL;
d55e5bfc
RD
29083}
29084
29085
1bd55598
RD
29086SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29087 PyObject *resultobj = 0;
29088 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29089 void *argp1 = 0 ;
29090 int res1 = 0 ;
29091 PyObject *swig_obj[1] ;
29092
29093 if (!args) SWIG_fail;
29094 swig_obj[0] = args;
29095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29096 if (!SWIG_IsOK(res1)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29098 }
29099 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 (arg1)->OnEndDocument();
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 resultobj = SWIG_Py_Void();
29107 return resultobj;
29108fail:
29109 return NULL;
29110}
29111
29112
29113SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29114 PyObject *resultobj = 0;
29115 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29116 void *argp1 = 0 ;
29117 int res1 = 0 ;
29118 PyObject *swig_obj[1] ;
29119
29120 if (!args) SWIG_fail;
29121 swig_obj[0] = args;
29122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29123 if (!SWIG_IsOK(res1)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29125 }
29126 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29127 {
29128 PyThreadState* __tstate = wxPyBeginAllowThreads();
29129 (arg1)->OnBeginPrinting();
29130 wxPyEndAllowThreads(__tstate);
29131 if (PyErr_Occurred()) SWIG_fail;
29132 }
29133 resultobj = SWIG_Py_Void();
29134 return resultobj;
29135fail:
29136 return NULL;
29137}
29138
29139
29140SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29141 PyObject *resultobj = 0;
29142 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29143 void *argp1 = 0 ;
29144 int res1 = 0 ;
29145 PyObject *swig_obj[1] ;
29146
29147 if (!args) SWIG_fail;
29148 swig_obj[0] = args;
29149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29150 if (!SWIG_IsOK(res1)) {
29151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29152 }
29153 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29154 {
29155 PyThreadState* __tstate = wxPyBeginAllowThreads();
29156 (arg1)->OnEndPrinting();
29157 wxPyEndAllowThreads(__tstate);
29158 if (PyErr_Occurred()) SWIG_fail;
29159 }
29160 resultobj = SWIG_Py_Void();
29161 return resultobj;
29162fail:
29163 return NULL;
29164}
29165
29166
29167SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29168 PyObject *resultobj = 0;
29169 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29170 void *argp1 = 0 ;
29171 int res1 = 0 ;
29172 PyObject *swig_obj[1] ;
29173
29174 if (!args) SWIG_fail;
29175 swig_obj[0] = args;
29176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29177 if (!SWIG_IsOK(res1)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29179 }
29180 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29181 {
29182 PyThreadState* __tstate = wxPyBeginAllowThreads();
29183 (arg1)->OnPreparePrinting();
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 resultobj = SWIG_Py_Void();
29188 return resultobj;
29189fail:
29190 return NULL;
29191}
29192
29193
29194SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj = 0;
29196 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29197 int arg2 ;
29198 bool result;
29199 void *argp1 = 0 ;
29200 int res1 = 0 ;
29201 int val2 ;
29202 int ecode2 = 0 ;
29203 PyObject * obj0 = 0 ;
29204 PyObject * obj1 = 0 ;
29205 char * kwnames[] = {
29206 (char *) "self",(char *) "page", NULL
29207 };
29208
29209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29211 if (!SWIG_IsOK(res1)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29213 }
29214 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29215 ecode2 = SWIG_AsVal_int(obj1, &val2);
29216 if (!SWIG_IsOK(ecode2)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29218 }
29219 arg2 = static_cast< int >(val2);
29220 {
29221 PyThreadState* __tstate = wxPyBeginAllowThreads();
29222 result = (bool)(arg1)->HasPage(arg2);
29223 wxPyEndAllowThreads(__tstate);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
29226 {
29227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29228 }
29229 return resultobj;
29230fail:
29231 return NULL;
29232}
29233
29234
29235SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29236 PyObject *resultobj = 0;
29237 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29238 int *arg2 = (int *) 0 ;
29239 int *arg3 = (int *) 0 ;
29240 int *arg4 = (int *) 0 ;
29241 int *arg5 = (int *) 0 ;
29242 void *argp1 = 0 ;
29243 int res1 = 0 ;
29244 int temp2 ;
29245 int res2 = SWIG_TMPOBJ ;
29246 int temp3 ;
29247 int res3 = SWIG_TMPOBJ ;
29248 int temp4 ;
29249 int res4 = SWIG_TMPOBJ ;
29250 int temp5 ;
29251 int res5 = SWIG_TMPOBJ ;
29252 PyObject *swig_obj[1] ;
29253
29254 arg2 = &temp2;
29255 arg3 = &temp3;
29256 arg4 = &temp4;
29257 arg5 = &temp5;
29258 if (!args) SWIG_fail;
29259 swig_obj[0] = args;
29260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29261 if (!SWIG_IsOK(res1)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29263 }
29264 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 resultobj = SWIG_Py_Void();
29272 if (SWIG_IsTmpObj(res2)) {
29273 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29274 } else {
29275 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29277 }
29278 if (SWIG_IsTmpObj(res3)) {
29279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29280 } else {
29281 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29283 }
29284 if (SWIG_IsTmpObj(res4)) {
29285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29286 } else {
29287 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29288 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29289 }
29290 if (SWIG_IsTmpObj(res5)) {
29291 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29292 } else {
29293 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29294 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29295 }
29296 return resultobj;
29297fail:
29298 return NULL;
29299}
29300
29301
29302SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29303 PyObject *obj;
29304 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29306 return SWIG_Py_Void();
29307}
29308
29309SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29310 return SWIG_Python_InitShadowInstance(args);
29311}
29312
29313SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29314 PyObject *resultobj = 0;
29315 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29316 wxWindow *arg2 = (wxWindow *) 0 ;
29317 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29318 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29319 wxSize const &arg4_defvalue = wxDefaultSize ;
29320 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29321 long arg5 = (long) 0 ;
29322 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29323 wxString *arg6 = (wxString *) &arg6_defvalue ;
29324 wxPreviewCanvas *result = 0 ;
29325 void *argp1 = 0 ;
29326 int res1 = 0 ;
29327 void *argp2 = 0 ;
29328 int res2 = 0 ;
29329 wxPoint temp3 ;
29330 wxSize temp4 ;
29331 long val5 ;
29332 int ecode5 = 0 ;
29333 bool temp6 = false ;
29334 PyObject * obj0 = 0 ;
29335 PyObject * obj1 = 0 ;
29336 PyObject * obj2 = 0 ;
29337 PyObject * obj3 = 0 ;
29338 PyObject * obj4 = 0 ;
29339 PyObject * obj5 = 0 ;
29340 char * kwnames[] = {
29341 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29342 };
29343
29344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29346 if (!SWIG_IsOK(res1)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29348 }
29349 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29351 if (!SWIG_IsOK(res2)) {
29352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29353 }
29354 arg2 = reinterpret_cast< wxWindow * >(argp2);
29355 if (obj2) {
d55e5bfc 29356 {
1bd55598
RD
29357 arg3 = &temp3;
29358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 29359 }
1bd55598
RD
29360 }
29361 if (obj3) {
d55e5bfc 29362 {
1bd55598
RD
29363 arg4 = &temp4;
29364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29365 }
1bd55598
RD
29366 }
29367 if (obj4) {
29368 ecode5 = SWIG_AsVal_long(obj4, &val5);
29369 if (!SWIG_IsOK(ecode5)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29371 }
29372 arg5 = static_cast< long >(val5);
29373 }
29374 if (obj5) {
d55e5bfc 29375 {
1bd55598
RD
29376 arg6 = wxString_in_helper(obj5);
29377 if (arg6 == NULL) SWIG_fail;
29378 temp6 = true;
d55e5bfc 29379 }
1bd55598
RD
29380 }
29381 {
29382 if (!wxPyCheckForApp()) SWIG_fail;
29383 PyThreadState* __tstate = wxPyBeginAllowThreads();
29384 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29385 wxPyEndAllowThreads(__tstate);
29386 if (PyErr_Occurred()) SWIG_fail;
29387 }
29388 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29389 {
29390 if (temp6)
29391 delete arg6;
29392 }
29393 return resultobj;
29394fail:
29395 {
29396 if (temp6)
29397 delete arg6;
29398 }
29399 return NULL;
29400}
29401
29402
29403SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29404 PyObject *obj;
29405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29407 return SWIG_Py_Void();
29408}
29409
29410SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29411 return SWIG_Python_InitShadowInstance(args);
29412}
29413
29414SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj = 0;
29416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29417 wxFrame *arg2 = (wxFrame *) 0 ;
29418 wxString *arg3 = 0 ;
29419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29421 wxSize const &arg5_defvalue = wxDefaultSize ;
29422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29423 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29424 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29425 wxString *arg7 = (wxString *) &arg7_defvalue ;
29426 wxPreviewFrame *result = 0 ;
29427 int res1 = 0 ;
29428 void *argp2 = 0 ;
29429 int res2 = 0 ;
29430 bool temp3 = false ;
29431 wxPoint temp4 ;
29432 wxSize temp5 ;
29433 long val6 ;
29434 int ecode6 = 0 ;
29435 bool temp7 = false ;
29436 PyObject * obj0 = 0 ;
29437 PyObject * obj1 = 0 ;
29438 PyObject * obj2 = 0 ;
29439 PyObject * obj3 = 0 ;
29440 PyObject * obj4 = 0 ;
29441 PyObject * obj5 = 0 ;
29442 PyObject * obj6 = 0 ;
29443 char * kwnames[] = {
29444 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29445 };
29446
29447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29448 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29449 if (!SWIG_IsOK(res1)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29451 }
29452 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29453 if (!SWIG_IsOK(res2)) {
29454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29455 }
29456 arg2 = reinterpret_cast< wxFrame * >(argp2);
29457 {
29458 arg3 = wxString_in_helper(obj2);
29459 if (arg3 == NULL) SWIG_fail;
29460 temp3 = true;
29461 }
29462 if (obj3) {
d55e5bfc 29463 {
1bd55598
RD
29464 arg4 = &temp4;
29465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29466 }
1bd55598
RD
29467 }
29468 if (obj4) {
d55e5bfc 29469 {
1bd55598
RD
29470 arg5 = &temp5;
29471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29472 }
1bd55598
RD
29473 }
29474 if (obj5) {
29475 ecode6 = SWIG_AsVal_long(obj5, &val6);
29476 if (!SWIG_IsOK(ecode6)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29478 }
29479 arg6 = static_cast< long >(val6);
29480 }
29481 if (obj6) {
d55e5bfc 29482 {
1bd55598
RD
29483 arg7 = wxString_in_helper(obj6);
29484 if (arg7 == NULL) SWIG_fail;
29485 temp7 = true;
d55e5bfc 29486 }
1bd55598
RD
29487 }
29488 {
29489 if (!wxPyCheckForApp()) SWIG_fail;
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29492 wxPyEndAllowThreads(__tstate);
29493 if (PyErr_Occurred()) SWIG_fail;
29494 }
29495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29496 {
29497 if (temp3)
29498 delete arg3;
29499 }
29500 {
29501 if (temp7)
29502 delete arg7;
29503 }
29504 return resultobj;
29505fail:
29506 {
29507 if (temp3)
29508 delete arg3;
29509 }
29510 {
29511 if (temp7)
29512 delete arg7;
29513 }
29514 return NULL;
d55e5bfc
RD
29515}
29516
29517
1bd55598
RD
29518SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29519 PyObject *resultobj = 0;
29520 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29521 void *argp1 = 0 ;
29522 int res1 = 0 ;
29523 PyObject *swig_obj[1] ;
29524
29525 if (!args) SWIG_fail;
29526 swig_obj[0] = args;
29527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29528 if (!SWIG_IsOK(res1)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29530 }
29531 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29532 {
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
29534 (arg1)->Initialize();
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 resultobj = SWIG_Py_Void();
29539 return resultobj;
29540fail:
29541 return NULL;
d55e5bfc
RD
29542}
29543
29544
1bd55598
RD
29545SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29546 PyObject *resultobj = 0;
29547 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29548 void *argp1 = 0 ;
29549 int res1 = 0 ;
29550 PyObject *swig_obj[1] ;
29551
29552 if (!args) SWIG_fail;
29553 swig_obj[0] = args;
29554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29555 if (!SWIG_IsOK(res1)) {
29556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29557 }
29558 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29559 {
29560 PyThreadState* __tstate = wxPyBeginAllowThreads();
29561 (arg1)->CreateControlBar();
29562 wxPyEndAllowThreads(__tstate);
29563 if (PyErr_Occurred()) SWIG_fail;
29564 }
29565 resultobj = SWIG_Py_Void();
29566 return resultobj;
29567fail:
29568 return NULL;
d55e5bfc
RD
29569}
29570
29571
1bd55598
RD
29572SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29573 PyObject *resultobj = 0;
29574 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29575 void *argp1 = 0 ;
29576 int res1 = 0 ;
29577 PyObject *swig_obj[1] ;
29578
29579 if (!args) SWIG_fail;
29580 swig_obj[0] = args;
29581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29582 if (!SWIG_IsOK(res1)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29584 }
29585 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 (arg1)->CreateCanvas();
29589 wxPyEndAllowThreads(__tstate);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
29592 resultobj = SWIG_Py_Void();
29593 return resultobj;
29594fail:
29595 return NULL;
d55e5bfc
RD
29596}
29597
29598
1bd55598
RD
29599SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29600 PyObject *resultobj = 0;
29601 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29602 wxPreviewControlBar *result = 0 ;
29603 void *argp1 = 0 ;
29604 int res1 = 0 ;
29605 PyObject *swig_obj[1] ;
29606
29607 if (!args) SWIG_fail;
29608 swig_obj[0] = args;
29609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29610 if (!SWIG_IsOK(res1)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29612 }
29613 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29621 return resultobj;
29622fail:
29623 return NULL;
29624}
29625
29626
29627SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29628 PyObject *obj;
29629 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29630 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29631 return SWIG_Py_Void();
29632}
29633
29634SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29635 return SWIG_Python_InitShadowInstance(args);
29636}
29637
29638SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29639 PyObject *resultobj = 0;
29640 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29641 long arg2 ;
29642 wxWindow *arg3 = (wxWindow *) 0 ;
29643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29645 wxSize const &arg5_defvalue = wxDefaultSize ;
29646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29647 long arg6 = (long) wxTAB_TRAVERSAL ;
29648 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29649 wxString *arg7 = (wxString *) &arg7_defvalue ;
29650 wxPreviewControlBar *result = 0 ;
29651 void *argp1 = 0 ;
29652 int res1 = 0 ;
29653 long val2 ;
29654 int ecode2 = 0 ;
29655 void *argp3 = 0 ;
29656 int res3 = 0 ;
29657 wxPoint temp4 ;
29658 wxSize temp5 ;
29659 long val6 ;
29660 int ecode6 = 0 ;
29661 bool temp7 = false ;
29662 PyObject * obj0 = 0 ;
29663 PyObject * obj1 = 0 ;
29664 PyObject * obj2 = 0 ;
29665 PyObject * obj3 = 0 ;
29666 PyObject * obj4 = 0 ;
29667 PyObject * obj5 = 0 ;
29668 PyObject * obj6 = 0 ;
29669 char * kwnames[] = {
29670 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29671 };
29672
29673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29675 if (!SWIG_IsOK(res1)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29677 }
29678 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29679 ecode2 = SWIG_AsVal_long(obj1, &val2);
29680 if (!SWIG_IsOK(ecode2)) {
29681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29682 }
29683 arg2 = static_cast< long >(val2);
29684 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29685 if (!SWIG_IsOK(res3)) {
29686 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29687 }
29688 arg3 = reinterpret_cast< wxWindow * >(argp3);
29689 if (obj3) {
29690 {
29691 arg4 = &temp4;
29692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29693 }
29694 }
29695 if (obj4) {
a5ee0656 29696 {
1bd55598
RD
29697 arg5 = &temp5;
29698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 29699 }
1bd55598
RD
29700 }
29701 if (obj5) {
29702 ecode6 = SWIG_AsVal_long(obj5, &val6);
29703 if (!SWIG_IsOK(ecode6)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29705 }
29706 arg6 = static_cast< long >(val6);
29707 }
29708 if (obj6) {
a5ee0656 29709 {
1bd55598
RD
29710 arg7 = wxString_in_helper(obj6);
29711 if (arg7 == NULL) SWIG_fail;
29712 temp7 = true;
a5ee0656 29713 }
1bd55598
RD
29714 }
29715 {
29716 if (!wxPyCheckForApp()) SWIG_fail;
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29719 wxPyEndAllowThreads(__tstate);
29720 if (PyErr_Occurred()) SWIG_fail;
29721 }
29722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29723 {
29724 if (temp7)
29725 delete arg7;
29726 }
29727 return resultobj;
29728fail:
29729 {
29730 if (temp7)
29731 delete arg7;
29732 }
29733 return NULL;
a5ee0656
RD
29734}
29735
29736
1bd55598
RD
29737SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29738 PyObject *resultobj = 0;
29739 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29740 int result;
29741 void *argp1 = 0 ;
29742 int res1 = 0 ;
29743 PyObject *swig_obj[1] ;
29744
29745 if (!args) SWIG_fail;
29746 swig_obj[0] = args;
29747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29748 if (!SWIG_IsOK(res1)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29750 }
29751 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 result = (int)(arg1)->GetZoomControl();
29755 wxPyEndAllowThreads(__tstate);
29756 if (PyErr_Occurred()) SWIG_fail;
29757 }
29758 resultobj = SWIG_From_int(static_cast< int >(result));
29759 return resultobj;
29760fail:
29761 return NULL;
29762}
29763
29764
29765SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29766 PyObject *resultobj = 0;
29767 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29768 int arg2 ;
29769 void *argp1 = 0 ;
29770 int res1 = 0 ;
29771 int val2 ;
29772 int ecode2 = 0 ;
29773 PyObject * obj0 = 0 ;
29774 PyObject * obj1 = 0 ;
29775 char * kwnames[] = {
29776 (char *) "self",(char *) "zoom", NULL
29777 };
29778
29779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29781 if (!SWIG_IsOK(res1)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29783 }
29784 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29785 ecode2 = SWIG_AsVal_int(obj1, &val2);
29786 if (!SWIG_IsOK(ecode2)) {
29787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29788 }
29789 arg2 = static_cast< int >(val2);
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 (arg1)->SetZoomControl(arg2);
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 resultobj = SWIG_Py_Void();
29797 return resultobj;
29798fail:
29799 return NULL;
8d38bd1d
RD
29800}
29801
29802
1bd55598
RD
29803SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29804 PyObject *resultobj = 0;
29805 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29806 wxPrintPreview *result = 0 ;
29807 void *argp1 = 0 ;
29808 int res1 = 0 ;
29809 PyObject *swig_obj[1] ;
29810
29811 if (!args) SWIG_fail;
29812 swig_obj[0] = args;
29813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29814 if (!SWIG_IsOK(res1)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29816 }
29817 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29821 wxPyEndAllowThreads(__tstate);
29822 if (PyErr_Occurred()) SWIG_fail;
29823 }
29824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29825 return resultobj;
29826fail:
29827 return NULL;
d55e5bfc
RD
29828}
29829
29830
1bd55598
RD
29831SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29832 PyObject *resultobj = 0;
29833 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29834 void *argp1 = 0 ;
29835 int res1 = 0 ;
29836 PyObject *swig_obj[1] ;
29837
29838 if (!args) SWIG_fail;
29839 swig_obj[0] = args;
29840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29841 if (!SWIG_IsOK(res1)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29843 }
29844 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29845 {
29846 PyThreadState* __tstate = wxPyBeginAllowThreads();
29847 (arg1)->OnNext();
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 resultobj = SWIG_Py_Void();
29852 return resultobj;
29853fail:
29854 return NULL;
d55e5bfc
RD
29855}
29856
29857
1bd55598
RD
29858SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29859 PyObject *resultobj = 0;
29860 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29861 void *argp1 = 0 ;
29862 int res1 = 0 ;
29863 PyObject *swig_obj[1] ;
29864
29865 if (!args) SWIG_fail;
29866 swig_obj[0] = args;
29867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29868 if (!SWIG_IsOK(res1)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29870 }
29871 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
29874 (arg1)->OnPrevious();
29875 wxPyEndAllowThreads(__tstate);
29876 if (PyErr_Occurred()) SWIG_fail;
29877 }
29878 resultobj = SWIG_Py_Void();
29879 return resultobj;
29880fail:
29881 return NULL;
d55e5bfc
RD
29882}
29883
29884
1bd55598
RD
29885SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29886 PyObject *resultobj = 0;
29887 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29888 void *argp1 = 0 ;
29889 int res1 = 0 ;
29890 PyObject *swig_obj[1] ;
29891
29892 if (!args) SWIG_fail;
29893 swig_obj[0] = args;
29894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29895 if (!SWIG_IsOK(res1)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29897 }
29898 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29899 {
29900 PyThreadState* __tstate = wxPyBeginAllowThreads();
29901 (arg1)->OnFirst();
29902 wxPyEndAllowThreads(__tstate);
29903 if (PyErr_Occurred()) SWIG_fail;
29904 }
29905 resultobj = SWIG_Py_Void();
29906 return resultobj;
29907fail:
29908 return NULL;
a5ee0656
RD
29909}
29910
29911
1bd55598
RD
29912SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29913 PyObject *resultobj = 0;
29914 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29915 void *argp1 = 0 ;
29916 int res1 = 0 ;
29917 PyObject *swig_obj[1] ;
29918
29919 if (!args) SWIG_fail;
29920 swig_obj[0] = args;
29921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29922 if (!SWIG_IsOK(res1)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29924 }
29925 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29926 {
29927 PyThreadState* __tstate = wxPyBeginAllowThreads();
29928 (arg1)->OnLast();
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 resultobj = SWIG_Py_Void();
29933 return resultobj;
29934fail:
29935 return NULL;
976dbff5
RD
29936}
29937
29938
1bd55598
RD
29939SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29940 PyObject *resultobj = 0;
29941 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29942 void *argp1 = 0 ;
29943 int res1 = 0 ;
29944 PyObject *swig_obj[1] ;
29945
29946 if (!args) SWIG_fail;
29947 swig_obj[0] = args;
29948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29949 if (!SWIG_IsOK(res1)) {
29950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29951 }
29952 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29953 {
29954 PyThreadState* __tstate = wxPyBeginAllowThreads();
29955 (arg1)->OnGoto();
29956 wxPyEndAllowThreads(__tstate);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
29959 resultobj = SWIG_Py_Void();
29960 return resultobj;
29961fail:
29962 return NULL;
d55e5bfc
RD
29963}
29964
29965
1bd55598
RD
29966SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29967 PyObject *obj;
29968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29969 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29970 return SWIG_Py_Void();
29971}
29972
29973SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29974 return SWIG_Python_InitShadowInstance(args);
29975}
29976
29977SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29978 PyObject *resultobj = 0;
29979 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29980 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29981 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29982 wxPrintPreview *result = 0 ;
29983 int res1 = 0 ;
29984 int res2 = 0 ;
29985 void *argp3 = 0 ;
29986 int res3 = 0 ;
29987
29988 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29989 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29990 if (!SWIG_IsOK(res1)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29992 }
29993 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29994 if (!SWIG_IsOK(res2)) {
29995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29996 }
29997 if (swig_obj[2]) {
29998 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29999 if (!SWIG_IsOK(res3)) {
30000 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 30001 }
1bd55598
RD
30002 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30003 }
30004 {
30005 if (!wxPyCheckForApp()) SWIG_fail;
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
30007 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30008 wxPyEndAllowThreads(__tstate);
30009 if (PyErr_Occurred()) SWIG_fail;
30010 }
30011 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30012 return resultobj;
30013fail:
30014 return NULL;
30015}
30016
30017
30018SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30019 PyObject *resultobj = 0;
30020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30021 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30022 wxPrintData *arg3 = (wxPrintData *) 0 ;
30023 wxPrintPreview *result = 0 ;
30024 int res1 = 0 ;
30025 int res2 = 0 ;
30026 void *argp3 = 0 ;
30027 int res3 = 0 ;
30028
30029 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30030 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30031 if (!SWIG_IsOK(res1)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30033 }
30034 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30035 if (!SWIG_IsOK(res2)) {
30036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30037 }
30038 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30039 if (!SWIG_IsOK(res3)) {
30040 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30041 }
30042 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30043 {
30044 if (!wxPyCheckForApp()) SWIG_fail;
30045 PyThreadState* __tstate = wxPyBeginAllowThreads();
30046 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30047 wxPyEndAllowThreads(__tstate);
30048 if (PyErr_Occurred()) SWIG_fail;
30049 }
30050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30051 return resultobj;
30052fail:
30053 return NULL;
d55e5bfc
RD
30054}
30055
30056
1bd55598
RD
30057SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30058 int argc;
30059 PyObject *argv[4];
30060
30061 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30062 --argc;
30063 if ((argc >= 2) && (argc <= 3)) {
30064 int _v = 0;
30065 if (argc > 2) {
30066 {
30067 void *vptr = 0;
30068 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30069 _v = SWIG_CheckState(res);
30070 }
30071 if (!_v) goto check_1;
36ed4f51 30072 }
1bd55598
RD
30073 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30074 }
30075check_1:
30076
30077 if (argc == 3) {
30078 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30079 }
30080
30081fail:
30082 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30083 return NULL;
d55e5bfc
RD
30084}
30085
30086
1bd55598
RD
30087SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30088 PyObject *resultobj = 0;
30089 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30090 void *argp1 = 0 ;
30091 int res1 = 0 ;
30092 PyObject *swig_obj[1] ;
30093
30094 if (!args) SWIG_fail;
30095 swig_obj[0] = args;
30096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30097 if (!SWIG_IsOK(res1)) {
30098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30099 }
30100 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30101 {
30102 PyThreadState* __tstate = wxPyBeginAllowThreads();
30103 delete arg1;
d55e5bfc 30104
1bd55598
RD
30105 wxPyEndAllowThreads(__tstate);
30106 if (PyErr_Occurred()) SWIG_fail;
30107 }
30108 resultobj = SWIG_Py_Void();
30109 return resultobj;
30110fail:
30111 return NULL;
30112}
30113
30114
30115SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30116 PyObject *resultobj = 0;
30117 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30118 int arg2 ;
30119 bool result;
30120 void *argp1 = 0 ;
30121 int res1 = 0 ;
30122 int val2 ;
30123 int ecode2 = 0 ;
30124 PyObject * obj0 = 0 ;
30125 PyObject * obj1 = 0 ;
30126 char * kwnames[] = {
30127 (char *) "self",(char *) "pageNum", NULL
30128 };
30129
30130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30132 if (!SWIG_IsOK(res1)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30134 }
30135 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30136 ecode2 = SWIG_AsVal_int(obj1, &val2);
30137 if (!SWIG_IsOK(ecode2)) {
30138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30139 }
30140 arg2 = static_cast< int >(val2);
30141 {
30142 PyThreadState* __tstate = wxPyBeginAllowThreads();
30143 result = (bool)(arg1)->SetCurrentPage(arg2);
30144 wxPyEndAllowThreads(__tstate);
30145 if (PyErr_Occurred()) SWIG_fail;
30146 }
30147 {
30148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30149 }
30150 return resultobj;
30151fail:
30152 return NULL;
d55e5bfc
RD
30153}
30154
30155
1bd55598
RD
30156SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30157 PyObject *resultobj = 0;
30158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30159 int result;
30160 void *argp1 = 0 ;
30161 int res1 = 0 ;
30162 PyObject *swig_obj[1] ;
30163
30164 if (!args) SWIG_fail;
30165 swig_obj[0] = args;
30166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30167 if (!SWIG_IsOK(res1)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30169 }
30170 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 result = (int)(arg1)->GetCurrentPage();
30174 wxPyEndAllowThreads(__tstate);
30175 if (PyErr_Occurred()) SWIG_fail;
30176 }
30177 resultobj = SWIG_From_int(static_cast< int >(result));
30178 return resultobj;
30179fail:
30180 return NULL;
30181}
30182
30183
30184SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30185 PyObject *resultobj = 0;
30186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30187 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30188 void *argp1 = 0 ;
30189 int res1 = 0 ;
30190 int res2 = 0 ;
30191 PyObject * obj0 = 0 ;
30192 PyObject * obj1 = 0 ;
30193 char * kwnames[] = {
30194 (char *) "self",(char *) "printout", NULL
30195 };
30196
30197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30199 if (!SWIG_IsOK(res1)) {
30200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30201 }
30202 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30203 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30204 if (!SWIG_IsOK(res2)) {
30205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30206 }
30207 {
30208 PyThreadState* __tstate = wxPyBeginAllowThreads();
30209 (arg1)->SetPrintout(arg2);
30210 wxPyEndAllowThreads(__tstate);
30211 if (PyErr_Occurred()) SWIG_fail;
30212 }
30213 resultobj = SWIG_Py_Void();
30214 return resultobj;
30215fail:
30216 return NULL;
d55e5bfc
RD
30217}
30218
30219
1bd55598
RD
30220SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30221 PyObject *resultobj = 0;
30222 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30223 wxPyPrintout *result = 0 ;
30224 void *argp1 = 0 ;
30225 int res1 = 0 ;
30226 PyObject *swig_obj[1] ;
30227
30228 if (!args) SWIG_fail;
30229 swig_obj[0] = args;
30230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30231 if (!SWIG_IsOK(res1)) {
30232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30233 }
30234 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30235 {
30236 PyThreadState* __tstate = wxPyBeginAllowThreads();
30237 result = (wxPyPrintout *)(arg1)->GetPrintout();
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 {
30242 resultobj = wxPyMake_wxObject(result, 0);
30243 }
30244 return resultobj;
30245fail:
30246 return NULL;
d55e5bfc
RD
30247}
30248
30249
1bd55598
RD
30250SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30251 PyObject *resultobj = 0;
30252 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30253 wxPyPrintout *result = 0 ;
30254 void *argp1 = 0 ;
30255 int res1 = 0 ;
30256 PyObject *swig_obj[1] ;
30257
30258 if (!args) SWIG_fail;
30259 swig_obj[0] = args;
30260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30261 if (!SWIG_IsOK(res1)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30263 }
30264 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
30267 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30268 wxPyEndAllowThreads(__tstate);
30269 if (PyErr_Occurred()) SWIG_fail;
30270 }
30271 {
30272 resultobj = wxPyMake_wxObject(result, 0);
30273 }
30274 return resultobj;
30275fail:
30276 return NULL;
30277}
30278
30279
30280SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30281 PyObject *resultobj = 0;
30282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30283 wxFrame *arg2 = (wxFrame *) 0 ;
30284 void *argp1 = 0 ;
30285 int res1 = 0 ;
30286 void *argp2 = 0 ;
30287 int res2 = 0 ;
30288 PyObject * obj0 = 0 ;
30289 PyObject * obj1 = 0 ;
30290 char * kwnames[] = {
30291 (char *) "self",(char *) "frame", NULL
30292 };
30293
30294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30296 if (!SWIG_IsOK(res1)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30298 }
30299 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30301 if (!SWIG_IsOK(res2)) {
30302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30303 }
30304 arg2 = reinterpret_cast< wxFrame * >(argp2);
30305 {
30306 PyThreadState* __tstate = wxPyBeginAllowThreads();
30307 (arg1)->SetFrame(arg2);
30308 wxPyEndAllowThreads(__tstate);
30309 if (PyErr_Occurred()) SWIG_fail;
30310 }
30311 resultobj = SWIG_Py_Void();
30312 return resultobj;
30313fail:
30314 return NULL;
30315}
30316
30317
30318SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30319 PyObject *resultobj = 0;
30320 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30321 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30322 void *argp1 = 0 ;
30323 int res1 = 0 ;
30324 void *argp2 = 0 ;
30325 int res2 = 0 ;
30326 PyObject * obj0 = 0 ;
30327 PyObject * obj1 = 0 ;
30328 char * kwnames[] = {
30329 (char *) "self",(char *) "canvas", NULL
30330 };
30331
30332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30334 if (!SWIG_IsOK(res1)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30336 }
30337 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30339 if (!SWIG_IsOK(res2)) {
30340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30341 }
30342 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 (arg1)->SetCanvas(arg2);
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 resultobj = SWIG_Py_Void();
30350 return resultobj;
30351fail:
30352 return NULL;
d55e5bfc
RD
30353}
30354
30355
1bd55598
RD
30356SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30357 PyObject *resultobj = 0;
30358 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30359 wxFrame *result = 0 ;
30360 void *argp1 = 0 ;
30361 int res1 = 0 ;
30362 PyObject *swig_obj[1] ;
30363
30364 if (!args) SWIG_fail;
30365 swig_obj[0] = args;
30366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30367 if (!SWIG_IsOK(res1)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30369 }
30370 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30371 {
30372 PyThreadState* __tstate = wxPyBeginAllowThreads();
30373 result = (wxFrame *)(arg1)->GetFrame();
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 {
30378 resultobj = wxPyMake_wxObject(result, 0);
30379 }
30380 return resultobj;
30381fail:
30382 return NULL;
d55e5bfc
RD
30383}
30384
30385
1bd55598
RD
30386SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30387 PyObject *resultobj = 0;
30388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30389 wxPreviewCanvas *result = 0 ;
30390 void *argp1 = 0 ;
30391 int res1 = 0 ;
30392 PyObject *swig_obj[1] ;
30393
30394 if (!args) SWIG_fail;
30395 swig_obj[0] = args;
30396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30397 if (!SWIG_IsOK(res1)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30399 }
30400 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30401 {
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30408 return resultobj;
30409fail:
30410 return NULL;
30411}
30412
30413
30414SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30415 PyObject *resultobj = 0;
30416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30417 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30418 wxDC *arg3 = 0 ;
30419 bool result;
30420 void *argp1 = 0 ;
30421 int res1 = 0 ;
30422 void *argp2 = 0 ;
30423 int res2 = 0 ;
30424 void *argp3 = 0 ;
30425 int res3 = 0 ;
30426 PyObject * obj0 = 0 ;
30427 PyObject * obj1 = 0 ;
30428 PyObject * obj2 = 0 ;
30429 char * kwnames[] = {
30430 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30431 };
30432
30433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30435 if (!SWIG_IsOK(res1)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30437 }
30438 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30440 if (!SWIG_IsOK(res2)) {
30441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30442 }
30443 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30444 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30445 if (!SWIG_IsOK(res3)) {
30446 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30447 }
30448 if (!argp3) {
30449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30450 }
30451 arg3 = reinterpret_cast< wxDC * >(argp3);
30452 {
30453 PyThreadState* __tstate = wxPyBeginAllowThreads();
30454 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30455 wxPyEndAllowThreads(__tstate);
30456 if (PyErr_Occurred()) SWIG_fail;
30457 }
30458 {
30459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30460 }
30461 return resultobj;
30462fail:
30463 return NULL;
30464}
30465
30466
30467SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30468 PyObject *resultobj = 0;
30469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30470 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30471 wxDC *arg3 = 0 ;
30472 bool result;
30473 void *argp1 = 0 ;
30474 int res1 = 0 ;
30475 void *argp2 = 0 ;
30476 int res2 = 0 ;
30477 void *argp3 = 0 ;
30478 int res3 = 0 ;
30479 PyObject * obj0 = 0 ;
30480 PyObject * obj1 = 0 ;
30481 PyObject * obj2 = 0 ;
30482 char * kwnames[] = {
30483 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30484 };
30485
30486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30488 if (!SWIG_IsOK(res1)) {
30489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30490 }
30491 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30493 if (!SWIG_IsOK(res2)) {
30494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30495 }
30496 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30497 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30498 if (!SWIG_IsOK(res3)) {
30499 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30500 }
30501 if (!argp3) {
30502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30503 }
30504 arg3 = reinterpret_cast< wxDC * >(argp3);
30505 {
30506 PyThreadState* __tstate = wxPyBeginAllowThreads();
30507 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30508 wxPyEndAllowThreads(__tstate);
30509 if (PyErr_Occurred()) SWIG_fail;
30510 }
30511 {
30512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30513 }
30514 return resultobj;
30515fail:
30516 return NULL;
30517}
30518
30519
30520SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30521 PyObject *resultobj = 0;
30522 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30523 int arg2 ;
30524 bool result;
30525 void *argp1 = 0 ;
30526 int res1 = 0 ;
30527 int val2 ;
30528 int ecode2 = 0 ;
30529 PyObject * obj0 = 0 ;
30530 PyObject * obj1 = 0 ;
30531 char * kwnames[] = {
30532 (char *) "self",(char *) "pageNum", NULL
30533 };
30534
30535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30537 if (!SWIG_IsOK(res1)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30539 }
30540 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30541 ecode2 = SWIG_AsVal_int(obj1, &val2);
30542 if (!SWIG_IsOK(ecode2)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30544 }
30545 arg2 = static_cast< int >(val2);
30546 {
30547 PyThreadState* __tstate = wxPyBeginAllowThreads();
30548 result = (bool)(arg1)->RenderPage(arg2);
30549 wxPyEndAllowThreads(__tstate);
30550 if (PyErr_Occurred()) SWIG_fail;
30551 }
30552 {
30553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30554 }
30555 return resultobj;
30556fail:
30557 return NULL;
30558}
30559
30560
30561SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj = 0;
30563 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30564 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30565 void *argp1 = 0 ;
30566 int res1 = 0 ;
30567 void *argp2 = 0 ;
30568 int res2 = 0 ;
30569 PyObject * obj0 = 0 ;
30570 PyObject * obj1 = 0 ;
30571 char * kwnames[] = {
30572 (char *) "self",(char *) "canvas", NULL
30573 };
30574
30575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30577 if (!SWIG_IsOK(res1)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30579 }
30580 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30582 if (!SWIG_IsOK(res2)) {
30583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30584 }
30585 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30586 {
30587 PyThreadState* __tstate = wxPyBeginAllowThreads();
30588 (arg1)->AdjustScrollbars(arg2);
30589 wxPyEndAllowThreads(__tstate);
30590 if (PyErr_Occurred()) SWIG_fail;
30591 }
30592 resultobj = SWIG_Py_Void();
30593 return resultobj;
30594fail:
30595 return NULL;
d55e5bfc
RD
30596}
30597
30598
1bd55598
RD
30599SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30600 PyObject *resultobj = 0;
30601 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30602 wxPrintDialogData *result = 0 ;
30603 void *argp1 = 0 ;
30604 int res1 = 0 ;
30605 PyObject *swig_obj[1] ;
30606
30607 if (!args) SWIG_fail;
30608 swig_obj[0] = args;
30609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30610 if (!SWIG_IsOK(res1)) {
30611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30612 }
30613 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30614 {
30615 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 30616 {
1bd55598
RD
30617 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30618 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 30619 }
1bd55598
RD
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30624 return resultobj;
30625fail:
30626 return NULL;
30627}
30628
30629
30630SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30631 PyObject *resultobj = 0;
30632 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30633 int arg2 ;
30634 void *argp1 = 0 ;
30635 int res1 = 0 ;
30636 int val2 ;
30637 int ecode2 = 0 ;
30638 PyObject * obj0 = 0 ;
30639 PyObject * obj1 = 0 ;
30640 char * kwnames[] = {
30641 (char *) "self",(char *) "percent", NULL
30642 };
30643
30644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30646 if (!SWIG_IsOK(res1)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30648 }
30649 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30650 ecode2 = SWIG_AsVal_int(obj1, &val2);
30651 if (!SWIG_IsOK(ecode2)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30653 }
30654 arg2 = static_cast< int >(val2);
30655 {
30656 PyThreadState* __tstate = wxPyBeginAllowThreads();
30657 (arg1)->SetZoom(arg2);
30658 wxPyEndAllowThreads(__tstate);
30659 if (PyErr_Occurred()) SWIG_fail;
30660 }
30661 resultobj = SWIG_Py_Void();
30662 return resultobj;
30663fail:
30664 return NULL;
d55e5bfc
RD
30665}
30666
30667
1bd55598
RD
30668SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30669 PyObject *resultobj = 0;
30670 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30671 int result;
30672 void *argp1 = 0 ;
30673 int res1 = 0 ;
30674 PyObject *swig_obj[1] ;
30675
30676 if (!args) SWIG_fail;
30677 swig_obj[0] = args;
30678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30679 if (!SWIG_IsOK(res1)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30681 }
30682 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30683 {
30684 PyThreadState* __tstate = wxPyBeginAllowThreads();
30685 result = (int)(arg1)->GetZoom();
30686 wxPyEndAllowThreads(__tstate);
30687 if (PyErr_Occurred()) SWIG_fail;
30688 }
30689 resultobj = SWIG_From_int(static_cast< int >(result));
30690 return resultobj;
30691fail:
30692 return NULL;
d55e5bfc
RD
30693}
30694
30695
1bd55598
RD
30696SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30697 PyObject *resultobj = 0;
30698 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30699 int result;
30700 void *argp1 = 0 ;
30701 int res1 = 0 ;
30702 PyObject *swig_obj[1] ;
30703
30704 if (!args) SWIG_fail;
30705 swig_obj[0] = args;
30706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30707 if (!SWIG_IsOK(res1)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30709 }
30710 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30711 {
30712 PyThreadState* __tstate = wxPyBeginAllowThreads();
30713 result = (int)(arg1)->GetMaxPage();
30714 wxPyEndAllowThreads(__tstate);
30715 if (PyErr_Occurred()) SWIG_fail;
30716 }
30717 resultobj = SWIG_From_int(static_cast< int >(result));
30718 return resultobj;
30719fail:
30720 return NULL;
d55e5bfc
RD
30721}
30722
30723
1bd55598
RD
30724SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30725 PyObject *resultobj = 0;
30726 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30727 int result;
30728 void *argp1 = 0 ;
30729 int res1 = 0 ;
30730 PyObject *swig_obj[1] ;
30731
30732 if (!args) SWIG_fail;
30733 swig_obj[0] = args;
30734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30735 if (!SWIG_IsOK(res1)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30737 }
30738 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30739 {
30740 PyThreadState* __tstate = wxPyBeginAllowThreads();
30741 result = (int)(arg1)->GetMinPage();
30742 wxPyEndAllowThreads(__tstate);
30743 if (PyErr_Occurred()) SWIG_fail;
30744 }
30745 resultobj = SWIG_From_int(static_cast< int >(result));
30746 return resultobj;
30747fail:
30748 return NULL;
d55e5bfc
RD
30749}
30750
30751
b39fe951 30752SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
30753 PyObject *resultobj = 0;
30754 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30755 bool result;
30756 void *argp1 = 0 ;
30757 int res1 = 0 ;
30758 PyObject *swig_obj[1] ;
30759
30760 if (!args) SWIG_fail;
30761 swig_obj[0] = args;
30762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30763 if (!SWIG_IsOK(res1)) {
b39fe951 30764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598
RD
30765 }
30766 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30767 {
30768 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 30769 result = (bool)(arg1)->IsOk();
1bd55598
RD
30770 wxPyEndAllowThreads(__tstate);
30771 if (PyErr_Occurred()) SWIG_fail;
30772 }
30773 {
30774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30775 }
30776 return resultobj;
30777fail:
30778 return NULL;
30779}
30780
30781
30782SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30783 PyObject *resultobj = 0;
30784 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30785 bool arg2 ;
30786 void *argp1 = 0 ;
30787 int res1 = 0 ;
30788 bool val2 ;
30789 int ecode2 = 0 ;
30790 PyObject * obj0 = 0 ;
30791 PyObject * obj1 = 0 ;
30792 char * kwnames[] = {
30793 (char *) "self",(char *) "ok", NULL
30794 };
30795
30796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30798 if (!SWIG_IsOK(res1)) {
30799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30800 }
30801 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30802 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30803 if (!SWIG_IsOK(ecode2)) {
30804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30805 }
30806 arg2 = static_cast< bool >(val2);
30807 {
30808 PyThreadState* __tstate = wxPyBeginAllowThreads();
30809 (arg1)->SetOk(arg2);
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 resultobj = SWIG_Py_Void();
30814 return resultobj;
30815fail:
30816 return NULL;
30817}
30818
30819
30820SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30821 PyObject *resultobj = 0;
30822 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30823 bool arg2 ;
30824 bool result;
30825 void *argp1 = 0 ;
30826 int res1 = 0 ;
30827 bool val2 ;
30828 int ecode2 = 0 ;
30829 PyObject * obj0 = 0 ;
30830 PyObject * obj1 = 0 ;
30831 char * kwnames[] = {
30832 (char *) "self",(char *) "interactive", NULL
30833 };
30834
30835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30837 if (!SWIG_IsOK(res1)) {
30838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30839 }
30840 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30841 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30842 if (!SWIG_IsOK(ecode2)) {
30843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30844 }
30845 arg2 = static_cast< bool >(val2);
30846 {
30847 PyThreadState* __tstate = wxPyBeginAllowThreads();
30848 result = (bool)(arg1)->Print(arg2);
30849 wxPyEndAllowThreads(__tstate);
30850 if (PyErr_Occurred()) SWIG_fail;
30851 }
30852 {
30853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30854 }
30855 return resultobj;
30856fail:
30857 return NULL;
d55e5bfc
RD
30858}
30859
30860
1bd55598
RD
30861SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30862 PyObject *resultobj = 0;
30863 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30864 void *argp1 = 0 ;
30865 int res1 = 0 ;
30866 PyObject *swig_obj[1] ;
30867
30868 if (!args) SWIG_fail;
30869 swig_obj[0] = args;
30870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30871 if (!SWIG_IsOK(res1)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30873 }
30874 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 (arg1)->DetermineScaling();
30878 wxPyEndAllowThreads(__tstate);
30879 if (PyErr_Occurred()) SWIG_fail;
30880 }
30881 resultobj = SWIG_Py_Void();
30882 return resultobj;
30883fail:
30884 return NULL;
d55e5bfc
RD
30885}
30886
30887
1bd55598
RD
30888SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30889 PyObject *obj;
30890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30891 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30892 return SWIG_Py_Void();
d55e5bfc
RD
30893}
30894
1bd55598
RD
30895SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30896 return SWIG_Python_InitShadowInstance(args);
30897}
d55e5bfc 30898
1bd55598
RD
30899SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30900 PyObject *resultobj = 0;
30901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30902 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30903 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30904 wxPyPrintPreview *result = 0 ;
30905 int res1 = 0 ;
30906 int res2 = 0 ;
30907 void *argp3 = 0 ;
30908 int res3 = 0 ;
30909
30910 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30911 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30912 if (!SWIG_IsOK(res1)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30914 }
30915 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30916 if (!SWIG_IsOK(res2)) {
30917 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30918 }
30919 if (swig_obj[2]) {
30920 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30921 if (!SWIG_IsOK(res3)) {
30922 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30923 }
30924 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30925 }
30926 {
30927 if (!wxPyCheckForApp()) SWIG_fail;
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30930 wxPyEndAllowThreads(__tstate);
30931 if (PyErr_Occurred()) SWIG_fail;
30932 }
30933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30934 return resultobj;
30935fail:
30936 return NULL;
30937}
30938
30939
30940SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30941 PyObject *resultobj = 0;
30942 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30943 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30944 wxPrintData *arg3 = (wxPrintData *) 0 ;
30945 wxPyPrintPreview *result = 0 ;
30946 int res1 = 0 ;
30947 int res2 = 0 ;
30948 void *argp3 = 0 ;
30949 int res3 = 0 ;
30950
30951 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30952 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30953 if (!SWIG_IsOK(res1)) {
30954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30955 }
30956 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30957 if (!SWIG_IsOK(res2)) {
30958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30959 }
30960 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30961 if (!SWIG_IsOK(res3)) {
30962 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30963 }
30964 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30965 {
30966 if (!wxPyCheckForApp()) SWIG_fail;
30967 PyThreadState* __tstate = wxPyBeginAllowThreads();
30968 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30969 wxPyEndAllowThreads(__tstate);
30970 if (PyErr_Occurred()) SWIG_fail;
30971 }
30972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30973 return resultobj;
30974fail:
30975 return NULL;
d55e5bfc
RD
30976}
30977
30978
1bd55598
RD
30979SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30980 int argc;
30981 PyObject *argv[4];
30982
30983 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30984 --argc;
30985 if ((argc >= 2) && (argc <= 3)) {
30986 int _v = 0;
30987 if (argc > 2) {
30988 {
30989 void *vptr = 0;
30990 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30991 _v = SWIG_CheckState(res);
30992 }
30993 if (!_v) goto check_1;
36ed4f51 30994 }
1bd55598
RD
30995 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30996 }
30997check_1:
30998
30999 if (argc == 3) {
31000 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31001 }
31002
31003fail:
31004 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31005 return NULL;
31006}
31007
31008
31009SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31010 PyObject *resultobj = 0;
31011 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31012 PyObject *arg2 = (PyObject *) 0 ;
31013 PyObject *arg3 = (PyObject *) 0 ;
31014 void *argp1 = 0 ;
31015 int res1 = 0 ;
31016 PyObject * obj0 = 0 ;
31017 PyObject * obj1 = 0 ;
31018 PyObject * obj2 = 0 ;
31019 char * kwnames[] = {
31020 (char *) "self",(char *) "self",(char *) "_class", NULL
31021 };
31022
31023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31025 if (!SWIG_IsOK(res1)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31027 }
31028 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31029 arg2 = obj1;
31030 arg3 = obj2;
31031 {
31032 PyThreadState* __tstate = wxPyBeginAllowThreads();
31033 (arg1)->_setCallbackInfo(arg2,arg3);
31034 wxPyEndAllowThreads(__tstate);
31035 if (PyErr_Occurred()) SWIG_fail;
31036 }
31037 resultobj = SWIG_Py_Void();
31038 return resultobj;
31039fail:
31040 return NULL;
31041}
31042
31043
31044SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31045 PyObject *obj;
31046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31048 return SWIG_Py_Void();
31049}
31050
31051SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31052 return SWIG_Python_InitShadowInstance(args);
31053}
31054
31055SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31056 PyObject *resultobj = 0;
31057 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31058 wxFrame *arg2 = (wxFrame *) 0 ;
31059 wxString *arg3 = 0 ;
31060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31062 wxSize const &arg5_defvalue = wxDefaultSize ;
31063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31064 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31065 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31066 wxString *arg7 = (wxString *) &arg7_defvalue ;
31067 wxPyPreviewFrame *result = 0 ;
1bd55598
RD
31068 int res1 = 0 ;
31069 void *argp2 = 0 ;
31070 int res2 = 0 ;
31071 bool temp3 = false ;
31072 wxPoint temp4 ;
31073 wxSize temp5 ;
31074 long val6 ;
31075 int ecode6 = 0 ;
31076 bool temp7 = false ;
31077 PyObject * obj0 = 0 ;
31078 PyObject * obj1 = 0 ;
31079 PyObject * obj2 = 0 ;
31080 PyObject * obj3 = 0 ;
31081 PyObject * obj4 = 0 ;
31082 PyObject * obj5 = 0 ;
31083 PyObject * obj6 = 0 ;
31084 char * kwnames[] = {
31085 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31086 };
31087
31088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31089 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31090 if (!SWIG_IsOK(res1)) {
9057d6d4 31091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 31092 }
1bd55598
RD
31093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31094 if (!SWIG_IsOK(res2)) {
31095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31096 }
31097 arg2 = reinterpret_cast< wxFrame * >(argp2);
31098 {
31099 arg3 = wxString_in_helper(obj2);
31100 if (arg3 == NULL) SWIG_fail;
31101 temp3 = true;
31102 }
31103 if (obj3) {
36ed4f51 31104 {
1bd55598
RD
31105 arg4 = &temp4;
31106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 31107 }
1bd55598
RD
31108 }
31109 if (obj4) {
d55e5bfc 31110 {
1bd55598
RD
31111 arg5 = &temp5;
31112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 31113 }
1bd55598
RD
31114 }
31115 if (obj5) {
31116 ecode6 = SWIG_AsVal_long(obj5, &val6);
31117 if (!SWIG_IsOK(ecode6)) {
31118 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31119 }
31120 arg6 = static_cast< long >(val6);
31121 }
31122 if (obj6) {
36ed4f51 31123 {
1bd55598
RD
31124 arg7 = wxString_in_helper(obj6);
31125 if (arg7 == NULL) SWIG_fail;
31126 temp7 = true;
36ed4f51 31127 }
1bd55598
RD
31128 }
31129 {
31130 if (!wxPyCheckForApp()) SWIG_fail;
31131 PyThreadState* __tstate = wxPyBeginAllowThreads();
31132 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31133 wxPyEndAllowThreads(__tstate);
31134 if (PyErr_Occurred()) SWIG_fail;
31135 }
31136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31137 {
31138 if (temp3)
31139 delete arg3;
31140 }
31141 {
31142 if (temp7)
31143 delete arg7;
31144 }
31145 return resultobj;
31146fail:
31147 {
31148 if (temp3)
31149 delete arg3;
31150 }
31151 {
31152 if (temp7)
31153 delete arg7;
31154 }
31155 return NULL;
31156}
31157
31158
31159SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31160 PyObject *resultobj = 0;
31161 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31162 PyObject *arg2 = (PyObject *) 0 ;
31163 PyObject *arg3 = (PyObject *) 0 ;
31164 void *argp1 = 0 ;
31165 int res1 = 0 ;
31166 PyObject * obj0 = 0 ;
31167 PyObject * obj1 = 0 ;
31168 PyObject * obj2 = 0 ;
31169 char * kwnames[] = {
31170 (char *) "self",(char *) "self",(char *) "_class", NULL
31171 };
31172
31173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31175 if (!SWIG_IsOK(res1)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31177 }
31178 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31179 arg2 = obj1;
31180 arg3 = obj2;
31181 {
31182 PyThreadState* __tstate = wxPyBeginAllowThreads();
31183 (arg1)->_setCallbackInfo(arg2,arg3);
31184 wxPyEndAllowThreads(__tstate);
31185 if (PyErr_Occurred()) SWIG_fail;
31186 }
31187 resultobj = SWIG_Py_Void();
31188 return resultobj;
31189fail:
31190 return NULL;
31191}
31192
31193
31194SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31195 PyObject *resultobj = 0;
31196 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31197 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31198 void *argp1 = 0 ;
31199 int res1 = 0 ;
31200 void *argp2 = 0 ;
31201 int res2 = 0 ;
31202 PyObject * obj0 = 0 ;
31203 PyObject * obj1 = 0 ;
31204 char * kwnames[] = {
31205 (char *) "self",(char *) "canvas", NULL
31206 };
31207
31208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31210 if (!SWIG_IsOK(res1)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31212 }
31213 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31215 if (!SWIG_IsOK(res2)) {
31216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31217 }
31218 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 (arg1)->SetPreviewCanvas(arg2);
31222 wxPyEndAllowThreads(__tstate);
31223 if (PyErr_Occurred()) SWIG_fail;
31224 }
31225 resultobj = SWIG_Py_Void();
31226 return resultobj;
31227fail:
31228 return NULL;
31229}
31230
31231
31232SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31233 PyObject *resultobj = 0;
31234 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31235 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31236 void *argp1 = 0 ;
31237 int res1 = 0 ;
31238 void *argp2 = 0 ;
31239 int res2 = 0 ;
31240 PyObject * obj0 = 0 ;
31241 PyObject * obj1 = 0 ;
31242 char * kwnames[] = {
31243 (char *) "self",(char *) "bar", NULL
31244 };
31245
31246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31248 if (!SWIG_IsOK(res1)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31250 }
31251 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31253 if (!SWIG_IsOK(res2)) {
31254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31255 }
31256 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31257 {
31258 PyThreadState* __tstate = wxPyBeginAllowThreads();
31259 (arg1)->SetControlBar(arg2);
31260 wxPyEndAllowThreads(__tstate);
31261 if (PyErr_Occurred()) SWIG_fail;
31262 }
31263 resultobj = SWIG_Py_Void();
31264 return resultobj;
31265fail:
31266 return NULL;
d55e5bfc
RD
31267}
31268
31269
1bd55598
RD
31270SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31271 PyObject *resultobj = 0;
31272 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31273 void *argp1 = 0 ;
31274 int res1 = 0 ;
31275 PyObject *swig_obj[1] ;
31276
31277 if (!args) SWIG_fail;
31278 swig_obj[0] = args;
31279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31280 if (!SWIG_IsOK(res1)) {
31281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31282 }
31283 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31284 {
31285 PyThreadState* __tstate = wxPyBeginAllowThreads();
31286 (arg1)->Initialize();
31287 wxPyEndAllowThreads(__tstate);
31288 if (PyErr_Occurred()) SWIG_fail;
31289 }
31290 resultobj = SWIG_Py_Void();
31291 return resultobj;
31292fail:
31293 return NULL;
d55e5bfc
RD
31294}
31295
31296
1bd55598
RD
31297SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31298 PyObject *resultobj = 0;
31299 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31300 void *argp1 = 0 ;
31301 int res1 = 0 ;
31302 PyObject *swig_obj[1] ;
31303
31304 if (!args) SWIG_fail;
31305 swig_obj[0] = args;
31306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31307 if (!SWIG_IsOK(res1)) {
31308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31309 }
31310 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31311 {
31312 PyThreadState* __tstate = wxPyBeginAllowThreads();
31313 (arg1)->CreateCanvas();
31314 wxPyEndAllowThreads(__tstate);
31315 if (PyErr_Occurred()) SWIG_fail;
31316 }
31317 resultobj = SWIG_Py_Void();
31318 return resultobj;
31319fail:
31320 return NULL;
d55e5bfc
RD
31321}
31322
31323
1bd55598
RD
31324SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31325 PyObject *resultobj = 0;
31326 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31327 void *argp1 = 0 ;
31328 int res1 = 0 ;
31329 PyObject *swig_obj[1] ;
31330
31331 if (!args) SWIG_fail;
31332 swig_obj[0] = args;
31333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31334 if (!SWIG_IsOK(res1)) {
31335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31336 }
31337 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31338 {
31339 PyThreadState* __tstate = wxPyBeginAllowThreads();
31340 (arg1)->CreateControlBar();
31341 wxPyEndAllowThreads(__tstate);
31342 if (PyErr_Occurred()) SWIG_fail;
31343 }
31344 resultobj = SWIG_Py_Void();
31345 return resultobj;
31346fail:
31347 return NULL;
31348}
31349
31350
31351SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31352 PyObject *obj;
31353 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31355 return SWIG_Py_Void();
31356}
31357
31358SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31359 return SWIG_Python_InitShadowInstance(args);
31360}
31361
31362SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31363 PyObject *resultobj = 0;
31364 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31365 long arg2 ;
31366 wxWindow *arg3 = (wxWindow *) 0 ;
31367 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31368 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31369 wxSize const &arg5_defvalue = wxDefaultSize ;
31370 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31371 long arg6 = (long) 0 ;
31372 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31373 wxString *arg7 = (wxString *) &arg7_defvalue ;
31374 wxPyPreviewControlBar *result = 0 ;
1bd55598
RD
31375 int res1 = 0 ;
31376 long val2 ;
31377 int ecode2 = 0 ;
31378 void *argp3 = 0 ;
31379 int res3 = 0 ;
31380 wxPoint temp4 ;
31381 wxSize temp5 ;
31382 long val6 ;
31383 int ecode6 = 0 ;
31384 bool temp7 = false ;
31385 PyObject * obj0 = 0 ;
31386 PyObject * obj1 = 0 ;
31387 PyObject * obj2 = 0 ;
31388 PyObject * obj3 = 0 ;
31389 PyObject * obj4 = 0 ;
31390 PyObject * obj5 = 0 ;
31391 PyObject * obj6 = 0 ;
31392 char * kwnames[] = {
31393 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31394 };
31395
31396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31397 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31398 if (!SWIG_IsOK(res1)) {
9057d6d4 31399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 31400 }
1bd55598
RD
31401 ecode2 = SWIG_AsVal_long(obj1, &val2);
31402 if (!SWIG_IsOK(ecode2)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31404 }
31405 arg2 = static_cast< long >(val2);
31406 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31407 if (!SWIG_IsOK(res3)) {
31408 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31409 }
31410 arg3 = reinterpret_cast< wxWindow * >(argp3);
31411 if (obj3) {
d55e5bfc 31412 {
1bd55598
RD
31413 arg4 = &temp4;
31414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31415 }
1bd55598
RD
31416 }
31417 if (obj4) {
d55e5bfc 31418 {
1bd55598
RD
31419 arg5 = &temp5;
31420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31421 }
1bd55598
RD
31422 }
31423 if (obj5) {
31424 ecode6 = SWIG_AsVal_long(obj5, &val6);
31425 if (!SWIG_IsOK(ecode6)) {
31426 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31427 }
31428 arg6 = static_cast< long >(val6);
31429 }
31430 if (obj6) {
d55e5bfc 31431 {
1bd55598
RD
31432 arg7 = wxString_in_helper(obj6);
31433 if (arg7 == NULL) SWIG_fail;
31434 temp7 = true;
d55e5bfc 31435 }
1bd55598
RD
31436 }
31437 {
31438 if (!wxPyCheckForApp()) SWIG_fail;
31439 PyThreadState* __tstate = wxPyBeginAllowThreads();
31440 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31441 wxPyEndAllowThreads(__tstate);
31442 if (PyErr_Occurred()) SWIG_fail;
31443 }
31444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31445 {
31446 if (temp7)
31447 delete arg7;
31448 }
31449 return resultobj;
31450fail:
31451 {
31452 if (temp7)
31453 delete arg7;
31454 }
31455 return NULL;
31456}
31457
31458
31459SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31460 PyObject *resultobj = 0;
31461 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31462 PyObject *arg2 = (PyObject *) 0 ;
31463 PyObject *arg3 = (PyObject *) 0 ;
31464 void *argp1 = 0 ;
31465 int res1 = 0 ;
31466 PyObject * obj0 = 0 ;
31467 PyObject * obj1 = 0 ;
31468 PyObject * obj2 = 0 ;
31469 char * kwnames[] = {
31470 (char *) "self",(char *) "self",(char *) "_class", NULL
31471 };
31472
31473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31475 if (!SWIG_IsOK(res1)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31477 }
31478 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31479 arg2 = obj1;
31480 arg3 = obj2;
31481 {
31482 PyThreadState* __tstate = wxPyBeginAllowThreads();
31483 (arg1)->_setCallbackInfo(arg2,arg3);
31484 wxPyEndAllowThreads(__tstate);
31485 if (PyErr_Occurred()) SWIG_fail;
31486 }
31487 resultobj = SWIG_Py_Void();
31488 return resultobj;
31489fail:
31490 return NULL;
31491}
31492
31493
31494SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31495 PyObject *resultobj = 0;
31496 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31497 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31498 void *argp1 = 0 ;
31499 int res1 = 0 ;
1bd55598
RD
31500 int res2 = 0 ;
31501 PyObject * obj0 = 0 ;
31502 PyObject * obj1 = 0 ;
31503 char * kwnames[] = {
31504 (char *) "self",(char *) "preview", NULL
31505 };
31506
31507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31509 if (!SWIG_IsOK(res1)) {
31510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31511 }
31512 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
9057d6d4 31513 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31514 if (!SWIG_IsOK(res2)) {
9057d6d4 31515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
1bd55598 31516 }
1bd55598
RD
31517 {
31518 PyThreadState* __tstate = wxPyBeginAllowThreads();
31519 (arg1)->SetPrintPreview(arg2);
31520 wxPyEndAllowThreads(__tstate);
31521 if (PyErr_Occurred()) SWIG_fail;
31522 }
31523 resultobj = SWIG_Py_Void();
31524 return resultobj;
31525fail:
31526 return NULL;
d55e5bfc
RD
31527}
31528
31529
1bd55598
RD
31530SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31531 PyObject *resultobj = 0;
31532 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31533 void *argp1 = 0 ;
31534 int res1 = 0 ;
31535 PyObject *swig_obj[1] ;
31536
31537 if (!args) SWIG_fail;
31538 swig_obj[0] = args;
31539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31540 if (!SWIG_IsOK(res1)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31542 }
31543 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31544 {
31545 PyThreadState* __tstate = wxPyBeginAllowThreads();
31546 (arg1)->CreateButtons();
31547 wxPyEndAllowThreads(__tstate);
31548 if (PyErr_Occurred()) SWIG_fail;
31549 }
31550 resultobj = SWIG_Py_Void();
31551 return resultobj;
31552fail:
31553 return NULL;
31554}
31555
31556
31557SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31558 PyObject *resultobj = 0;
31559 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31560 int arg2 ;
31561 void *argp1 = 0 ;
31562 int res1 = 0 ;
31563 int val2 ;
31564 int ecode2 = 0 ;
31565 PyObject * obj0 = 0 ;
31566 PyObject * obj1 = 0 ;
31567 char * kwnames[] = {
31568 (char *) "self",(char *) "zoom", NULL
31569 };
31570
31571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31573 if (!SWIG_IsOK(res1)) {
31574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31575 }
31576 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31577 ecode2 = SWIG_AsVal_int(obj1, &val2);
31578 if (!SWIG_IsOK(ecode2)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31580 }
31581 arg2 = static_cast< int >(val2);
31582 {
31583 PyThreadState* __tstate = wxPyBeginAllowThreads();
31584 (arg1)->SetZoomControl(arg2);
31585 wxPyEndAllowThreads(__tstate);
31586 if (PyErr_Occurred()) SWIG_fail;
31587 }
31588 resultobj = SWIG_Py_Void();
31589 return resultobj;
31590fail:
31591 return NULL;
d55e5bfc
RD
31592}
31593
31594
1bd55598
RD
31595SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31596 PyObject *obj;
31597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31599 return SWIG_Py_Void();
d55e5bfc
RD
31600}
31601
1bd55598
RD
31602SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31603 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31604}
31605
d55e5bfc 31606static PyMethodDef SwigMethods[] = {
36ed4f51 31607 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31608 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 31609 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31610 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
31611 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 31613 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 31614 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31615 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31616 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31622 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 31623 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31624 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 31625 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31626 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31627 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
31628 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31629 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 31630 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
31631 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31633 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 31634 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31635 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
31636 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31639 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31640 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31641 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 31642 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31643 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 31644 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
31645 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31646 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
31647 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31650 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 31651 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31652 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 31653 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31654 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31656 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 31657 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31658 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31659 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
31660 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31661 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
36ed4f51
RD
31664 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31665 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31666 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 31667 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31668 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 31669 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31670 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
31671 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31673 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
31674 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31680 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 31681 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31682 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
31683 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 31688 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 31689 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31690 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
31691 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31693 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 31694 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31695 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 31696 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31697 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51 31698 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
31699 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 31701 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31702 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31703 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
31704 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 31707 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31708 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31709 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
31710 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31712 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31713 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31715 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 31716 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31717 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31718 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31719 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31720 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31721 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 31722 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 31723 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 31724 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31725 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
31726 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31728 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
31729 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31737 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31738 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
31739 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 31741 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31742 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31743 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 31744 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31745 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31746 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 31747 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31748 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
31749 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31754 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31755 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
31756 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31758 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31759 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 31760 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31761 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 31762 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31763 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 31764 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31765 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 31766 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31767 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 31768 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31769 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
31770 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31772 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31773 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31775 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31776 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31777 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31778 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 31779 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31780 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31781 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31782 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
31783 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31786 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31788 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 31789 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31790 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
31791 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31793 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31794 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
31795 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31797 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31798 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 31799 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31800 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 31801 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31802 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31803 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31805 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 31806 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31807 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 31808 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31809 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 31810 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31811 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31812 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31814 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 31815 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31816 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 31817 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31818 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 31819 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31820 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 31821 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31822 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 31823 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31824 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31825 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31827 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 31828 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31829 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 31830 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31831 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31832 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31833 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 31834 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31835 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31836 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
31837 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31841 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31842 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31843 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
31844 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 31848 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 31849 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31850 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 31851 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31852 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31853 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31854 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 31855 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31856 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31857 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31859 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 31860 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31861 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31862 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31863 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31864 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31868 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31872 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31873 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31874 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31875 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
7993762b 31876 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31877 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31878 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31879 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31881 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31882 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31883 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31884 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
31885 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31887 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31888 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31889 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
31890 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31892 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31893 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 31894 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31895 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31896 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 31897 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31898 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
31899 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31903 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31904 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
31905 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
cbfc9df6 31908 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
1c71765a
RD
31909 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31911 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31912 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 31913 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31914 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
31915 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31917 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31918 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31919 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31920 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31921 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
f9bf356b
RD
31922 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
31924 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
31926 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
1bd55598
RD
31927 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31928 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 31929 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31930 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31931 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31932 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 31933 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31934 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
31935 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 31937 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31938 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31940 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31941 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31942 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31943 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31944 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
31945 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 31950 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 31951 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31952 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 31953 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31954 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31955 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31956 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31957 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31958 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
31959 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31962 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31963 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31969 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31970 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31971 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31972 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31973 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31974 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
31975 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31976 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31977 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 31978 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31979 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31980 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31982 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 31983 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31984 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31985 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31986 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31987 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
31988 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31990 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31991 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31992 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
31993 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31995 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31996 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31998 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31999 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32001 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32002 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
32003 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32004 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 32005 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32006 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32007 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32008 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32009 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32010 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32011 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
32012 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 32019 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 32020 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32021 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 32022 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32023 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 32024 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32025 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32027 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32028 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 32030 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32031 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 32032 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32033 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32034 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32035 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32036 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32037 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32038 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
32039 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 32043 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 32044 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32045 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32046 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32047 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32048 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
32049 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 32053 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 32054 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32055 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 32056 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32057 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
32058 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32060 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32061 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32062 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 32063 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32064 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32065 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32066 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32067 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32068 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32069 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
36ed4f51
RD
32070 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32072 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32073 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32074 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 32075 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32076 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 32077 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32078 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32079 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32080 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
32081 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 32083 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 32084 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32085 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51 32086 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 32087 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
32088 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32092 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32093 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32094 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32095 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32096 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32097 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32098 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 32099 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 32100 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 32101 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32102 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51 32103 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 32104 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
32105 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32109 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32110 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32111 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32112 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32113 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32114 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32115 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 32116 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 32117 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 32118 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32119 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51 32120 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 32121 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
32122 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32126 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32127 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32128 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32129 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32130 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32131 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32132 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 32133 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 32134 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 32135 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
32136 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32137 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32138 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32139 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
5172800e 32140 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
b39fe951 32141 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
1bd55598
RD
32142 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32143 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32144 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32145 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32146 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32147 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32148 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32149 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 32150 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
36ed4f51
RD
32151 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
5172800e 32154 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32155 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 32163 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32164 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 32165 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32166 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 32167 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32168 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 32169 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 32170 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 32171 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
32172 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32177 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32178 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32179 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32180 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32181 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32182 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32183 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32184 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32185 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32186 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32187 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32188 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32189 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32190 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 32191 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
36ed4f51
RD
32192 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32197 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32201 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32202 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 32203 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 32204 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 32205 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 32206 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
32207 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32208 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32209 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 32210 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32211 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32212 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
32213 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32214 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32215 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32216 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32217 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32218 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32219 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32220 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32221 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32222 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
32223 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32236 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32237 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32238 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32239 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 32240 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
1bd55598 32241 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
32242 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 32244 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 32245 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 32246 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
32247 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32248 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32249 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32250 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 32251 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32252 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32253 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32254 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
32255 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32260 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32261 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32262 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 32263 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 32264 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 32265 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32266 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 32267 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32268 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32269 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51 32270 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
32271 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32273 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32274 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32275 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32276 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32277 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32278 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32279 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32280 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32282 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32283 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32284 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 32285 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32286 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 32287 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32288 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 32289 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32290 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
32291 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
1bd55598 32293 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 32294 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 32295 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32296 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32297 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32298 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32299 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 32300 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32301 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 32302 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 32303 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32304 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 32306 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 32307 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32308 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32309 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32310 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32311 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 32312 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32313 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32314 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32315 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 32316 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32317 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32318 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32319 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32320 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32321 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32322 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 32323 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32324 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 32325 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 32326 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 32327 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32328 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 32329 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32330 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32331 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
32332 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32334 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32335 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
32336 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32337 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32338 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32339 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32340 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 32341 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32342 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32343 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32344 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 32345 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
36ed4f51
RD
32346 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32347 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32348 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 32349 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 32350 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32351 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32352 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32353 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 32354 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32355 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32356 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32358 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32359 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32360 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32361 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 32362 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32363 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32364 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32367 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 32368 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32369 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32370 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 32371 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32372};
32373
32374
32375/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32376
32377static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32378 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32379}
32380static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32381 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32382}
32383static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32384 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32385}
32386static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32387 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32388}
32389static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32390 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32391}
32392static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32393 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32394}
32395static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32396 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32397}
32398static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32399 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32400}
32401static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32402 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32403}
32404static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32406}
32407static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32408 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32409}
d55e5bfc
RD
32410static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32412}
34e0a3bb
RD
32413static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32414 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32415}
2131d850
RD
32416static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32417 return (void *)((wxEvent *) ((wxPyEvent *) x));
32418}
d55e5bfc
RD
32419static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32420 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32421}
32422static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32423 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32424}
32425static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32426 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32427}
32428static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32429 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32430}
32431static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32432 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32433}
32434static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32435 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32436}
32437static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32438 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32439}
32440static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32441 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32442}
32443static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32444 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32445}
53aa7709
RD
32446static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32447 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32448}
d55e5bfc
RD
32449static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32450 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32451}
32452static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32453 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32454}
34e0a3bb
RD
32455static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32457}
d55e5bfc
RD
32458static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32460}
32461static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32462 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32463}
32464static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32465 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32466}
32467static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32468 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32469}
32470static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32471 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32472}
32473static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32474 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32475}
32476static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32477 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32478}
32479static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32481}
32482static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32483 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32484}
32485static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32486 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32487}
32488static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32489 return (void *)((wxEvent *) ((wxShowEvent *) x));
32490}
32491static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32492 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32493}
32494static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32496}
32497static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32498 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32499}
32500static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32501 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32502}
32503static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32504 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32505}
32506static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32507 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32508}
32509static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32510 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32511}
f9bf356b
RD
32512static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32513 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32514}
32515static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32516 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32517}
d55e5bfc
RD
32518static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32519 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32520}
070c48b4
RD
32521static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32522 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32523}
d55e5bfc
RD
32524static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32525 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32526}
32527static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32529}
4976f996
RD
32530static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
32531 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
32532}
d55e5bfc
RD
32533static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32535}
32536static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32537 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32538}
32539static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32540 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32541}
32542static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32543 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32544}
32545static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32546 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32547}
d55e5bfc
RD
32548static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32550}
32551static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32553}
32554static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32556}
4976f996
RD
32557static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32559}
f9bf356b
RD
32560static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32562}
27e45892
RD
32563static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32565}
d55e5bfc
RD
32566static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32568}
32569static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32571}
32572static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32573 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32574}
32575static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32577}
32578static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32580}
32581static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32582 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32583}
32584static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32586}
32587static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32588 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32589}
32590static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32591 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32592}
32593static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32594 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32595}
32596static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32597 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32598}
32599static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32601}
32602static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32603 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32604}
32605static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32606 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32607}
32608static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32609 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32610}
32611static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32612 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32613}
32614static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32615 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32616}
32617static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32618 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32619}
32620static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32621 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32622}
32623static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32624 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32625}
32626static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32627 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32628}
32629static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32631}
32632static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32633 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32634}
32635static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32636 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32637}
32638static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32639 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32640}
32641static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32642 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32643}
f9bf356b
RD
32644static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32645 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32646}
d55e5bfc
RD
32647static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32648 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32649}
32650static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32651 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32652}
32653static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32654 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32655}
32656static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32657 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32658}
5e483524
RD
32659static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32660 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32661}
32662static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32663 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32664}
d55e5bfc
RD
32665static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32666 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32667}
32668static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32669 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32670}
32671static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32672 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32673}
070c48b4
RD
32674static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32675 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32676}
d55e5bfc
RD
32677static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32678 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32679}
f9bf356b
RD
32680static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32681 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32682}
d55e5bfc
RD
32683static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32684 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32685}
f9bf356b
RD
32686static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32687 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32688}
d55e5bfc
RD
32689static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32690 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32691}
32692static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32693 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32694}
32695static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
32696 return (void *)((wxFrame *) ((wxTipWindow *) x));
32697}
32698static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32699 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32700}
32701static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32702 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32703}
32704static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32705 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32706}
32707static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32708 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32709}
32710static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32711 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32712}
32713static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32715}
32716static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32718}
4976f996
RD
32719static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
32721}
d55e5bfc
RD
32722static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32724}
32725static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32727}
d55e5bfc
RD
32728static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) ((wxSizerItem *) x));
32730}
34e0a3bb
RD
32731static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32733}
d55e5bfc
RD
32734static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32736}
32737static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32739}
32740static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32742}
32743static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32745}
32746static void *_p_wxSizerTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) ((wxSizer *) x));
32748}
32749static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32751}
32752static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32754}
32755static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32757}
32758static void *_p_wxEventTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) ((wxEvent *) x));
32760}
32761static void *_p_wxFontDataTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) ((wxFontData *) x));
32763}
32764static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) ((wxPrintData *) x));
32766}
d55e5bfc
RD
32767static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32769}
4976f996
RD
32770static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32772}
d55e5bfc
RD
32773static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32775}
32776static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32778}
5e483524
RD
32779static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32781}
32782static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32784}
2131d850
RD
32785static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32787}
d55e5bfc
RD
32788static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32790}
32791static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32793}
32794static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32796}
32797static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32799}
32800static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32802}
32803static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32805}
32806static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32808}
32809static void *_p_wxControlTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32811}
32812static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32814}
32815static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32817}
32818static void *_p_wxFSFileTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) ((wxFSFile *) x));
32820}
32821static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32823}
32824static void *_p_wxPySizerTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32826}
32827static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32829}
32830static void *_p_wxColourDataTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) ((wxColourData *) x));
32832}
32833static void *_p_wxPyEventTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32835}
32836static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32838}
32839static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32841}
32842static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32844}
32845static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32847}
32848static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32850}
32851static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32853}
32854static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32856}
070c48b4
RD
32857static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32859}
27e45892
RD
32860static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32862}
d55e5bfc
RD
32863static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32865}
32866static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32868}
32869static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32871}
32872static void *_p_wxShowEventTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32874}
32875static void *_p_wxPrinterTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) ((wxPrinter *) x));
32877}
32878static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) ((wxMenuItem *) x));
32880}
53aa7709
RD
32881static void *_p_wxDateEventTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32883}
d55e5bfc
RD
32884static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32886}
32887static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32889}
32890static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32892}
32893static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32895}
32896static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32898}
32899static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32900 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32901}
32902static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32903 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32904}
32905static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32907}
d55e5bfc
RD
32908static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32910}
32911static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32913}
32914static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32916}
32917static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32919}
32920static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32922}
32923static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32925}
32926static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32928}
32929static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32931}
32932static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32934}
943e8dfd
RD
32935static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32937}
d55e5bfc
RD
32938static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) ((wxImageHandler *) x));
32940}
943e8dfd
RD
32941static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32943}
d55e5bfc
RD
32944static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32946}
580080c5
RD
32947static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32949}
d55e5bfc
RD
32950static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) ((wxEvtHandler *) x));
32952}
34e0a3bb
RD
32953static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32955}
d55e5bfc
RD
32956static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32958}
32959static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32961}
32962static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32964}
f9bf356b
RD
32965static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32967}
d55e5bfc
RD
32968static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32970}
580080c5
RD
32971static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32973}
d55e5bfc
RD
32974static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32976}
32977static void *_p_wxImageTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) ((wxImage *) x));
32979}
32980static void *_p_wxFrameTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32982}
32983static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) ((wxPyPrintout *) x));
32985}
32986static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32988}
32989static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32991}
32992static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32994}
32995static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32997}
32998static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33000}
33001static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33003}
33004static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33006}
33007static void *_p_wxWindowTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33009}
33010static void *_p_wxMenuTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33012}
33013static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33015}
33016static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33018}
33019static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33021}
33022static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33024}
33025static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33027}
33028static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33030}
33031static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33033}
33034static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33036}
33037static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33039}
33040static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33042}
33043static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33045}
33046static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33048}
33049static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33051}
33052static void *_p_wxSashEventTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33054}
33055static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) ((wxPrintPreview *) x));
33057}
33058static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33060}
33061static void *_p_wxPanelTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33063}
33064static void *_p_wxDialogTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33066}
33067static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33069}
33070static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33072}
33073static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33075}
33076static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 33077 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
33078}
33079static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 33080 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
33081}
33082static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) ((wxFileSystem *) x));
33084}
33085static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33087}
33088static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33090}
33091static void *_p_wxPyAppTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33093}
33094static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33096}
33097static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33099}
33100static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33102}
33103static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33105}
33106static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33108}
33109static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33111}
33112static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33114}
33115static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33117}
33118static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33120}
33121static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33123}
33124static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33126}
33127static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33129}
33130static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33132}
33133static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33135}
33136static void *_p_wxValidatorTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33138}
33139static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33140 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33141}
33142static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33143 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33144}
f9bf356b
RD
33145static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33146 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33147}
d55e5bfc
RD
33148static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33149 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33150}
33151static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33152 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33153}
33154static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33155 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33156}
33157static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33158 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33159}
33160static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33161 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33162}
33163static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33164 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33165}
33166static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33167 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33168}
33169static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33170 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33171}
d55e5bfc
RD
33172static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33173 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33174}
33175static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
33176 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
33177}
33178static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33179 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33180}
33181static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33182 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33183}
27e45892
RD
33184static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33185 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 33186}
070c48b4
RD
33187static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33188 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33189}
d55e5bfc
RD
33190static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33191 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33192}
33193static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33194 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33195}
33196static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33197 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33198}
33199static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33200 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33201}
27e45892
RD
33202static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33203 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33204}
070c48b4
RD
33205static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33206 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33207}
d55e5bfc
RD
33208static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33209 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33210}
33211static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33212 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33213}
33214static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33215 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33216}
33217static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33218 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33219}
33220static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33221 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33222}
33223static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33224 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33225}
33226static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33227 return (void *)((wxWindow *) ((wxMenuBar *) x));
33228}
33229static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33231}
33232static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33234}
33235static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33237}
27e45892
RD
33238static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33240}
070c48b4
RD
33241static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33243}
d55e5bfc
RD
33244static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33246}
33247static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33248 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33249}
33250static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33252}
33253static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33254 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33255}
33256static void *_p_wxPanelTo_p_wxWindow(void *x) {
33257 return (void *)((wxWindow *) ((wxPanel *) x));
33258}
33259static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33260 return (void *)((wxWindow *) ((wxStatusBar *) x));
33261}
d55e5bfc
RD
33262static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33263 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33264}
33265static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33266 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33267}
33268static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33269 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33270}
33271static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33272 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33273}
33274static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33275 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33276}
33277static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33278 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33279}
33280static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33281 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33282}
33283static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33284 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33285}
33286static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33287 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33288}
33289static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33290 return (void *)((wxWindow *) ((wxSashWindow *) x));
33291}
070c48b4
RD
33292static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33293 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33294}
d55e5bfc
RD
33295static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33296 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33297}
33298static void *_p_wxControlTo_p_wxWindow(void *x) {
33299 return (void *)((wxWindow *) ((wxControl *) x));
33300}
33301static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33302 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33303}
33304static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33305 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33306}
33307static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33308 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33309}
33310static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33311 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33312}
33313static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33314 return (void *)((wxWindow *) ((wxPyWindow *) x));
33315}
33316static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33317 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33318}
f9bf356b
RD
33319static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33320 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33321}
d55e5bfc
RD
33322static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33323 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33324}
33325static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33326 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33327}
33328static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33329 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33330}
33331static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33332 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33333}
33334static void *_p_wxFrameTo_p_wxWindow(void *x) {
33335 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33336}
33337static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33339}
33340static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33342}
33343static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33345}
33346static void *_p_wxDialogTo_p_wxWindow(void *x) {
33347 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33348}
d55e5bfc
RD
33349static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33350 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33351}
33352static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33353 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33354}
33355static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33356 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33357}
33358static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33359 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33360}
33361static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33362 return (void *)((wxDialog *) ((wxColourDialog *) x));
33363}
33364static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33365 return (void *)((wxDialog *) ((wxDirDialog *) x));
33366}
33367static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33368 return (void *)((wxDialog *) ((wxFontDialog *) x));
33369}
d55e5bfc
RD
33370static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33371 return (void *)((wxDialog *) ((wxFileDialog *) x));
33372}
33373static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33374 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33375}
33376static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33377 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33378}
33379static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33380 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33381}
070c48b4
RD
33382static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33383 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33384}
27e45892
RD
33385static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33386 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33387}
d55e5bfc
RD
33388static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33389 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33390}
33391static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33392 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33393}
33394static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33395 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33396}
33397static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33398 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33399}
33400static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33401 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33402}
33403static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33404 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33405}
33406static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33407 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33408}
f9bf356b
RD
33409static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33410 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33411}
d55e5bfc
RD
33412static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33413 return (void *)((wxPanel *) ((wxPyPanel *) x));
33414}
33415static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33416 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33417}
33418static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33419 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33420}
33421static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33422 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33423}
33424static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33425 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33426}
33427static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33428 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33429}
33430static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33431 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33432}
53aa7709
RD
33433static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33434 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33435}
d55e5bfc
RD
33436static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33437 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33438}
2131d850
RD
33439static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33440 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33441}
d55e5bfc
RD
33442static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33443 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33444}
33445static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33446 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33447}
33448static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33449 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33450}
33451static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33452 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33453}
33454static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33455 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33456}
33457static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33458 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33459}
33460static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33461 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33462}
33463static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33464 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33465}
f9bf356b
RD
33466static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33467 return (void *)((wxValidator *) ((wxPyValidator *) x));
33468}
2131d850 33469static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
33470static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33471static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
33472static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33473static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33474static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33475static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33476static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
f9bf356b 33477static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
1bd55598
RD
33478static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33479static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33480static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33481static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33482static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33483static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
33484static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33485static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 33486static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
33487static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33488static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33489static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33490static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33491static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33492static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33493static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33494static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33495static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33496static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33497static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33498static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33499static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33500static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33501static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33502static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33503static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33504static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 33505static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33506static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33507static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33508static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33509static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33510static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33511static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33512static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33513static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33514static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33515static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33516static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33517static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33518static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33519static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33520static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33521static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33522static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33523static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33524static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
4976f996 33525static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
1bd55598
RD
33526static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33527static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33528static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33529static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33530static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33531static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33532static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33533static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33534static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33535static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33536static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33537static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33538static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 33539static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
33540static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33541static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
f9bf356b 33542static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
1bd55598
RD
33543static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33544static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33545static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33546static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33547static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33548static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33549static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33550static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33551static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33552static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33553static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
33554static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33555static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 33556static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 33557static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
33558static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33559static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33560static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33561static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33562static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
1bd55598 33563static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
4976f996 33564static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
1bd55598
RD
33565static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33566static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33567static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
33568static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33569static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33570static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33571static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33572static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33573static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33574static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33575static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
4976f996 33576static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
27e45892 33577static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33578static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33579static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33580static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 33581static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33582static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33583static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33584static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33585static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33586static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33587static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33588static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33589static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33590static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33591static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33592static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33593static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33594static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33595static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33596static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33597static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33598static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33599static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33600static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33601static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33602static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33603static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33604static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33605static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33606static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33607static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33608static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33609static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33610static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33611static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33612static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33613static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33614static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33615static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33616static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33617static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33618static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33619static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
f9bf356b 33620static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
1bd55598
RD
33621static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33622static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33623static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33624static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33625static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33626static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33627static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33628static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33629static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33630static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33631static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33632static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33633static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33634static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33635static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
f9bf356b 33636static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
1bd55598
RD
33637static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33638static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
33639
33640static swig_type_info *swig_type_initial[] = {
2131d850 33641 &_swigt__p_bool,
32fe5131
RD
33642 &_swigt__p_char,
33643 &_swigt__p_form_ops_t,
33644 &_swigt__p_int,
33645 &_swigt__p_unsigned_char,
33646 &_swigt__p_unsigned_int,
33647 &_swigt__p_unsigned_long,
33648 &_swigt__p_wxANIHandler,
33649 &_swigt__p_wxAcceleratorTable,
33650 &_swigt__p_wxActivateEvent,
33651 &_swigt__p_wxArrayInt,
f9bf356b 33652 &_swigt__p_wxArrayString,
32fe5131
RD
33653 &_swigt__p_wxBMPHandler,
33654 &_swigt__p_wxBitmap,
33655 &_swigt__p_wxBoxSizer,
33656 &_swigt__p_wxCURHandler,
33657 &_swigt__p_wxCalculateLayoutEvent,
33658 &_swigt__p_wxChildFocusEvent,
2131d850 33659 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
33660 &_swigt__p_wxCloseEvent,
33661 &_swigt__p_wxColour,
33662 &_swigt__p_wxColourData,
33663 &_swigt__p_wxColourDialog,
33664 &_swigt__p_wxCommandEvent,
33665 &_swigt__p_wxContextMenuEvent,
33666 &_swigt__p_wxControl,
33667 &_swigt__p_wxControlWithItems,
33668 &_swigt__p_wxDC,
33669 &_swigt__p_wxDateEvent,
33670 &_swigt__p_wxDialog,
33671 &_swigt__p_wxDirDialog,
33672 &_swigt__p_wxDisplayChangedEvent,
33673 &_swigt__p_wxDropFilesEvent,
33674 &_swigt__p_wxDuplexMode,
33675 &_swigt__p_wxEraseEvent,
33676 &_swigt__p_wxEvent,
4976f996 33677 &_swigt__p_wxEventBlocker,
32fe5131
RD
33678 &_swigt__p_wxEvtHandler,
33679 &_swigt__p_wxFSFile,
33680 &_swigt__p_wxFileDialog,
33681 &_swigt__p_wxFileSystem,
33682 &_swigt__p_wxFindDialogEvent,
33683 &_swigt__p_wxFindReplaceData,
33684 &_swigt__p_wxFindReplaceDialog,
33685 &_swigt__p_wxFlexGridSizer,
33686 &_swigt__p_wxFocusEvent,
33687 &_swigt__p_wxFont,
33688 &_swigt__p_wxFontData,
33689 &_swigt__p_wxFontDialog,
33690 &_swigt__p_wxFrame,
33691 &_swigt__p_wxGBSizerItem,
33692 &_swigt__p_wxGIFHandler,
33693 &_swigt__p_wxGridBagSizer,
33694 &_swigt__p_wxGridSizer,
e9d6f3a4 33695 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
33696 &_swigt__p_wxICOHandler,
33697 &_swigt__p_wxIcon,
33698 &_swigt__p_wxIconBundle,
33699 &_swigt__p_wxIconizeEvent,
33700 &_swigt__p_wxIdleEvent,
33701 &_swigt__p_wxImage,
33702 &_swigt__p_wxImageHandler,
33703 &_swigt__p_wxIndividualLayoutConstraint,
33704 &_swigt__p_wxInitDialogEvent,
f9bf356b 33705 &_swigt__p_wxItemContainer,
32fe5131
RD
33706 &_swigt__p_wxJPEGHandler,
33707 &_swigt__p_wxKeyEvent,
33708 &_swigt__p_wxLayoutAlgorithm,
33709 &_swigt__p_wxLayoutConstraints,
33710 &_swigt__p_wxMDIChildFrame,
33711 &_swigt__p_wxMDIClientWindow,
33712 &_swigt__p_wxMDIParentFrame,
33713 &_swigt__p_wxMaximizeEvent,
33714 &_swigt__p_wxMenu,
33715 &_swigt__p_wxMenuBar,
33716 &_swigt__p_wxMenuEvent,
33717 &_swigt__p_wxMenuItem,
33718 &_swigt__p_wxMessageDialog,
33719 &_swigt__p_wxMiniFrame,
33720 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 33721 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
33722 &_swigt__p_wxMouseEvent,
33723 &_swigt__p_wxMoveEvent,
33724 &_swigt__p_wxMultiChoiceDialog,
33725 &_swigt__p_wxNavigationKeyEvent,
33726 &_swigt__p_wxNcPaintEvent,
33727 &_swigt__p_wxNotifyEvent,
27e45892 33728 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
33729 &_swigt__p_wxObject,
33730 &_swigt__p_wxPCXHandler,
33731 &_swigt__p_wxPNGHandler,
33732 &_swigt__p_wxPNMHandler,
33733 &_swigt__p_wxPageSetupDialog,
33734 &_swigt__p_wxPageSetupDialogData,
33735 &_swigt__p_wxPaintEvent,
33736 &_swigt__p_wxPaletteChangedEvent,
33737 &_swigt__p_wxPanel,
33738 &_swigt__p_wxPaperSize,
33739 &_swigt__p_wxPasswordEntryDialog,
33740 &_swigt__p_wxPoint,
33741 &_swigt__p_wxPopupWindow,
33742 &_swigt__p_wxPreviewCanvas,
33743 &_swigt__p_wxPreviewControlBar,
33744 &_swigt__p_wxPreviewFrame,
33745 &_swigt__p_wxPrintData,
33746 &_swigt__p_wxPrintDialog,
33747 &_swigt__p_wxPrintDialogData,
33748 &_swigt__p_wxPrintPreview,
33749 &_swigt__p_wxPrinter,
33750 &_swigt__p_wxProgressDialog,
33751 &_swigt__p_wxPyApp,
33752 &_swigt__p_wxPyCommandEvent,
33753 &_swigt__p_wxPyEvent,
33754 &_swigt__p_wxPyHtmlListBox,
33755 &_swigt__p_wxPyImageHandler,
33756 &_swigt__p_wxPyPanel,
33757 &_swigt__p_wxPyPopupTransientWindow,
33758 &_swigt__p_wxPyPreviewControlBar,
33759 &_swigt__p_wxPyPreviewFrame,
33760 &_swigt__p_wxPyPrintPreview,
33761 &_swigt__p_wxPyPrintout,
33762 &_swigt__p_wxPyScrolledWindow,
33763 &_swigt__p_wxPySizer,
33764 &_swigt__p_wxPyTaskBarIcon,
33765 &_swigt__p_wxPyVListBox,
33766 &_swigt__p_wxPyVScrolledWindow,
33767 &_swigt__p_wxPyValidator,
33768 &_swigt__p_wxPyWindow,
33769 &_swigt__p_wxQueryLayoutInfoEvent,
33770 &_swigt__p_wxQueryNewPaletteEvent,
33771 &_swigt__p_wxRect,
33772 &_swigt__p_wxRegion,
33773 &_swigt__p_wxSashEvent,
33774 &_swigt__p_wxSashLayoutWindow,
33775 &_swigt__p_wxSashWindow,
33776 &_swigt__p_wxScrollEvent,
33777 &_swigt__p_wxScrollWinEvent,
33778 &_swigt__p_wxScrolledWindow,
33779 &_swigt__p_wxSetCursorEvent,
33780 &_swigt__p_wxShowEvent,
f9bf356b 33781 &_swigt__p_wxSimpleHtmlListBox,
32fe5131
RD
33782 &_swigt__p_wxSingleChoiceDialog,
33783 &_swigt__p_wxSize,
33784 &_swigt__p_wxSizeEvent,
33785 &_swigt__p_wxSizer,
33786 &_swigt__p_wxSizerItem,
33787 &_swigt__p_wxSplashScreen,
33788 &_swigt__p_wxSplashScreenWindow,
33789 &_swigt__p_wxSplitterEvent,
33790 &_swigt__p_wxSplitterWindow,
33791 &_swigt__p_wxStaticBoxSizer,
33792 &_swigt__p_wxStatusBar,
33793 &_swigt__p_wxStdDialogButtonSizer,
33794 &_swigt__p_wxString,
33795 &_swigt__p_wxSysColourChangedEvent,
580080c5 33796 &_swigt__p_wxTGAHandler,
32fe5131
RD
33797 &_swigt__p_wxTIFFHandler,
33798 &_swigt__p_wxTaskBarIcon,
33799 &_swigt__p_wxTaskBarIconEvent,
33800 &_swigt__p_wxTextEntryDialog,
33801 &_swigt__p_wxTipWindow,
33802 &_swigt__p_wxToolBar,
33803 &_swigt__p_wxTopLevelWindow,
33804 &_swigt__p_wxUpdateUIEvent,
33805 &_swigt__p_wxValidator,
33806 &_swigt__p_wxVisualAttributes,
33807 &_swigt__p_wxWindow,
33808 &_swigt__p_wxWindowCreateEvent,
33809 &_swigt__p_wxWindowDestroyEvent,
33810 &_swigt__p_wxXPMHandler,
32fe5131
RD
33811};
33812
2131d850 33813static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33814static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33815static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33816static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33817static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33818static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33819static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33820static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33821static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33822static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33823static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33824static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33825static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33826static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33827static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33828static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33829static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33830static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33831static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33832static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33833static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33834static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33835static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33836static 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 33837static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33838static 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
33839static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33840static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33841static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33842static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33843static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33844static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33845static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33846static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33847static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33848static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33849static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33850static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33851static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33852static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33853static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33854static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33855static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33856static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33857static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33858static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33859static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33860static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33861static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33862static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33863static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33864static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33865static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33866static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33867static 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 33868static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33869static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33870static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33871static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33872static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
4976f996 33873static 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_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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
33874static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33875static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33876static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33877static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33878static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33879static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33880static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33881static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33882static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 33883static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33884static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33885static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33886static 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
33887static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33888static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33889static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33890static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33891static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33892static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33893static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33894static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33895static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33896static 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 33897static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33898static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33899static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33900static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33901static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33902static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33903static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33904static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33905static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33906static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
4976f996 33907static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33908static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33909static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33910static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33911static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33912static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33913static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33914static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33915static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33916static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33917static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33918static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
4976f996 33919static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33920static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33921static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33922static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33923static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 33924static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33925static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33926static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
4976f996 33927static 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_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33928static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33929static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33930static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33931static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33932static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33933static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33934static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33935static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33936static 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}};
33937static 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}};
33938static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33939static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33940static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33941static 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}};
33942static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33943static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33944static 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
33945static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33946static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33947static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33948static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33949static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33950static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33951static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33952static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b
RD
33953static 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}};
33954static 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
33955static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33956static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33957static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33958static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33959static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33960static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33961static 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}};
33962static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33963static 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 33964static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33965static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33966static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33967static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33968static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33969static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33970static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33971static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33972static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33973static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33974static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33975static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33976static 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}};
33977static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33978static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33979static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
f9bf356b 33980static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
32fe5131 33981static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33982static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33983
33984static swig_cast_info *swig_cast_initial[] = {
2131d850 33985 _swigc__p_bool,
32fe5131
RD
33986 _swigc__p_char,
33987 _swigc__p_form_ops_t,
33988 _swigc__p_int,
33989 _swigc__p_unsigned_char,
33990 _swigc__p_unsigned_int,
33991 _swigc__p_unsigned_long,
33992 _swigc__p_wxANIHandler,
33993 _swigc__p_wxAcceleratorTable,
33994 _swigc__p_wxActivateEvent,
33995 _swigc__p_wxArrayInt,
f9bf356b 33996 _swigc__p_wxArrayString,
32fe5131
RD
33997 _swigc__p_wxBMPHandler,
33998 _swigc__p_wxBitmap,
33999 _swigc__p_wxBoxSizer,
34000 _swigc__p_wxCURHandler,
34001 _swigc__p_wxCalculateLayoutEvent,
34002 _swigc__p_wxChildFocusEvent,
2131d850 34003 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
34004 _swigc__p_wxCloseEvent,
34005 _swigc__p_wxColour,
34006 _swigc__p_wxColourData,
34007 _swigc__p_wxColourDialog,
34008 _swigc__p_wxCommandEvent,
34009 _swigc__p_wxContextMenuEvent,
34010 _swigc__p_wxControl,
34011 _swigc__p_wxControlWithItems,
34012 _swigc__p_wxDC,
34013 _swigc__p_wxDateEvent,
34014 _swigc__p_wxDialog,
34015 _swigc__p_wxDirDialog,
34016 _swigc__p_wxDisplayChangedEvent,
34017 _swigc__p_wxDropFilesEvent,
34018 _swigc__p_wxDuplexMode,
34019 _swigc__p_wxEraseEvent,
34020 _swigc__p_wxEvent,
4976f996 34021 _swigc__p_wxEventBlocker,
32fe5131
RD
34022 _swigc__p_wxEvtHandler,
34023 _swigc__p_wxFSFile,
34024 _swigc__p_wxFileDialog,
34025 _swigc__p_wxFileSystem,
34026 _swigc__p_wxFindDialogEvent,
34027 _swigc__p_wxFindReplaceData,
34028 _swigc__p_wxFindReplaceDialog,
34029 _swigc__p_wxFlexGridSizer,
34030 _swigc__p_wxFocusEvent,
34031 _swigc__p_wxFont,
34032 _swigc__p_wxFontData,
34033 _swigc__p_wxFontDialog,
34034 _swigc__p_wxFrame,
34035 _swigc__p_wxGBSizerItem,
34036 _swigc__p_wxGIFHandler,
34037 _swigc__p_wxGridBagSizer,
34038 _swigc__p_wxGridSizer,
e9d6f3a4 34039 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
34040 _swigc__p_wxICOHandler,
34041 _swigc__p_wxIcon,
34042 _swigc__p_wxIconBundle,
34043 _swigc__p_wxIconizeEvent,
34044 _swigc__p_wxIdleEvent,
34045 _swigc__p_wxImage,
34046 _swigc__p_wxImageHandler,
34047 _swigc__p_wxIndividualLayoutConstraint,
34048 _swigc__p_wxInitDialogEvent,
f9bf356b 34049 _swigc__p_wxItemContainer,
32fe5131
RD
34050 _swigc__p_wxJPEGHandler,
34051 _swigc__p_wxKeyEvent,
34052 _swigc__p_wxLayoutAlgorithm,
34053 _swigc__p_wxLayoutConstraints,
34054 _swigc__p_wxMDIChildFrame,
34055 _swigc__p_wxMDIClientWindow,
34056 _swigc__p_wxMDIParentFrame,
34057 _swigc__p_wxMaximizeEvent,
34058 _swigc__p_wxMenu,
34059 _swigc__p_wxMenuBar,
34060 _swigc__p_wxMenuEvent,
34061 _swigc__p_wxMenuItem,
34062 _swigc__p_wxMessageDialog,
34063 _swigc__p_wxMiniFrame,
34064 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 34065 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
34066 _swigc__p_wxMouseEvent,
34067 _swigc__p_wxMoveEvent,
34068 _swigc__p_wxMultiChoiceDialog,
34069 _swigc__p_wxNavigationKeyEvent,
34070 _swigc__p_wxNcPaintEvent,
34071 _swigc__p_wxNotifyEvent,
27e45892 34072 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
34073 _swigc__p_wxObject,
34074 _swigc__p_wxPCXHandler,
34075 _swigc__p_wxPNGHandler,
34076 _swigc__p_wxPNMHandler,
34077 _swigc__p_wxPageSetupDialog,
34078 _swigc__p_wxPageSetupDialogData,
34079 _swigc__p_wxPaintEvent,
34080 _swigc__p_wxPaletteChangedEvent,
34081 _swigc__p_wxPanel,
34082 _swigc__p_wxPaperSize,
34083 _swigc__p_wxPasswordEntryDialog,
34084 _swigc__p_wxPoint,
34085 _swigc__p_wxPopupWindow,
34086 _swigc__p_wxPreviewCanvas,
34087 _swigc__p_wxPreviewControlBar,
34088 _swigc__p_wxPreviewFrame,
34089 _swigc__p_wxPrintData,
34090 _swigc__p_wxPrintDialog,
34091 _swigc__p_wxPrintDialogData,
34092 _swigc__p_wxPrintPreview,
34093 _swigc__p_wxPrinter,
34094 _swigc__p_wxProgressDialog,
34095 _swigc__p_wxPyApp,
34096 _swigc__p_wxPyCommandEvent,
34097 _swigc__p_wxPyEvent,
34098 _swigc__p_wxPyHtmlListBox,
34099 _swigc__p_wxPyImageHandler,
34100 _swigc__p_wxPyPanel,
34101 _swigc__p_wxPyPopupTransientWindow,
34102 _swigc__p_wxPyPreviewControlBar,
34103 _swigc__p_wxPyPreviewFrame,
34104 _swigc__p_wxPyPrintPreview,
34105 _swigc__p_wxPyPrintout,
34106 _swigc__p_wxPyScrolledWindow,
34107 _swigc__p_wxPySizer,
34108 _swigc__p_wxPyTaskBarIcon,
34109 _swigc__p_wxPyVListBox,
34110 _swigc__p_wxPyVScrolledWindow,
34111 _swigc__p_wxPyValidator,
34112 _swigc__p_wxPyWindow,
34113 _swigc__p_wxQueryLayoutInfoEvent,
34114 _swigc__p_wxQueryNewPaletteEvent,
34115 _swigc__p_wxRect,
34116 _swigc__p_wxRegion,
34117 _swigc__p_wxSashEvent,
34118 _swigc__p_wxSashLayoutWindow,
34119 _swigc__p_wxSashWindow,
34120 _swigc__p_wxScrollEvent,
34121 _swigc__p_wxScrollWinEvent,
34122 _swigc__p_wxScrolledWindow,
34123 _swigc__p_wxSetCursorEvent,
34124 _swigc__p_wxShowEvent,
f9bf356b 34125 _swigc__p_wxSimpleHtmlListBox,
32fe5131
RD
34126 _swigc__p_wxSingleChoiceDialog,
34127 _swigc__p_wxSize,
1bd55598
RD
34128 _swigc__p_wxSizeEvent,
34129 _swigc__p_wxSizer,
34130 _swigc__p_wxSizerItem,
34131 _swigc__p_wxSplashScreen,
34132 _swigc__p_wxSplashScreenWindow,
34133 _swigc__p_wxSplitterEvent,
34134 _swigc__p_wxSplitterWindow,
34135 _swigc__p_wxStaticBoxSizer,
34136 _swigc__p_wxStatusBar,
34137 _swigc__p_wxStdDialogButtonSizer,
34138 _swigc__p_wxString,
34139 _swigc__p_wxSysColourChangedEvent,
580080c5 34140 _swigc__p_wxTGAHandler,
1bd55598
RD
34141 _swigc__p_wxTIFFHandler,
34142 _swigc__p_wxTaskBarIcon,
34143 _swigc__p_wxTaskBarIconEvent,
34144 _swigc__p_wxTextEntryDialog,
34145 _swigc__p_wxTipWindow,
34146 _swigc__p_wxToolBar,
34147 _swigc__p_wxTopLevelWindow,
34148 _swigc__p_wxUpdateUIEvent,
34149 _swigc__p_wxValidator,
34150 _swigc__p_wxVisualAttributes,
34151 _swigc__p_wxWindow,
34152 _swigc__p_wxWindowCreateEvent,
34153 _swigc__p_wxWindowDestroyEvent,
34154 _swigc__p_wxXPMHandler,
34155};
34156
34157
34158/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34159
34160static swig_const_info swig_const_table[] = {
34161{0, 0, 0, 0.0, 0, 0}};
34162
36ed4f51
RD
34163#ifdef __cplusplus
34164}
34165#endif
1bd55598
RD
34166/* -----------------------------------------------------------------------------
34167 * Type initialization:
34168 * This problem is tough by the requirement that no dynamic
34169 * memory is used. Also, since swig_type_info structures store pointers to
34170 * swig_cast_info structures and swig_cast_info structures store pointers back
34171 * to swig_type_info structures, we need some lookup code at initialization.
34172 * The idea is that swig generates all the structures that are needed.
34173 * The runtime then collects these partially filled structures.
34174 * The SWIG_InitializeModule function takes these initial arrays out of
34175 * swig_module, and does all the lookup, filling in the swig_module.types
34176 * array with the correct data and linking the correct swig_cast_info
34177 * structures together.
34178 *
34179 * The generated swig_type_info structures are assigned staticly to an initial
34180 * array. We just loop though that array, and handle each type individually.
34181 * First we lookup if this type has been already loaded, and if so, use the
34182 * loaded structure instead of the generated one. Then we have to fill in the
34183 * cast linked list. The cast data is initially stored in something like a
34184 * two-dimensional array. Each row corresponds to a type (there are the same
34185 * number of rows as there are in the swig_type_initial array). Each entry in
34186 * a column is one of the swig_cast_info structures for that type.
34187 * The cast_initial array is actually an array of arrays, because each row has
34188 * a variable number of columns. So to actually build the cast linked list,
34189 * we find the array of casts associated with the type, and loop through it
34190 * adding the casts to the list. The one last trick we need to do is making
34191 * sure the type pointer in the swig_cast_info struct is correct.
34192 *
34193 * First off, we lookup the cast->type name to see if it is already loaded.
34194 * There are three cases to handle:
34195 * 1) If the cast->type has already been loaded AND the type we are adding
34196 * casting info to has not been loaded (it is in this module), THEN we
34197 * replace the cast->type pointer with the type pointer that has already
34198 * been loaded.
34199 * 2) If BOTH types (the one we are adding casting info to, and the
34200 * cast->type) are loaded, THEN the cast info has already been loaded by
34201 * the previous module so we just ignore it.
34202 * 3) Finally, if cast->type has not already been loaded, then we add that
34203 * swig_cast_info to the linked list (because the cast->type) pointer will
34204 * be correct.
34205 * ----------------------------------------------------------------------------- */
36ed4f51 34206
d55e5bfc 34207#ifdef __cplusplus
1bd55598
RD
34208extern "C" {
34209#if 0
34210} /* c-mode */
34211#endif
34212#endif
34213
34214#if 0
34215#define SWIGRUNTIME_DEBUG
34216#endif
34217
34218SWIGRUNTIME void
34219SWIG_InitializeModule(void *clientdata) {
34220 size_t i;
34221 swig_module_info *module_head;
34222 static int init_run = 0;
34223
34224 clientdata = clientdata;
34225
34226 if (init_run) return;
34227 init_run = 1;
34228
34229 /* Initialize the swig_module */
34230 swig_module.type_initial = swig_type_initial;
34231 swig_module.cast_initial = swig_cast_initial;
34232
34233 /* Try and load any already created modules */
34234 module_head = SWIG_GetModule(clientdata);
34235 if (module_head) {
34236 swig_module.next = module_head->next;
34237 module_head->next = &swig_module;
34238 } else {
34239 /* This is the first module loaded */
34240 swig_module.next = &swig_module;
34241 SWIG_SetModule(clientdata, &swig_module);
34242 }
34243
34244 /* Now work on filling in swig_module.types */
34245#ifdef SWIGRUNTIME_DEBUG
34246 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34247#endif
34248 for (i = 0; i < swig_module.size; ++i) {
34249 swig_type_info *type = 0;
34250 swig_type_info *ret;
34251 swig_cast_info *cast;
d55e5bfc 34252
1bd55598
RD
34253#ifdef SWIGRUNTIME_DEBUG
34254 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34255#endif
d55e5bfc 34256
1bd55598
RD
34257 /* if there is another module already loaded */
34258 if (swig_module.next != &swig_module) {
34259 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 34260 }
1bd55598
RD
34261 if (type) {
34262 /* Overwrite clientdata field */
34263#ifdef SWIGRUNTIME_DEBUG
34264 printf("SWIG_InitializeModule: found type %s\n", type->name);
34265#endif
34266 if (swig_module.type_initial[i]->clientdata) {
34267 type->clientdata = swig_module.type_initial[i]->clientdata;
34268#ifdef SWIGRUNTIME_DEBUG
34269 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34270#endif
34271 }
34272 } else {
34273 type = swig_module.type_initial[i];
36ed4f51 34274 }
1bd55598
RD
34275
34276 /* Insert casting types */
34277 cast = swig_module.cast_initial[i];
34278 while (cast->type) {
34279 /* Don't need to add information already in the list */
34280 ret = 0;
34281#ifdef SWIGRUNTIME_DEBUG
34282 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34283#endif
34284 if (swig_module.next != &swig_module) {
34285 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34286#ifdef SWIGRUNTIME_DEBUG
34287 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34288#endif
34289 }
34290 if (ret) {
34291 if (type == swig_module.type_initial[i]) {
34292#ifdef SWIGRUNTIME_DEBUG
34293 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34294#endif
34295 cast->type = ret;
34296 ret = 0;
34297 } else {
34298 /* Check for casting already in the list */
34299 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34300#ifdef SWIGRUNTIME_DEBUG
34301 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34302#endif
34303 if (!ocast) ret = 0;
34304 }
34305 }
34306
34307 if (!ret) {
34308#ifdef SWIGRUNTIME_DEBUG
34309 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34310#endif
34311 if (type->cast) {
34312 type->cast->prev = cast;
34313 cast->next = type->cast;
34314 }
34315 type->cast = cast;
34316 }
34317 cast++;
36ed4f51 34318 }
1bd55598
RD
34319 /* Set entry in modules->types array equal to the type */
34320 swig_module.types[i] = type;
34321 }
34322 swig_module.types[i] = 0;
34323
34324#ifdef SWIGRUNTIME_DEBUG
34325 printf("**** SWIG_InitializeModule: Cast List ******\n");
34326 for (i = 0; i < swig_module.size; ++i) {
34327 int j = 0;
34328 swig_cast_info *cast = swig_module.cast_initial[i];
34329 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34330 while (cast->type) {
34331 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34332 cast++;
34333 ++j;
34334 }
34335 printf("---- Total casts: %d\n",j);
34336 }
34337 printf("**** SWIG_InitializeModule: Cast List ******\n");
34338#endif
34339}
34340
34341/* This function will propagate the clientdata field of type to
34342* any new swig_type_info structures that have been added into the list
34343* of equivalent types. It is like calling
34344* SWIG_TypeClientData(type, clientdata) a second time.
34345*/
34346SWIGRUNTIME void
34347SWIG_PropagateClientData(void) {
34348 size_t i;
34349 swig_cast_info *equiv;
34350 static int init_run = 0;
34351
34352 if (init_run) return;
34353 init_run = 1;
34354
34355 for (i = 0; i < swig_module.size; i++) {
34356 if (swig_module.types[i]->clientdata) {
34357 equiv = swig_module.types[i]->cast;
34358 while (equiv) {
34359 if (!equiv->converter) {
34360 if (equiv->type && !equiv->type->clientdata)
34361 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34362 }
34363 equiv = equiv->next;
34364 }
36ed4f51 34365 }
1bd55598
RD
34366 }
34367}
34368
34369#ifdef __cplusplus
34370#if 0
34371{
34372 /* c-mode */
34373#endif
34374}
34375#endif
34376
34377
34378
34379#ifdef __cplusplus
34380extern "C" {
34381#endif
34382
34383 /* Python-specific SWIG API */
34384#define SWIG_newvarlink() SWIG_Python_newvarlink()
34385#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34386#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34387
34388 /* -----------------------------------------------------------------------------
34389 * global variable support code.
34390 * ----------------------------------------------------------------------------- */
34391
34392 typedef struct swig_globalvar {
34393 char *name; /* Name of global variable */
34394 PyObject *(*get_attr)(void); /* Return the current value */
34395 int (*set_attr)(PyObject *); /* Set the value */
34396 struct swig_globalvar *next;
34397 } swig_globalvar;
34398
34399 typedef struct swig_varlinkobject {
34400 PyObject_HEAD
34401 swig_globalvar *vars;
34402 } swig_varlinkobject;
34403
34404 SWIGINTERN PyObject *
34405 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34406 return PyString_FromString("<Swig global variables>");
34407 }
34408
34409 SWIGINTERN PyObject *
34410 swig_varlink_str(swig_varlinkobject *v) {
34411 PyObject *str = PyString_FromString("(");
34412 swig_globalvar *var;
34413 for (var = v->vars; var; var=var->next) {
34414 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34415 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34416 }
34417 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34418 return str;
34419 }
34420
34421 SWIGINTERN int
34422 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34423 PyObject *str = swig_varlink_str(v);
34424 fprintf(fp,"Swig global variables ");
34425 fprintf(fp,"%s\n", PyString_AsString(str));
34426 Py_DECREF(str);
34427 return 0;
34428 }
34429
34430 SWIGINTERN void
34431 swig_varlink_dealloc(swig_varlinkobject *v) {
34432 swig_globalvar *var = v->vars;
34433 while (var) {
34434 swig_globalvar *n = var->next;
34435 free(var->name);
34436 free(var);
34437 var = n;
36ed4f51 34438 }
1bd55598
RD
34439 }
34440
34441 SWIGINTERN PyObject *
34442 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34443 PyObject *res = NULL;
34444 swig_globalvar *var = v->vars;
34445 while (var) {
34446 if (strcmp(var->name,n) == 0) {
34447 res = (*var->get_attr)();
34448 break;
34449 }
34450 var = var->next;
36ed4f51 34451 }
1bd55598
RD
34452 if (res == NULL && !PyErr_Occurred()) {
34453 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34454 }
1bd55598
RD
34455 return res;
34456 }
34457
34458 SWIGINTERN int
34459 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34460 int res = 1;
34461 swig_globalvar *var = v->vars;
34462 while (var) {
34463 if (strcmp(var->name,n) == 0) {
34464 res = (*var->set_attr)(p);
34465 break;
34466 }
34467 var = var->next;
36ed4f51 34468 }
1bd55598
RD
34469 if (res == 1 && !PyErr_Occurred()) {
34470 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34471 }
1bd55598
RD
34472 return res;
34473 }
34474
34475 SWIGINTERN PyTypeObject*
34476 swig_varlink_type(void) {
34477 static char varlink__doc__[] = "Swig var link object";
34478 static PyTypeObject varlink_type;
34479 static int type_init = 0;
34480 if (!type_init) {
34481 const PyTypeObject tmp
34482 = {
34483 PyObject_HEAD_INIT(NULL)
34484 0, /* Number of items in variable part (ob_size) */
34485 (char *)"swigvarlink", /* Type name (tp_name) */
34486 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34487 0, /* Itemsize (tp_itemsize) */
34488 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34489 (printfunc) swig_varlink_print, /* Print (tp_print) */
34490 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34491 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34492 0, /* tp_compare */
34493 (reprfunc) swig_varlink_repr, /* tp_repr */
34494 0, /* tp_as_number */
34495 0, /* tp_as_sequence */
34496 0, /* tp_as_mapping */
34497 0, /* tp_hash */
34498 0, /* tp_call */
34499 (reprfunc)swig_varlink_str, /* tp_str */
34500 0, /* tp_getattro */
34501 0, /* tp_setattro */
34502 0, /* tp_as_buffer */
34503 0, /* tp_flags */
34504 varlink__doc__, /* tp_doc */
34505 0, /* tp_traverse */
34506 0, /* tp_clear */
34507 0, /* tp_richcompare */
34508 0, /* tp_weaklistoffset */
34509#if PY_VERSION_HEX >= 0x02020000
34510 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34511#endif
34512#if PY_VERSION_HEX >= 0x02030000
34513 0, /* tp_del */
34514#endif
34515#ifdef COUNT_ALLOCS
34516 0,0,0,0 /* tp_alloc -> tp_next */
34517#endif
34518 };
34519 varlink_type = tmp;
34520 varlink_type.ob_type = &PyType_Type;
34521 type_init = 1;
36ed4f51 34522 }
1bd55598
RD
34523 return &varlink_type;
34524 }
34525
34526 /* Create a variable linking object for use later */
34527 SWIGINTERN PyObject *
34528 SWIG_Python_newvarlink(void) {
34529 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34530 if (result) {
34531 result->vars = 0;
34532 }
34533 return ((PyObject*) result);
34534 }
34535
34536 SWIGINTERN void
34537 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34538 swig_varlinkobject *v = (swig_varlinkobject *) p;
34539 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34540 if (gv) {
34541 size_t size = strlen(name)+1;
34542 gv->name = (char *)malloc(size);
34543 if (gv->name) {
34544 strncpy(gv->name,name,size);
34545 gv->get_attr = get_attr;
34546 gv->set_attr = set_attr;
34547 gv->next = v->vars;
34548 }
36ed4f51 34549 }
1bd55598
RD
34550 v->vars = gv;
34551 }
34552
34553 SWIGINTERN PyObject *
34554 SWIG_globals() {
34555 static PyObject *_SWIG_globals = 0;
34556 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34557 return _SWIG_globals;
34558 }
34559
34560 /* -----------------------------------------------------------------------------
34561 * constants/methods manipulation
34562 * ----------------------------------------------------------------------------- */
34563
34564 /* Install Constants */
34565 SWIGINTERN void
34566 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34567 PyObject *obj = 0;
34568 size_t i;
34569 for (i = 0; constants[i].type; ++i) {
34570 switch(constants[i].type) {
34571 case SWIG_PY_POINTER:
34572 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34573 break;
34574 case SWIG_PY_BINARY:
34575 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34576 break;
34577 default:
34578 obj = 0;
34579 break;
34580 }
34581 if (obj) {
34582 PyDict_SetItemString(d, constants[i].name, obj);
34583 Py_DECREF(obj);
34584 }
36ed4f51 34585 }
1bd55598
RD
34586 }
34587
34588 /* -----------------------------------------------------------------------------*/
34589 /* Fix SwigMethods to carry the callback ptrs when needed */
34590 /* -----------------------------------------------------------------------------*/
34591
34592 SWIGINTERN void
34593 SWIG_Python_FixMethods(PyMethodDef *methods,
34594 swig_const_info *const_table,
34595 swig_type_info **types,
34596 swig_type_info **types_initial) {
34597 size_t i;
34598 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 34599 const char *c = methods[i].ml_doc;
1bd55598
RD
34600 if (c && (c = strstr(c, "swig_ptr: "))) {
34601 int j;
34602 swig_const_info *ci = 0;
3d6c9062 34603 const char *name = c + 10;
1bd55598
RD
34604 for (j = 0; const_table[j].type; ++j) {
34605 if (strncmp(const_table[j].name, name,
34606 strlen(const_table[j].name)) == 0) {
34607 ci = &(const_table[j]);
34608 break;
34609 }
34610 }
34611 if (ci) {
34612 size_t shift = (ci->ptype) - types;
34613 swig_type_info *ty = types_initial[shift];
34614 size_t ldoc = (c - methods[i].ml_doc);
34615 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34616 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34617 if (ndoc) {
34618 char *buff = ndoc;
34619 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34620 if (ptr) {
34621 strncpy(buff, methods[i].ml_doc, ldoc);
34622 buff += ldoc;
34623 strncpy(buff, "swig_ptr: ", 10);
34624 buff += 10;
34625 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34626 methods[i].ml_doc = ndoc;
34627 }
34628 }
34629 }
34630 }
36ed4f51 34631 }
1bd55598
RD
34632 }
34633
34634#ifdef __cplusplus
34635}
34636#endif
34637
34638/* -----------------------------------------------------------------------------*
34639 * Partial Init method
34640 * -----------------------------------------------------------------------------*/
34641
34642#ifdef __cplusplus
34643extern "C"
34644#endif
34645SWIGEXPORT void SWIG_init(void) {
34646 PyObject *m, *d;
34647
34648 /* Fix SwigMethods to carry the callback ptrs when needed */
34649 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34650
34651 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34652 d = PyModule_GetDict(m);
34653
34654 SWIG_InitializeModule(0);
34655 SWIG_InstallConstants(d,swig_const_table);
34656
34657
34658 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34659 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34660 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34661 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34662 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34663 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34664 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34665 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34666 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34667 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
1bd55598
RD
34668 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34669 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34670 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34671 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34672 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
1bd55598
RD
34673 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34674 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34675 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34676 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34677 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34678 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34679 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34680 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34681 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34682 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34683 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34684 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 34685 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
fc46b7f3
RD
34686 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34687 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
1bd55598
RD
34688 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34689 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34690 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34691 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34692 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34693 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34694 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34695 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34696 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34697 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 34698 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
1bd55598
RD
34699 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34700 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34701 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34702 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34703 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34704 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34705 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34706 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34707 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34708 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34709 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34710 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34711 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34712 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34713 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34714 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34715 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34716 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34717 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34718 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34719 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34720 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34721 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34722 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34723 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34724 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34725 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34726 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34727 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34728 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34729 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34730 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34731 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34732 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34733 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34734 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34735 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34736 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34737 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34738 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34739 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34740 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34741 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34742 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34743 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34744 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34745 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34746 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34747 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34748 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34749 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34750 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34751 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34752 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34753 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34754 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34755 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34756 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34757 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
f9bf356b
RD
34758 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
34759 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
34760 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
1bd55598
RD
34761
34762 // Map renamed classes back to their common name for OOR
34763 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34764 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34765 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34766
34767 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34768 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34769 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34770 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34771 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34772 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34773 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
1ceb4f4d 34774 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
1bd55598
RD
34775 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34776 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34777 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34778 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34779 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34780 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
cbfc9df6
RD
34781 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34782 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
704eda0c
RD
34783 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34784 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
704eda0c
RD
34785 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34786 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34787 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34788 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34789 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34790 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 34791 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 34792 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
34793 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34794 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34795 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
34796 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34797 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34798 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34799 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34800 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34801 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34802 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34803 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
1bd55598
RD
34804 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34805 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34806 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34807 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34808 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34809 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34810 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34811 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34812 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34813 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34814 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34815 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34816 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34817 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34818 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34819 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34820 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34821 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34822 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34823 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34824 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34825 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34826 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34827 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34828 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34829 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34830 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34831 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34832 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34833 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34834 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34835 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34836 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34837 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34838 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34839 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34840 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34841 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34842 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34843 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34844 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34845 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34846 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34847 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34848 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34849 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34850 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34851 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34852 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34853 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34854 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34855 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34856 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34857 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34858 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34859 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34860 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34861 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34862 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34863 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34864 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34865 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34866
34867 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34868
d55e5bfc
RD
34869}
34870