]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Undeprecate wxGetNumberFromUser, add wxNumberEntryDialog
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 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
554f62e9 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);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d55e5bfc 47
7449af73
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
554f62e9
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__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
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
554f62e9
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
7449af73
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
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
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
554f62e9
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
7449af73 126
d55e5bfc 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d55e5bfc 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d55e5bfc 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
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
7449af73 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
554f62e9
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
7449af73
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
7449af73 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
7449af73
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 */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
7449af73
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
554f62e9 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
7449af73
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
7449af73 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
554f62e9 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
7449af73
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
7449af73
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
7449af73
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
7449af73
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
7449af73 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
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
554f62e9
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
554f62e9
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
554f62e9
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
554f62e9
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d55e5bfc 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
554f62e9
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
554f62e9
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
554f62e9
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
554f62e9 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
093d3ff1 986/* Common SWIG API */
d55e5bfc 987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
554f62e9
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
554f62e9
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
554f62e9
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
554f62e9
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
554f62e9
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)
7449af73 1016
d55e5bfc 1017
554f62e9 1018/* Runtime API */
d55e5bfc 1019
554f62e9
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)
7449af73 1023
554f62e9
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
7449af73 1029
d55e5bfc 1030
554f62e9 1031/* Runtime API implementation */
d55e5bfc 1032
554f62e9 1033/* Error manipulation */
d55e5bfc 1034
554f62e9
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c32bde28 1041}
d55e5bfc 1042
554f62e9
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
554f62e9 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1051
554f62e9 1052/* Set a constant value */
d55e5bfc 1053
554f62e9
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c32bde28 1058}
d55e5bfc 1059
554f62e9 1060/* Append a value to the result obj */
d55e5bfc 1061
554f62e9
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
093d3ff1 1088 } else {
554f62e9
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
554f62e9
RD
1101 return result;
1102#endif
c32bde28
RD
1103}
1104
554f62e9 1105/* Unpack the argument tuple */
d55e5bfc 1106
554f62e9
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
554f62e9 1616 static PyTypeObject pyswigobject_type;
7449af73 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
554f62e9
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
554f62e9
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
554f62e9 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
554f62e9 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
554f62e9 1679 };
7449af73 1680 pyswigobject_type = tmp;
554f62e9 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
7449af73 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
554f62e9 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1689{
554f62e9
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;
7449af73 1696 }
554f62e9 1697 return (PyObject *)sobj;
093d3ff1 1698}
d55e5bfc 1699
093d3ff1
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
093d3ff1
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
554f62e9 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
c32bde28 1710
093d3ff1 1711SWIGRUNTIME int
554f62e9 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
093d3ff1
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
554f62e9 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
9d7dfdff 1724
093d3ff1
RD
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))) {
554f62e9 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
554f62e9 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1733 }
d55e5bfc
RD
1734}
1735
093d3ff1
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
554f62e9 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
d55e5bfc 1746
093d3ff1
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
554f62e9
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c32bde28
RD
1754}
1755
554f62e9 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
093d3ff1 1758SWIGRUNTIME PyTypeObject*
7449af73 1759PySwigPacked_type(void) {
554f62e9
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
554f62e9 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
554f62e9 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
554f62e9 1842 };
7449af73 1843 pyswigpacked_type = tmp;
554f62e9 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
7449af73 1847 return &pyswigpacked_type;
093d3ff1 1848}
d55e5bfc 1849
093d3ff1 1850SWIGRUNTIME PyObject *
554f62e9 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
554f62e9
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
7449af73
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
554f62e9
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
7449af73 1864 }
093d3ff1 1865 }
554f62e9 1866 return (PyObject *) sobj;
093d3ff1 1867}
d55e5bfc 1868
554f62e9 1869SWIGRUNTIME swig_type_info *
093d3ff1 1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1871{
554f62e9
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1 1880}
d55e5bfc 1881
093d3ff1 1882/* -----------------------------------------------------------------------------
554f62e9 1883 * pointers/data manipulation
093d3ff1 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
554f62e9
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
554f62e9
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
554f62e9 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
554f62e9
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
554f62e9
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
554f62e9
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
554f62e9
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
d55e5bfc 1949
554f62e9
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
554f62e9 1962 return 0;
093d3ff1 1963}
d55e5bfc 1964
554f62e9
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
554f62e9
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
554f62e9
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
554f62e9
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
d55e5bfc 2044
554f62e9
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
554f62e9
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
554f62e9
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
554f62e9
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
d55e5bfc 2071
554f62e9 2072/* Convert a packed value value */
d55e5bfc 2073
093d3ff1 2074SWIGRUNTIME int
554f62e9
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
554f62e9
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
554f62e9
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
554f62e9
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
554f62e9
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
554f62e9
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
554f62e9
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
554f62e9
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
554f62e9
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
554f62e9
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1 2158}
d55e5bfc 2159
554f62e9
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
554f62e9
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
554f62e9
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
554f62e9 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
554f62e9 2194 return SWIG_Py_Void();
093d3ff1 2195 }
554f62e9
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
554f62e9 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
554f62e9
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
554f62e9 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
554f62e9
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
7449af73
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
7449af73
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
7449af73
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
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");
554f62e9 2263 return SWIG_ERROR;
7449af73
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
554f62e9 2268 return SWIG_ERROR;
7449af73
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));
554f62e9 2276 return SWIG_ERROR;
7449af73
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
554f62e9 2279 return SWIG_ERROR;
7449af73 2280 Py_DECREF(o);
554f62e9 2281 return SWIG_OK;
093d3ff1 2282}
7449af73 2283#endif
093d3ff1 2284
554f62e9
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
7449af73
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);
554f62e9 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2310 } else {
2311 Py_XDECREF(pointer);
7449af73
RD
2312 }
2313}
093d3ff1 2314
554f62e9
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
554f62e9
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
f460c29d
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2131d850
RD
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490#define SWIGTYPE_p_wxControl swig_types[24]
2491#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492#define SWIGTYPE_p_wxDC swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519#define SWIGTYPE_p_wxICOHandler swig_types[53]
2520#define SWIGTYPE_p_wxIcon swig_types[54]
2521#define SWIGTYPE_p_wxIconBundle swig_types[55]
2522#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524#define SWIGTYPE_p_wxImage swig_types[58]
2525#define SWIGTYPE_p_wxImageHandler swig_types[59]
2526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenu swig_types[70]
2537#define SWIGTYPE_p_wxMenuBar swig_types[71]
2538#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenuItem swig_types[73]
2540#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543#define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544#define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547#define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548#define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549#define SWIGTYPE_p_wxObject swig_types[83]
2550#define SWIGTYPE_p_wxPCXHandler swig_types[84]
2551#define SWIGTYPE_p_wxPNGHandler swig_types[85]
2552#define SWIGTYPE_p_wxPNMHandler swig_types[86]
2553#define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2554#define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2555#define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557#define SWIGTYPE_p_wxPanel swig_types[91]
2558#define SWIGTYPE_p_wxPaperSize swig_types[92]
2559#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2560#define SWIGTYPE_p_wxPoint swig_types[94]
2561#define SWIGTYPE_p_wxPopupWindow swig_types[95]
2562#define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2563#define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2564#define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2565#define SWIGTYPE_p_wxPrintData swig_types[99]
2566#define SWIGTYPE_p_wxPrintDialog swig_types[100]
2567#define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2568#define SWIGTYPE_p_wxPrintPreview swig_types[102]
2569#define SWIGTYPE_p_wxPrinter swig_types[103]
2570#define SWIGTYPE_p_wxProgressDialog swig_types[104]
2571#define SWIGTYPE_p_wxPyApp swig_types[105]
2572#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2573#define SWIGTYPE_p_wxPyEvent swig_types[107]
2574#define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2575#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2576#define SWIGTYPE_p_wxPyPanel swig_types[110]
2577#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2578#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2579#define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2580#define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2581#define SWIGTYPE_p_wxPyPrintout swig_types[115]
2582#define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2583#define SWIGTYPE_p_wxPySizer swig_types[117]
2584#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2585#define SWIGTYPE_p_wxPyVListBox swig_types[119]
2586#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2587#define SWIGTYPE_p_wxPyValidator swig_types[121]
2588#define SWIGTYPE_p_wxPyWindow swig_types[122]
2589#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2590#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2591#define SWIGTYPE_p_wxRect swig_types[125]
2592#define SWIGTYPE_p_wxRegion swig_types[126]
2593#define SWIGTYPE_p_wxSashEvent swig_types[127]
2594#define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2595#define SWIGTYPE_p_wxSashWindow swig_types[129]
2596#define SWIGTYPE_p_wxScrollEvent swig_types[130]
2597#define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2598#define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2599#define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600#define SWIGTYPE_p_wxShowEvent swig_types[134]
2601#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2602#define SWIGTYPE_p_wxSize swig_types[136]
2603#define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604#define SWIGTYPE_p_wxSizer swig_types[138]
2605#define SWIGTYPE_p_wxSizerItem swig_types[139]
2606#define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607#define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608#define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609#define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610#define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611#define SWIGTYPE_p_wxStatusBar swig_types[145]
2612#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613#define SWIGTYPE_p_wxString swig_types[147]
2614#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615#define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616#define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2617#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618#define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619#define SWIGTYPE_p_wxTipWindow swig_types[153]
2620#define SWIGTYPE_p_wxToolBar swig_types[154]
2621#define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623#define SWIGTYPE_p_wxValidator swig_types[157]
2624#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2625#define SWIGTYPE_p_wxWindow swig_types[159]
2626#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628#define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629static swig_type_info *swig_types[164];
2630static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
7449af73
RD
2631#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2633
2634/* -------- TYPES TABLE (END) -------- */
2635
554f62e9
RD
2636#if (PY_VERSION_HEX <= 0x02000000)
2637# if !defined(SWIG_PYTHON_CLASSIC)
2638# error "This python version requires to use swig with the '-classic' option"
2639# endif
2640#endif
2641#if (PY_VERSION_HEX <= 0x02020000)
2642# error "This python version requires to use swig with the '-nomodern' option"
2643#endif
2644#if (PY_VERSION_HEX <= 0x02020000)
2645# error "This python version requires to use swig with the '-nomodernargs' option"
2646#endif
2647#ifndef METH_O
2648# error "This python version requires to use swig with the '-nofastunpack' option"
2649#endif
093d3ff1
RD
2650
2651/*-----------------------------------------------
2652 @(target):= _windows_.so
2653 ------------------------------------------------*/
2654#define SWIG_init init_windows_
2655
2656#define SWIG_name "_windows_"
2657
554f62e9 2658#define SWIGVERSION 0x010329
093d3ff1 2659
093d3ff1 2660
554f62e9
RD
2661#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2663
2664
554f62e9 2665#include <stdexcept>
093d3ff1
RD
2666
2667
554f62e9
RD
2668namespace swig {
2669 class PyObject_ptr {
2670 protected:
2671 PyObject *_obj;
093d3ff1 2672
554f62e9
RD
2673 public:
2674 PyObject_ptr() :_obj(0)
2675 {
2676 }
093d3ff1 2677
554f62e9
RD
2678 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2679 {
2680 Py_XINCREF(_obj);
093d3ff1 2681 }
554f62e9
RD
2682
2683 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2684 {
2685 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2686 }
554f62e9
RD
2687
2688 PyObject_ptr & operator=(const PyObject_ptr& item)
2689 {
2690 Py_XINCREF(item._obj);
2691 Py_XDECREF(_obj);
2692 _obj = item._obj;
2693 return *this;
2694 }
2695
2696 ~PyObject_ptr()
2697 {
2698 Py_XDECREF(_obj);
2699 }
2700
2701 operator PyObject *() const
2702 {
2703 return _obj;
2704 }
2705
2706 PyObject *operator->() const
2707 {
2708 return _obj;
2709 }
2710 };
093d3ff1
RD
2711}
2712
2713
554f62e9
RD
2714namespace swig {
2715 struct PyObject_var : PyObject_ptr {
2716 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2717
2718 PyObject_var & operator = (PyObject* obj)
2719 {
2720 Py_XDECREF(_obj);
2721 _obj = obj;
2722 return *this;
093d3ff1 2723 }
554f62e9 2724 };
093d3ff1 2725}
093d3ff1
RD
2726
2727
554f62e9
RD
2728#include "wx/wxPython/wxPython.h"
2729#include "wx/wxPython/pyclasses.h"
2730
093d3ff1 2731
554f62e9
RD
2732 static const wxString wxPyEmptyString(wxEmptyString);
2733 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2734
093d3ff1 2735
554f62e9
RD
2736
2737#include <limits.h>
2738#ifndef LLONG_MIN
2739# define LLONG_MIN LONG_LONG_MIN
2740#endif
2741#ifndef LLONG_MAX
2742# define LLONG_MAX LONG_LONG_MAX
2743#endif
2744#ifndef ULLONG_MAX
2745# define ULLONG_MAX ULONG_LONG_MAX
2746#endif
2747
2748
2749SWIGINTERN int
2750SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2751{
554f62e9
RD
2752 if (PyNumber_Check(obj)) {
2753 if (val) *val = PyInt_AsLong(obj);
2754 return SWIG_OK;
2755 }
2756 return SWIG_TypeError;
093d3ff1
RD
2757}
2758
554f62e9
RD
2759
2760SWIGINTERN int
2761SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2762{
554f62e9
RD
2763 long v;
2764 int res = SWIG_AsVal_long (obj, &v);
2765 if (SWIG_IsOK(res)) {
2766 if ((v < INT_MIN || v > INT_MAX)) {
2767 return SWIG_OverflowError;
2768 } else {
2769 if (val) *val = static_cast< int >(v);
2770 }
2771 }
2772 return res;
093d3ff1
RD
2773}
2774
2775
2776SWIGINTERN int
554f62e9 2777SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2778{
2779 if (obj == Py_True) {
2780 if (val) *val = true;
554f62e9
RD
2781 return SWIG_OK;
2782 } else if (obj == Py_False) {
093d3ff1 2783 if (val) *val = false;
554f62e9 2784 return SWIG_OK;
093d3ff1 2785 } else {
554f62e9
RD
2786 long v = 0;
2787 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2788 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2789 return res;
093d3ff1 2790 }
093d3ff1
RD
2791}
2792
2793
554f62e9 2794 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2795
2796
554f62e9
RD
2797SWIGINTERNINLINE PyObject *
2798SWIG_From_int (int value)
2799{
2800 return SWIG_From_long (value);
2801}
093d3ff1
RD
2802
2803
2804SWIGINTERN int
554f62e9 2805SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2806{
2807 if (PyNumber_Check(obj)) {
2808 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 2809 return SWIG_OK;
093d3ff1 2810 }
554f62e9 2811 return SWIG_TypeError;
093d3ff1
RD
2812}
2813
2814
554f62e9 2815 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2816
2817 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2818 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2819 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2820 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9
RD
2821SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2822SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1
RD
2823
2824
554f62e9 2825SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2826 wxRect r;
2827 self->GetFieldRect(i, r);
2828 return r;
2829 }
2830 static const wxString wxPySplitterNameStr(wxT("splitter"));
2831 static const wxString wxPySashNameStr(wxT("sashWindow"));
2832 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2833
2834#include <wx/popupwin.h>
2835
2836
2837class wxPyPopupTransientWindow : public wxPopupTransientWindow
2838{
2839public:
2840 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2841 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2842 : wxPopupTransientWindow(parent, style) {}
2843
2844 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2845 DEC_PYCALLBACK__(OnDismiss);
2846 DEC_PYCALLBACK_BOOL_(CanDismiss);
2847 PYPRIVATE;
2848};
2849
2850
2851IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2852IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2853IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2854
2855
2856#include <wx/tipwin.h>
2857
554f62e9 2858SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2859 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2860 }
2861
2862#include <wx/tipwin.h>
2863
2864
2865#include <wx/vscroll.h>
2866
2867
2868class wxPyVScrolledWindow : public wxVScrolledWindow
2869{
7449af73 2870 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2871public:
2872 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2873
2874 wxPyVScrolledWindow(wxWindow *parent,
2875 wxWindowID id = wxID_ANY,
2876 const wxPoint& pos = wxDefaultPosition,
2877 const wxSize& size = wxDefaultSize,
2878 long style = 0,
2879 const wxString& name = wxPyPanelNameStr)
2880 : wxVScrolledWindow(parent, id, pos, size, style, name)
2881 {}
2882
2883 // Overridable virtuals
2884
2885 // this function must be overridden in the derived class and it should
2886 // return the height of the given line in pixels
2887 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2888
2889
2890 // this function doesn't have to be overridden but it may be useful to do
2891 // it if calculating the lines heights is a relatively expensive operation
2892 // as it gives the user code a possibility to calculate several of them at
2893 // once
2894 //
2895 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2896 // shouldn't rely on the latter being called for all lines in the interval
2897 // specified here. It is also possible that OnGetLineHeight() will be
2898 // called for the lines outside of this interval, so this is really just a
2899 // hint, not a promise.
2900 //
2901 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2902 // usual
2903 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2904
2905
2906 // when the number of lines changes, we try to estimate the total height
2907 // of all lines which is a rather expensive operation in terms of lines
2908 // access, so if the user code may estimate the average height
2909 // better/faster than we do, it should override this function to implement
2910 // its own logic
2911 //
2912 // this function should return the best guess for the total height it may
2913 // make
2914 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2915
2916
2917 // Also expose some other interesting protected methods
2918
2919
2920 // find the index of the line we need to show at the top of the window such
2921 // that the last (fully or partially) visible line is the given one
2922 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2923 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2924
2925 // get the total height of the lines between lineMin (inclusive) and
2926 // lineMax (exclusive)
2927 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2928 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc 2929
f460c29d
RD
2930 // update the thumb size shown by the scrollbar
2931 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2932
2933 // remove the scrollbar completely because we don't need it
2934 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d55e5bfc
RD
2935
2936 PYPRIVATE;
2937};
2938
2939IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2940
2941IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2942IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2943IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2944
2945
093d3ff1 2946SWIGINTERN int
554f62e9 2947SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
d55e5bfc 2948{
c32bde28
RD
2949 long v = 0;
2950 if (SWIG_AsVal_long(obj, &v) && v < 0) {
554f62e9 2951 return SWIG_TypeError;
d55e5bfc 2952 }
c32bde28
RD
2953 else if (val)
2954 *val = (unsigned long)v;
554f62e9 2955 return SWIG_OK;
d55e5bfc
RD
2956}
2957
2958
7449af73 2959SWIGINTERNINLINE int
554f62e9 2960SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2961{
554f62e9
RD
2962 unsigned long v;
2963 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2964 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2965 return res;
d55e5bfc
RD
2966}
2967
2968
7449af73 2969SWIGINTERNINLINE PyObject*
554f62e9 2970SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2971{
2972 return (value > LONG_MAX) ?
554f62e9
RD
2973 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2974}
2975
2976
2977SWIGINTERNINLINE PyObject *
2978SWIG_From_size_t (size_t value)
2979{
2980 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2981}
2982
2983
2984#include <wx/vlbox.h>
2985
2986 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2987
2988class wxPyVListBox : public wxVListBox
2989{
7449af73 2990 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2991public:
2992 wxPyVListBox() : wxVListBox() {}
2993
2994 wxPyVListBox(wxWindow *parent,
2995 wxWindowID id = wxID_ANY,
2996 const wxPoint& pos = wxDefaultPosition,
2997 const wxSize& size = wxDefaultSize,
2998 long style = 0,
2999 const wxString& name = wxPyVListBoxNameStr)
3000 : wxVListBox(parent, id, pos, size, style, name)
3001 {}
3002
3003 // Overridable virtuals
3004
3005 // the derived class must implement this function to actually draw the item
3006 // with the given index on the provided DC
3007 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3008 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3009
3010
3011 // the derived class must implement this method to return the height of the
3012 // specified item
3013 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3014 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3015
3016
3017 // this method may be used to draw separators between the lines; note that
3018 // the rectangle may be modified, typically to deflate it a bit before
3019 // passing to OnDrawItem()
3020 //
3021 // the base class version doesn't do anything
3022 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3023 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3024
3025
3026 // this method is used to draw the items background and, maybe, a border
3027 // around it
3028 //
3029 // the base class version implements a reasonable default behaviour which
3030 // consists in drawing the selected item with the standard background
3031 // colour and drawing a border around the item if it is either selected or
3032 // current
3033 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3035
3036
3037 PYPRIVATE;
3038};
3039
3040IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3041
3042IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3043IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3044IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3045IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3046
3047
554f62e9 3048SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3049 unsigned long cookie = 0;
3050 int selected = self->GetFirstSelected(cookie);
5a446332 3051 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3052 PyObject* tup = PyTuple_New(2);
3053 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3054 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3055 wxPyEndBlockThreads(blocked);
3056 return tup;
3057 }
554f62e9 3058SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3059 int selected = self->GetNextSelected(cookie);
5a446332 3060 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3061 PyObject* tup = PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3063 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3064 wxPyEndBlockThreads(blocked);
3065 return tup;
3066 }
d55e5bfc
RD
3067
3068#include <wx/htmllbox.h>
3069
3070
3071class wxPyHtmlListBox : public wxHtmlListBox
3072{
7449af73 3073 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3074public:
3075 wxPyHtmlListBox() : wxHtmlListBox() {}
3076
3077 wxPyHtmlListBox(wxWindow *parent,
3078 wxWindowID id = wxID_ANY,
3079 const wxPoint& pos = wxDefaultPosition,
3080 const wxSize& size = wxDefaultSize,
3081 long style = 0,
3082 const wxString& name = wxPyVListBoxNameStr)
3083 : wxHtmlListBox(parent, id, pos, size, style, name)
3084 {}
3085
3086 // Overridable virtuals
3087
3088 // this method must be implemented in the derived class and should return
3089 // the body (i.e. without <html>) of the HTML for the given item
3090 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3091
3092 // this function may be overridden to decorate HTML returned by OnGetItem()
3093 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3094
1c71765a
RD
3095 // These are from wxVListBox
3096 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3097 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3098
d55e5bfc
RD
3099// TODO:
3100// // this method allows to customize the selection appearance: it may be used
3101// // to specify the colour of the text which normally has the given colour
3102// // colFg when it is inside the selection
3103// //
3104// // by default, the original colour is not used at all and all text has the
3105// // same (default for this system) colour inside selection
3106// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3107
3108// // this is the same as GetSelectedTextColour() but allows to customize the
3109// // background colour -- this is even more rarely used as you can change it
3110// // globally using SetSelectionBackground()
3111// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3112
e9d6f3a4
RD
3113
3114 // This method may be overriden to handle clicking on a link in
3115 // the listbox. By default, clicking links is ignored.
3116 virtual void OnLinkClicked(size_t n,
3117 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3118
3119 PYPRIVATE;
3120};
3121
3122
3123IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3124
3125IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3126IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3127IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3128IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3129
3130
e9d6f3a4
RD
3131void wxPyHtmlListBox::OnLinkClicked(size_t n,
3132 const wxHtmlLinkInfo& link) {
3133 bool found;
3134 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3135 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3136 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3137 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3138 Py_DECREF(obj);
3139 }
3140 wxPyEndBlockThreads(blocked);
3141 if (! found)
3142 wxPyHtmlListBox::OnLinkClicked(n, link);
3143}
3144
3145
d55e5bfc
RD
3146
3147
3148
ae8162c8
RD
3149#ifndef wxHAS_TASK_BAR_ICON
3150// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3151
3152class wxTaskBarIcon : public wxEvtHandler
3153{
3154public:
3155 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3156};
09c21d3b 3157
d55e5bfc
RD
3158
3159class wxTaskBarIconEvent : public wxEvent
3160{
3161public:
3162 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3163 { wxPyRaiseNotImplemented(); }
3164 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3165 bool IsOk() const { return false; }
3166 bool IsIconInstalled() const { return false; }
3167 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3168 bool RemoveIcon() { return false; }
3169 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3170};
3171
3172enum {
3173 wxEVT_TASKBAR_MOVE = 0,
3174 wxEVT_TASKBAR_LEFT_DOWN = 0,
3175 wxEVT_TASKBAR_LEFT_UP = 0,
3176 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3177 wxEVT_TASKBAR_RIGHT_UP = 0,
3178 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3179 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3180};
09c21d3b
RD
3181
3182
3183#else
5e483524
RD
3184// Otherwise make a class that can virtualize CreatePopupMenu
3185class wxPyTaskBarIcon : public wxTaskBarIcon
3186{
7449af73 3187 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3188public:
3189 wxPyTaskBarIcon() : wxTaskBarIcon()
3190 {}
3191
3192 wxMenu* CreatePopupMenu() {
3193 wxMenu *rval = NULL;
3194 bool found;
5a446332 3195 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3196 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3197 PyObject* ro;
3198 wxMenu* ptr;
3199 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3200 if (ro) {
3201 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3202 rval = ptr;
3203 Py_DECREF(ro);
3204 }
3205 }
3206 wxPyEndBlockThreads(blocked);
3207 if (! found)
3208 rval = wxTaskBarIcon::CreatePopupMenu();
3209 return rval;
3210 }
3211
3212 PYPRIVATE;
3213};
3214
3215IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3216
d55e5bfc
RD
3217#endif
3218
554f62e9 3219SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 3220 self->RemoveIcon();
5e483524 3221 delete self;
d55e5bfc
RD
3222 }
3223 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3224 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3225 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3226 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3227 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3228 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3229
3230// for compatibility only
3231#define wxHIDE_READONLY 0
3232
554f62e9 3233SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3234 wxArrayString arr;
3235 self->GetFilenames(arr);
3236 return wxArrayString2PyList_helper(arr);
3237 }
554f62e9 3238SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3239 wxArrayString arr;
3240 self->GetPaths(arr);
3241 return wxArrayString2PyList_helper(arr);
3242 }
554f62e9 3243SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3244 return wxArrayInt2PyList_helper(self->GetSelections());
3245 }
554f62e9 3246SWIGINTERN 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
3247 return new wxSingleChoiceDialog(parent, message, caption,
3248 choices, choices_array, NULL, style, pos);
3249 }
c1cb24a4 3250 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3251
f460c29d
RD
3252SWIGINTERNINLINE PyObject*
3253 SWIG_From_bool (bool value)
3254{
3255 return PyBool_FromLong(value ? 1 : 0);
3256}
3257
3258
d55e5bfc
RD
3259#include <wx/mdi.h>
3260
3261 // C++ version of Python aware wxWindow
3262class wxPyWindow : public wxWindow
3263{
3264 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3265public:
3266 wxPyWindow() : wxWindow() {}
3267 wxPyWindow(wxWindow* parent, const wxWindowID id,
3268 const wxPoint& pos = wxDefaultPosition,
3269 const wxSize& size = wxDefaultSize,
3270 long style = 0,
3271 const wxString& name = wxPyPanelNameStr)
3272 : wxWindow(parent, id, pos, size, style, name) {}
3273
caef1a4d 3274 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3275
60d5fcc1
RD
3276 bool DoEraseBackground(wxDC* dc) {
3277#ifdef __WXMSW__
3278 return wxWindow::DoEraseBackground(dc->GetHDC());
3279#else
3280 dc->SetBackground(wxBrush(GetBackgroundColour()));
3281 dc->Clear();
3282 return true;
3283#endif
3284 }
3285
d55e5bfc
RD
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3290
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3294
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3297
3298 DEC_PYCALLBACK__(InitDialog);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3301 DEC_PYCALLBACK_BOOL_(Validate);
3302
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3306
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3309
caef1a4d 3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3312
51b83b37
RD
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3314
8d38bd1d
RD
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3316
d55e5bfc
RD
3317 PYPRIVATE;
3318};
3319
3320IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3321
3322IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3323IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3324IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3325IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3326
3327IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3328IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3330
3331IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3332IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3333
3334IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3335IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3336IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3337IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3338
3339IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3340IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3341IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3342
3343IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3344IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3345
caef1a4d 3346IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 3347IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3348
3349IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3350
8d38bd1d
RD
3351IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3352
d55e5bfc
RD
3353 // C++ version of Python aware wxPanel
3354class wxPyPanel : public wxPanel
3355{
3356 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3357public:
3358 wxPyPanel() : wxPanel() {}
3359 wxPyPanel(wxWindow* parent, const wxWindowID id,
3360 const wxPoint& pos = wxDefaultPosition,
3361 const wxSize& size = wxDefaultSize,
3362 long style = 0,
3363 const wxString& name = wxPyPanelNameStr)
3364 : wxPanel(parent, id, pos, size, style, name) {}
3365
caef1a4d 3366 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
60d5fcc1
RD
3367 bool DoEraseBackground(wxDC* dc) {
3368#ifdef __WXMSW__
3369 return wxWindow::DoEraseBackground(dc->GetHDC());
3370#else
3371 dc->SetBackground(wxBrush(GetBackgroundColour()));
3372 dc->Clear();
3373 return true;
3374#endif
3375 }
caef1a4d 3376
d55e5bfc
RD
3377
3378 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3379 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3382
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3386
3387 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3388 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3389
3390 DEC_PYCALLBACK__(InitDialog);
3391 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3392 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3393 DEC_PYCALLBACK_BOOL_(Validate);
3394
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3397 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3398
3399 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3401
caef1a4d 3402 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3403 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3404
51b83b37
RD
3405 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3406
8d38bd1d
RD
3407 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3408
d55e5bfc
RD
3409 PYPRIVATE;
3410};
3411
3412IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3413
3414IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3415IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3416IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3417IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3418
3419IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3420IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3421IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3422
3423IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3424IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3425
3426IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3427IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3428IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3429IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3430
3431IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3432IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3433IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3434
3435IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3436IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3437
caef1a4d 3438IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 3439IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3440
51b83b37
RD
3441IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3442
8d38bd1d
RD
3443IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3444
d55e5bfc
RD
3445 // C++ version of Python aware wxScrolledWindow
3446class wxPyScrolledWindow : public wxScrolledWindow
3447{
3448 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3449public:
3450 wxPyScrolledWindow() : wxScrolledWindow() {}
3451 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3452 const wxPoint& pos = wxDefaultPosition,
3453 const wxSize& size = wxDefaultSize,
3454 long style = 0,
3455 const wxString& name = wxPyPanelNameStr)
3456 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3457
caef1a4d 3458 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
60d5fcc1
RD
3459 bool DoEraseBackground(wxDC* dc) {
3460#ifdef __WXMSW__
3461 return wxWindow::DoEraseBackground(dc->GetHDC());
3462#else
3463 dc->SetBackground(wxBrush(GetBackgroundColour()));
3464 dc->Clear();
3465 return true;
3466#endif
3467 }
d55e5bfc
RD
3468
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3473
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3477
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3480
3481 DEC_PYCALLBACK__(InitDialog);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3484 DEC_PYCALLBACK_BOOL_(Validate);
3485
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3489
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3492
caef1a4d 3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3495
51b83b37
RD
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3497
8d38bd1d
RD
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3499
d55e5bfc
RD
3500 PYPRIVATE;
3501};
3502
3503IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3504
3505IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3506IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3507IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3508IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3509
3510IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3511IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3512IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3513
3514IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3515IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3516
3517IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3518IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3519IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3520IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3521
3522IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3523IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3524IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3525
3526IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3527IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3528
caef1a4d 3529IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
3530IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3531
51b83b37 3532IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3533
8d38bd1d
RD
3534IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3535
d55e5bfc
RD
3536
3537#include "wx/wxPython/printfw.h"
3538
3539
3540 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
554f62e9 3542SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3543 PyObject* data;
5a446332 3544 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3545 data = PyString_FromStringAndSize(self->GetPrivData(),
3546 self->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked);
3548 return data;
3549 }
554f62e9 3550SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3551 if (! PyString_Check(data)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3553 "Expected string object"));
3554 return /* NULL */ ;
3555 }
3556
5a446332 3557 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3558 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3559 wxPyEndBlockThreads(blocked);
3560 }
d55e5bfc
RD
3561
3562
c1cb24a4 3563IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3564
3565// Since this one would be tough and ugly to do with the Macros...
3566void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3567 bool hadErr = false;
d55e5bfc
RD
3568 bool found;
3569
5a446332 3570 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3571 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3572 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3573 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3574 PyObject* val;
3575
3576 val = PyTuple_GetItem(result, 0);
3577 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3578 else hadErr = true;
d55e5bfc
RD
3579
3580 val = PyTuple_GetItem(result, 1);
3581 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3582 else hadErr = true;
d55e5bfc
RD
3583
3584 val = PyTuple_GetItem(result, 2);
3585 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3586 else hadErr = true;
d55e5bfc
RD
3587
3588 val = PyTuple_GetItem(result, 3);
3589 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3590 else hadErr = true;
d55e5bfc
RD
3591 }
3592 else
ae8162c8 3593 hadErr = true;
d55e5bfc
RD
3594
3595 if (hadErr) {
3596 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3597 PyErr_Print();
3598 }
3599 Py_DECREF(result);
3600 }
3601 wxPyEndBlockThreads(blocked);
3602 if (! found)
3603 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3604}
3605
d55e5bfc
RD
3606
3607
3608IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3609IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3610IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3611IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3612IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3613IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3614IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3615
3616
3617
3618
3619
ae8162c8 3620#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3622
3623
ae8162c8
RD
3624#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3626 bool rval=false; \
3627 bool found; \
7449af73 3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3633 Py_DECREF(win); \
3634 Py_DECREF(dc); \
3635 } \
3636 wxPyEndBlockThreads(blocked); \
3637 if (! found) \
3638 rval = PCLASS::CBNAME(a, b); \
3639 return rval; \
b06b3e70 3640 }
d55e5bfc
RD
3641
3642
3643
3644
3645class wxPyPrintPreview : public wxPrintPreview
3646{
3647 DECLARE_CLASS(wxPyPrintPreview)
3648public:
3649 wxPyPrintPreview(wxPyPrintout* printout,
3650 wxPyPrintout* printoutForPrinting,
3651 wxPrintDialogData* data=NULL)
3652 : wxPrintPreview(printout, printoutForPrinting, data)
3653 {}
3654 wxPyPrintPreview(wxPyPrintout* printout,
3655 wxPyPrintout* printoutForPrinting,
7449af73 3656 wxPrintData* data)
d55e5bfc
RD
3657 : wxPrintPreview(printout, printoutForPrinting, data)
3658 {}
3659
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling);
3667
3668 PYPRIVATE;
3669};
3670
3671// Stupid renamed classes... Fix this in 2.5...
3672#if defined(__WXMSW__)
3673IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3674#elif defined(__WXMAC__)
3675IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3676#else
3677IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3678#endif
3679
3680IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3681IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3682IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3683IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3684IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3685IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3686IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3687
3688
3689class wxPyPreviewFrame : public wxPreviewFrame
3690{
7449af73 3691 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3692public:
3693 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3694 const wxString& title,
3695 const wxPoint& pos = wxDefaultPosition,
3696 const wxSize& size = wxDefaultSize,
3697 long style = wxDEFAULT_FRAME_STYLE,
3698 const wxString& name = wxPyFrameNameStr)
3699 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3700 {}
3701
3702 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3703 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3704
3705 DEC_PYCALLBACK_VOID_(Initialize);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar);
3708
3709 PYPRIVATE;
3710};
3711
3712IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3713
3714IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3715IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3716IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3717
3718
3719class wxPyPreviewControlBar : public wxPreviewControlBar
3720{
7449af73 3721 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3722public:
3723 wxPyPreviewControlBar(wxPrintPreview *preview,
3724 long buttons,
3725 wxWindow *parent,
3726 const wxPoint& pos = wxDefaultPosition,
3727 const wxSize& size = wxDefaultSize,
3728 long style = 0,
3729 const wxString& name = wxPyPanelNameStr)
3730 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3731 {}
3732
3733 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3734
3735 DEC_PYCALLBACK_VOID_(CreateButtons);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3737
3738 PYPRIVATE;
3739};
3740
3741IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3742IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3743IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3744
3745#ifdef __cplusplus
3746extern "C" {
3747#endif
554f62e9
RD
3748SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj = 0;
3750 wxWindow *arg1 = (wxWindow *) 0 ;
3751 int arg2 = (int) (int)-1 ;
3752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3754 wxSize const &arg4_defvalue = wxDefaultSize ;
3755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3756 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3757 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3758 wxString *arg6 = (wxString *) &arg6_defvalue ;
3759 wxPanel *result = 0 ;
3760 void *argp1 = 0 ;
3761 int res1 = 0 ;
3762 int val2 ;
3763 int ecode2 = 0 ;
3764 wxPoint temp3 ;
3765 wxSize temp4 ;
3766 long val5 ;
3767 int ecode5 = 0 ;
3768 bool temp6 = false ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 PyObject * obj2 = 0 ;
3772 PyObject * obj3 = 0 ;
3773 PyObject * obj4 = 0 ;
3774 PyObject * obj5 = 0 ;
3775 char * kwnames[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3777 };
3778
3779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3781 if (!SWIG_IsOK(res1)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 }
3784 arg1 = reinterpret_cast< wxWindow * >(argp1);
3785 if (obj1) {
3786 ecode2 = SWIG_AsVal_int(obj1, &val2);
3787 if (!SWIG_IsOK(ecode2)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3789 }
3790 arg2 = static_cast< int >(val2);
3791 }
3792 if (obj2) {
d55e5bfc 3793 {
554f62e9
RD
3794 arg3 = &temp3;
3795 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3796 }
554f62e9
RD
3797 }
3798 if (obj3) {
d55e5bfc 3799 {
554f62e9
RD
3800 arg4 = &temp4;
3801 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3802 }
554f62e9
RD
3803 }
3804 if (obj4) {
3805 ecode5 = SWIG_AsVal_long(obj4, &val5);
3806 if (!SWIG_IsOK(ecode5)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3808 }
3809 arg5 = static_cast< long >(val5);
3810 }
3811 if (obj5) {
d55e5bfc 3812 {
554f62e9
RD
3813 arg6 = wxString_in_helper(obj5);
3814 if (arg6 == NULL) SWIG_fail;
3815 temp6 = true;
3816 }
3817 }
3818 {
3819 if (!wxPyCheckForApp()) SWIG_fail;
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3826 {
3827 if (temp6)
3828 delete arg6;
3829 }
3830 return resultobj;
3831fail:
3832 {
3833 if (temp6)
3834 delete arg6;
3835 }
3836 return NULL;
d55e5bfc
RD
3837}
3838
3839
554f62e9
RD
3840SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3841 PyObject *resultobj = 0;
3842 wxPanel *result = 0 ;
3843
3844 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3845 {
3846 if (!wxPyCheckForApp()) SWIG_fail;
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxPanel *)new wxPanel();
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3853 return resultobj;
3854fail:
3855 return NULL;
3856}
3857
3858
3859SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj = 0;
3861 wxPanel *arg1 = (wxPanel *) 0 ;
3862 wxWindow *arg2 = (wxWindow *) 0 ;
3863 int arg3 = (int) (int)-1 ;
3864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3866 wxSize const &arg5_defvalue = wxDefaultSize ;
3867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3868 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3869 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3870 wxString *arg7 = (wxString *) &arg7_defvalue ;
3871 bool result;
3872 void *argp1 = 0 ;
3873 int res1 = 0 ;
3874 void *argp2 = 0 ;
3875 int res2 = 0 ;
3876 int val3 ;
3877 int ecode3 = 0 ;
3878 wxPoint temp4 ;
3879 wxSize temp5 ;
3880 long val6 ;
3881 int ecode6 = 0 ;
3882 bool temp7 = false ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 PyObject * obj2 = 0 ;
3886 PyObject * obj3 = 0 ;
3887 PyObject * obj4 = 0 ;
3888 PyObject * obj5 = 0 ;
3889 PyObject * obj6 = 0 ;
3890 char * kwnames[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3892 };
3893
3894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3896 if (!SWIG_IsOK(res1)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3898 }
3899 arg1 = reinterpret_cast< wxPanel * >(argp1);
3900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3901 if (!SWIG_IsOK(res2)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3903 }
3904 arg2 = reinterpret_cast< wxWindow * >(argp2);
3905 if (obj2) {
3906 ecode3 = SWIG_AsVal_int(obj2, &val3);
3907 if (!SWIG_IsOK(ecode3)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3909 }
3910 arg3 = static_cast< int >(val3);
3911 }
3912 if (obj3) {
d55e5bfc 3913 {
554f62e9
RD
3914 arg4 = &temp4;
3915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3916 }
554f62e9
RD
3917 }
3918 if (obj4) {
d55e5bfc 3919 {
554f62e9
RD
3920 arg5 = &temp5;
3921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3922 }
554f62e9
RD
3923 }
3924 if (obj5) {
3925 ecode6 = SWIG_AsVal_long(obj5, &val6);
3926 if (!SWIG_IsOK(ecode6)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3928 }
3929 arg6 = static_cast< long >(val6);
3930 }
3931 if (obj6) {
d55e5bfc 3932 {
554f62e9
RD
3933 arg7 = wxString_in_helper(obj6);
3934 if (arg7 == NULL) SWIG_fail;
3935 temp7 = true;
d55e5bfc 3936 }
554f62e9
RD
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 {
3945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3946 }
3947 {
3948 if (temp7)
3949 delete arg7;
3950 }
3951 return resultobj;
3952fail:
3953 {
3954 if (temp7)
3955 delete arg7;
3956 }
3957 return NULL;
b519803b
RD
3958}
3959
3960
554f62e9
RD
3961SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962 PyObject *resultobj = 0;
3963 wxPanel *arg1 = (wxPanel *) 0 ;
3964 void *argp1 = 0 ;
3965 int res1 = 0 ;
3966 PyObject *swig_obj[1] ;
3967
3968 if (!args) SWIG_fail;
3969 swig_obj[0] = args;
3970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3971 if (!SWIG_IsOK(res1)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3973 }
3974 arg1 = reinterpret_cast< wxPanel * >(argp1);
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 resultobj = SWIG_Py_Void();
3982 return resultobj;
3983fail:
3984 return NULL;
3985}
3986
3987
3988SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3989 PyObject *resultobj = 0;
3990 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3991 SwigValueWrapper<wxVisualAttributes > result;
3992 int val1 ;
3993 int ecode1 = 0 ;
3994 PyObject * obj0 = 0 ;
3995 char * kwnames[] = {
3996 (char *) "variant", NULL
3997 };
3998
3999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4000 if (obj0) {
4001 ecode1 = SWIG_AsVal_int(obj0, &val1);
4002 if (!SWIG_IsOK(ecode1)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4004 }
4005 arg1 = static_cast< wxWindowVariant >(val1);
4006 }
4007 {
4008 if (!wxPyCheckForApp()) SWIG_fail;
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 result = wxPanel::GetClassDefaultAttributes(arg1);
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4015 return resultobj;
4016fail:
4017 return NULL;
4018}
4019
4020
4021SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 PyObject *obj;
4023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4025 return SWIG_Py_Void();
4026}
4027
4028SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4029 return SWIG_Python_InitShadowInstance(args);
4030}
4031
4032SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj = 0;
4034 wxWindow *arg1 = (wxWindow *) 0 ;
4035 int arg2 = (int) (int)-1 ;
4036 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4037 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4038 wxSize const &arg4_defvalue = wxDefaultSize ;
4039 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4040 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4041 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4042 wxString *arg6 = (wxString *) &arg6_defvalue ;
4043 wxScrolledWindow *result = 0 ;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 int val2 ;
4047 int ecode2 = 0 ;
4048 wxPoint temp3 ;
4049 wxSize temp4 ;
4050 long val5 ;
4051 int ecode5 = 0 ;
4052 bool temp6 = false ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 PyObject * obj2 = 0 ;
4056 PyObject * obj3 = 0 ;
4057 PyObject * obj4 = 0 ;
4058 PyObject * obj5 = 0 ;
4059 char * kwnames[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 };
4062
4063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4065 if (!SWIG_IsOK(res1)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4067 }
4068 arg1 = reinterpret_cast< wxWindow * >(argp1);
4069 if (obj1) {
4070 ecode2 = SWIG_AsVal_int(obj1, &val2);
4071 if (!SWIG_IsOK(ecode2)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4073 }
4074 arg2 = static_cast< int >(val2);
4075 }
4076 if (obj2) {
b519803b 4077 {
554f62e9
RD
4078 arg3 = &temp3;
4079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4080 }
554f62e9
RD
4081 }
4082 if (obj3) {
f20a2e1f 4083 {
554f62e9
RD
4084 arg4 = &temp4;
4085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4086 }
554f62e9
RD
4087 }
4088 if (obj4) {
4089 ecode5 = SWIG_AsVal_long(obj4, &val5);
4090 if (!SWIG_IsOK(ecode5)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4092 }
4093 arg5 = static_cast< long >(val5);
4094 }
4095 if (obj5) {
f20a2e1f 4096 {
554f62e9
RD
4097 arg6 = wxString_in_helper(obj5);
4098 if (arg6 == NULL) SWIG_fail;
4099 temp6 = true;
f20a2e1f 4100 }
554f62e9
RD
4101 }
4102 {
4103 if (!wxPyCheckForApp()) SWIG_fail;
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4110 {
4111 if (temp6)
4112 delete arg6;
4113 }
4114 return resultobj;
4115fail:
4116 {
4117 if (temp6)
4118 delete arg6;
4119 }
4120 return NULL;
f20a2e1f
RD
4121}
4122
4123
554f62e9
RD
4124SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxScrolledWindow *result = 0 ;
4127
4128 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4129 {
4130 if (!wxPyCheckForApp()) SWIG_fail;
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxScrolledWindow *)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4137 return resultobj;
4138fail:
4139 return NULL;
4140}
4141
4142
4143SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4146 wxWindow *arg2 = (wxWindow *) 0 ;
4147 int arg3 = (int) (int)-1 ;
4148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4150 wxSize const &arg5_defvalue = wxDefaultSize ;
4151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4152 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4153 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4154 wxString *arg7 = (wxString *) &arg7_defvalue ;
4155 bool result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 void *argp2 = 0 ;
4159 int res2 = 0 ;
4160 int val3 ;
4161 int ecode3 = 0 ;
4162 wxPoint temp4 ;
4163 wxSize temp5 ;
4164 long val6 ;
4165 int ecode6 = 0 ;
4166 bool temp7 = false ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 PyObject * obj2 = 0 ;
4170 PyObject * obj3 = 0 ;
4171 PyObject * obj4 = 0 ;
4172 PyObject * obj5 = 0 ;
4173 PyObject * obj6 = 0 ;
4174 char * kwnames[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4176 };
4177
4178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4180 if (!SWIG_IsOK(res1)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4182 }
4183 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4185 if (!SWIG_IsOK(res2)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4187 }
4188 arg2 = reinterpret_cast< wxWindow * >(argp2);
4189 if (obj2) {
4190 ecode3 = SWIG_AsVal_int(obj2, &val3);
4191 if (!SWIG_IsOK(ecode3)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4193 }
4194 arg3 = static_cast< int >(val3);
4195 }
4196 if (obj3) {
d55e5bfc 4197 {
554f62e9
RD
4198 arg4 = &temp4;
4199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4200 }
4201 }
4202 if (obj4) {
d55e5bfc 4203 {
554f62e9
RD
4204 arg5 = &temp5;
4205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4206 }
554f62e9
RD
4207 }
4208 if (obj5) {
4209 ecode6 = SWIG_AsVal_long(obj5, &val6);
4210 if (!SWIG_IsOK(ecode6)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4212 }
4213 arg6 = static_cast< long >(val6);
4214 }
4215 if (obj6) {
d55e5bfc 4216 {
554f62e9
RD
4217 arg7 = wxString_in_helper(obj6);
4218 if (arg7 == NULL) SWIG_fail;
4219 temp7 = true;
d55e5bfc 4220 }
554f62e9
RD
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 }
4231 {
4232 if (temp7)
4233 delete arg7;
4234 }
4235 return resultobj;
4236fail:
4237 {
4238 if (temp7)
4239 delete arg7;
4240 }
4241 return NULL;
4242}
4243
4244
4245SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj = 0;
4247 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4248 int arg2 ;
4249 int arg3 ;
4250 int arg4 ;
4251 int arg5 ;
4252 int arg6 = (int) 0 ;
4253 int arg7 = (int) 0 ;
4254 bool arg8 = (bool) false ;
4255 void *argp1 = 0 ;
4256 int res1 = 0 ;
4257 int val2 ;
4258 int ecode2 = 0 ;
4259 int val3 ;
4260 int ecode3 = 0 ;
4261 int val4 ;
4262 int ecode4 = 0 ;
4263 int val5 ;
4264 int ecode5 = 0 ;
4265 int val6 ;
4266 int ecode6 = 0 ;
4267 int val7 ;
4268 int ecode7 = 0 ;
4269 bool val8 ;
4270 int ecode8 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 PyObject * obj2 = 0 ;
4274 PyObject * obj3 = 0 ;
4275 PyObject * obj4 = 0 ;
4276 PyObject * obj5 = 0 ;
4277 PyObject * obj6 = 0 ;
4278 PyObject * obj7 = 0 ;
4279 char * kwnames[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4281 };
4282
4283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4287 }
4288 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4289 ecode2 = SWIG_AsVal_int(obj1, &val2);
4290 if (!SWIG_IsOK(ecode2)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4292 }
4293 arg2 = static_cast< int >(val2);
4294 ecode3 = SWIG_AsVal_int(obj2, &val3);
4295 if (!SWIG_IsOK(ecode3)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4297 }
4298 arg3 = static_cast< int >(val3);
4299 ecode4 = SWIG_AsVal_int(obj3, &val4);
4300 if (!SWIG_IsOK(ecode4)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4302 }
4303 arg4 = static_cast< int >(val4);
4304 ecode5 = SWIG_AsVal_int(obj4, &val5);
4305 if (!SWIG_IsOK(ecode5)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4307 }
4308 arg5 = static_cast< int >(val5);
4309 if (obj5) {
4310 ecode6 = SWIG_AsVal_int(obj5, &val6);
4311 if (!SWIG_IsOK(ecode6)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4313 }
4314 arg6 = static_cast< int >(val6);
4315 }
4316 if (obj6) {
4317 ecode7 = SWIG_AsVal_int(obj6, &val7);
4318 if (!SWIG_IsOK(ecode7)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4320 }
4321 arg7 = static_cast< int >(val7);
4322 }
4323 if (obj7) {
4324 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4325 if (!SWIG_IsOK(ecode8)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4327 }
4328 arg8 = static_cast< bool >(val8);
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_Py_Void();
4337 return resultobj;
4338fail:
4339 return NULL;
4340}
4341
4342
4343SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj = 0;
4345 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4346 int arg2 ;
4347 int arg3 ;
4348 void *argp1 = 0 ;
4349 int res1 = 0 ;
4350 int val2 ;
4351 int ecode2 = 0 ;
4352 int val3 ;
4353 int ecode3 = 0 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 PyObject * obj2 = 0 ;
4357 char * kwnames[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4359 };
4360
4361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4363 if (!SWIG_IsOK(res1)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4365 }
4366 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4367 ecode2 = SWIG_AsVal_int(obj1, &val2);
4368 if (!SWIG_IsOK(ecode2)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4370 }
4371 arg2 = static_cast< int >(val2);
4372 ecode3 = SWIG_AsVal_int(obj2, &val3);
4373 if (!SWIG_IsOK(ecode3)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4375 }
4376 arg3 = static_cast< int >(val3);
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 (arg1)->Scroll(arg2,arg3);
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_Py_Void();
4384 return resultobj;
4385fail:
4386 return NULL;
4387}
4388
4389
4390SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj = 0;
4392 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4393 int arg2 ;
4394 int result;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 int val2 ;
4398 int ecode2 = 0 ;
4399 PyObject * obj0 = 0 ;
4400 PyObject * obj1 = 0 ;
4401 char * kwnames[] = {
4402 (char *) "self",(char *) "orient", NULL
4403 };
4404
4405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4407 if (!SWIG_IsOK(res1)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4409 }
4410 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4411 ecode2 = SWIG_AsVal_int(obj1, &val2);
4412 if (!SWIG_IsOK(ecode2)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 }
4415 arg2 = static_cast< int >(val2);
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 resultobj = SWIG_From_int(static_cast< int >(result));
4423 return resultobj;
4424fail:
4425 return NULL;
4426}
4427
4428
4429SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj = 0;
4431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4432 int arg2 ;
4433 int arg3 ;
4434 void *argp1 = 0 ;
4435 int res1 = 0 ;
4436 int val2 ;
4437 int ecode2 = 0 ;
4438 int val3 ;
4439 int ecode3 = 0 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 PyObject * obj2 = 0 ;
4443 char * kwnames[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4445 };
4446
4447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4449 if (!SWIG_IsOK(res1)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4451 }
4452 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4453 ecode2 = SWIG_AsVal_int(obj1, &val2);
4454 if (!SWIG_IsOK(ecode2)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4456 }
4457 arg2 = static_cast< int >(val2);
4458 ecode3 = SWIG_AsVal_int(obj2, &val3);
4459 if (!SWIG_IsOK(ecode3)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4461 }
4462 arg3 = static_cast< int >(val3);
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 (arg1)->SetScrollPageSize(arg2,arg3);
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 resultobj = SWIG_Py_Void();
4470 return resultobj;
4471fail:
4472 return NULL;
4473}
4474
4475
4476SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj = 0;
4478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4479 int arg2 ;
4480 int arg3 ;
4481 void *argp1 = 0 ;
4482 int res1 = 0 ;
4483 int val2 ;
4484 int ecode2 = 0 ;
4485 int val3 ;
4486 int ecode3 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 PyObject * obj2 = 0 ;
4490 char * kwnames[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4492 };
4493
4494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4496 if (!SWIG_IsOK(res1)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4498 }
4499 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4500 ecode2 = SWIG_AsVal_int(obj1, &val2);
4501 if (!SWIG_IsOK(ecode2)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4503 }
4504 arg2 = static_cast< int >(val2);
4505 ecode3 = SWIG_AsVal_int(obj2, &val3);
4506 if (!SWIG_IsOK(ecode3)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4508 }
4509 arg3 = static_cast< int >(val3);
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 (arg1)->SetScrollRate(arg2,arg3);
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 resultobj = SWIG_Py_Void();
4517 return resultobj;
4518fail:
4519 return NULL;
4520}
4521
4522
4523SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4524 PyObject *resultobj = 0;
4525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4526 int *arg2 = (int *) 0 ;
4527 int *arg3 = (int *) 0 ;
4528 void *argp1 = 0 ;
4529 int res1 = 0 ;
4530 int temp2 ;
4531 int res2 = SWIG_TMPOBJ ;
4532 int temp3 ;
4533 int res3 = SWIG_TMPOBJ ;
4534 PyObject *swig_obj[1] ;
4535
4536 arg2 = &temp2;
4537 arg3 = &temp3;
4538 if (!args) SWIG_fail;
4539 swig_obj[0] = args;
4540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4541 if (!SWIG_IsOK(res1)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4543 }
4544 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2)) {
4553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4554 } else {
4555 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4557 }
4558 if (SWIG_IsTmpObj(res3)) {
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4560 } else {
4561 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4563 }
4564 return resultobj;
4565fail:
4566 return NULL;
4567}
4568
4569
4570SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4571 PyObject *resultobj = 0;
4572 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4573 bool arg2 ;
4574 bool arg3 ;
4575 void *argp1 = 0 ;
4576 int res1 = 0 ;
4577 bool val2 ;
4578 int ecode2 = 0 ;
4579 bool val3 ;
4580 int ecode3 = 0 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 PyObject * obj2 = 0 ;
4584 char * kwnames[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4586 };
4587
4588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4590 if (!SWIG_IsOK(res1)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4592 }
4593 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4595 if (!SWIG_IsOK(ecode2)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4597 }
4598 arg2 = static_cast< bool >(val2);
4599 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4600 if (!SWIG_IsOK(ecode3)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4602 }
4603 arg3 = static_cast< bool >(val3);
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->EnableScrolling(arg2,arg3);
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 resultobj = SWIG_Py_Void();
4611 return resultobj;
4612fail:
4613 return NULL;
4614}
4615
4616
4617SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4618 PyObject *resultobj = 0;
4619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4620 int *arg2 = (int *) 0 ;
4621 int *arg3 = (int *) 0 ;
4622 void *argp1 = 0 ;
4623 int res1 = 0 ;
4624 int temp2 ;
4625 int res2 = SWIG_TMPOBJ ;
4626 int temp3 ;
4627 int res3 = SWIG_TMPOBJ ;
4628 PyObject *swig_obj[1] ;
4629
4630 arg2 = &temp2;
4631 arg3 = &temp3;
4632 if (!args) SWIG_fail;
4633 swig_obj[0] = args;
4634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4635 if (!SWIG_IsOK(res1)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4637 }
4638 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 resultobj = SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4651 }
4652 if (SWIG_IsTmpObj(res3)) {
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4654 } else {
4655 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4657 }
4658 return resultobj;
4659fail:
4660 return NULL;
4661}
4662
4663
4664SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4667 double arg2 ;
4668 double arg3 ;
4669 void *argp1 = 0 ;
4670 int res1 = 0 ;
4671 double val2 ;
4672 int ecode2 = 0 ;
4673 double val3 ;
4674 int ecode3 = 0 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 char * kwnames[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4680 };
4681
4682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4684 if (!SWIG_IsOK(res1)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4686 }
4687 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4688 ecode2 = SWIG_AsVal_double(obj1, &val2);
4689 if (!SWIG_IsOK(ecode2)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4691 }
4692 arg2 = static_cast< double >(val2);
4693 ecode3 = SWIG_AsVal_double(obj2, &val3);
4694 if (!SWIG_IsOK(ecode3)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4696 }
4697 arg3 = static_cast< double >(val3);
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->SetScale(arg2,arg3);
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_Py_Void();
4705 return resultobj;
4706fail:
4707 return NULL;
d55e5bfc
RD
4708}
4709
4710
554f62e9
RD
4711SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4712 PyObject *resultobj = 0;
4713 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4714 double result;
4715 void *argp1 = 0 ;
4716 int res1 = 0 ;
4717 PyObject *swig_obj[1] ;
4718
4719 if (!args) SWIG_fail;
4720 swig_obj[0] = args;
4721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4722 if (!SWIG_IsOK(res1)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4724 }
4725 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = SWIG_From_double(static_cast< double >(result));
4733 return resultobj;
4734fail:
4735 return NULL;
d55e5bfc
RD
4736}
4737
4738
554f62e9
RD
4739SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4740 PyObject *resultobj = 0;
4741 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4742 double result;
4743 void *argp1 = 0 ;
4744 int res1 = 0 ;
4745 PyObject *swig_obj[1] ;
4746
4747 if (!args) SWIG_fail;
4748 swig_obj[0] = args;
4749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4750 if (!SWIG_IsOK(res1)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4752 }
4753 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_From_double(static_cast< double >(result));
4761 return resultobj;
4762fail:
4763 return NULL;
d55e5bfc
RD
4764}
4765
4766
554f62e9
RD
4767SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4768 PyObject *resultobj = 0;
4769 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4770 wxPoint *arg2 = 0 ;
4771 wxPoint result;
4772 void *argp1 = 0 ;
4773 int res1 = 0 ;
4774 wxPoint temp2 ;
4775
4776 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4778 if (!SWIG_IsOK(res1)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4780 }
4781 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4782 {
4783 arg2 = &temp2;
4784 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4793 return resultobj;
4794fail:
4795 return NULL;
4796}
4797
4798
4799SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 int arg2 ;
4803 int arg3 ;
4804 int *arg4 = (int *) 0 ;
4805 int *arg5 = (int *) 0 ;
4806 void *argp1 = 0 ;
4807 int res1 = 0 ;
4808 int val2 ;
4809 int ecode2 = 0 ;
4810 int val3 ;
4811 int ecode3 = 0 ;
4812 int temp4 ;
4813 int res4 = SWIG_TMPOBJ ;
4814 int temp5 ;
4815 int res5 = SWIG_TMPOBJ ;
4816
4817 arg4 = &temp4;
4818 arg5 = &temp5;
4819 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4821 if (!SWIG_IsOK(res1)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4823 }
4824 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4825 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4826 if (!SWIG_IsOK(ecode2)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4828 }
4829 arg2 = static_cast< int >(val2);
4830 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4831 if (!SWIG_IsOK(ecode3)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4833 }
4834 arg3 = static_cast< int >(val3);
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4)) {
4843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4844 } else {
4845 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4847 }
4848 if (SWIG_IsTmpObj(res5)) {
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4850 } else {
4851 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4853 }
4854 return resultobj;
4855fail:
4856 return NULL;
d55e5bfc
RD
4857}
4858
4859
554f62e9
RD
4860SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4861 int argc;
4862 PyObject *argv[4];
4863
4864 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4865 --argc;
4866 if (argc == 2) {
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4868 }
4869 if (argc == 3) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4871 }
4872
4873fail:
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4875 return NULL;
d55e5bfc
RD
4876}
4877
4878
554f62e9
RD
4879SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4880 PyObject *resultobj = 0;
4881 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4882 wxPoint *arg2 = 0 ;
4883 wxPoint result;
4884 void *argp1 = 0 ;
4885 int res1 = 0 ;
4886 wxPoint temp2 ;
4887
4888 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4890 if (!SWIG_IsOK(res1)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4892 }
4893 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4894 {
4895 arg2 = &temp2;
4896 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4897 }
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4905 return resultobj;
4906fail:
4907 return NULL;
4908}
4909
4910
4911SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4912 PyObject *resultobj = 0;
4913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4914 int arg2 ;
4915 int arg3 ;
4916 int *arg4 = (int *) 0 ;
4917 int *arg5 = (int *) 0 ;
4918 void *argp1 = 0 ;
4919 int res1 = 0 ;
4920 int val2 ;
4921 int ecode2 = 0 ;
4922 int val3 ;
4923 int ecode3 = 0 ;
4924 int temp4 ;
4925 int res4 = SWIG_TMPOBJ ;
4926 int temp5 ;
4927 int res5 = SWIG_TMPOBJ ;
4928
4929 arg4 = &temp4;
4930 arg5 = &temp5;
4931 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4935 }
4936 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4937 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4940 }
4941 arg2 = static_cast< int >(val2);
4942 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4943 if (!SWIG_IsOK(ecode3)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4945 }
4946 arg3 = static_cast< int >(val3);
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4)) {
4955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4956 } else {
4957 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4959 }
4960 if (SWIG_IsTmpObj(res5)) {
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4962 } else {
4963 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4965 }
4966 return resultobj;
4967fail:
4968 return NULL;
d55e5bfc
RD
4969}
4970
4971
554f62e9
RD
4972SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4973 int argc;
4974 PyObject *argv[4];
4975
4976 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4977 --argc;
4978 if (argc == 2) {
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4980 }
4981 if (argc == 3) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4983 }
4984
4985fail:
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4987 return NULL;
d55e5bfc
RD
4988}
4989
4990
554f62e9
RD
4991SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4992 PyObject *resultobj = 0;
4993 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4994 void *argp1 = 0 ;
4995 int res1 = 0 ;
4996 PyObject *swig_obj[1] ;
4997
4998 if (!args) SWIG_fail;
4999 swig_obj[0] = args;
5000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5001 if (!SWIG_IsOK(res1)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5003 }
5004 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = SWIG_Py_Void();
5012 return resultobj;
5013fail:
5014 return NULL;
5015}
5016
5017
5018SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj = 0;
5020 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5021 wxScrollWinEvent *arg2 = 0 ;
5022 int result;
5023 void *argp1 = 0 ;
5024 int res1 = 0 ;
5025 void *argp2 = 0 ;
5026 int res2 = 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char * kwnames[] = {
5030 (char *) "self",(char *) "event", NULL
5031 };
5032
5033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5035 if (!SWIG_IsOK(res1)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5037 }
5038 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5040 if (!SWIG_IsOK(res2)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5042 }
5043 if (!argp2) {
5044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (int)(arg1)->CalcScrollInc(*arg2);
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = SWIG_From_int(static_cast< int >(result));
5054 return resultobj;
5055fail:
5056 return NULL;
5057}
5058
5059
5060SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj = 0;
5062 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5063 wxWindow *arg2 = (wxWindow *) 0 ;
5064 void *argp1 = 0 ;
5065 int res1 = 0 ;
5066 void *argp2 = 0 ;
5067 int res2 = 0 ;
5068 PyObject * obj0 = 0 ;
5069 PyObject * obj1 = 0 ;
5070 char * kwnames[] = {
5071 (char *) "self",(char *) "target", NULL
5072 };
5073
5074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5076 if (!SWIG_IsOK(res1)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5078 }
5079 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5081 if (!SWIG_IsOK(res2)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5083 }
5084 arg2 = reinterpret_cast< wxWindow * >(argp2);
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 (arg1)->SetTargetWindow(arg2);
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 resultobj = SWIG_Py_Void();
5092 return resultobj;
5093fail:
5094 return NULL;
d55e5bfc
RD
5095}
5096
5097
554f62e9
RD
5098SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5099 PyObject *resultobj = 0;
5100 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5101 wxWindow *result = 0 ;
5102 void *argp1 = 0 ;
5103 int res1 = 0 ;
5104 PyObject *swig_obj[1] ;
5105
5106 if (!args) SWIG_fail;
5107 swig_obj[0] = args;
5108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5109 if (!SWIG_IsOK(res1)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5111 }
5112 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 resultobj = wxPyMake_wxObject(result, 0);
5121 }
5122 return resultobj;
5123fail:
5124 return NULL;
5125}
5126
5127
5128SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj = 0;
5130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5131 wxRect *arg2 = 0 ;
5132 void *argp1 = 0 ;
5133 int res1 = 0 ;
5134 wxRect temp2 ;
5135 PyObject * obj0 = 0 ;
5136 PyObject * obj1 = 0 ;
5137 char * kwnames[] = {
5138 (char *) "self",(char *) "rect", NULL
5139 };
5140
5141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5143 if (!SWIG_IsOK(res1)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5145 }
5146 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5147 {
5148 arg2 = &temp2;
5149 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5150 }
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 (arg1)->SetTargetRect((wxRect const &)*arg2);
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 resultobj = SWIG_Py_Void();
5158 return resultobj;
5159fail:
5160 return NULL;
d55e5bfc
RD
5161}
5162
5163
554f62e9
RD
5164SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5165 PyObject *resultobj = 0;
5166 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5167 wxRect result;
5168 void *argp1 = 0 ;
5169 int res1 = 0 ;
5170 PyObject *swig_obj[1] ;
5171
5172 if (!args) SWIG_fail;
5173 swig_obj[0] = args;
5174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5175 if (!SWIG_IsOK(res1)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5177 }
5178 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5186 return resultobj;
5187fail:
5188 return NULL;
5189}
5190
5191
5192SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj = 0;
5194 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5195 wxDC *arg2 = 0 ;
5196 void *argp1 = 0 ;
5197 int res1 = 0 ;
5198 void *argp2 = 0 ;
5199 int res2 = 0 ;
5200 PyObject * obj0 = 0 ;
5201 PyObject * obj1 = 0 ;
5202 char * kwnames[] = {
5203 (char *) "self",(char *) "dc", NULL
5204 };
5205
5206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5208 if (!SWIG_IsOK(res1)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5210 }
5211 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5212 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5213 if (!SWIG_IsOK(res2)) {
5214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5215 }
5216 if (!argp2) {
5217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5218 }
5219 arg2 = reinterpret_cast< wxDC * >(argp2);
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 (arg1)->DoPrepareDC(*arg2);
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = SWIG_Py_Void();
5227 return resultobj;
5228fail:
5229 return NULL;
5230}
5231
5232
5233SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj = 0;
5235 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5236 SwigValueWrapper<wxVisualAttributes > result;
5237 int val1 ;
5238 int ecode1 = 0 ;
5239 PyObject * obj0 = 0 ;
5240 char * kwnames[] = {
5241 (char *) "variant", NULL
5242 };
5243
5244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5245 if (obj0) {
5246 ecode1 = SWIG_AsVal_int(obj0, &val1);
5247 if (!SWIG_IsOK(ecode1)) {
5248 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5249 }
5250 arg1 = static_cast< wxWindowVariant >(val1);
5251 }
5252 {
5253 if (!wxPyCheckForApp()) SWIG_fail;
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
5259 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5260 return resultobj;
5261fail:
5262 return NULL;
d55e5bfc
RD
5263}
5264
5265
554f62e9
RD
5266SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5267 PyObject *obj;
5268 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5269 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5270 return SWIG_Py_Void();
d55e5bfc
RD
5271}
5272
554f62e9
RD
5273SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5274 return SWIG_Python_InitShadowInstance(args);
5275}
d55e5bfc 5276
554f62e9
RD
5277SWIGINTERN int FrameNameStr_set(PyObject *) {
5278 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5279 return 1;
d55e5bfc
RD
5280}
5281
5282
554f62e9
RD
5283SWIGINTERN PyObject *FrameNameStr_get(void) {
5284 PyObject *pyobj = 0;
5285
5286 {
5287#if wxUSE_UNICODE
5288 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5289#else
5290 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5291#endif
5292 }
5293 return pyobj;
d55e5bfc
RD
5294}
5295
5296
554f62e9
RD
5297SWIGINTERN int DialogNameStr_set(PyObject *) {
5298 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5299 return 1;
d55e5bfc
RD
5300}
5301
5302
554f62e9
RD
5303SWIGINTERN PyObject *DialogNameStr_get(void) {
5304 PyObject *pyobj = 0;
5305
5306 {
5307#if wxUSE_UNICODE
5308 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5309#else
5310 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5311#endif
5312 }
5313 return pyobj;
d55e5bfc
RD
5314}
5315
5316
554f62e9
RD
5317SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5318 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5319 return 1;
d55e5bfc
RD
5320}
5321
5322
554f62e9
RD
5323SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5324 PyObject *pyobj = 0;
5325
5326 {
5327#if wxUSE_UNICODE
5328 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5329#else
5330 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5331#endif
5332 }
5333 return pyobj;
d55e5bfc
RD
5334}
5335
5336
554f62e9
RD
5337SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5338 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5339 return 1;
d55e5bfc
RD
5340}
5341
5342
554f62e9
RD
5343SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5344 PyObject *pyobj = 0;
5345
5346 {
5347#if wxUSE_UNICODE
5348 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5349#else
5350 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5351#endif
5352 }
5353 return pyobj;
5354}
5355
5356
5357SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj = 0;
5359 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5360 bool arg2 = (bool) true ;
5361 void *argp1 = 0 ;
5362 int res1 = 0 ;
5363 bool val2 ;
5364 int ecode2 = 0 ;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char * kwnames[] = {
5368 (char *) "self",(char *) "maximize", NULL
5369 };
5370
5371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5373 if (!SWIG_IsOK(res1)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5375 }
5376 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5377 if (obj1) {
5378 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5379 if (!SWIG_IsOK(ecode2)) {
5380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5381 }
5382 arg2 = static_cast< bool >(val2);
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 (arg1)->Maximize(arg2);
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 resultobj = SWIG_Py_Void();
5391 return resultobj;
5392fail:
5393 return NULL;
d55e5bfc
RD
5394}
5395
5396
554f62e9
RD
5397SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5398 PyObject *resultobj = 0;
5399 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5400 void *argp1 = 0 ;
5401 int res1 = 0 ;
5402 PyObject *swig_obj[1] ;
5403
5404 if (!args) SWIG_fail;
5405 swig_obj[0] = args;
5406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5407 if (!SWIG_IsOK(res1)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5409 }
5410 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->Restore();
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 resultobj = SWIG_Py_Void();
5418 return resultobj;
5419fail:
5420 return NULL;
5421}
5422
5423
5424SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = 0;
5426 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5427 bool arg2 = (bool) true ;
5428 void *argp1 = 0 ;
5429 int res1 = 0 ;
5430 bool val2 ;
5431 int ecode2 = 0 ;
5432 PyObject * obj0 = 0 ;
5433 PyObject * obj1 = 0 ;
5434 char * kwnames[] = {
5435 (char *) "self",(char *) "iconize", NULL
5436 };
5437
5438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5440 if (!SWIG_IsOK(res1)) {
5441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5442 }
5443 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5444 if (obj1) {
5445 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5446 if (!SWIG_IsOK(ecode2)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5448 }
5449 arg2 = static_cast< bool >(val2);
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 (arg1)->Iconize(arg2);
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 resultobj = SWIG_Py_Void();
5458 return resultobj;
5459fail:
5460 return NULL;
d55e5bfc
RD
5461}
5462
5463
554f62e9
RD
5464SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5465 PyObject *resultobj = 0;
5466 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5467 bool result;
5468 void *argp1 = 0 ;
5469 int res1 = 0 ;
5470 PyObject *swig_obj[1] ;
5471
5472 if (!args) SWIG_fail;
5473 swig_obj[0] = args;
5474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5475 if (!SWIG_IsOK(res1)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 }
5478 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 {
5486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5487 }
5488 return resultobj;
5489fail:
5490 return NULL;
d55e5bfc
RD
5491}
5492
5493
f460c29d
RD
5494SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5495 PyObject *resultobj = 0;
5496 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5497 bool result;
5498 void *argp1 = 0 ;
5499 int res1 = 0 ;
5500 PyObject *swig_obj[1] ;
5501
5502 if (!args) SWIG_fail;
5503 swig_obj[0] = args;
5504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5505 if (!SWIG_IsOK(res1)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 }
5508 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 {
5516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5517 }
5518 return resultobj;
5519fail:
5520 return NULL;
5521}
5522
5523
554f62e9
RD
5524SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5525 PyObject *resultobj = 0;
5526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5527 bool result;
5528 void *argp1 = 0 ;
5529 int res1 = 0 ;
5530 PyObject *swig_obj[1] ;
5531
5532 if (!args) SWIG_fail;
5533 swig_obj[0] = args;
5534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5537 }
5538 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 {
5546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5547 }
5548 return resultobj;
5549fail:
5550 return NULL;
d55e5bfc
RD
5551}
5552
5553
554f62e9
RD
5554SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5555 PyObject *resultobj = 0;
5556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5557 wxIcon result;
5558 void *argp1 = 0 ;
5559 int res1 = 0 ;
5560 PyObject *swig_obj[1] ;
5561
5562 if (!args) SWIG_fail;
5563 swig_obj[0] = args;
5564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5565 if (!SWIG_IsOK(res1)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5567 }
5568 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5576 return resultobj;
5577fail:
5578 return NULL;
5579}
5580
5581
5582SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj = 0;
5584 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5585 wxIcon *arg2 = 0 ;
5586 void *argp1 = 0 ;
5587 int res1 = 0 ;
5588 void *argp2 = 0 ;
5589 int res2 = 0 ;
5590 PyObject * obj0 = 0 ;
5591 PyObject * obj1 = 0 ;
5592 char * kwnames[] = {
5593 (char *) "self",(char *) "icon", NULL
5594 };
5595
5596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5598 if (!SWIG_IsOK(res1)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5600 }
5601 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5602 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5603 if (!SWIG_IsOK(res2)) {
5604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5605 }
5606 if (!argp2) {
5607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5608 }
5609 arg2 = reinterpret_cast< wxIcon * >(argp2);
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 (arg1)->SetIcon((wxIcon const &)*arg2);
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_Py_Void();
5617 return resultobj;
5618fail:
5619 return NULL;
5620}
5621
5622
5623SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj = 0;
5625 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5626 wxIconBundle *arg2 = 0 ;
5627 void *argp1 = 0 ;
5628 int res1 = 0 ;
5629 void *argp2 = 0 ;
5630 int res2 = 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char * kwnames[] = {
5634 (char *) "self",(char *) "icons", NULL
5635 };
5636
5637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5639 if (!SWIG_IsOK(res1)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5641 }
5642 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5643 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5644 if (!SWIG_IsOK(res2)) {
5645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5646 }
5647 if (!argp2) {
5648 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5649 }
5650 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 resultobj = SWIG_Py_Void();
5658 return resultobj;
5659fail:
5660 return NULL;
5661}
5662
5663
5664SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj = 0;
5666 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5667 bool arg2 ;
5668 long arg3 = (long) wxFULLSCREEN_ALL ;
5669 bool result;
5670 void *argp1 = 0 ;
5671 int res1 = 0 ;
5672 bool val2 ;
5673 int ecode2 = 0 ;
5674 long val3 ;
5675 int ecode3 = 0 ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 char * kwnames[] = {
5680 (char *) "self",(char *) "show",(char *) "style", NULL
5681 };
5682
5683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5685 if (!SWIG_IsOK(res1)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5687 }
5688 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5689 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5690 if (!SWIG_IsOK(ecode2)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5692 }
5693 arg2 = static_cast< bool >(val2);
5694 if (obj2) {
5695 ecode3 = SWIG_AsVal_long(obj2, &val3);
5696 if (!SWIG_IsOK(ecode3)) {
5697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5698 }
5699 arg3 = static_cast< long >(val3);
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 {
5708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5709 }
5710 return resultobj;
5711fail:
5712 return NULL;
d55e5bfc
RD
5713}
5714
5715
554f62e9
RD
5716SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5717 PyObject *resultobj = 0;
5718 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5719 bool result;
5720 void *argp1 = 0 ;
5721 int res1 = 0 ;
5722 PyObject *swig_obj[1] ;
5723
5724 if (!args) SWIG_fail;
5725 swig_obj[0] = args;
5726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5727 if (!SWIG_IsOK(res1)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5729 }
5730 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5739 }
5740 return resultobj;
5741fail:
5742 return NULL;
5743}
5744
5745
5746SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj = 0;
5748 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5749 wxString *arg2 = 0 ;
5750 void *argp1 = 0 ;
5751 int res1 = 0 ;
5752 bool temp2 = false ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char * kwnames[] = {
5756 (char *) "self",(char *) "title", NULL
5757 };
5758
5759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5761 if (!SWIG_IsOK(res1)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5763 }
5764 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5765 {
5766 arg2 = wxString_in_helper(obj1);
5767 if (arg2 == NULL) SWIG_fail;
5768 temp2 = true;
5769 }
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 (arg1)->SetTitle((wxString const &)*arg2);
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 resultobj = SWIG_Py_Void();
5777 {
5778 if (temp2)
5779 delete arg2;
5780 }
5781 return resultobj;
5782fail:
5783 {
5784 if (temp2)
5785 delete arg2;
5786 }
5787 return NULL;
d55e5bfc
RD
5788}
5789
5790
554f62e9
RD
5791SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5792 PyObject *resultobj = 0;
5793 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5794 wxString result;
5795 void *argp1 = 0 ;
5796 int res1 = 0 ;
5797 PyObject *swig_obj[1] ;
5798
5799 if (!args) SWIG_fail;
5800 swig_obj[0] = args;
5801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5802 if (!SWIG_IsOK(res1)) {
5803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5804 }
5805 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 {
5813#if wxUSE_UNICODE
5814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5815#else
5816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5817#endif
5818 }
5819 return resultobj;
5820fail:
5821 return NULL;
5822}
5823
5824
5825SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj = 0;
5827 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5828 wxRegion *arg2 = 0 ;
5829 bool result;
5830 void *argp1 = 0 ;
5831 int res1 = 0 ;
5832 void *argp2 = 0 ;
5833 int res2 = 0 ;
5834 PyObject * obj0 = 0 ;
5835 PyObject * obj1 = 0 ;
5836 char * kwnames[] = {
5837 (char *) "self",(char *) "region", NULL
5838 };
5839
5840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5842 if (!SWIG_IsOK(res1)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5844 }
5845 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5846 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5847 if (!SWIG_IsOK(res2)) {
5848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5849 }
5850 if (!argp2) {
5851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5852 }
5853 arg2 = reinterpret_cast< wxRegion * >(argp2);
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 {
5861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5862 }
5863 return resultobj;
5864fail:
5865 return NULL;
5866}
5867
5868
5869SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj = 0;
5871 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5872 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 int val2 ;
5876 int ecode2 = 0 ;
5877 PyObject * obj0 = 0 ;
5878 PyObject * obj1 = 0 ;
5879 char * kwnames[] = {
5880 (char *) "self",(char *) "flags", NULL
5881 };
5882
5883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5885 if (!SWIG_IsOK(res1)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5887 }
5888 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5889 if (obj1) {
5890 ecode2 = SWIG_AsVal_int(obj1, &val2);
5891 if (!SWIG_IsOK(ecode2)) {
5892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5893 }
5894 arg2 = static_cast< int >(val2);
5895 }
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 (arg1)->RequestUserAttention(arg2);
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = SWIG_Py_Void();
5903 return resultobj;
5904fail:
5905 return NULL;
d55e5bfc
RD
5906}
5907
5908
554f62e9
RD
5909SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5910 PyObject *resultobj = 0;
5911 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5912 bool result;
5913 void *argp1 = 0 ;
5914 int res1 = 0 ;
5915 PyObject *swig_obj[1] ;
5916
5917 if (!args) SWIG_fail;
5918 swig_obj[0] = args;
5919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5920 if (!SWIG_IsOK(res1)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5922 }
5923 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5924 {
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (bool)(arg1)->IsActive();
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 {
5931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5932 }
5933 return resultobj;
5934fail:
5935 return NULL;
5936}
5937
5938
5939SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj = 0;
5941 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5942 bool arg2 ;
5943 void *argp1 = 0 ;
5944 int res1 = 0 ;
5945 bool val2 ;
5946 int ecode2 = 0 ;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 char * kwnames[] = {
5950 (char *) "self",(char *) "on", NULL
5951 };
5952
5953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5955 if (!SWIG_IsOK(res1)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5957 }
5958 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5959 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5960 if (!SWIG_IsOK(ecode2)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5962 }
5963 arg2 = static_cast< bool >(val2);
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 resultobj = SWIG_Py_Void();
5971 return resultobj;
5972fail:
5973 return NULL;
d55e5bfc
RD
5974}
5975
5976
554f62e9
RD
5977SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5978 PyObject *resultobj = 0;
5979 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5980 bool result;
5981 void *argp1 = 0 ;
5982 int res1 = 0 ;
5983 PyObject *swig_obj[1] ;
5984
5985 if (!args) SWIG_fail;
5986 swig_obj[0] = args;
5987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5988 if (!SWIG_IsOK(res1)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5990 }
5991 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 {
5999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6000 }
6001 return resultobj;
6002fail:
6003 return NULL;
6004}
6005
6006
6007SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj = 0;
6009 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6010 int arg2 = (int) wxBOTH ;
6011 void *argp1 = 0 ;
6012 int res1 = 0 ;
6013 int val2 ;
6014 int ecode2 = 0 ;
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 char * kwnames[] = {
6018 (char *) "self",(char *) "dir", NULL
6019 };
6020
6021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6023 if (!SWIG_IsOK(res1)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6025 }
6026 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6027 if (obj1) {
6028 ecode2 = SWIG_AsVal_int(obj1, &val2);
6029 if (!SWIG_IsOK(ecode2)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6031 }
6032 arg2 = static_cast< int >(val2);
6033 }
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 (arg1)->CenterOnScreen(arg2);
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = SWIG_Py_Void();
6041 return resultobj;
6042fail:
6043 return NULL;
6044}
6045
6046
6047SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6048 PyObject *obj;
6049 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6050 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6051 return SWIG_Py_Void();
6052}
6053
6054SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj = 0;
6056 wxWindow *arg1 = (wxWindow *) 0 ;
6057 int arg2 = (int) (int)-1 ;
6058 wxString const &arg3_defvalue = wxPyEmptyString ;
6059 wxString *arg3 = (wxString *) &arg3_defvalue ;
6060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6062 wxSize const &arg5_defvalue = wxDefaultSize ;
6063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6064 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6065 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6066 wxString *arg7 = (wxString *) &arg7_defvalue ;
6067 wxFrame *result = 0 ;
6068 void *argp1 = 0 ;
6069 int res1 = 0 ;
6070 int val2 ;
6071 int ecode2 = 0 ;
6072 bool temp3 = false ;
6073 wxPoint temp4 ;
6074 wxSize temp5 ;
6075 long val6 ;
6076 int ecode6 = 0 ;
6077 bool temp7 = false ;
6078 PyObject * obj0 = 0 ;
6079 PyObject * obj1 = 0 ;
6080 PyObject * obj2 = 0 ;
6081 PyObject * obj3 = 0 ;
6082 PyObject * obj4 = 0 ;
6083 PyObject * obj5 = 0 ;
6084 PyObject * obj6 = 0 ;
6085 char * kwnames[] = {
6086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6087 };
6088
6089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6091 if (!SWIG_IsOK(res1)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6093 }
6094 arg1 = reinterpret_cast< wxWindow * >(argp1);
6095 if (obj1) {
6096 ecode2 = SWIG_AsVal_int(obj1, &val2);
6097 if (!SWIG_IsOK(ecode2)) {
6098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6099 }
6100 arg2 = static_cast< int >(val2);
6101 }
6102 if (obj2) {
093d3ff1 6103 {
554f62e9
RD
6104 arg3 = wxString_in_helper(obj2);
6105 if (arg3 == NULL) SWIG_fail;
6106 temp3 = true;
f5b96ee1 6107 }
554f62e9
RD
6108 }
6109 if (obj3) {
f5b96ee1 6110 {
554f62e9
RD
6111 arg4 = &temp4;
6112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 6113 }
554f62e9
RD
6114 }
6115 if (obj4) {
f20a2e1f 6116 {
554f62e9
RD
6117 arg5 = &temp5;
6118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 6119 }
554f62e9
RD
6120 }
6121 if (obj5) {
6122 ecode6 = SWIG_AsVal_long(obj5, &val6);
6123 if (!SWIG_IsOK(ecode6)) {
6124 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6125 }
6126 arg6 = static_cast< long >(val6);
6127 }
6128 if (obj6) {
f20a2e1f 6129 {
554f62e9
RD
6130 arg7 = wxString_in_helper(obj6);
6131 if (arg7 == NULL) SWIG_fail;
6132 temp7 = true;
f20a2e1f 6133 }
554f62e9
RD
6134 }
6135 {
6136 if (!wxPyCheckForApp()) SWIG_fail;
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6143 {
6144 if (temp3)
6145 delete arg3;
6146 }
6147 {
6148 if (temp7)
6149 delete arg7;
6150 }
6151 return resultobj;
6152fail:
6153 {
6154 if (temp3)
6155 delete arg3;
6156 }
6157 {
6158 if (temp7)
6159 delete arg7;
6160 }
6161 return NULL;
d55e5bfc
RD
6162}
6163
6164
554f62e9
RD
6165SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6166 PyObject *resultobj = 0;
6167 wxFrame *result = 0 ;
6168
6169 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6170 {
6171 if (!wxPyCheckForApp()) SWIG_fail;
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (wxFrame *)new wxFrame();
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6178 return resultobj;
6179fail:
6180 return NULL;
6181}
6182
6183
6184SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj = 0;
6186 wxFrame *arg1 = (wxFrame *) 0 ;
6187 wxWindow *arg2 = (wxWindow *) 0 ;
6188 int arg3 = (int) (int)-1 ;
6189 wxString const &arg4_defvalue = wxPyEmptyString ;
6190 wxString *arg4 = (wxString *) &arg4_defvalue ;
6191 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6192 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6193 wxSize const &arg6_defvalue = wxDefaultSize ;
6194 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6195 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6196 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6197 wxString *arg8 = (wxString *) &arg8_defvalue ;
6198 bool result;
6199 void *argp1 = 0 ;
6200 int res1 = 0 ;
6201 void *argp2 = 0 ;
6202 int res2 = 0 ;
6203 int val3 ;
6204 int ecode3 = 0 ;
6205 bool temp4 = false ;
6206 wxPoint temp5 ;
6207 wxSize temp6 ;
6208 long val7 ;
6209 int ecode7 = 0 ;
6210 bool temp8 = false ;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj1 = 0 ;
6213 PyObject * obj2 = 0 ;
6214 PyObject * obj3 = 0 ;
6215 PyObject * obj4 = 0 ;
6216 PyObject * obj5 = 0 ;
6217 PyObject * obj6 = 0 ;
6218 PyObject * obj7 = 0 ;
6219 char * kwnames[] = {
6220 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6221 };
6222
6223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6225 if (!SWIG_IsOK(res1)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6227 }
6228 arg1 = reinterpret_cast< wxFrame * >(argp1);
6229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6230 if (!SWIG_IsOK(res2)) {
6231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6232 }
6233 arg2 = reinterpret_cast< wxWindow * >(argp2);
6234 if (obj2) {
6235 ecode3 = SWIG_AsVal_int(obj2, &val3);
6236 if (!SWIG_IsOK(ecode3)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6238 }
6239 arg3 = static_cast< int >(val3);
6240 }
6241 if (obj3) {
d55e5bfc 6242 {
554f62e9
RD
6243 arg4 = wxString_in_helper(obj3);
6244 if (arg4 == NULL) SWIG_fail;
6245 temp4 = true;
d55e5bfc 6246 }
554f62e9
RD
6247 }
6248 if (obj4) {
d55e5bfc 6249 {
554f62e9
RD
6250 arg5 = &temp5;
6251 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6252 }
554f62e9
RD
6253 }
6254 if (obj5) {
d55e5bfc 6255 {
554f62e9
RD
6256 arg6 = &temp6;
6257 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6258 }
554f62e9
RD
6259 }
6260 if (obj6) {
6261 ecode7 = SWIG_AsVal_long(obj6, &val7);
6262 if (!SWIG_IsOK(ecode7)) {
6263 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6264 }
6265 arg7 = static_cast< long >(val7);
6266 }
6267 if (obj7) {
6268 {
6269 arg8 = wxString_in_helper(obj7);
6270 if (arg8 == NULL) SWIG_fail;
6271 temp8 = true;
6272 }
6273 }
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 {
6281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6282 }
6283 {
6284 if (temp4)
6285 delete arg4;
6286 }
6287 {
6288 if (temp8)
6289 delete arg8;
6290 }
6291 return resultobj;
6292fail:
6293 {
6294 if (temp4)
6295 delete arg4;
6296 }
6297 {
6298 if (temp8)
6299 delete arg8;
6300 }
6301 return NULL;
d55e5bfc
RD
6302}
6303
6304
554f62e9
RD
6305SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6306 PyObject *resultobj = 0;
6307 wxFrame *arg1 = (wxFrame *) 0 ;
6308 void *argp1 = 0 ;
6309 int res1 = 0 ;
6310 PyObject *swig_obj[1] ;
6311
6312 if (!args) SWIG_fail;
6313 swig_obj[0] = args;
6314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6315 if (!SWIG_IsOK(res1)) {
6316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6317 }
6318 arg1 = reinterpret_cast< wxFrame * >(argp1);
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 (arg1)->SendSizeEvent();
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 resultobj = SWIG_Py_Void();
6326 return resultobj;
6327fail:
6328 return NULL;
6329}
6330
6331
6332SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6333 PyObject *resultobj = 0;
6334 wxFrame *arg1 = (wxFrame *) 0 ;
6335 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6336 void *argp1 = 0 ;
6337 int res1 = 0 ;
6338 void *argp2 = 0 ;
6339 int res2 = 0 ;
6340 PyObject * obj0 = 0 ;
6341 PyObject * obj1 = 0 ;
6342 char * kwnames[] = {
6343 (char *) "self",(char *) "menubar", NULL
6344 };
6345
6346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6348 if (!SWIG_IsOK(res1)) {
6349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6350 }
6351 arg1 = reinterpret_cast< wxFrame * >(argp1);
6352 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6353 if (!SWIG_IsOK(res2)) {
6354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6355 }
6356 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 (arg1)->SetMenuBar(arg2);
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_Py_Void();
6364 return resultobj;
6365fail:
6366 return NULL;
d55e5bfc
RD
6367}
6368
6369
554f62e9
RD
6370SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6371 PyObject *resultobj = 0;
6372 wxFrame *arg1 = (wxFrame *) 0 ;
6373 wxMenuBar *result = 0 ;
6374 void *argp1 = 0 ;
6375 int res1 = 0 ;
6376 PyObject *swig_obj[1] ;
6377
6378 if (!args) SWIG_fail;
6379 swig_obj[0] = args;
6380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6381 if (!SWIG_IsOK(res1)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6383 }
6384 arg1 = reinterpret_cast< wxFrame * >(argp1);
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 {
6392 resultobj = wxPyMake_wxObject(result, 0);
6393 }
6394 return resultobj;
6395fail:
6396 return NULL;
6397}
6398
6399
6400SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj = 0;
6402 wxFrame *arg1 = (wxFrame *) 0 ;
6403 int arg2 ;
6404 bool result;
6405 void *argp1 = 0 ;
6406 int res1 = 0 ;
6407 int val2 ;
6408 int ecode2 = 0 ;
6409 PyObject * obj0 = 0 ;
6410 PyObject * obj1 = 0 ;
6411 char * kwnames[] = {
6412 (char *) "self",(char *) "winid", NULL
6413 };
6414
6415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) 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_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6419 }
6420 arg1 = reinterpret_cast< wxFrame * >(argp1);
6421 ecode2 = SWIG_AsVal_int(obj1, &val2);
6422 if (!SWIG_IsOK(ecode2)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6424 }
6425 arg2 = static_cast< int >(val2);
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (bool)(arg1)->ProcessCommand(arg2);
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 {
6433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6434 }
6435 return resultobj;
6436fail:
6437 return NULL;
6438}
6439
6440
6441SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6442 PyObject *resultobj = 0;
6443 wxFrame *arg1 = (wxFrame *) 0 ;
6444 int arg2 = (int) 1 ;
6445 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6446 int arg4 = (int) 0 ;
6447 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6448 wxString *arg5 = (wxString *) &arg5_defvalue ;
6449 wxStatusBar *result = 0 ;
6450 void *argp1 = 0 ;
6451 int res1 = 0 ;
6452 int val2 ;
6453 int ecode2 = 0 ;
6454 long val3 ;
6455 int ecode3 = 0 ;
6456 int val4 ;
6457 int ecode4 = 0 ;
6458 bool temp5 = false ;
6459 PyObject * obj0 = 0 ;
6460 PyObject * obj1 = 0 ;
6461 PyObject * obj2 = 0 ;
6462 PyObject * obj3 = 0 ;
6463 PyObject * obj4 = 0 ;
6464 char * kwnames[] = {
6465 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6466 };
6467
6468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6470 if (!SWIG_IsOK(res1)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6472 }
6473 arg1 = reinterpret_cast< wxFrame * >(argp1);
6474 if (obj1) {
6475 ecode2 = SWIG_AsVal_int(obj1, &val2);
6476 if (!SWIG_IsOK(ecode2)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6478 }
6479 arg2 = static_cast< int >(val2);
6480 }
6481 if (obj2) {
6482 ecode3 = SWIG_AsVal_long(obj2, &val3);
6483 if (!SWIG_IsOK(ecode3)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6485 }
6486 arg3 = static_cast< long >(val3);
6487 }
6488 if (obj3) {
6489 ecode4 = SWIG_AsVal_int(obj3, &val4);
6490 if (!SWIG_IsOK(ecode4)) {
6491 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6492 }
6493 arg4 = static_cast< int >(val4);
6494 }
6495 if (obj4) {
d55e5bfc 6496 {
554f62e9
RD
6497 arg5 = wxString_in_helper(obj4);
6498 if (arg5 == NULL) SWIG_fail;
6499 temp5 = true;
6500 }
6501 }
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 {
6509 resultobj = wxPyMake_wxObject(result, (bool)0);
6510 }
6511 {
6512 if (temp5)
6513 delete arg5;
6514 }
6515 return resultobj;
6516fail:
6517 {
6518 if (temp5)
6519 delete arg5;
6520 }
6521 return NULL;
d55e5bfc
RD
6522}
6523
6524
554f62e9
RD
6525SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6526 PyObject *resultobj = 0;
6527 wxFrame *arg1 = (wxFrame *) 0 ;
6528 wxStatusBar *result = 0 ;
6529 void *argp1 = 0 ;
6530 int res1 = 0 ;
6531 PyObject *swig_obj[1] ;
6532
6533 if (!args) SWIG_fail;
6534 swig_obj[0] = args;
6535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6536 if (!SWIG_IsOK(res1)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6538 }
6539 arg1 = reinterpret_cast< wxFrame * >(argp1);
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 {
6547 resultobj = wxPyMake_wxObject(result, (bool)0);
6548 }
6549 return resultobj;
6550fail:
6551 return NULL;
6552}
6553
6554
6555SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj = 0;
6557 wxFrame *arg1 = (wxFrame *) 0 ;
6558 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6559 void *argp1 = 0 ;
6560 int res1 = 0 ;
6561 void *argp2 = 0 ;
6562 int res2 = 0 ;
6563 PyObject * obj0 = 0 ;
6564 PyObject * obj1 = 0 ;
6565 char * kwnames[] = {
6566 (char *) "self",(char *) "statBar", NULL
6567 };
6568
6569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6571 if (!SWIG_IsOK(res1)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6573 }
6574 arg1 = reinterpret_cast< wxFrame * >(argp1);
6575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6576 if (!SWIG_IsOK(res2)) {
6577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6578 }
6579 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 (arg1)->SetStatusBar(arg2);
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 resultobj = SWIG_Py_Void();
6587 return resultobj;
6588fail:
6589 return NULL;
6590}
6591
6592
6593SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj = 0;
6595 wxFrame *arg1 = (wxFrame *) 0 ;
6596 wxString *arg2 = 0 ;
6597 int arg3 = (int) 0 ;
6598 void *argp1 = 0 ;
6599 int res1 = 0 ;
6600 bool temp2 = false ;
6601 int val3 ;
6602 int ecode3 = 0 ;
6603 PyObject * obj0 = 0 ;
6604 PyObject * obj1 = 0 ;
6605 PyObject * obj2 = 0 ;
6606 char * kwnames[] = {
6607 (char *) "self",(char *) "text",(char *) "number", NULL
6608 };
6609
6610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6612 if (!SWIG_IsOK(res1)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6614 }
6615 arg1 = reinterpret_cast< wxFrame * >(argp1);
6616 {
6617 arg2 = wxString_in_helper(obj1);
6618 if (arg2 == NULL) SWIG_fail;
6619 temp2 = true;
6620 }
6621 if (obj2) {
6622 ecode3 = SWIG_AsVal_int(obj2, &val3);
6623 if (!SWIG_IsOK(ecode3)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6625 }
6626 arg3 = static_cast< int >(val3);
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 resultobj = SWIG_Py_Void();
6635 {
6636 if (temp2)
6637 delete arg2;
6638 }
6639 return resultobj;
6640fail:
6641 {
6642 if (temp2)
6643 delete arg2;
6644 }
6645 return NULL;
d55e5bfc
RD
6646}
6647
6648
554f62e9
RD
6649SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj = 0;
6651 wxFrame *arg1 = (wxFrame *) 0 ;
6652 int arg2 ;
6653 int *arg3 = (int *) 0 ;
6654 void *argp1 = 0 ;
6655 int res1 = 0 ;
6656 PyObject * obj0 = 0 ;
6657 PyObject * obj1 = 0 ;
6658 char * kwnames[] = {
6659 (char *) "self",(char *) "widths", NULL
6660 };
6661
6662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6664 if (!SWIG_IsOK(res1)) {
6665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6666 }
6667 arg1 = reinterpret_cast< wxFrame * >(argp1);
6668 {
6669 arg2 = PyList_Size(obj1);
6670 arg3 = int_LIST_helper(obj1);
6671 if (arg3 == NULL) SWIG_fail;
6672 }
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 resultobj = SWIG_Py_Void();
6680 {
6681 if (arg3) delete [] arg3;
6682 }
6683 return resultobj;
6684fail:
6685 {
6686 if (arg3) delete [] arg3;
6687 }
6688 return NULL;
6689}
6690
6691
6692SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj = 0;
6694 wxFrame *arg1 = (wxFrame *) 0 ;
6695 wxString *arg2 = 0 ;
6696 int arg3 = (int) 0 ;
6697 void *argp1 = 0 ;
6698 int res1 = 0 ;
6699 bool temp2 = false ;
6700 int val3 ;
6701 int ecode3 = 0 ;
6702 PyObject * obj0 = 0 ;
6703 PyObject * obj1 = 0 ;
6704 PyObject * obj2 = 0 ;
6705 char * kwnames[] = {
6706 (char *) "self",(char *) "text",(char *) "number", NULL
6707 };
6708
6709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6711 if (!SWIG_IsOK(res1)) {
6712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6713 }
6714 arg1 = reinterpret_cast< wxFrame * >(argp1);
6715 {
6716 arg2 = wxString_in_helper(obj1);
6717 if (arg2 == NULL) SWIG_fail;
6718 temp2 = true;
6719 }
6720 if (obj2) {
6721 ecode3 = SWIG_AsVal_int(obj2, &val3);
6722 if (!SWIG_IsOK(ecode3)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6724 }
6725 arg3 = static_cast< int >(val3);
6726 }
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 resultobj = SWIG_Py_Void();
6734 {
6735 if (temp2)
6736 delete arg2;
6737 }
6738 return resultobj;
6739fail:
6740 {
6741 if (temp2)
6742 delete arg2;
6743 }
6744 return NULL;
6745}
6746
6747
6748SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj = 0;
6750 wxFrame *arg1 = (wxFrame *) 0 ;
6751 int arg2 = (int) 0 ;
6752 void *argp1 = 0 ;
6753 int res1 = 0 ;
6754 int val2 ;
6755 int ecode2 = 0 ;
6756 PyObject * obj0 = 0 ;
6757 PyObject * obj1 = 0 ;
6758 char * kwnames[] = {
6759 (char *) "self",(char *) "number", NULL
6760 };
6761
6762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6764 if (!SWIG_IsOK(res1)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6766 }
6767 arg1 = reinterpret_cast< wxFrame * >(argp1);
6768 if (obj1) {
6769 ecode2 = SWIG_AsVal_int(obj1, &val2);
6770 if (!SWIG_IsOK(ecode2)) {
6771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6772 }
6773 arg2 = static_cast< int >(val2);
6774 }
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 (arg1)->PopStatusText(arg2);
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 resultobj = SWIG_Py_Void();
6782 return resultobj;
6783fail:
6784 return NULL;
6785}
6786
6787
6788SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj = 0;
6790 wxFrame *arg1 = (wxFrame *) 0 ;
6791 int arg2 ;
6792 void *argp1 = 0 ;
6793 int res1 = 0 ;
6794 int val2 ;
6795 int ecode2 = 0 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char * kwnames[] = {
6799 (char *) "self",(char *) "n", NULL
6800 };
6801
6802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) 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_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6806 }
6807 arg1 = reinterpret_cast< wxFrame * >(argp1);
6808 ecode2 = SWIG_AsVal_int(obj1, &val2);
6809 if (!SWIG_IsOK(ecode2)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6811 }
6812 arg2 = static_cast< int >(val2);
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->SetStatusBarPane(arg2);
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_Py_Void();
6820 return resultobj;
6821fail:
6822 return NULL;
d55e5bfc
RD
6823}
6824
6825
554f62e9
RD
6826SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6827 PyObject *resultobj = 0;
6828 wxFrame *arg1 = (wxFrame *) 0 ;
6829 int result;
6830 void *argp1 = 0 ;
6831 int res1 = 0 ;
6832 PyObject *swig_obj[1] ;
6833
6834 if (!args) SWIG_fail;
6835 swig_obj[0] = args;
6836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6837 if (!SWIG_IsOK(res1)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6839 }
6840 arg1 = reinterpret_cast< wxFrame * >(argp1);
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_From_int(static_cast< int >(result));
6848 return resultobj;
6849fail:
6850 return NULL;
6851}
6852
6853
6854SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj = 0;
6856 wxFrame *arg1 = (wxFrame *) 0 ;
6857 long arg2 = (long) -1 ;
6858 int arg3 = (int) -1 ;
6859 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6860 wxString *arg4 = (wxString *) &arg4_defvalue ;
6861 wxToolBar *result = 0 ;
6862 void *argp1 = 0 ;
6863 int res1 = 0 ;
6864 long val2 ;
6865 int ecode2 = 0 ;
6866 int val3 ;
6867 int ecode3 = 0 ;
6868 bool temp4 = false ;
6869 PyObject * obj0 = 0 ;
6870 PyObject * obj1 = 0 ;
6871 PyObject * obj2 = 0 ;
6872 PyObject * obj3 = 0 ;
6873 char * kwnames[] = {
6874 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6875 };
6876
6877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6879 if (!SWIG_IsOK(res1)) {
6880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6881 }
6882 arg1 = reinterpret_cast< wxFrame * >(argp1);
6883 if (obj1) {
6884 ecode2 = SWIG_AsVal_long(obj1, &val2);
6885 if (!SWIG_IsOK(ecode2)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6887 }
6888 arg2 = static_cast< long >(val2);
6889 }
6890 if (obj2) {
6891 ecode3 = SWIG_AsVal_int(obj2, &val3);
6892 if (!SWIG_IsOK(ecode3)) {
6893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6894 }
6895 arg3 = static_cast< int >(val3);
6896 }
6897 if (obj3) {
d55e5bfc 6898 {
554f62e9
RD
6899 arg4 = wxString_in_helper(obj3);
6900 if (arg4 == NULL) SWIG_fail;
6901 temp4 = true;
d55e5bfc 6902 }
554f62e9
RD
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 {
6911 resultobj = wxPyMake_wxObject(result, (bool)0);
6912 }
6913 {
6914 if (temp4)
6915 delete arg4;
6916 }
6917 return resultobj;
6918fail:
6919 {
6920 if (temp4)
6921 delete arg4;
6922 }
6923 return NULL;
d55e5bfc
RD
6924}
6925
6926
554f62e9
RD
6927SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6928 PyObject *resultobj = 0;
6929 wxFrame *arg1 = (wxFrame *) 0 ;
6930 wxToolBar *result = 0 ;
6931 void *argp1 = 0 ;
6932 int res1 = 0 ;
6933 PyObject *swig_obj[1] ;
6934
6935 if (!args) SWIG_fail;
6936 swig_obj[0] = args;
6937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6938 if (!SWIG_IsOK(res1)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6940 }
6941 arg1 = reinterpret_cast< wxFrame * >(argp1);
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 {
6949 resultobj = wxPyMake_wxObject(result, (bool)0);
6950 }
6951 return resultobj;
6952fail:
6953 return NULL;
6954}
6955
6956
6957SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj = 0;
6959 wxFrame *arg1 = (wxFrame *) 0 ;
6960 wxToolBar *arg2 = (wxToolBar *) 0 ;
6961 void *argp1 = 0 ;
6962 int res1 = 0 ;
6963 void *argp2 = 0 ;
6964 int res2 = 0 ;
6965 PyObject * obj0 = 0 ;
6966 PyObject * obj1 = 0 ;
6967 char * kwnames[] = {
6968 (char *) "self",(char *) "toolbar", NULL
6969 };
6970
6971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6973 if (!SWIG_IsOK(res1)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6975 }
6976 arg1 = reinterpret_cast< wxFrame * >(argp1);
6977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6978 if (!SWIG_IsOK(res2)) {
6979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6980 }
6981 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 (arg1)->SetToolBar(arg2);
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = SWIG_Py_Void();
6989 return resultobj;
6990fail:
6991 return NULL;
6992}
6993
6994
6995SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj = 0;
6997 wxFrame *arg1 = (wxFrame *) 0 ;
6998 wxString *arg2 = 0 ;
6999 bool arg3 ;
7000 void *argp1 = 0 ;
7001 int res1 = 0 ;
7002 bool temp2 = false ;
7003 bool val3 ;
7004 int ecode3 = 0 ;
7005 PyObject * obj0 = 0 ;
7006 PyObject * obj1 = 0 ;
7007 PyObject * obj2 = 0 ;
7008 char * kwnames[] = {
7009 (char *) "self",(char *) "text",(char *) "show", NULL
7010 };
7011
7012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7014 if (!SWIG_IsOK(res1)) {
7015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7016 }
7017 arg1 = reinterpret_cast< wxFrame * >(argp1);
7018 {
7019 arg2 = wxString_in_helper(obj1);
7020 if (arg2 == NULL) SWIG_fail;
7021 temp2 = true;
7022 }
7023 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7024 if (!SWIG_IsOK(ecode3)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7026 }
7027 arg3 = static_cast< bool >(val3);
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 resultobj = SWIG_Py_Void();
7035 {
7036 if (temp2)
7037 delete arg2;
7038 }
7039 return resultobj;
7040fail:
7041 {
7042 if (temp2)
7043 delete arg2;
7044 }
7045 return NULL;
7046}
7047
7048
7049SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj = 0;
7051 wxFrame *arg1 = (wxFrame *) 0 ;
7052 wxMenu *arg2 = (wxMenu *) NULL ;
7053 void *argp1 = 0 ;
7054 int res1 = 0 ;
7055 void *argp2 = 0 ;
7056 int res2 = 0 ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char * kwnames[] = {
7060 (char *) "self",(char *) "menu", NULL
7061 };
7062
7063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrame * >(argp1);
7069 if (obj1) {
7070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7071 if (!SWIG_IsOK(res2)) {
7072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7073 }
554f62e9
RD
7074 arg2 = reinterpret_cast< wxMenu * >(argp2);
7075 }
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 (arg1)->DoMenuUpdates(arg2);
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 resultobj = SWIG_Py_Void();
7083 return resultobj;
7084fail:
7085 return NULL;
7086}
7087
7088
7089SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj = 0;
7091 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7092 SwigValueWrapper<wxVisualAttributes > result;
7093 int val1 ;
7094 int ecode1 = 0 ;
7095 PyObject * obj0 = 0 ;
7096 char * kwnames[] = {
7097 (char *) "variant", NULL
7098 };
7099
7100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7101 if (obj0) {
7102 ecode1 = SWIG_AsVal_int(obj0, &val1);
7103 if (!SWIG_IsOK(ecode1)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7105 }
7106 arg1 = static_cast< wxWindowVariant >(val1);
7107 }
7108 {
7109 if (!wxPyCheckForApp()) SWIG_fail;
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = wxFrame::GetClassDefaultAttributes(arg1);
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7116 return resultobj;
7117fail:
7118 return NULL;
7119}
7120
7121
7122SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7123 PyObject *obj;
7124 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7125 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7126 return SWIG_Py_Void();
7127}
7128
7129SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7130 return SWIG_Python_InitShadowInstance(args);
7131}
7132
7133SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj = 0;
7135 wxWindow *arg1 = (wxWindow *) 0 ;
7136 int arg2 = (int) (int)-1 ;
7137 wxString const &arg3_defvalue = wxPyEmptyString ;
7138 wxString *arg3 = (wxString *) &arg3_defvalue ;
7139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7141 wxSize const &arg5_defvalue = wxDefaultSize ;
7142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7143 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7144 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7145 wxString *arg7 = (wxString *) &arg7_defvalue ;
7146 wxDialog *result = 0 ;
7147 void *argp1 = 0 ;
7148 int res1 = 0 ;
7149 int val2 ;
7150 int ecode2 = 0 ;
7151 bool temp3 = false ;
7152 wxPoint temp4 ;
7153 wxSize temp5 ;
7154 long val6 ;
7155 int ecode6 = 0 ;
7156 bool temp7 = false ;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 PyObject * obj2 = 0 ;
7160 PyObject * obj3 = 0 ;
7161 PyObject * obj4 = 0 ;
7162 PyObject * obj5 = 0 ;
7163 PyObject * obj6 = 0 ;
7164 char * kwnames[] = {
7165 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7166 };
7167
7168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7170 if (!SWIG_IsOK(res1)) {
7171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7172 }
7173 arg1 = reinterpret_cast< wxWindow * >(argp1);
7174 if (obj1) {
7175 ecode2 = SWIG_AsVal_int(obj1, &val2);
7176 if (!SWIG_IsOK(ecode2)) {
7177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7178 }
7179 arg2 = static_cast< int >(val2);
7180 }
7181 if (obj2) {
d55e5bfc 7182 {
554f62e9
RD
7183 arg3 = wxString_in_helper(obj2);
7184 if (arg3 == NULL) SWIG_fail;
7185 temp3 = true;
d55e5bfc 7186 }
554f62e9
RD
7187 }
7188 if (obj3) {
d55e5bfc 7189 {
554f62e9
RD
7190 arg4 = &temp4;
7191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7192 }
554f62e9
RD
7193 }
7194 if (obj4) {
d55e5bfc 7195 {
554f62e9
RD
7196 arg5 = &temp5;
7197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7198 }
554f62e9
RD
7199 }
7200 if (obj5) {
7201 ecode6 = SWIG_AsVal_long(obj5, &val6);
7202 if (!SWIG_IsOK(ecode6)) {
7203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7204 }
7205 arg6 = static_cast< long >(val6);
7206 }
7207 if (obj6) {
093d3ff1 7208 {
554f62e9
RD
7209 arg7 = wxString_in_helper(obj6);
7210 if (arg7 == NULL) SWIG_fail;
7211 temp7 = true;
d55e5bfc 7212 }
554f62e9
RD
7213 }
7214 {
7215 if (!wxPyCheckForApp()) SWIG_fail;
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7222 {
7223 if (temp3)
7224 delete arg3;
7225 }
7226 {
7227 if (temp7)
7228 delete arg7;
7229 }
7230 return resultobj;
7231fail:
7232 {
7233 if (temp3)
7234 delete arg3;
7235 }
7236 {
7237 if (temp7)
7238 delete arg7;
7239 }
7240 return NULL;
d55e5bfc
RD
7241}
7242
7243
554f62e9
RD
7244SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7245 PyObject *resultobj = 0;
7246 wxDialog *result = 0 ;
7247
7248 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7249 {
7250 if (!wxPyCheckForApp()) SWIG_fail;
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = (wxDialog *)new wxDialog();
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7257 return resultobj;
7258fail:
7259 return NULL;
7260}
7261
7262
7263SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj = 0;
7265 wxDialog *arg1 = (wxDialog *) 0 ;
7266 wxWindow *arg2 = (wxWindow *) 0 ;
7267 int arg3 = (int) (int)-1 ;
7268 wxString const &arg4_defvalue = wxPyEmptyString ;
7269 wxString *arg4 = (wxString *) &arg4_defvalue ;
7270 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7271 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7272 wxSize const &arg6_defvalue = wxDefaultSize ;
7273 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7274 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7275 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7276 wxString *arg8 = (wxString *) &arg8_defvalue ;
7277 bool result;
7278 void *argp1 = 0 ;
7279 int res1 = 0 ;
7280 void *argp2 = 0 ;
7281 int res2 = 0 ;
7282 int val3 ;
7283 int ecode3 = 0 ;
7284 bool temp4 = false ;
7285 wxPoint temp5 ;
7286 wxSize temp6 ;
7287 long val7 ;
7288 int ecode7 = 0 ;
7289 bool temp8 = false ;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 PyObject * obj2 = 0 ;
7293 PyObject * obj3 = 0 ;
7294 PyObject * obj4 = 0 ;
7295 PyObject * obj5 = 0 ;
7296 PyObject * obj6 = 0 ;
7297 PyObject * obj7 = 0 ;
7298 char * kwnames[] = {
7299 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7300 };
7301
7302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7304 if (!SWIG_IsOK(res1)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7306 }
7307 arg1 = reinterpret_cast< wxDialog * >(argp1);
7308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7309 if (!SWIG_IsOK(res2)) {
7310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7311 }
7312 arg2 = reinterpret_cast< wxWindow * >(argp2);
7313 if (obj2) {
7314 ecode3 = SWIG_AsVal_int(obj2, &val3);
7315 if (!SWIG_IsOK(ecode3)) {
7316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7317 }
7318 arg3 = static_cast< int >(val3);
7319 }
7320 if (obj3) {
093d3ff1 7321 {
554f62e9
RD
7322 arg4 = wxString_in_helper(obj3);
7323 if (arg4 == NULL) SWIG_fail;
7324 temp4 = true;
d55e5bfc 7325 }
554f62e9
RD
7326 }
7327 if (obj4) {
d55e5bfc 7328 {
554f62e9
RD
7329 arg5 = &temp5;
7330 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7331 }
554f62e9
RD
7332 }
7333 if (obj5) {
d55e5bfc 7334 {
554f62e9
RD
7335 arg6 = &temp6;
7336 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7337 }
554f62e9
RD
7338 }
7339 if (obj6) {
7340 ecode7 = SWIG_AsVal_long(obj6, &val7);
7341 if (!SWIG_IsOK(ecode7)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7343 }
7344 arg7 = static_cast< long >(val7);
7345 }
7346 if (obj7) {
d55e5bfc 7347 {
554f62e9
RD
7348 arg8 = wxString_in_helper(obj7);
7349 if (arg8 == NULL) SWIG_fail;
7350 temp8 = true;
d55e5bfc 7351 }
554f62e9
RD
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 {
7360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7361 }
7362 {
7363 if (temp4)
7364 delete arg4;
7365 }
7366 {
7367 if (temp8)
7368 delete arg8;
7369 }
7370 return resultobj;
7371fail:
7372 {
7373 if (temp4)
7374 delete arg4;
7375 }
7376 {
7377 if (temp8)
7378 delete arg8;
7379 }
7380 return NULL;
7381}
7382
7383
7384SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj = 0;
7386 wxDialog *arg1 = (wxDialog *) 0 ;
7387 int arg2 ;
7388 void *argp1 = 0 ;
7389 int res1 = 0 ;
7390 int val2 ;
7391 int ecode2 = 0 ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char * kwnames[] = {
7395 (char *) "self",(char *) "returnCode", NULL
7396 };
7397
7398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7400 if (!SWIG_IsOK(res1)) {
7401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7402 }
7403 arg1 = reinterpret_cast< wxDialog * >(argp1);
7404 ecode2 = SWIG_AsVal_int(obj1, &val2);
7405 if (!SWIG_IsOK(ecode2)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7407 }
7408 arg2 = static_cast< int >(val2);
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 (arg1)->SetReturnCode(arg2);
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 resultobj = SWIG_Py_Void();
7416 return resultobj;
7417fail:
7418 return NULL;
d55e5bfc
RD
7419}
7420
7421
554f62e9
RD
7422SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7423 PyObject *resultobj = 0;
7424 wxDialog *arg1 = (wxDialog *) 0 ;
7425 int result;
7426 void *argp1 = 0 ;
7427 int res1 = 0 ;
7428 PyObject *swig_obj[1] ;
7429
7430 if (!args) SWIG_fail;
7431 swig_obj[0] = args;
7432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7433 if (!SWIG_IsOK(res1)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7435 }
7436 arg1 = reinterpret_cast< wxDialog * >(argp1);
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 resultobj = SWIG_From_int(static_cast< int >(result));
7444 return resultobj;
7445fail:
7446 return NULL;
7447}
7448
7449
7450SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7451 PyObject *resultobj = 0;
7452 wxDialog *arg1 = (wxDialog *) 0 ;
7453 int arg2 ;
7454 void *argp1 = 0 ;
7455 int res1 = 0 ;
7456 int val2 ;
7457 int ecode2 = 0 ;
7458 PyObject * obj0 = 0 ;
7459 PyObject * obj1 = 0 ;
7460 char * kwnames[] = {
7461 (char *) "self",(char *) "affirmativeId", NULL
7462 };
7463
7464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7466 if (!SWIG_IsOK(res1)) {
7467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7468 }
7469 arg1 = reinterpret_cast< wxDialog * >(argp1);
7470 ecode2 = SWIG_AsVal_int(obj1, &val2);
7471 if (!SWIG_IsOK(ecode2)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7473 }
7474 arg2 = static_cast< int >(val2);
7475 {
7476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7477 (arg1)->SetAffirmativeId(arg2);
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 resultobj = SWIG_Py_Void();
7482 return resultobj;
7483fail:
7484 return NULL;
d55e5bfc
RD
7485}
7486
7487
554f62e9
RD
7488SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7489 PyObject *resultobj = 0;
7490 wxDialog *arg1 = (wxDialog *) 0 ;
7491 int result;
7492 void *argp1 = 0 ;
7493 int res1 = 0 ;
7494 PyObject *swig_obj[1] ;
7495
7496 if (!args) SWIG_fail;
7497 swig_obj[0] = args;
7498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7499 if (!SWIG_IsOK(res1)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7501 }
7502 arg1 = reinterpret_cast< wxDialog * >(argp1);
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 resultobj = SWIG_From_int(static_cast< int >(result));
7510 return resultobj;
7511fail:
7512 return NULL;
7513}
7514
7515
7516SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7517 PyObject *resultobj = 0;
7518 wxDialog *arg1 = (wxDialog *) 0 ;
7519 int arg2 ;
7520 void *argp1 = 0 ;
7521 int res1 = 0 ;
7522 int val2 ;
7523 int ecode2 = 0 ;
7524 PyObject * obj0 = 0 ;
7525 PyObject * obj1 = 0 ;
7526 char * kwnames[] = {
7527 (char *) "self",(char *) "escapeId", NULL
7528 };
7529
7530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7532 if (!SWIG_IsOK(res1)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7534 }
7535 arg1 = reinterpret_cast< wxDialog * >(argp1);
7536 ecode2 = SWIG_AsVal_int(obj1, &val2);
7537 if (!SWIG_IsOK(ecode2)) {
7538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7539 }
7540 arg2 = static_cast< int >(val2);
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 (arg1)->SetEscapeId(arg2);
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 resultobj = SWIG_Py_Void();
7548 return resultobj;
7549fail:
7550 return NULL;
d55e5bfc
RD
7551}
7552
7553
554f62e9
RD
7554SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7555 PyObject *resultobj = 0;
7556 wxDialog *arg1 = (wxDialog *) 0 ;
7557 int result;
7558 void *argp1 = 0 ;
7559 int res1 = 0 ;
7560 PyObject *swig_obj[1] ;
7561
7562 if (!args) SWIG_fail;
7563 swig_obj[0] = args;
7564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7565 if (!SWIG_IsOK(res1)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7567 }
7568 arg1 = reinterpret_cast< wxDialog * >(argp1);
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 resultobj = SWIG_From_int(static_cast< int >(result));
7576 return resultobj;
7577fail:
7578 return NULL;
7579}
7580
7581
7582SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj = 0;
7584 wxDialog *arg1 = (wxDialog *) 0 ;
7585 wxString *arg2 = 0 ;
7586 wxSizer *result = 0 ;
7587 void *argp1 = 0 ;
7588 int res1 = 0 ;
7589 bool temp2 = false ;
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj1 = 0 ;
7592 char * kwnames[] = {
7593 (char *) "self",(char *) "message", NULL
7594 };
7595
7596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7598 if (!SWIG_IsOK(res1)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7600 }
7601 arg1 = reinterpret_cast< wxDialog * >(argp1);
7602 {
7603 arg2 = wxString_in_helper(obj1);
7604 if (arg2 == NULL) SWIG_fail;
7605 temp2 = true;
7606 }
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 {
7614 resultobj = wxPyMake_wxObject(result, (bool)0);
7615 }
7616 {
7617 if (temp2)
7618 delete arg2;
7619 }
7620 return resultobj;
7621fail:
7622 {
7623 if (temp2)
7624 delete arg2;
7625 }
7626 return NULL;
7627}
7628
7629
7630SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj = 0;
7632 wxDialog *arg1 = (wxDialog *) 0 ;
7633 long arg2 ;
7634 bool arg3 = (bool) false ;
7635 int arg4 = (int) 0 ;
7636 wxSizer *result = 0 ;
7637 void *argp1 = 0 ;
7638 int res1 = 0 ;
7639 long val2 ;
7640 int ecode2 = 0 ;
7641 bool val3 ;
7642 int ecode3 = 0 ;
7643 int val4 ;
7644 int ecode4 = 0 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 PyObject * obj2 = 0 ;
7648 PyObject * obj3 = 0 ;
7649 char * kwnames[] = {
7650 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7651 };
7652
7653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7655 if (!SWIG_IsOK(res1)) {
7656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7657 }
7658 arg1 = reinterpret_cast< wxDialog * >(argp1);
7659 ecode2 = SWIG_AsVal_long(obj1, &val2);
7660 if (!SWIG_IsOK(ecode2)) {
7661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7662 }
7663 arg2 = static_cast< long >(val2);
7664 if (obj2) {
7665 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7666 if (!SWIG_IsOK(ecode3)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7668 }
7669 arg3 = static_cast< bool >(val3);
7670 }
7671 if (obj3) {
7672 ecode4 = SWIG_AsVal_int(obj3, &val4);
7673 if (!SWIG_IsOK(ecode4)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7675 }
7676 arg4 = static_cast< int >(val4);
7677 }
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 {
7685 resultobj = wxPyMake_wxObject(result, (bool)0);
7686 }
7687 return resultobj;
7688fail:
7689 return NULL;
7690}
7691
7692
7693SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj = 0;
7695 wxDialog *arg1 = (wxDialog *) 0 ;
7696 long arg2 ;
7697 wxStdDialogButtonSizer *result = 0 ;
7698 void *argp1 = 0 ;
7699 int res1 = 0 ;
7700 long val2 ;
7701 int ecode2 = 0 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 char * kwnames[] = {
7705 (char *) "self",(char *) "flags", NULL
7706 };
7707
7708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7710 if (!SWIG_IsOK(res1)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7712 }
7713 arg1 = reinterpret_cast< wxDialog * >(argp1);
7714 ecode2 = SWIG_AsVal_long(obj1, &val2);
7715 if (!SWIG_IsOK(ecode2)) {
7716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7717 }
7718 arg2 = static_cast< long >(val2);
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7726 return resultobj;
7727fail:
7728 return NULL;
d55e5bfc
RD
7729}
7730
7731
554f62e9
RD
7732SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7733 PyObject *resultobj = 0;
7734 wxDialog *arg1 = (wxDialog *) 0 ;
7735 bool result;
7736 void *argp1 = 0 ;
7737 int res1 = 0 ;
7738 PyObject *swig_obj[1] ;
7739
7740 if (!args) SWIG_fail;
7741 swig_obj[0] = args;
7742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7743 if (!SWIG_IsOK(res1)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7745 }
7746 arg1 = reinterpret_cast< wxDialog * >(argp1);
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 result = (bool)((wxDialog const *)arg1)->IsModal();
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 {
7754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7755 }
7756 return resultobj;
7757fail:
7758 return NULL;
c32bde28
RD
7759}
7760
7761
554f62e9
RD
7762SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7763 PyObject *resultobj = 0;
7764 wxDialog *arg1 = (wxDialog *) 0 ;
7765 int result;
7766 void *argp1 = 0 ;
7767 int res1 = 0 ;
7768 PyObject *swig_obj[1] ;
7769
7770 if (!args) SWIG_fail;
7771 swig_obj[0] = args;
7772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7773 if (!SWIG_IsOK(res1)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7775 }
7776 arg1 = reinterpret_cast< wxDialog * >(argp1);
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = (int)(arg1)->ShowModal();
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_From_int(static_cast< int >(result));
7784 return resultobj;
7785fail:
7786 return NULL;
7787}
7788
7789
7790SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj = 0;
7792 wxDialog *arg1 = (wxDialog *) 0 ;
7793 int arg2 ;
7794 void *argp1 = 0 ;
7795 int res1 = 0 ;
7796 int val2 ;
7797 int ecode2 = 0 ;
7798 PyObject * obj0 = 0 ;
7799 PyObject * obj1 = 0 ;
7800 char * kwnames[] = {
7801 (char *) "self",(char *) "retCode", NULL
7802 };
7803
7804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7806 if (!SWIG_IsOK(res1)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7808 }
7809 arg1 = reinterpret_cast< wxDialog * >(argp1);
7810 ecode2 = SWIG_AsVal_int(obj1, &val2);
7811 if (!SWIG_IsOK(ecode2)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7813 }
7814 arg2 = static_cast< int >(val2);
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 (arg1)->EndModal(arg2);
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 resultobj = SWIG_Py_Void();
7822 return resultobj;
7823fail:
7824 return NULL;
7825}
7826
7827
7828SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj = 0;
7830 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7831 SwigValueWrapper<wxVisualAttributes > result;
7832 int val1 ;
7833 int ecode1 = 0 ;
7834 PyObject * obj0 = 0 ;
7835 char * kwnames[] = {
7836 (char *) "variant", NULL
7837 };
7838
7839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7840 if (obj0) {
7841 ecode1 = SWIG_AsVal_int(obj0, &val1);
7842 if (!SWIG_IsOK(ecode1)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7844 }
7845 arg1 = static_cast< wxWindowVariant >(val1);
7846 }
7847 {
7848 if (!wxPyCheckForApp()) SWIG_fail;
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = wxDialog::GetClassDefaultAttributes(arg1);
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7855 return resultobj;
7856fail:
7857 return NULL;
7858}
7859
7860
7861SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7862 PyObject *obj;
7863 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7864 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7865 return SWIG_Py_Void();
7866}
7867
7868SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7869 return SWIG_Python_InitShadowInstance(args);
7870}
7871
7872SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj = 0;
7874 wxWindow *arg1 = (wxWindow *) 0 ;
7875 int arg2 = (int) (int)-1 ;
7876 wxString const &arg3_defvalue = wxPyEmptyString ;
7877 wxString *arg3 = (wxString *) &arg3_defvalue ;
7878 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7879 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7880 wxSize const &arg5_defvalue = wxDefaultSize ;
7881 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7882 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7883 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7884 wxString *arg7 = (wxString *) &arg7_defvalue ;
7885 wxMiniFrame *result = 0 ;
7886 void *argp1 = 0 ;
7887 int res1 = 0 ;
7888 int val2 ;
7889 int ecode2 = 0 ;
7890 bool temp3 = false ;
7891 wxPoint temp4 ;
7892 wxSize temp5 ;
7893 long val6 ;
7894 int ecode6 = 0 ;
7895 bool temp7 = false ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 PyObject * obj2 = 0 ;
7899 PyObject * obj3 = 0 ;
7900 PyObject * obj4 = 0 ;
7901 PyObject * obj5 = 0 ;
7902 PyObject * obj6 = 0 ;
7903 char * kwnames[] = {
7904 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7905 };
7906
7907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7909 if (!SWIG_IsOK(res1)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7911 }
7912 arg1 = reinterpret_cast< wxWindow * >(argp1);
7913 if (obj1) {
7914 ecode2 = SWIG_AsVal_int(obj1, &val2);
7915 if (!SWIG_IsOK(ecode2)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7917 }
7918 arg2 = static_cast< int >(val2);
7919 }
7920 if (obj2) {
5e483524 7921 {
554f62e9
RD
7922 arg3 = wxString_in_helper(obj2);
7923 if (arg3 == NULL) SWIG_fail;
7924 temp3 = true;
5e483524 7925 }
554f62e9
RD
7926 }
7927 if (obj3) {
093d3ff1 7928 {
554f62e9
RD
7929 arg4 = &temp4;
7930 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 7931 }
554f62e9
RD
7932 }
7933 if (obj4) {
84f85550 7934 {
554f62e9
RD
7935 arg5 = &temp5;
7936 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
84f85550 7937 }
554f62e9
RD
7938 }
7939 if (obj5) {
7940 ecode6 = SWIG_AsVal_long(obj5, &val6);
7941 if (!SWIG_IsOK(ecode6)) {
7942 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7943 }
7944 arg6 = static_cast< long >(val6);
7945 }
7946 if (obj6) {
84f85550 7947 {
554f62e9
RD
7948 arg7 = wxString_in_helper(obj6);
7949 if (arg7 == NULL) SWIG_fail;
7950 temp7 = true;
84f85550 7951 }
554f62e9
RD
7952 }
7953 {
7954 if (!wxPyCheckForApp()) SWIG_fail;
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7961 {
7962 if (temp3)
7963 delete arg3;
7964 }
7965 {
7966 if (temp7)
7967 delete arg7;
7968 }
7969 return resultobj;
7970fail:
7971 {
7972 if (temp3)
7973 delete arg3;
7974 }
7975 {
7976 if (temp7)
7977 delete arg7;
7978 }
7979 return NULL;
84f85550
RD
7980}
7981
7982
554f62e9
RD
7983SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7984 PyObject *resultobj = 0;
7985 wxMiniFrame *result = 0 ;
7986
7987 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7988 {
7989 if (!wxPyCheckForApp()) SWIG_fail;
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 result = (wxMiniFrame *)new wxMiniFrame();
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7996 return resultobj;
7997fail:
7998 return NULL;
7999}
8000
8001
8002SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8003 PyObject *resultobj = 0;
8004 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8005 wxWindow *arg2 = (wxWindow *) 0 ;
8006 int arg3 = (int) (int)-1 ;
8007 wxString const &arg4_defvalue = wxPyEmptyString ;
8008 wxString *arg4 = (wxString *) &arg4_defvalue ;
8009 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8010 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8011 wxSize const &arg6_defvalue = wxDefaultSize ;
8012 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8013 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8014 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8015 wxString *arg8 = (wxString *) &arg8_defvalue ;
8016 bool result;
8017 void *argp1 = 0 ;
8018 int res1 = 0 ;
8019 void *argp2 = 0 ;
8020 int res2 = 0 ;
8021 int val3 ;
8022 int ecode3 = 0 ;
8023 bool temp4 = false ;
8024 wxPoint temp5 ;
8025 wxSize temp6 ;
8026 long val7 ;
8027 int ecode7 = 0 ;
8028 bool temp8 = false ;
8029 PyObject * obj0 = 0 ;
8030 PyObject * obj1 = 0 ;
8031 PyObject * obj2 = 0 ;
8032 PyObject * obj3 = 0 ;
8033 PyObject * obj4 = 0 ;
8034 PyObject * obj5 = 0 ;
8035 PyObject * obj6 = 0 ;
8036 PyObject * obj7 = 0 ;
8037 char * kwnames[] = {
8038 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8039 };
8040
8041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8043 if (!SWIG_IsOK(res1)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8045 }
8046 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8047 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8048 if (!SWIG_IsOK(res2)) {
8049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8050 }
8051 arg2 = reinterpret_cast< wxWindow * >(argp2);
8052 if (obj2) {
8053 ecode3 = SWIG_AsVal_int(obj2, &val3);
8054 if (!SWIG_IsOK(ecode3)) {
8055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8056 }
8057 arg3 = static_cast< int >(val3);
8058 }
8059 if (obj3) {
b1fcee84 8060 {
554f62e9
RD
8061 arg4 = wxString_in_helper(obj3);
8062 if (arg4 == NULL) SWIG_fail;
8063 temp4 = true;
d55e5bfc 8064 }
554f62e9
RD
8065 }
8066 if (obj4) {
d55e5bfc 8067 {
554f62e9
RD
8068 arg5 = &temp5;
8069 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8070 }
554f62e9
RD
8071 }
8072 if (obj5) {
d55e5bfc 8073 {
554f62e9
RD
8074 arg6 = &temp6;
8075 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8076 }
554f62e9
RD
8077 }
8078 if (obj6) {
8079 ecode7 = SWIG_AsVal_long(obj6, &val7);
8080 if (!SWIG_IsOK(ecode7)) {
8081 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8082 }
8083 arg7 = static_cast< long >(val7);
8084 }
8085 if (obj7) {
d55e5bfc 8086 {
554f62e9
RD
8087 arg8 = wxString_in_helper(obj7);
8088 if (arg8 == NULL) SWIG_fail;
8089 temp8 = true;
d55e5bfc 8090 }
554f62e9
RD
8091 }
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 {
8099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8100 }
8101 {
8102 if (temp4)
8103 delete arg4;
8104 }
8105 {
8106 if (temp8)
8107 delete arg8;
8108 }
8109 return resultobj;
8110fail:
8111 {
8112 if (temp4)
8113 delete arg4;
8114 }
8115 {
8116 if (temp8)
8117 delete arg8;
8118 }
8119 return NULL;
8120}
8121
8122
8123SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8124 PyObject *obj;
8125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8126 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8127 return SWIG_Py_Void();
8128}
8129
8130SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8131 return SWIG_Python_InitShadowInstance(args);
8132}
8133
8134SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj = 0;
8136 wxBitmap *arg1 = 0 ;
8137 wxWindow *arg2 = (wxWindow *) 0 ;
8138 int arg3 ;
8139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8141 wxSize const &arg5_defvalue = wxDefaultSize ;
8142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8143 long arg6 = (long) wxNO_BORDER ;
8144 wxSplashScreenWindow *result = 0 ;
8145 void *argp1 = 0 ;
8146 int res1 = 0 ;
8147 void *argp2 = 0 ;
8148 int res2 = 0 ;
8149 int val3 ;
8150 int ecode3 = 0 ;
8151 wxPoint temp4 ;
8152 wxSize temp5 ;
8153 long val6 ;
8154 int ecode6 = 0 ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 PyObject * obj2 = 0 ;
8158 PyObject * obj3 = 0 ;
8159 PyObject * obj4 = 0 ;
8160 PyObject * obj5 = 0 ;
8161 char * kwnames[] = {
8162 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8163 };
8164
8165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8166 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8167 if (!SWIG_IsOK(res1)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8169 }
8170 if (!argp1) {
8171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8172 }
8173 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8174 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8175 if (!SWIG_IsOK(res2)) {
8176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8177 }
8178 arg2 = reinterpret_cast< wxWindow * >(argp2);
8179 ecode3 = SWIG_AsVal_int(obj2, &val3);
8180 if (!SWIG_IsOK(ecode3)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8182 }
8183 arg3 = static_cast< int >(val3);
8184 if (obj3) {
d55e5bfc 8185 {
554f62e9
RD
8186 arg4 = &temp4;
8187 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8188 }
554f62e9
RD
8189 }
8190 if (obj4) {
d55e5bfc 8191 {
554f62e9
RD
8192 arg5 = &temp5;
8193 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8194 }
8195 }
8196 if (obj5) {
8197 ecode6 = SWIG_AsVal_long(obj5, &val6);
8198 if (!SWIG_IsOK(ecode6)) {
8199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8200 }
8201 arg6 = static_cast< long >(val6);
8202 }
8203 {
8204 if (!wxPyCheckForApp()) SWIG_fail;
8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
8206 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8211 return resultobj;
8212fail:
8213 return NULL;
8214}
8215
8216
8217SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj = 0;
8219 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8220 wxBitmap *arg2 = 0 ;
8221 void *argp1 = 0 ;
8222 int res1 = 0 ;
8223 void *argp2 = 0 ;
8224 int res2 = 0 ;
8225 PyObject * obj0 = 0 ;
8226 PyObject * obj1 = 0 ;
8227 char * kwnames[] = {
8228 (char *) "self",(char *) "bitmap", NULL
8229 };
8230
8231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8233 if (!SWIG_IsOK(res1)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8235 }
8236 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8237 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8238 if (!SWIG_IsOK(res2)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8240 }
8241 if (!argp2) {
8242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8243 }
8244 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8245 {
8246 PyThreadState* __tstate = wxPyBeginAllowThreads();
8247 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 resultobj = SWIG_Py_Void();
8252 return resultobj;
8253fail:
8254 return NULL;
d55e5bfc
RD
8255}
8256
8257
554f62e9
RD
8258SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8259 PyObject *resultobj = 0;
8260 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8261 wxBitmap *result = 0 ;
8262 void *argp1 = 0 ;
8263 int res1 = 0 ;
8264 PyObject *swig_obj[1] ;
8265
8266 if (!args) SWIG_fail;
8267 swig_obj[0] = args;
8268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8269 if (!SWIG_IsOK(res1)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8271 }
8272 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 8275 {
554f62e9
RD
8276 wxBitmap &_result_ref = (arg1)->GetBitmap();
8277 result = (wxBitmap *) &_result_ref;
d55e5bfc 8278 }
554f62e9
RD
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 {
8283 wxBitmap* resultptr = new wxBitmap(*result);
8284 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8285 }
8286 return resultobj;
8287fail:
8288 return NULL;
8289}
8290
8291
8292SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8293 PyObject *obj;
8294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8295 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8296 return SWIG_Py_Void();
8297}
8298
8299SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8300 return SWIG_Python_InitShadowInstance(args);
8301}
8302
8303SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj = 0;
8305 wxBitmap *arg1 = 0 ;
8306 long arg2 ;
8307 int arg3 ;
8308 wxWindow *arg4 = (wxWindow *) 0 ;
8309 int arg5 = (int) -1 ;
8310 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8311 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8312 wxSize const &arg7_defvalue = wxDefaultSize ;
8313 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8314 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8315 wxSplashScreen *result = 0 ;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 long val2 ;
8319 int ecode2 = 0 ;
8320 int val3 ;
8321 int ecode3 = 0 ;
8322 void *argp4 = 0 ;
8323 int res4 = 0 ;
8324 int val5 ;
8325 int ecode5 = 0 ;
8326 wxPoint temp6 ;
8327 wxSize temp7 ;
8328 long val8 ;
8329 int ecode8 = 0 ;
8330 PyObject * obj0 = 0 ;
8331 PyObject * obj1 = 0 ;
8332 PyObject * obj2 = 0 ;
8333 PyObject * obj3 = 0 ;
8334 PyObject * obj4 = 0 ;
8335 PyObject * obj5 = 0 ;
8336 PyObject * obj6 = 0 ;
8337 PyObject * obj7 = 0 ;
8338 char * kwnames[] = {
8339 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8340 };
8341
8342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8343 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8344 if (!SWIG_IsOK(res1)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8346 }
8347 if (!argp1) {
8348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8349 }
8350 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8351 ecode2 = SWIG_AsVal_long(obj1, &val2);
8352 if (!SWIG_IsOK(ecode2)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8354 }
8355 arg2 = static_cast< long >(val2);
8356 ecode3 = SWIG_AsVal_int(obj2, &val3);
8357 if (!SWIG_IsOK(ecode3)) {
8358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8359 }
8360 arg3 = static_cast< int >(val3);
8361 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8362 if (!SWIG_IsOK(res4)) {
8363 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8364 }
8365 arg4 = reinterpret_cast< wxWindow * >(argp4);
8366 if (obj4) {
8367 ecode5 = SWIG_AsVal_int(obj4, &val5);
8368 if (!SWIG_IsOK(ecode5)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8370 }
8371 arg5 = static_cast< int >(val5);
8372 }
8373 if (obj5) {
d55e5bfc 8374 {
554f62e9
RD
8375 arg6 = &temp6;
8376 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8377 }
554f62e9
RD
8378 }
8379 if (obj6) {
d55e5bfc 8380 {
554f62e9
RD
8381 arg7 = &temp7;
8382 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8383 }
554f62e9
RD
8384 }
8385 if (obj7) {
8386 ecode8 = SWIG_AsVal_long(obj7, &val8);
8387 if (!SWIG_IsOK(ecode8)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8389 }
8390 arg8 = static_cast< long >(val8);
8391 }
8392 {
8393 if (!wxPyCheckForApp()) SWIG_fail;
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8400 return resultobj;
8401fail:
8402 return NULL;
d55e5bfc
RD
8403}
8404
8405
554f62e9
RD
8406SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8407 PyObject *resultobj = 0;
8408 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8409 long result;
8410 void *argp1 = 0 ;
8411 int res1 = 0 ;
8412 PyObject *swig_obj[1] ;
8413
8414 if (!args) SWIG_fail;
8415 swig_obj[0] = args;
8416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8417 if (!SWIG_IsOK(res1)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8419 }
8420 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 resultobj = SWIG_From_long(static_cast< long >(result));
8428 return resultobj;
8429fail:
8430 return NULL;
d55e5bfc
RD
8431}
8432
8433
554f62e9
RD
8434SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8435 PyObject *resultobj = 0;
8436 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8437 wxSplashScreenWindow *result = 0 ;
8438 void *argp1 = 0 ;
8439 int res1 = 0 ;
8440 PyObject *swig_obj[1] ;
8441
8442 if (!args) SWIG_fail;
8443 swig_obj[0] = args;
8444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8445 if (!SWIG_IsOK(res1)) {
8446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8447 }
8448 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8456 return resultobj;
8457fail:
8458 return NULL;
d55e5bfc
RD
8459}
8460
8461
554f62e9
RD
8462SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8463 PyObject *resultobj = 0;
8464 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8465 int result;
8466 void *argp1 = 0 ;
8467 int res1 = 0 ;
8468 PyObject *swig_obj[1] ;
8469
8470 if (!args) SWIG_fail;
8471 swig_obj[0] = args;
8472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8473 if (!SWIG_IsOK(res1)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8475 }
8476 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 resultobj = SWIG_From_int(static_cast< int >(result));
8484 return resultobj;
8485fail:
8486 return NULL;
8487}
8488
8489
8490SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8491 PyObject *obj;
8492 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8493 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8494 return SWIG_Py_Void();
8495}
8496
8497SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8498 return SWIG_Python_InitShadowInstance(args);
8499}
8500
8501SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj = 0;
8503 wxWindow *arg1 = (wxWindow *) 0 ;
8504 int arg2 = (int) -1 ;
8505 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8506 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8507 wxString *arg4 = (wxString *) &arg4_defvalue ;
8508 wxStatusBar *result = 0 ;
8509 void *argp1 = 0 ;
8510 int res1 = 0 ;
8511 int val2 ;
8512 int ecode2 = 0 ;
8513 long val3 ;
8514 int ecode3 = 0 ;
8515 bool temp4 = false ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 PyObject * obj3 = 0 ;
8520 char * kwnames[] = {
8521 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8522 };
8523
8524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8526 if (!SWIG_IsOK(res1)) {
8527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8528 }
8529 arg1 = reinterpret_cast< wxWindow * >(argp1);
8530 if (obj1) {
8531 ecode2 = SWIG_AsVal_int(obj1, &val2);
8532 if (!SWIG_IsOK(ecode2)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8534 }
8535 arg2 = static_cast< int >(val2);
8536 }
8537 if (obj2) {
8538 ecode3 = SWIG_AsVal_long(obj2, &val3);
8539 if (!SWIG_IsOK(ecode3)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8541 }
8542 arg3 = static_cast< long >(val3);
8543 }
8544 if (obj3) {
d55e5bfc 8545 {
554f62e9
RD
8546 arg4 = wxString_in_helper(obj3);
8547 if (arg4 == NULL) SWIG_fail;
8548 temp4 = true;
d55e5bfc 8549 }
554f62e9
RD
8550 }
8551 {
8552 if (!wxPyCheckForApp()) SWIG_fail;
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8559 {
8560 if (temp4)
8561 delete arg4;
8562 }
8563 return resultobj;
8564fail:
8565 {
8566 if (temp4)
8567 delete arg4;
8568 }
8569 return NULL;
d55e5bfc
RD
8570}
8571
8572
554f62e9
RD
8573SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8574 PyObject *resultobj = 0;
8575 wxStatusBar *result = 0 ;
8576
8577 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8578 {
8579 if (!wxPyCheckForApp()) SWIG_fail;
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (wxStatusBar *)new wxStatusBar();
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8586 return resultobj;
8587fail:
8588 return NULL;
8589}
8590
8591
8592SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8593 PyObject *resultobj = 0;
8594 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8595 wxWindow *arg2 = (wxWindow *) 0 ;
8596 int arg3 = (int) -1 ;
8597 long arg4 = (long) wxST_SIZEGRIP ;
8598 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8599 wxString *arg5 = (wxString *) &arg5_defvalue ;
8600 bool result;
8601 void *argp1 = 0 ;
8602 int res1 = 0 ;
8603 void *argp2 = 0 ;
8604 int res2 = 0 ;
8605 int val3 ;
8606 int ecode3 = 0 ;
8607 long val4 ;
8608 int ecode4 = 0 ;
8609 bool temp5 = false ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 PyObject * obj2 = 0 ;
8613 PyObject * obj3 = 0 ;
8614 PyObject * obj4 = 0 ;
8615 char * kwnames[] = {
8616 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8617 };
8618
8619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8621 if (!SWIG_IsOK(res1)) {
8622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8623 }
8624 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8625 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8626 if (!SWIG_IsOK(res2)) {
8627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8628 }
8629 arg2 = reinterpret_cast< wxWindow * >(argp2);
8630 if (obj2) {
8631 ecode3 = SWIG_AsVal_int(obj2, &val3);
8632 if (!SWIG_IsOK(ecode3)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8634 }
8635 arg3 = static_cast< int >(val3);
8636 }
8637 if (obj3) {
8638 ecode4 = SWIG_AsVal_long(obj3, &val4);
8639 if (!SWIG_IsOK(ecode4)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8641 }
8642 arg4 = static_cast< long >(val4);
8643 }
8644 if (obj4) {
d55e5bfc 8645 {
554f62e9
RD
8646 arg5 = wxString_in_helper(obj4);
8647 if (arg5 == NULL) SWIG_fail;
8648 temp5 = true;
d55e5bfc 8649 }
554f62e9
RD
8650 }
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 {
8658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8659 }
8660 {
8661 if (temp5)
8662 delete arg5;
8663 }
8664 return resultobj;
8665fail:
8666 {
8667 if (temp5)
8668 delete arg5;
8669 }
8670 return NULL;
8671}
8672
8673
8674SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj = 0;
8676 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8677 int arg2 = (int) 1 ;
8678 void *argp1 = 0 ;
8679 int res1 = 0 ;
8680 int val2 ;
8681 int ecode2 = 0 ;
8682 PyObject * obj0 = 0 ;
8683 PyObject * obj1 = 0 ;
8684 char * kwnames[] = {
8685 (char *) "self",(char *) "number", NULL
8686 };
8687
8688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8690 if (!SWIG_IsOK(res1)) {
8691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8692 }
8693 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8694 if (obj1) {
8695 ecode2 = SWIG_AsVal_int(obj1, &val2);
8696 if (!SWIG_IsOK(ecode2)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8698 }
8699 arg2 = static_cast< int >(val2);
8700 }
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 (arg1)->SetFieldsCount(arg2);
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 resultobj = SWIG_Py_Void();
8708 return resultobj;
8709fail:
8710 return NULL;
d55e5bfc
RD
8711}
8712
8713
554f62e9
RD
8714SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8715 PyObject *resultobj = 0;
8716 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8717 int result;
8718 void *argp1 = 0 ;
8719 int res1 = 0 ;
8720 PyObject *swig_obj[1] ;
8721
8722 if (!args) SWIG_fail;
8723 swig_obj[0] = args;
8724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8725 if (!SWIG_IsOK(res1)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8727 }
8728 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 resultobj = SWIG_From_int(static_cast< int >(result));
8736 return resultobj;
8737fail:
8738 return NULL;
8739}
8740
8741
8742SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj = 0;
8744 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8745 wxString *arg2 = 0 ;
8746 int arg3 = (int) 0 ;
8747 void *argp1 = 0 ;
8748 int res1 = 0 ;
8749 bool temp2 = false ;
8750 int val3 ;
8751 int ecode3 = 0 ;
8752 PyObject * obj0 = 0 ;
8753 PyObject * obj1 = 0 ;
8754 PyObject * obj2 = 0 ;
8755 char * kwnames[] = {
8756 (char *) "self",(char *) "text",(char *) "number", NULL
8757 };
8758
8759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8761 if (!SWIG_IsOK(res1)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8763 }
8764 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8765 {
8766 arg2 = wxString_in_helper(obj1);
8767 if (arg2 == NULL) SWIG_fail;
8768 temp2 = true;
8769 }
8770 if (obj2) {
8771 ecode3 = SWIG_AsVal_int(obj2, &val3);
8772 if (!SWIG_IsOK(ecode3)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8774 }
8775 arg3 = static_cast< int >(val3);
8776 }
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 resultobj = SWIG_Py_Void();
8784 {
8785 if (temp2)
8786 delete arg2;
8787 }
8788 return resultobj;
8789fail:
8790 {
8791 if (temp2)
8792 delete arg2;
8793 }
8794 return NULL;
8795}
8796
8797
8798SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj = 0;
8800 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8801 int arg2 = (int) 0 ;
8802 wxString result;
8803 void *argp1 = 0 ;
8804 int res1 = 0 ;
8805 int val2 ;
8806 int ecode2 = 0 ;
8807 PyObject * obj0 = 0 ;
8808 PyObject * obj1 = 0 ;
8809 char * kwnames[] = {
8810 (char *) "self",(char *) "number", NULL
8811 };
8812
8813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8815 if (!SWIG_IsOK(res1)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8817 }
8818 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8819 if (obj1) {
8820 ecode2 = SWIG_AsVal_int(obj1, &val2);
8821 if (!SWIG_IsOK(ecode2)) {
8822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8823 }
8824 arg2 = static_cast< int >(val2);
8825 }
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 {
8833#if wxUSE_UNICODE
8834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8835#else
8836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8837#endif
8838 }
8839 return resultobj;
8840fail:
8841 return NULL;
8842}
8843
8844
8845SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj = 0;
8847 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8848 wxString *arg2 = 0 ;
8849 int arg3 = (int) 0 ;
8850 void *argp1 = 0 ;
8851 int res1 = 0 ;
8852 bool temp2 = false ;
8853 int val3 ;
8854 int ecode3 = 0 ;
8855 PyObject * obj0 = 0 ;
8856 PyObject * obj1 = 0 ;
8857 PyObject * obj2 = 0 ;
8858 char * kwnames[] = {
8859 (char *) "self",(char *) "text",(char *) "number", NULL
8860 };
8861
8862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8864 if (!SWIG_IsOK(res1)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8866 }
8867 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8868 {
8869 arg2 = wxString_in_helper(obj1);
8870 if (arg2 == NULL) SWIG_fail;
8871 temp2 = true;
8872 }
8873 if (obj2) {
8874 ecode3 = SWIG_AsVal_int(obj2, &val3);
8875 if (!SWIG_IsOK(ecode3)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8877 }
8878 arg3 = static_cast< int >(val3);
8879 }
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 resultobj = SWIG_Py_Void();
8887 {
8888 if (temp2)
8889 delete arg2;
8890 }
8891 return resultobj;
8892fail:
8893 {
8894 if (temp2)
8895 delete arg2;
8896 }
8897 return NULL;
8898}
8899
8900
8901SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8902 PyObject *resultobj = 0;
8903 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8904 int arg2 = (int) 0 ;
8905 void *argp1 = 0 ;
8906 int res1 = 0 ;
8907 int val2 ;
8908 int ecode2 = 0 ;
8909 PyObject * obj0 = 0 ;
8910 PyObject * obj1 = 0 ;
8911 char * kwnames[] = {
8912 (char *) "self",(char *) "number", NULL
8913 };
8914
8915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8917 if (!SWIG_IsOK(res1)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8919 }
8920 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8921 if (obj1) {
8922 ecode2 = SWIG_AsVal_int(obj1, &val2);
8923 if (!SWIG_IsOK(ecode2)) {
8924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8925 }
8926 arg2 = static_cast< int >(val2);
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->PopStatusText(arg2);
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 resultobj = SWIG_Py_Void();
8935 return resultobj;
8936fail:
8937 return NULL;
8938}
8939
8940
8941SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj = 0;
8943 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8944 int arg2 ;
8945 int *arg3 = (int *) 0 ;
8946 void *argp1 = 0 ;
8947 int res1 = 0 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char * kwnames[] = {
8951 (char *) "self",(char *) "widths", NULL
8952 };
8953
8954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8956 if (!SWIG_IsOK(res1)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8958 }
8959 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8960 {
8961 arg2 = PyList_Size(obj1);
8962 arg3 = int_LIST_helper(obj1);
8963 if (arg3 == NULL) SWIG_fail;
8964 }
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 resultobj = SWIG_Py_Void();
8972 {
8973 if (arg3) delete [] arg3;
8974 }
8975 return resultobj;
8976fail:
8977 {
8978 if (arg3) delete [] arg3;
8979 }
8980 return NULL;
d55e5bfc
RD
8981}
8982
8983
554f62e9
RD
8984SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj = 0;
8986 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8987 int arg2 ;
8988 int *arg3 = (int *) 0 ;
8989 void *argp1 = 0 ;
8990 int res1 = 0 ;
8991 PyObject * obj0 = 0 ;
8992 PyObject * obj1 = 0 ;
8993 char * kwnames[] = {
8994 (char *) "self",(char *) "styles", NULL
8995 };
8996
8997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8999 if (!SWIG_IsOK(res1)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9001 }
9002 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9003 {
9004 arg2 = PyList_Size(obj1);
9005 arg3 = int_LIST_helper(obj1);
9006 if (arg3 == NULL) SWIG_fail;
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 resultobj = SWIG_Py_Void();
9015 {
9016 if (arg3) delete [] arg3;
9017 }
9018 return resultobj;
9019fail:
9020 {
9021 if (arg3) delete [] arg3;
9022 }
9023 return NULL;
9024}
9025
9026
9027SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9028 PyObject *resultobj = 0;
9029 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9030 int arg2 ;
9031 wxRect result;
9032 void *argp1 = 0 ;
9033 int res1 = 0 ;
9034 int val2 ;
9035 int ecode2 = 0 ;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 char * kwnames[] = {
9039 (char *) "self",(char *) "i", NULL
9040 };
9041
9042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9044 if (!SWIG_IsOK(res1)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9046 }
9047 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9048 ecode2 = SWIG_AsVal_int(obj1, &val2);
9049 if (!SWIG_IsOK(ecode2)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9051 }
9052 arg2 = static_cast< int >(val2);
9053 {
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = wxStatusBar_GetFieldRect(arg1,arg2);
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9060 return resultobj;
9061fail:
9062 return NULL;
9063}
9064
9065
9066SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj = 0;
9068 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9069 int arg2 ;
9070 void *argp1 = 0 ;
9071 int res1 = 0 ;
9072 int val2 ;
9073 int ecode2 = 0 ;
9074 PyObject * obj0 = 0 ;
9075 PyObject * obj1 = 0 ;
9076 char * kwnames[] = {
9077 (char *) "self",(char *) "height", NULL
9078 };
9079
9080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9082 if (!SWIG_IsOK(res1)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9084 }
9085 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9086 ecode2 = SWIG_AsVal_int(obj1, &val2);
9087 if (!SWIG_IsOK(ecode2)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9089 }
9090 arg2 = static_cast< int >(val2);
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->SetMinHeight(arg2);
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 resultobj = SWIG_Py_Void();
9098 return resultobj;
9099fail:
9100 return NULL;
d55e5bfc
RD
9101}
9102
9103
554f62e9
RD
9104SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9105 PyObject *resultobj = 0;
9106 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9107 int result;
9108 void *argp1 = 0 ;
9109 int res1 = 0 ;
9110 PyObject *swig_obj[1] ;
9111
9112 if (!args) SWIG_fail;
9113 swig_obj[0] = args;
9114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9115 if (!SWIG_IsOK(res1)) {
9116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9117 }
9118 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = SWIG_From_int(static_cast< int >(result));
9126 return resultobj;
9127fail:
9128 return NULL;
d55e5bfc
RD
9129}
9130
9131
554f62e9
RD
9132SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9133 PyObject *resultobj = 0;
9134 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9135 int result;
9136 void *argp1 = 0 ;
9137 int res1 = 0 ;
9138 PyObject *swig_obj[1] ;
9139
9140 if (!args) SWIG_fail;
9141 swig_obj[0] = args;
9142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9143 if (!SWIG_IsOK(res1)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9145 }
9146 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 resultobj = SWIG_From_int(static_cast< int >(result));
9154 return resultobj;
9155fail:
9156 return NULL;
9157}
9158
9159
9160SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj = 0;
9162 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9163 SwigValueWrapper<wxVisualAttributes > result;
9164 int val1 ;
9165 int ecode1 = 0 ;
9166 PyObject * obj0 = 0 ;
9167 char * kwnames[] = {
9168 (char *) "variant", NULL
9169 };
9170
9171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9172 if (obj0) {
9173 ecode1 = SWIG_AsVal_int(obj0, &val1);
9174 if (!SWIG_IsOK(ecode1)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9176 }
9177 arg1 = static_cast< wxWindowVariant >(val1);
9178 }
9179 {
9180 if (!wxPyCheckForApp()) SWIG_fail;
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
9186 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9187 return resultobj;
9188fail:
9189 return NULL;
d55e5bfc
RD
9190}
9191
9192
554f62e9
RD
9193SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9194 PyObject *obj;
9195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9196 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9197 return SWIG_Py_Void();
d55e5bfc
RD
9198}
9199
554f62e9
RD
9200SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9201 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
9202}
9203
554f62e9
RD
9204SWIGINTERN int SplitterNameStr_set(PyObject *) {
9205 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9206 return 1;
d55e5bfc
RD
9207}
9208
9209
554f62e9
RD
9210SWIGINTERN PyObject *SplitterNameStr_get(void) {
9211 PyObject *pyobj = 0;
9212
9213 {
9214#if wxUSE_UNICODE
9215 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9216#else
9217 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9218#endif
9219 }
9220 return pyobj;
9221}
9222
9223
9224SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9225 PyObject *resultobj = 0;
9226 wxWindow *arg1 = (wxWindow *) 0 ;
9227 int arg2 = (int) -1 ;
9228 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9229 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9230 wxSize const &arg4_defvalue = wxDefaultSize ;
9231 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9232 long arg5 = (long) wxSP_3D ;
9233 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9234 wxString *arg6 = (wxString *) &arg6_defvalue ;
9235 wxSplitterWindow *result = 0 ;
9236 void *argp1 = 0 ;
9237 int res1 = 0 ;
9238 int val2 ;
9239 int ecode2 = 0 ;
9240 wxPoint temp3 ;
9241 wxSize temp4 ;
9242 long val5 ;
9243 int ecode5 = 0 ;
9244 bool temp6 = false ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 PyObject * obj2 = 0 ;
9248 PyObject * obj3 = 0 ;
9249 PyObject * obj4 = 0 ;
9250 PyObject * obj5 = 0 ;
9251 char * kwnames[] = {
9252 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9253 };
9254
9255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9257 if (!SWIG_IsOK(res1)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9259 }
9260 arg1 = reinterpret_cast< wxWindow * >(argp1);
9261 if (obj1) {
9262 ecode2 = SWIG_AsVal_int(obj1, &val2);
9263 if (!SWIG_IsOK(ecode2)) {
9264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9265 }
9266 arg2 = static_cast< int >(val2);
9267 }
9268 if (obj2) {
093d3ff1 9269 {
554f62e9
RD
9270 arg3 = &temp3;
9271 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9272 }
554f62e9
RD
9273 }
9274 if (obj3) {
d55e5bfc 9275 {
554f62e9
RD
9276 arg4 = &temp4;
9277 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9278 }
554f62e9
RD
9279 }
9280 if (obj4) {
9281 ecode5 = SWIG_AsVal_long(obj4, &val5);
9282 if (!SWIG_IsOK(ecode5)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9284 }
9285 arg5 = static_cast< long >(val5);
9286 }
9287 if (obj5) {
093d3ff1 9288 {
554f62e9
RD
9289 arg6 = wxString_in_helper(obj5);
9290 if (arg6 == NULL) SWIG_fail;
9291 temp6 = true;
093d3ff1 9292 }
554f62e9
RD
9293 }
9294 {
9295 if (!wxPyCheckForApp()) SWIG_fail;
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9302 {
9303 if (temp6)
9304 delete arg6;
9305 }
9306 return resultobj;
9307fail:
9308 {
9309 if (temp6)
9310 delete arg6;
9311 }
9312 return NULL;
d55e5bfc
RD
9313}
9314
9315
554f62e9
RD
9316SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9317 PyObject *resultobj = 0;
9318 wxSplitterWindow *result = 0 ;
9319
9320 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9321 {
9322 if (!wxPyCheckForApp()) SWIG_fail;
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (wxSplitterWindow *)new wxSplitterWindow();
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9329 return resultobj;
9330fail:
9331 return NULL;
9332}
9333
9334
9335SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj = 0;
9337 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9338 wxWindow *arg2 = (wxWindow *) 0 ;
9339 int arg3 = (int) -1 ;
9340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9342 wxSize const &arg5_defvalue = wxDefaultSize ;
9343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9344 long arg6 = (long) wxSP_3D ;
9345 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9346 wxString *arg7 = (wxString *) &arg7_defvalue ;
9347 bool result;
9348 void *argp1 = 0 ;
9349 int res1 = 0 ;
9350 void *argp2 = 0 ;
9351 int res2 = 0 ;
9352 int val3 ;
9353 int ecode3 = 0 ;
9354 wxPoint temp4 ;
9355 wxSize temp5 ;
9356 long val6 ;
9357 int ecode6 = 0 ;
9358 bool temp7 = false ;
9359 PyObject * obj0 = 0 ;
9360 PyObject * obj1 = 0 ;
9361 PyObject * obj2 = 0 ;
9362 PyObject * obj3 = 0 ;
9363 PyObject * obj4 = 0 ;
9364 PyObject * obj5 = 0 ;
9365 PyObject * obj6 = 0 ;
9366 char * kwnames[] = {
9367 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9368 };
9369
9370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9372 if (!SWIG_IsOK(res1)) {
9373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9374 }
9375 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9377 if (!SWIG_IsOK(res2)) {
9378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9379 }
9380 arg2 = reinterpret_cast< wxWindow * >(argp2);
9381 if (obj2) {
9382 ecode3 = SWIG_AsVal_int(obj2, &val3);
9383 if (!SWIG_IsOK(ecode3)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9385 }
9386 arg3 = static_cast< int >(val3);
9387 }
9388 if (obj3) {
d55e5bfc 9389 {
554f62e9
RD
9390 arg4 = &temp4;
9391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9392 }
554f62e9
RD
9393 }
9394 if (obj4) {
d55e5bfc 9395 {
554f62e9
RD
9396 arg5 = &temp5;
9397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9398 }
554f62e9
RD
9399 }
9400 if (obj5) {
9401 ecode6 = SWIG_AsVal_long(obj5, &val6);
9402 if (!SWIG_IsOK(ecode6)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9404 }
9405 arg6 = static_cast< long >(val6);
9406 }
9407 if (obj6) {
d55e5bfc 9408 {
554f62e9
RD
9409 arg7 = wxString_in_helper(obj6);
9410 if (arg7 == NULL) SWIG_fail;
9411 temp7 = true;
d55e5bfc 9412 }
554f62e9
RD
9413 }
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 {
9421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9422 }
9423 {
9424 if (temp7)
9425 delete arg7;
9426 }
9427 return resultobj;
9428fail:
9429 {
9430 if (temp7)
9431 delete arg7;
9432 }
9433 return NULL;
d55e5bfc
RD
9434}
9435
9436
554f62e9
RD
9437SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9438 PyObject *resultobj = 0;
9439 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9440 wxWindow *result = 0 ;
9441 void *argp1 = 0 ;
9442 int res1 = 0 ;
9443 PyObject *swig_obj[1] ;
9444
9445 if (!args) SWIG_fail;
9446 swig_obj[0] = args;
9447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9448 if (!SWIG_IsOK(res1)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9450 }
9451 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 {
9459 resultobj = wxPyMake_wxObject(result, 0);
9460 }
9461 return resultobj;
9462fail:
9463 return NULL;
d55e5bfc
RD
9464}
9465
9466
554f62e9
RD
9467SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9468 PyObject *resultobj = 0;
9469 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9470 wxWindow *result = 0 ;
9471 void *argp1 = 0 ;
9472 int res1 = 0 ;
9473 PyObject *swig_obj[1] ;
9474
9475 if (!args) SWIG_fail;
9476 swig_obj[0] = args;
9477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9478 if (!SWIG_IsOK(res1)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9480 }
9481 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 {
9489 resultobj = wxPyMake_wxObject(result, 0);
9490 }
9491 return resultobj;
9492fail:
9493 return NULL;
9494}
9495
9496
9497SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj = 0;
9499 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9500 int arg2 ;
9501 void *argp1 = 0 ;
9502 int res1 = 0 ;
9503 int val2 ;
9504 int ecode2 = 0 ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 char * kwnames[] = {
9508 (char *) "self",(char *) "mode", NULL
9509 };
9510
9511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9513 if (!SWIG_IsOK(res1)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9515 }
9516 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9517 ecode2 = SWIG_AsVal_int(obj1, &val2);
9518 if (!SWIG_IsOK(ecode2)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9520 }
9521 arg2 = static_cast< int >(val2);
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 (arg1)->SetSplitMode(arg2);
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = SWIG_Py_Void();
9529 return resultobj;
9530fail:
9531 return NULL;
d55e5bfc
RD
9532}
9533
9534
554f62e9
RD
9535SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9536 PyObject *resultobj = 0;
9537 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9538 wxSplitMode result;
9539 void *argp1 = 0 ;
9540 int res1 = 0 ;
9541 PyObject *swig_obj[1] ;
9542
9543 if (!args) SWIG_fail;
9544 swig_obj[0] = args;
9545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9546 if (!SWIG_IsOK(res1)) {
9547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9548 }
9549 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 resultobj = SWIG_From_int(static_cast< int >(result));
9557 return resultobj;
9558fail:
9559 return NULL;
9560}
9561
9562
9563SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj = 0;
9565 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9566 wxWindow *arg2 = (wxWindow *) 0 ;
9567 void *argp1 = 0 ;
9568 int res1 = 0 ;
9569 void *argp2 = 0 ;
9570 int res2 = 0 ;
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 char * kwnames[] = {
9574 (char *) "self",(char *) "window", NULL
9575 };
9576
9577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9579 if (!SWIG_IsOK(res1)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9581 }
9582 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9584 if (!SWIG_IsOK(res2)) {
9585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9586 }
9587 arg2 = reinterpret_cast< wxWindow * >(argp2);
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 (arg1)->Initialize(arg2);
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 resultobj = SWIG_Py_Void();
9595 return resultobj;
9596fail:
9597 return NULL;
9598}
9599
9600
9601SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj = 0;
9603 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9604 wxWindow *arg2 = (wxWindow *) 0 ;
9605 wxWindow *arg3 = (wxWindow *) 0 ;
9606 int arg4 = (int) 0 ;
9607 bool result;
9608 void *argp1 = 0 ;
9609 int res1 = 0 ;
9610 void *argp2 = 0 ;
9611 int res2 = 0 ;
9612 void *argp3 = 0 ;
9613 int res3 = 0 ;
9614 int val4 ;
9615 int ecode4 = 0 ;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj1 = 0 ;
9618 PyObject * obj2 = 0 ;
9619 PyObject * obj3 = 0 ;
9620 char * kwnames[] = {
9621 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9622 };
9623
9624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9626 if (!SWIG_IsOK(res1)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9628 }
9629 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9631 if (!SWIG_IsOK(res2)) {
9632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9633 }
9634 arg2 = reinterpret_cast< wxWindow * >(argp2);
9635 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9636 if (!SWIG_IsOK(res3)) {
9637 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9638 }
9639 arg3 = reinterpret_cast< wxWindow * >(argp3);
9640 if (obj3) {
9641 ecode4 = SWIG_AsVal_int(obj3, &val4);
9642 if (!SWIG_IsOK(ecode4)) {
9643 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9644 }
9645 arg4 = static_cast< int >(val4);
9646 }
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 {
9654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9655 }
9656 return resultobj;
9657fail:
9658 return NULL;
9659}
9660
9661
9662SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj = 0;
9664 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9665 wxWindow *arg2 = (wxWindow *) 0 ;
9666 wxWindow *arg3 = (wxWindow *) 0 ;
9667 int arg4 = (int) 0 ;
9668 bool result;
9669 void *argp1 = 0 ;
9670 int res1 = 0 ;
9671 void *argp2 = 0 ;
9672 int res2 = 0 ;
9673 void *argp3 = 0 ;
9674 int res3 = 0 ;
9675 int val4 ;
9676 int ecode4 = 0 ;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj1 = 0 ;
9679 PyObject * obj2 = 0 ;
9680 PyObject * obj3 = 0 ;
9681 char * kwnames[] = {
9682 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9683 };
9684
9685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9687 if (!SWIG_IsOK(res1)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9689 }
9690 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9691 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9692 if (!SWIG_IsOK(res2)) {
9693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9694 }
9695 arg2 = reinterpret_cast< wxWindow * >(argp2);
9696 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9697 if (!SWIG_IsOK(res3)) {
9698 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9699 }
9700 arg3 = reinterpret_cast< wxWindow * >(argp3);
9701 if (obj3) {
9702 ecode4 = SWIG_AsVal_int(obj3, &val4);
9703 if (!SWIG_IsOK(ecode4)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9705 }
9706 arg4 = static_cast< int >(val4);
9707 }
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 {
9715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9716 }
9717 return resultobj;
9718fail:
9719 return NULL;
9720}
9721
9722
9723SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj = 0;
9725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9726 wxWindow *arg2 = (wxWindow *) NULL ;
9727 bool result;
9728 void *argp1 = 0 ;
9729 int res1 = 0 ;
9730 void *argp2 = 0 ;
9731 int res2 = 0 ;
9732 PyObject * obj0 = 0 ;
9733 PyObject * obj1 = 0 ;
9734 char * kwnames[] = {
9735 (char *) "self",(char *) "toRemove", NULL
9736 };
9737
9738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9740 if (!SWIG_IsOK(res1)) {
9741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9742 }
9743 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9744 if (obj1) {
9745 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9746 if (!SWIG_IsOK(res2)) {
9747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 9748 }
554f62e9
RD
9749 arg2 = reinterpret_cast< wxWindow * >(argp2);
9750 }
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (bool)(arg1)->Unsplit(arg2);
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 {
9758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9759 }
9760 return resultobj;
9761fail:
9762 return NULL;
9763}
9764
9765
9766SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj = 0;
9768 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9769 wxWindow *arg2 = (wxWindow *) 0 ;
9770 wxWindow *arg3 = (wxWindow *) 0 ;
9771 bool result;
9772 void *argp1 = 0 ;
9773 int res1 = 0 ;
9774 void *argp2 = 0 ;
9775 int res2 = 0 ;
9776 void *argp3 = 0 ;
9777 int res3 = 0 ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 PyObject * obj2 = 0 ;
9781 char * kwnames[] = {
9782 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9783 };
9784
9785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9787 if (!SWIG_IsOK(res1)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9789 }
9790 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9791 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9792 if (!SWIG_IsOK(res2)) {
9793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9794 }
9795 arg2 = reinterpret_cast< wxWindow * >(argp2);
9796 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9797 if (!SWIG_IsOK(res3)) {
9798 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9799 }
9800 arg3 = reinterpret_cast< wxWindow * >(argp3);
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 {
9808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9809 }
9810 return resultobj;
9811fail:
9812 return NULL;
d55e5bfc
RD
9813}
9814
9815
554f62e9
RD
9816SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9817 PyObject *resultobj = 0;
9818 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9819 void *argp1 = 0 ;
9820 int res1 = 0 ;
9821 PyObject *swig_obj[1] ;
9822
9823 if (!args) SWIG_fail;
9824 swig_obj[0] = args;
9825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9826 if (!SWIG_IsOK(res1)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 }
9829 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 (arg1)->UpdateSize();
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 resultobj = SWIG_Py_Void();
9837 return resultobj;
9838fail:
9839 return NULL;
f20a2e1f
RD
9840}
9841
9842
554f62e9
RD
9843SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9844 PyObject *resultobj = 0;
9845 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9846 bool result;
9847 void *argp1 = 0 ;
9848 int res1 = 0 ;
9849 PyObject *swig_obj[1] ;
9850
9851 if (!args) SWIG_fail;
9852 swig_obj[0] = args;
9853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9854 if (!SWIG_IsOK(res1)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9856 }
9857 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
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_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj = 0;
9875 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9876 int arg2 ;
9877 void *argp1 = 0 ;
9878 int res1 = 0 ;
9879 int val2 ;
9880 int ecode2 = 0 ;
9881 PyObject * obj0 = 0 ;
9882 PyObject * obj1 = 0 ;
9883 char * kwnames[] = {
9884 (char *) "self",(char *) "width", NULL
9885 };
9886
9887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9889 if (!SWIG_IsOK(res1)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9891 }
9892 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9893 ecode2 = SWIG_AsVal_int(obj1, &val2);
9894 if (!SWIG_IsOK(ecode2)) {
9895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9896 }
9897 arg2 = static_cast< int >(val2);
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 (arg1)->SetSashSize(arg2);
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = SWIG_Py_Void();
9905 return resultobj;
9906fail:
9907 return NULL;
9908}
9909
9910
9911SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj = 0;
9913 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9914 int arg2 ;
9915 void *argp1 = 0 ;
9916 int res1 = 0 ;
9917 int val2 ;
9918 int ecode2 = 0 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "width", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9929 }
9930 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9931 ecode2 = SWIG_AsVal_int(obj1, &val2);
9932 if (!SWIG_IsOK(ecode2)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9934 }
9935 arg2 = static_cast< int >(val2);
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 (arg1)->SetBorderSize(arg2);
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 resultobj = SWIG_Py_Void();
9943 return resultobj;
9944fail:
9945 return NULL;
d55e5bfc
RD
9946}
9947
9948
554f62e9
RD
9949SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9950 PyObject *resultobj = 0;
9951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9952 int result;
9953 void *argp1 = 0 ;
9954 int res1 = 0 ;
9955 PyObject *swig_obj[1] ;
9956
9957 if (!args) SWIG_fail;
9958 swig_obj[0] = args;
9959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9960 if (!SWIG_IsOK(res1)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9962 }
9963 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = SWIG_From_int(static_cast< int >(result));
9971 return resultobj;
9972fail:
9973 return NULL;
d55e5bfc
RD
9974}
9975
9976
554f62e9
RD
9977SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9978 PyObject *resultobj = 0;
9979 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9980 int result;
9981 void *argp1 = 0 ;
9982 int res1 = 0 ;
9983 PyObject *swig_obj[1] ;
9984
9985 if (!args) SWIG_fail;
9986 swig_obj[0] = args;
9987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9988 if (!SWIG_IsOK(res1)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9990 }
9991 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 resultobj = SWIG_From_int(static_cast< int >(result));
9999 return resultobj;
10000fail:
10001 return NULL;
10002}
10003
10004
10005SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj = 0;
10007 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10008 int arg2 ;
10009 bool arg3 = (bool) true ;
10010 void *argp1 = 0 ;
10011 int res1 = 0 ;
10012 int val2 ;
10013 int ecode2 = 0 ;
10014 bool val3 ;
10015 int ecode3 = 0 ;
10016 PyObject * obj0 = 0 ;
10017 PyObject * obj1 = 0 ;
10018 PyObject * obj2 = 0 ;
10019 char * kwnames[] = {
10020 (char *) "self",(char *) "position",(char *) "redraw", NULL
10021 };
10022
10023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10025 if (!SWIG_IsOK(res1)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10027 }
10028 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10029 ecode2 = SWIG_AsVal_int(obj1, &val2);
10030 if (!SWIG_IsOK(ecode2)) {
10031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10032 }
10033 arg2 = static_cast< int >(val2);
10034 if (obj2) {
10035 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10036 if (!SWIG_IsOK(ecode3)) {
10037 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10038 }
10039 arg3 = static_cast< bool >(val3);
10040 }
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 (arg1)->SetSashPosition(arg2,arg3);
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
554f62e9
RD
10054SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10055 PyObject *resultobj = 0;
10056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10057 int 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_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10067 }
10068 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = SWIG_From_int(static_cast< int >(result));
10076 return resultobj;
10077fail:
10078 return NULL;
10079}
10080
10081
10082SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj = 0;
10084 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10085 double arg2 ;
10086 void *argp1 = 0 ;
10087 int res1 = 0 ;
10088 double val2 ;
10089 int ecode2 = 0 ;
10090 PyObject * obj0 = 0 ;
10091 PyObject * obj1 = 0 ;
10092 char * kwnames[] = {
10093 (char *) "self",(char *) "gravity", NULL
10094 };
10095
10096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10100 }
10101 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10102 ecode2 = SWIG_AsVal_double(obj1, &val2);
10103 if (!SWIG_IsOK(ecode2)) {
10104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10105 }
10106 arg2 = static_cast< double >(val2);
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 (arg1)->SetSashGravity(arg2);
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = SWIG_Py_Void();
10114 return resultobj;
10115fail:
10116 return NULL;
d55e5bfc
RD
10117}
10118
10119
554f62e9
RD
10120SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10121 PyObject *resultobj = 0;
10122 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10123 double result;
10124 void *argp1 = 0 ;
10125 int res1 = 0 ;
10126 PyObject *swig_obj[1] ;
10127
10128 if (!args) SWIG_fail;
10129 swig_obj[0] = args;
10130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10131 if (!SWIG_IsOK(res1)) {
10132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10133 }
10134 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 resultobj = SWIG_From_double(static_cast< double >(result));
10142 return resultobj;
10143fail:
10144 return NULL;
10145}
10146
10147
10148SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj = 0;
10150 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10151 int arg2 ;
10152 void *argp1 = 0 ;
10153 int res1 = 0 ;
10154 int val2 ;
10155 int ecode2 = 0 ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 char * kwnames[] = {
10159 (char *) "self",(char *) "min", NULL
10160 };
10161
10162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10164 if (!SWIG_IsOK(res1)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10166 }
10167 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10168 ecode2 = SWIG_AsVal_int(obj1, &val2);
10169 if (!SWIG_IsOK(ecode2)) {
10170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10171 }
10172 arg2 = static_cast< int >(val2);
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 (arg1)->SetMinimumPaneSize(arg2);
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 resultobj = SWIG_Py_Void();
10180 return resultobj;
10181fail:
10182 return NULL;
d55e5bfc
RD
10183}
10184
10185
554f62e9
RD
10186SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10187 PyObject *resultobj = 0;
10188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10189 int result;
10190 void *argp1 = 0 ;
10191 int res1 = 0 ;
10192 PyObject *swig_obj[1] ;
10193
10194 if (!args) SWIG_fail;
10195 swig_obj[0] = args;
10196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10197 if (!SWIG_IsOK(res1)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10199 }
10200 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_From_int(static_cast< int >(result));
10208 return resultobj;
10209fail:
10210 return NULL;
10211}
10212
10213
10214SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj = 0;
10216 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10217 int arg2 ;
10218 int arg3 ;
10219 int arg4 = (int) 5 ;
10220 bool result;
10221 void *argp1 = 0 ;
10222 int res1 = 0 ;
10223 int val2 ;
10224 int ecode2 = 0 ;
10225 int val3 ;
10226 int ecode3 = 0 ;
10227 int val4 ;
10228 int ecode4 = 0 ;
10229 PyObject * obj0 = 0 ;
10230 PyObject * obj1 = 0 ;
10231 PyObject * obj2 = 0 ;
10232 PyObject * obj3 = 0 ;
10233 char * kwnames[] = {
10234 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10235 };
10236
10237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10239 if (!SWIG_IsOK(res1)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10241 }
10242 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10243 ecode2 = SWIG_AsVal_int(obj1, &val2);
10244 if (!SWIG_IsOK(ecode2)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10246 }
10247 arg2 = static_cast< int >(val2);
10248 ecode3 = SWIG_AsVal_int(obj2, &val3);
10249 if (!SWIG_IsOK(ecode3)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10251 }
10252 arg3 = static_cast< int >(val3);
10253 if (obj3) {
10254 ecode4 = SWIG_AsVal_int(obj3, &val4);
10255 if (!SWIG_IsOK(ecode4)) {
10256 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10257 }
10258 arg4 = static_cast< int >(val4);
10259 }
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 {
10267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10268 }
10269 return resultobj;
10270fail:
10271 return NULL;
b1fcee84
RD
10272}
10273
10274
554f62e9
RD
10275SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10276 PyObject *resultobj = 0;
10277 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10278 void *argp1 = 0 ;
10279 int res1 = 0 ;
10280 PyObject *swig_obj[1] ;
10281
10282 if (!args) SWIG_fail;
10283 swig_obj[0] = args;
10284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10285 if (!SWIG_IsOK(res1)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10287 }
10288 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 (arg1)->SizeWindows();
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 resultobj = SWIG_Py_Void();
10296 return resultobj;
10297fail:
10298 return NULL;
10299}
10300
10301
10302SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj = 0;
10304 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10305 bool arg2 ;
10306 void *argp1 = 0 ;
10307 int res1 = 0 ;
10308 bool val2 ;
10309 int ecode2 = 0 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char * kwnames[] = {
10313 (char *) "self",(char *) "needUpdating", NULL
10314 };
10315
10316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10320 }
10321 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10322 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10323 if (!SWIG_IsOK(ecode2)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10325 }
10326 arg2 = static_cast< bool >(val2);
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 (arg1)->SetNeedUpdating(arg2);
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 resultobj = SWIG_Py_Void();
10334 return resultobj;
10335fail:
10336 return NULL;
b1fcee84
RD
10337}
10338
10339
554f62e9
RD
10340SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10341 PyObject *resultobj = 0;
10342 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10343 bool result;
10344 void *argp1 = 0 ;
10345 int res1 = 0 ;
10346 PyObject *swig_obj[1] ;
10347
10348 if (!args) SWIG_fail;
10349 swig_obj[0] = args;
10350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10351 if (!SWIG_IsOK(res1)) {
10352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10353 }
10354 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10363 }
10364 return resultobj;
10365fail:
10366 return NULL;
b1fcee84
RD
10367}
10368
10369
554f62e9
RD
10370SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10373 SwigValueWrapper<wxVisualAttributes > result;
10374 int val1 ;
10375 int ecode1 = 0 ;
10376 PyObject * obj0 = 0 ;
10377 char * kwnames[] = {
10378 (char *) "variant", NULL
10379 };
10380
10381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10382 if (obj0) {
10383 ecode1 = SWIG_AsVal_int(obj0, &val1);
10384 if (!SWIG_IsOK(ecode1)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10386 }
10387 arg1 = static_cast< wxWindowVariant >(val1);
10388 }
10389 {
10390 if (!wxPyCheckForApp()) SWIG_fail;
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10397 return resultobj;
10398fail:
10399 return NULL;
b1fcee84
RD
10400}
10401
10402
554f62e9
RD
10403SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10404 PyObject *obj;
10405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10406 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10407 return SWIG_Py_Void();
d55e5bfc
RD
10408}
10409
554f62e9
RD
10410SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10411 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10412}
10413
554f62e9
RD
10414SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj = 0;
10416 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10417 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10418 wxSplitterEvent *result = 0 ;
10419 int val1 ;
10420 int ecode1 = 0 ;
10421 void *argp2 = 0 ;
10422 int res2 = 0 ;
10423 PyObject * obj0 = 0 ;
10424 PyObject * obj1 = 0 ;
10425 char * kwnames[] = {
10426 (char *) "type",(char *) "splitter", NULL
10427 };
10428
10429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10430 if (obj0) {
10431 ecode1 = SWIG_AsVal_int(obj0, &val1);
10432 if (!SWIG_IsOK(ecode1)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10434 }
10435 arg1 = static_cast< wxEventType >(val1);
10436 }
10437 if (obj1) {
10438 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10439 if (!SWIG_IsOK(res2)) {
10440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
62d32a5f 10441 }
554f62e9
RD
10442 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10443 }
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10451 return resultobj;
10452fail:
10453 return NULL;
10454}
10455
10456
10457SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj = 0;
10459 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10460 int arg2 ;
10461 void *argp1 = 0 ;
10462 int res1 = 0 ;
10463 int val2 ;
10464 int ecode2 = 0 ;
10465 PyObject * obj0 = 0 ;
10466 PyObject * obj1 = 0 ;
10467 char * kwnames[] = {
10468 (char *) "self",(char *) "pos", NULL
10469 };
10470
10471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10473 if (!SWIG_IsOK(res1)) {
10474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10475 }
10476 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10477 ecode2 = SWIG_AsVal_int(obj1, &val2);
10478 if (!SWIG_IsOK(ecode2)) {
10479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10480 }
10481 arg2 = static_cast< int >(val2);
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 (arg1)->SetSashPosition(arg2);
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = SWIG_Py_Void();
10489 return resultobj;
10490fail:
10491 return NULL;
62d32a5f
RD
10492}
10493
10494
554f62e9
RD
10495SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10496 PyObject *resultobj = 0;
10497 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10498 int result;
10499 void *argp1 = 0 ;
10500 int res1 = 0 ;
10501 PyObject *swig_obj[1] ;
10502
10503 if (!args) SWIG_fail;
10504 swig_obj[0] = args;
10505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10506 if (!SWIG_IsOK(res1)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10508 }
10509 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = SWIG_From_int(static_cast< int >(result));
10517 return resultobj;
10518fail:
10519 return NULL;
d55e5bfc
RD
10520}
10521
10522
554f62e9
RD
10523SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10524 PyObject *resultobj = 0;
10525 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10526 wxWindow *result = 0 ;
10527 void *argp1 = 0 ;
10528 int res1 = 0 ;
10529 PyObject *swig_obj[1] ;
10530
10531 if (!args) SWIG_fail;
10532 swig_obj[0] = args;
10533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10534 if (!SWIG_IsOK(res1)) {
10535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10536 }
10537 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 {
10545 resultobj = wxPyMake_wxObject(result, 0);
10546 }
10547 return resultobj;
10548fail:
10549 return NULL;
d55e5bfc
RD
10550}
10551
10552
554f62e9
RD
10553SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10554 PyObject *resultobj = 0;
10555 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10556 int result;
10557 void *argp1 = 0 ;
10558 int res1 = 0 ;
10559 PyObject *swig_obj[1] ;
10560
10561 if (!args) SWIG_fail;
10562 swig_obj[0] = args;
10563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10564 if (!SWIG_IsOK(res1)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10566 }
10567 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 resultobj = SWIG_From_int(static_cast< int >(result));
10575 return resultobj;
10576fail:
10577 return NULL;
d55e5bfc
RD
10578}
10579
10580
554f62e9
RD
10581SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10582 PyObject *resultobj = 0;
10583 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10584 int result;
10585 void *argp1 = 0 ;
10586 int res1 = 0 ;
10587 PyObject *swig_obj[1] ;
10588
10589 if (!args) SWIG_fail;
10590 swig_obj[0] = args;
10591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10592 if (!SWIG_IsOK(res1)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10594 }
10595 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 resultobj = SWIG_From_int(static_cast< int >(result));
10603 return resultobj;
10604fail:
10605 return NULL;
f20a2e1f
RD
10606}
10607
10608
554f62e9
RD
10609SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10610 PyObject *obj;
10611 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10612 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10613 return SWIG_Py_Void();
d55e5bfc
RD
10614}
10615
554f62e9
RD
10616SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10617 return SWIG_Python_InitShadowInstance(args);
10618}
d55e5bfc 10619
554f62e9
RD
10620SWIGINTERN int SashNameStr_set(PyObject *) {
10621 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10622 return 1;
d55e5bfc
RD
10623}
10624
10625
554f62e9
RD
10626SWIGINTERN PyObject *SashNameStr_get(void) {
10627 PyObject *pyobj = 0;
10628
10629 {
10630#if wxUSE_UNICODE
10631 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10632#else
10633 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10634#endif
10635 }
10636 return pyobj;
d55e5bfc
RD
10637}
10638
10639
554f62e9
RD
10640SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10641 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10642 return 1;
d55e5bfc
RD
10643}
10644
10645
554f62e9
RD
10646SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10647 PyObject *pyobj = 0;
10648
10649 {
10650#if wxUSE_UNICODE
10651 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10652#else
10653 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10654#endif
10655 }
10656 return pyobj;
10657}
10658
10659
10660SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj = 0;
10662 wxWindow *arg1 = (wxWindow *) 0 ;
10663 int arg2 = (int) -1 ;
10664 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10665 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10666 wxSize const &arg4_defvalue = wxDefaultSize ;
10667 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10668 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10669 wxString const &arg6_defvalue = wxPySashNameStr ;
10670 wxString *arg6 = (wxString *) &arg6_defvalue ;
10671 wxSashWindow *result = 0 ;
10672 void *argp1 = 0 ;
10673 int res1 = 0 ;
10674 int val2 ;
10675 int ecode2 = 0 ;
10676 wxPoint temp3 ;
10677 wxSize temp4 ;
10678 long val5 ;
10679 int ecode5 = 0 ;
10680 bool temp6 = false ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 PyObject * obj2 = 0 ;
10684 PyObject * obj3 = 0 ;
10685 PyObject * obj4 = 0 ;
10686 PyObject * obj5 = 0 ;
10687 char * kwnames[] = {
10688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10689 };
10690
10691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10693 if (!SWIG_IsOK(res1)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10695 }
10696 arg1 = reinterpret_cast< wxWindow * >(argp1);
10697 if (obj1) {
10698 ecode2 = SWIG_AsVal_int(obj1, &val2);
10699 if (!SWIG_IsOK(ecode2)) {
10700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10701 }
10702 arg2 = static_cast< int >(val2);
10703 }
10704 if (obj2) {
093d3ff1 10705 {
554f62e9
RD
10706 arg3 = &temp3;
10707 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10708 }
554f62e9
RD
10709 }
10710 if (obj3) {
d55e5bfc 10711 {
554f62e9
RD
10712 arg4 = &temp4;
10713 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10714 }
554f62e9
RD
10715 }
10716 if (obj4) {
10717 ecode5 = SWIG_AsVal_long(obj4, &val5);
10718 if (!SWIG_IsOK(ecode5)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10720 }
10721 arg5 = static_cast< long >(val5);
10722 }
10723 if (obj5) {
d55e5bfc 10724 {
554f62e9
RD
10725 arg6 = wxString_in_helper(obj5);
10726 if (arg6 == NULL) SWIG_fail;
10727 temp6 = true;
d55e5bfc 10728 }
554f62e9
RD
10729 }
10730 {
10731 if (!wxPyCheckForApp()) SWIG_fail;
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10738 {
10739 if (temp6)
10740 delete arg6;
10741 }
10742 return resultobj;
10743fail:
10744 {
10745 if (temp6)
10746 delete arg6;
10747 }
10748 return NULL;
d55e5bfc
RD
10749}
10750
10751
554f62e9
RD
10752SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10753 PyObject *resultobj = 0;
10754 wxSashWindow *result = 0 ;
10755
10756 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10757 {
10758 if (!wxPyCheckForApp()) SWIG_fail;
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 result = (wxSashWindow *)new wxSashWindow();
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10765 return resultobj;
10766fail:
10767 return NULL;
10768}
10769
10770
10771SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj = 0;
10773 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10774 wxWindow *arg2 = (wxWindow *) 0 ;
10775 int arg3 = (int) -1 ;
10776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10778 wxSize const &arg5_defvalue = wxDefaultSize ;
10779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10780 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10781 wxString const &arg7_defvalue = wxPySashNameStr ;
10782 wxString *arg7 = (wxString *) &arg7_defvalue ;
10783 bool result;
10784 void *argp1 = 0 ;
10785 int res1 = 0 ;
10786 void *argp2 = 0 ;
10787 int res2 = 0 ;
10788 int val3 ;
10789 int ecode3 = 0 ;
10790 wxPoint temp4 ;
10791 wxSize temp5 ;
10792 long val6 ;
10793 int ecode6 = 0 ;
10794 bool temp7 = false ;
10795 PyObject * obj0 = 0 ;
10796 PyObject * obj1 = 0 ;
10797 PyObject * obj2 = 0 ;
10798 PyObject * obj3 = 0 ;
10799 PyObject * obj4 = 0 ;
10800 PyObject * obj5 = 0 ;
10801 PyObject * obj6 = 0 ;
10802 char * kwnames[] = {
10803 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10804 };
10805
10806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10808 if (!SWIG_IsOK(res1)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10810 }
10811 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10813 if (!SWIG_IsOK(res2)) {
10814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10815 }
10816 arg2 = reinterpret_cast< wxWindow * >(argp2);
10817 if (obj2) {
10818 ecode3 = SWIG_AsVal_int(obj2, &val3);
10819 if (!SWIG_IsOK(ecode3)) {
10820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10821 }
10822 arg3 = static_cast< int >(val3);
10823 }
10824 if (obj3) {
093d3ff1 10825 {
554f62e9
RD
10826 arg4 = &temp4;
10827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10828 }
554f62e9
RD
10829 }
10830 if (obj4) {
d55e5bfc 10831 {
554f62e9
RD
10832 arg5 = &temp5;
10833 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10834 }
554f62e9
RD
10835 }
10836 if (obj5) {
10837 ecode6 = SWIG_AsVal_long(obj5, &val6);
10838 if (!SWIG_IsOK(ecode6)) {
10839 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10840 }
10841 arg6 = static_cast< long >(val6);
10842 }
10843 if (obj6) {
093d3ff1 10844 {
554f62e9
RD
10845 arg7 = wxString_in_helper(obj6);
10846 if (arg7 == NULL) SWIG_fail;
10847 temp7 = true;
093d3ff1 10848 }
554f62e9
RD
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 {
10857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10858 }
10859 {
10860 if (temp7)
10861 delete arg7;
10862 }
10863 return resultobj;
10864fail:
10865 {
10866 if (temp7)
10867 delete arg7;
10868 }
10869 return NULL;
10870}
10871
10872
10873SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj = 0;
10875 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10876 wxSashEdgePosition arg2 ;
10877 bool arg3 ;
10878 void *argp1 = 0 ;
10879 int res1 = 0 ;
10880 int val2 ;
10881 int ecode2 = 0 ;
10882 bool val3 ;
10883 int ecode3 = 0 ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 PyObject * obj2 = 0 ;
10887 char * kwnames[] = {
10888 (char *) "self",(char *) "edge",(char *) "sash", NULL
10889 };
10890
10891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10893 if (!SWIG_IsOK(res1)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10895 }
10896 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10897 ecode2 = SWIG_AsVal_int(obj1, &val2);
10898 if (!SWIG_IsOK(ecode2)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10900 }
10901 arg2 = static_cast< wxSashEdgePosition >(val2);
10902 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10903 if (!SWIG_IsOK(ecode3)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10905 }
10906 arg3 = static_cast< bool >(val3);
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->SetSashVisible(arg2,arg3);
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_Py_Void();
10914 return resultobj;
10915fail:
10916 return NULL;
10917}
10918
10919
10920SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj = 0;
10922 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10923 wxSashEdgePosition arg2 ;
10924 bool result;
10925 void *argp1 = 0 ;
10926 int res1 = 0 ;
10927 int val2 ;
10928 int ecode2 = 0 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 char * kwnames[] = {
10932 (char *) "self",(char *) "edge", NULL
10933 };
10934
10935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10937 if (!SWIG_IsOK(res1)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10939 }
10940 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10941 ecode2 = SWIG_AsVal_int(obj1, &val2);
10942 if (!SWIG_IsOK(ecode2)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10944 }
10945 arg2 = static_cast< wxSashEdgePosition >(val2);
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 {
10953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10954 }
10955 return resultobj;
10956fail:
10957 return NULL;
10958}
10959
10960
10961SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj = 0;
10963 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10964 wxSashEdgePosition arg2 ;
10965 bool arg3 ;
10966 void *argp1 = 0 ;
10967 int res1 = 0 ;
10968 int val2 ;
10969 int ecode2 = 0 ;
10970 bool val3 ;
10971 int ecode3 = 0 ;
10972 PyObject * obj0 = 0 ;
10973 PyObject * obj1 = 0 ;
10974 PyObject * obj2 = 0 ;
10975 char * kwnames[] = {
10976 (char *) "self",(char *) "edge",(char *) "border", NULL
10977 };
10978
10979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10981 if (!SWIG_IsOK(res1)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10983 }
10984 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10985 ecode2 = SWIG_AsVal_int(obj1, &val2);
10986 if (!SWIG_IsOK(ecode2)) {
10987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10988 }
10989 arg2 = static_cast< wxSashEdgePosition >(val2);
10990 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10991 if (!SWIG_IsOK(ecode3)) {
10992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10993 }
10994 arg3 = static_cast< bool >(val3);
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 (arg1)->SetSashBorder(arg2,arg3);
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 resultobj = SWIG_Py_Void();
11002 return resultobj;
11003fail:
11004 return NULL;
11005}
11006
11007
11008SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj = 0;
11010 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11011 wxSashEdgePosition arg2 ;
11012 bool result;
11013 void *argp1 = 0 ;
11014 int res1 = 0 ;
11015 int val2 ;
11016 int ecode2 = 0 ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char * kwnames[] = {
11020 (char *) "self",(char *) "edge", NULL
11021 };
11022
11023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11025 if (!SWIG_IsOK(res1)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11027 }
11028 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11029 ecode2 = SWIG_AsVal_int(obj1, &val2);
11030 if (!SWIG_IsOK(ecode2)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11032 }
11033 arg2 = static_cast< wxSashEdgePosition >(val2);
11034 {
11035 PyThreadState* __tstate = wxPyBeginAllowThreads();
11036 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 {
11041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11042 }
11043 return resultobj;
11044fail:
11045 return NULL;
11046}
11047
11048
11049SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11050 PyObject *resultobj = 0;
11051 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11052 wxSashEdgePosition arg2 ;
11053 int result;
11054 void *argp1 = 0 ;
11055 int res1 = 0 ;
11056 int val2 ;
11057 int ecode2 = 0 ;
11058 PyObject * obj0 = 0 ;
11059 PyObject * obj1 = 0 ;
11060 char * kwnames[] = {
11061 (char *) "self",(char *) "edge", NULL
11062 };
11063
11064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11066 if (!SWIG_IsOK(res1)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11068 }
11069 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11070 ecode2 = SWIG_AsVal_int(obj1, &val2);
11071 if (!SWIG_IsOK(ecode2)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11073 }
11074 arg2 = static_cast< wxSashEdgePosition >(val2);
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 resultobj = SWIG_From_int(static_cast< int >(result));
11082 return resultobj;
11083fail:
11084 return NULL;
11085}
11086
11087
11088SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj = 0;
11090 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11091 int arg2 ;
11092 void *argp1 = 0 ;
11093 int res1 = 0 ;
11094 int val2 ;
11095 int ecode2 = 0 ;
11096 PyObject * obj0 = 0 ;
11097 PyObject * obj1 = 0 ;
11098 char * kwnames[] = {
11099 (char *) "self",(char *) "width", NULL
11100 };
11101
11102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) 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_SetDefaultBorderSize" "', 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_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11111 }
11112 arg2 = static_cast< int >(val2);
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 (arg1)->SetDefaultBorderSize(arg2);
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 resultobj = SWIG_Py_Void();
11120 return resultobj;
11121fail:
11122 return NULL;
d55e5bfc
RD
11123}
11124
11125
554f62e9
RD
11126SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11127 PyObject *resultobj = 0;
11128 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11129 int result;
11130 void *argp1 = 0 ;
11131 int res1 = 0 ;
11132 PyObject *swig_obj[1] ;
11133
11134 if (!args) SWIG_fail;
11135 swig_obj[0] = args;
11136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11137 if (!SWIG_IsOK(res1)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11139 }
11140 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_From_int(static_cast< int >(result));
11148 return resultobj;
11149fail:
11150 return NULL;
11151}
11152
11153
11154SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj = 0;
11156 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11157 int arg2 ;
11158 void *argp1 = 0 ;
11159 int res1 = 0 ;
11160 int val2 ;
11161 int ecode2 = 0 ;
11162 PyObject * obj0 = 0 ;
11163 PyObject * obj1 = 0 ;
11164 char * kwnames[] = {
11165 (char *) "self",(char *) "width", NULL
11166 };
11167
11168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11172 }
11173 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11174 ecode2 = SWIG_AsVal_int(obj1, &val2);
11175 if (!SWIG_IsOK(ecode2)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11177 }
11178 arg2 = static_cast< int >(val2);
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 (arg1)->SetExtraBorderSize(arg2);
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 resultobj = SWIG_Py_Void();
11186 return resultobj;
11187fail:
11188 return NULL;
d55e5bfc
RD
11189}
11190
11191
554f62e9
RD
11192SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11193 PyObject *resultobj = 0;
11194 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11195 int result;
11196 void *argp1 = 0 ;
11197 int res1 = 0 ;
11198 PyObject *swig_obj[1] ;
11199
11200 if (!args) SWIG_fail;
11201 swig_obj[0] = args;
11202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11203 if (!SWIG_IsOK(res1)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11205 }
11206 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 resultobj = SWIG_From_int(static_cast< int >(result));
11214 return resultobj;
11215fail:
11216 return NULL;
11217}
11218
11219
11220SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj = 0;
11222 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11223 int arg2 ;
11224 void *argp1 = 0 ;
11225 int res1 = 0 ;
11226 int val2 ;
11227 int ecode2 = 0 ;
11228 PyObject * obj0 = 0 ;
11229 PyObject * obj1 = 0 ;
11230 char * kwnames[] = {
11231 (char *) "self",(char *) "min", NULL
11232 };
11233
11234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11236 if (!SWIG_IsOK(res1)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11238 }
11239 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11240 ecode2 = SWIG_AsVal_int(obj1, &val2);
11241 if (!SWIG_IsOK(ecode2)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11243 }
11244 arg2 = static_cast< int >(val2);
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 (arg1)->SetMinimumSizeX(arg2);
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 resultobj = SWIG_Py_Void();
11252 return resultobj;
11253fail:
11254 return NULL;
11255}
11256
11257
11258SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj = 0;
11260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11261 int arg2 ;
11262 void *argp1 = 0 ;
11263 int res1 = 0 ;
11264 int val2 ;
11265 int ecode2 = 0 ;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
11268 char * kwnames[] = {
11269 (char *) "self",(char *) "min", NULL
11270 };
11271
11272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11274 if (!SWIG_IsOK(res1)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11276 }
11277 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11278 ecode2 = SWIG_AsVal_int(obj1, &val2);
11279 if (!SWIG_IsOK(ecode2)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11281 }
11282 arg2 = static_cast< int >(val2);
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->SetMinimumSizeY(arg2);
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_Py_Void();
11290 return resultobj;
11291fail:
11292 return NULL;
d55e5bfc
RD
11293}
11294
11295
554f62e9
RD
11296SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11297 PyObject *resultobj = 0;
11298 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11299 int result;
11300 void *argp1 = 0 ;
11301 int res1 = 0 ;
11302 PyObject *swig_obj[1] ;
11303
11304 if (!args) SWIG_fail;
11305 swig_obj[0] = args;
11306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11307 if (!SWIG_IsOK(res1)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11309 }
11310 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 resultobj = SWIG_From_int(static_cast< int >(result));
11318 return resultobj;
11319fail:
11320 return NULL;
d55e5bfc
RD
11321}
11322
11323
554f62e9
RD
11324SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11325 PyObject *resultobj = 0;
11326 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11327 int result;
11328 void *argp1 = 0 ;
11329 int res1 = 0 ;
11330 PyObject *swig_obj[1] ;
11331
11332 if (!args) SWIG_fail;
11333 swig_obj[0] = args;
11334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11335 if (!SWIG_IsOK(res1)) {
11336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11337 }
11338 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = SWIG_From_int(static_cast< int >(result));
11346 return resultobj;
11347fail:
11348 return NULL;
11349}
11350
11351
11352SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj = 0;
11354 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11355 int arg2 ;
11356 void *argp1 = 0 ;
11357 int res1 = 0 ;
11358 int val2 ;
11359 int ecode2 = 0 ;
11360 PyObject * obj0 = 0 ;
11361 PyObject * obj1 = 0 ;
11362 char * kwnames[] = {
11363 (char *) "self",(char *) "max", NULL
11364 };
11365
11366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11368 if (!SWIG_IsOK(res1)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11370 }
11371 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11372 ecode2 = SWIG_AsVal_int(obj1, &val2);
11373 if (!SWIG_IsOK(ecode2)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11375 }
11376 arg2 = static_cast< int >(val2);
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 (arg1)->SetMaximumSizeX(arg2);
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 resultobj = SWIG_Py_Void();
11384 return resultobj;
11385fail:
11386 return NULL;
11387}
11388
11389
11390SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj = 0;
11392 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11393 int arg2 ;
11394 void *argp1 = 0 ;
11395 int res1 = 0 ;
11396 int val2 ;
11397 int ecode2 = 0 ;
11398 PyObject * obj0 = 0 ;
11399 PyObject * obj1 = 0 ;
11400 char * kwnames[] = {
11401 (char *) "self",(char *) "max", NULL
11402 };
11403
11404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11406 if (!SWIG_IsOK(res1)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11408 }
11409 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11410 ecode2 = SWIG_AsVal_int(obj1, &val2);
11411 if (!SWIG_IsOK(ecode2)) {
11412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11413 }
11414 arg2 = static_cast< int >(val2);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 (arg1)->SetMaximumSizeY(arg2);
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_Py_Void();
11422 return resultobj;
11423fail:
11424 return NULL;
d55e5bfc
RD
11425}
11426
11427
554f62e9
RD
11428SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11429 PyObject *resultobj = 0;
11430 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11431 int result;
11432 void *argp1 = 0 ;
11433 int res1 = 0 ;
11434 PyObject *swig_obj[1] ;
11435
11436 if (!args) SWIG_fail;
11437 swig_obj[0] = args;
11438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11441 }
11442 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_From_int(static_cast< int >(result));
11450 return resultobj;
11451fail:
11452 return NULL;
d55e5bfc
RD
11453}
11454
11455
554f62e9
RD
11456SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11457 PyObject *resultobj = 0;
11458 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11459 int result;
11460 void *argp1 = 0 ;
11461 int res1 = 0 ;
11462 PyObject *swig_obj[1] ;
11463
11464 if (!args) SWIG_fail;
11465 swig_obj[0] = args;
11466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11467 if (!SWIG_IsOK(res1)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11469 }
11470 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 resultobj = SWIG_From_int(static_cast< int >(result));
11478 return resultobj;
11479fail:
11480 return NULL;
11481}
11482
11483
11484SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj = 0;
11486 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11487 int arg2 ;
11488 int arg3 ;
11489 int arg4 = (int) 2 ;
11490 wxSashEdgePosition result;
11491 void *argp1 = 0 ;
11492 int res1 = 0 ;
11493 int val2 ;
11494 int ecode2 = 0 ;
11495 int val3 ;
11496 int ecode3 = 0 ;
11497 int val4 ;
11498 int ecode4 = 0 ;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 PyObject * obj2 = 0 ;
11502 PyObject * obj3 = 0 ;
11503 char * kwnames[] = {
11504 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11505 };
11506
11507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11509 if (!SWIG_IsOK(res1)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11511 }
11512 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11513 ecode2 = SWIG_AsVal_int(obj1, &val2);
11514 if (!SWIG_IsOK(ecode2)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11516 }
11517 arg2 = static_cast< int >(val2);
11518 ecode3 = SWIG_AsVal_int(obj2, &val3);
11519 if (!SWIG_IsOK(ecode3)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11521 }
11522 arg3 = static_cast< int >(val3);
11523 if (obj3) {
11524 ecode4 = SWIG_AsVal_int(obj3, &val4);
11525 if (!SWIG_IsOK(ecode4)) {
11526 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11527 }
11528 arg4 = static_cast< int >(val4);
11529 }
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 resultobj = SWIG_From_int(static_cast< int >(result));
11537 return resultobj;
11538fail:
11539 return NULL;
d55e5bfc
RD
11540}
11541
11542
554f62e9
RD
11543SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11544 PyObject *resultobj = 0;
11545 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11546 void *argp1 = 0 ;
11547 int res1 = 0 ;
11548 PyObject *swig_obj[1] ;
11549
11550 if (!args) SWIG_fail;
11551 swig_obj[0] = args;
11552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11553 if (!SWIG_IsOK(res1)) {
11554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11555 }
11556 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SizeWindows();
11560 wxPyEndAllowThreads(__tstate);
11561 if (PyErr_Occurred()) SWIG_fail;
11562 }
11563 resultobj = SWIG_Py_Void();
11564 return resultobj;
11565fail:
11566 return NULL;
d55e5bfc
RD
11567}
11568
11569
554f62e9
RD
11570SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11571 PyObject *obj;
11572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11573 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11574 return SWIG_Py_Void();
d55e5bfc
RD
11575}
11576
554f62e9
RD
11577SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11578 return SWIG_Python_InitShadowInstance(args);
11579}
d55e5bfc 11580
554f62e9
RD
11581SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj = 0;
11583 int arg1 = (int) 0 ;
11584 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11585 wxSashEvent *result = 0 ;
11586 int val1 ;
11587 int ecode1 = 0 ;
11588 int val2 ;
11589 int ecode2 = 0 ;
11590 PyObject * obj0 = 0 ;
11591 PyObject * obj1 = 0 ;
11592 char * kwnames[] = {
11593 (char *) "id",(char *) "edge", NULL
11594 };
11595
11596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11597 if (obj0) {
11598 ecode1 = SWIG_AsVal_int(obj0, &val1);
11599 if (!SWIG_IsOK(ecode1)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11601 }
11602 arg1 = static_cast< int >(val1);
11603 }
11604 if (obj1) {
11605 ecode2 = SWIG_AsVal_int(obj1, &val2);
11606 if (!SWIG_IsOK(ecode2)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11608 }
11609 arg2 = static_cast< wxSashEdgePosition >(val2);
11610 }
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11618 return resultobj;
11619fail:
11620 return NULL;
11621}
11622
11623
11624SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj = 0;
11626 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11627 wxSashEdgePosition arg2 ;
11628 void *argp1 = 0 ;
11629 int res1 = 0 ;
11630 int val2 ;
11631 int ecode2 = 0 ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 char * kwnames[] = {
11635 (char *) "self",(char *) "edge", NULL
11636 };
11637
11638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11640 if (!SWIG_IsOK(res1)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11642 }
11643 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11644 ecode2 = SWIG_AsVal_int(obj1, &val2);
11645 if (!SWIG_IsOK(ecode2)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11647 }
11648 arg2 = static_cast< wxSashEdgePosition >(val2);
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 (arg1)->SetEdge(arg2);
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = SWIG_Py_Void();
11656 return resultobj;
11657fail:
11658 return NULL;
d55e5bfc
RD
11659}
11660
11661
554f62e9
RD
11662SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11663 PyObject *resultobj = 0;
11664 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11665 wxSashEdgePosition result;
11666 void *argp1 = 0 ;
11667 int res1 = 0 ;
11668 PyObject *swig_obj[1] ;
11669
11670 if (!args) SWIG_fail;
11671 swig_obj[0] = args;
11672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11673 if (!SWIG_IsOK(res1)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11675 }
11676 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 resultobj = SWIG_From_int(static_cast< int >(result));
11684 return resultobj;
11685fail:
11686 return NULL;
11687}
11688
11689
11690SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj = 0;
11692 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11693 wxRect *arg2 = 0 ;
11694 void *argp1 = 0 ;
11695 int res1 = 0 ;
11696 wxRect temp2 ;
11697 PyObject * obj0 = 0 ;
11698 PyObject * obj1 = 0 ;
11699 char * kwnames[] = {
11700 (char *) "self",(char *) "rect", NULL
11701 };
11702
11703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11705 if (!SWIG_IsOK(res1)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11707 }
11708 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11709 {
11710 arg2 = &temp2;
11711 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11712 }
11713 {
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 (arg1)->SetDragRect((wxRect const &)*arg2);
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = SWIG_Py_Void();
11720 return resultobj;
11721fail:
11722 return NULL;
d55e5bfc
RD
11723}
11724
11725
554f62e9
RD
11726SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11727 PyObject *resultobj = 0;
11728 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11729 wxRect result;
11730 void *argp1 = 0 ;
11731 int res1 = 0 ;
11732 PyObject *swig_obj[1] ;
11733
11734 if (!args) SWIG_fail;
11735 swig_obj[0] = args;
11736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11737 if (!SWIG_IsOK(res1)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11739 }
11740 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 result = ((wxSashEvent const *)arg1)->GetDragRect();
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11748 return resultobj;
11749fail:
11750 return NULL;
11751}
11752
11753
11754SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj = 0;
11756 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11757 wxSashDragStatus arg2 ;
11758 void *argp1 = 0 ;
11759 int res1 = 0 ;
11760 int val2 ;
11761 int ecode2 = 0 ;
11762 PyObject * obj0 = 0 ;
11763 PyObject * obj1 = 0 ;
11764 char * kwnames[] = {
11765 (char *) "self",(char *) "status", NULL
11766 };
11767
11768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11770 if (!SWIG_IsOK(res1)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11772 }
11773 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11774 ecode2 = SWIG_AsVal_int(obj1, &val2);
11775 if (!SWIG_IsOK(ecode2)) {
11776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11777 }
11778 arg2 = static_cast< wxSashDragStatus >(val2);
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->SetDragStatus(arg2);
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 resultobj = SWIG_Py_Void();
11786 return resultobj;
11787fail:
11788 return NULL;
d55e5bfc
RD
11789}
11790
11791
554f62e9
RD
11792SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11793 PyObject *resultobj = 0;
11794 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11795 wxSashDragStatus result;
11796 void *argp1 = 0 ;
11797 int res1 = 0 ;
11798 PyObject *swig_obj[1] ;
11799
11800 if (!args) SWIG_fail;
11801 swig_obj[0] = args;
11802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11803 if (!SWIG_IsOK(res1)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11805 }
11806 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 resultobj = SWIG_From_int(static_cast< int >(result));
11814 return resultobj;
11815fail:
11816 return NULL;
03837c5c
RD
11817}
11818
11819
554f62e9
RD
11820SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11821 PyObject *obj;
11822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11824 return SWIG_Py_Void();
d55e5bfc
RD
11825}
11826
554f62e9
RD
11827SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11828 return SWIG_Python_InitShadowInstance(args);
11829}
d55e5bfc 11830
554f62e9
RD
11831SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11832 PyObject *resultobj = 0;
11833 int arg1 = (int) 0 ;
11834 wxQueryLayoutInfoEvent *result = 0 ;
11835 int val1 ;
11836 int ecode1 = 0 ;
11837 PyObject * obj0 = 0 ;
11838 char * kwnames[] = {
11839 (char *) "id", NULL
11840 };
11841
11842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11843 if (obj0) {
11844 ecode1 = SWIG_AsVal_int(obj0, &val1);
11845 if (!SWIG_IsOK(ecode1)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11847 }
11848 arg1 = static_cast< int >(val1);
11849 }
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11857 return resultobj;
11858fail:
11859 return NULL;
11860}
11861
11862
11863SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj = 0;
11865 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11866 int arg2 ;
11867 void *argp1 = 0 ;
11868 int res1 = 0 ;
11869 int val2 ;
11870 int ecode2 = 0 ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 char * kwnames[] = {
11874 (char *) "self",(char *) "length", NULL
11875 };
11876
11877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11879 if (!SWIG_IsOK(res1)) {
11880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11881 }
11882 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11883 ecode2 = SWIG_AsVal_int(obj1, &val2);
11884 if (!SWIG_IsOK(ecode2)) {
11885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11886 }
11887 arg2 = static_cast< int >(val2);
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->SetRequestedLength(arg2);
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 resultobj = SWIG_Py_Void();
11895 return resultobj;
11896fail:
11897 return NULL;
d55e5bfc
RD
11898}
11899
11900
554f62e9
RD
11901SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11902 PyObject *resultobj = 0;
11903 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11904 int result;
11905 void *argp1 = 0 ;
11906 int res1 = 0 ;
11907 PyObject *swig_obj[1] ;
11908
11909 if (!args) SWIG_fail;
11910 swig_obj[0] = args;
11911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11912 if (!SWIG_IsOK(res1)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11914 }
11915 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = SWIG_From_int(static_cast< int >(result));
11923 return resultobj;
11924fail:
11925 return NULL;
11926}
11927
11928
11929SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj = 0;
11931 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11932 int arg2 ;
11933 void *argp1 = 0 ;
11934 int res1 = 0 ;
11935 int val2 ;
11936 int ecode2 = 0 ;
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj1 = 0 ;
11939 char * kwnames[] = {
11940 (char *) "self",(char *) "flags", NULL
11941 };
11942
11943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11945 if (!SWIG_IsOK(res1)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11947 }
11948 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11949 ecode2 = SWIG_AsVal_int(obj1, &val2);
11950 if (!SWIG_IsOK(ecode2)) {
11951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11952 }
11953 arg2 = static_cast< int >(val2);
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 (arg1)->SetFlags(arg2);
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 resultobj = SWIG_Py_Void();
11961 return resultobj;
11962fail:
11963 return NULL;
d55e5bfc
RD
11964}
11965
11966
554f62e9
RD
11967SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11968 PyObject *resultobj = 0;
11969 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11970 int result;
11971 void *argp1 = 0 ;
11972 int res1 = 0 ;
11973 PyObject *swig_obj[1] ;
11974
11975 if (!args) SWIG_fail;
11976 swig_obj[0] = args;
11977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11978 if (!SWIG_IsOK(res1)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11980 }
11981 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_From_int(static_cast< int >(result));
11989 return resultobj;
11990fail:
11991 return NULL;
11992}
11993
11994
11995SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj = 0;
11997 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11998 wxSize *arg2 = 0 ;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 wxSize temp2 ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char * kwnames[] = {
12005 (char *) "self",(char *) "size", NULL
12006 };
12007
12008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12012 }
12013 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12014 {
12015 arg2 = &temp2;
12016 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12017 }
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 (arg1)->SetSize((wxSize const &)*arg2);
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 resultobj = SWIG_Py_Void();
12025 return resultobj;
12026fail:
12027 return NULL;
d55e5bfc
RD
12028}
12029
12030
554f62e9
RD
12031SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12032 PyObject *resultobj = 0;
12033 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12034 wxSize result;
12035 void *argp1 = 0 ;
12036 int res1 = 0 ;
12037 PyObject *swig_obj[1] ;
12038
12039 if (!args) SWIG_fail;
12040 swig_obj[0] = args;
12041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12042 if (!SWIG_IsOK(res1)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12044 }
12045 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12053 return resultobj;
12054fail:
12055 return NULL;
12056}
12057
12058
12059SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj = 0;
12061 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12062 wxLayoutOrientation arg2 ;
12063 void *argp1 = 0 ;
12064 int res1 = 0 ;
12065 int val2 ;
12066 int ecode2 = 0 ;
12067 PyObject * obj0 = 0 ;
12068 PyObject * obj1 = 0 ;
12069 char * kwnames[] = {
12070 (char *) "self",(char *) "orient", NULL
12071 };
12072
12073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12075 if (!SWIG_IsOK(res1)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12077 }
12078 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12079 ecode2 = SWIG_AsVal_int(obj1, &val2);
12080 if (!SWIG_IsOK(ecode2)) {
12081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12082 }
12083 arg2 = static_cast< wxLayoutOrientation >(val2);
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 (arg1)->SetOrientation(arg2);
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 resultobj = SWIG_Py_Void();
12091 return resultobj;
12092fail:
12093 return NULL;
f20a2e1f
RD
12094}
12095
12096
554f62e9
RD
12097SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12098 PyObject *resultobj = 0;
12099 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12100 wxLayoutOrientation result;
12101 void *argp1 = 0 ;
12102 int res1 = 0 ;
12103 PyObject *swig_obj[1] ;
12104
12105 if (!args) SWIG_fail;
12106 swig_obj[0] = args;
12107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12108 if (!SWIG_IsOK(res1)) {
12109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12110 }
12111 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 resultobj = SWIG_From_int(static_cast< int >(result));
12119 return resultobj;
12120fail:
12121 return NULL;
12122}
12123
12124
12125SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj = 0;
12127 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12128 wxLayoutAlignment arg2 ;
12129 void *argp1 = 0 ;
12130 int res1 = 0 ;
12131 int val2 ;
12132 int ecode2 = 0 ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 char * kwnames[] = {
12136 (char *) "self",(char *) "align", NULL
12137 };
12138
12139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12141 if (!SWIG_IsOK(res1)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12143 }
12144 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12145 ecode2 = SWIG_AsVal_int(obj1, &val2);
12146 if (!SWIG_IsOK(ecode2)) {
12147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12148 }
12149 arg2 = static_cast< wxLayoutAlignment >(val2);
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 (arg1)->SetAlignment(arg2);
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 resultobj = SWIG_Py_Void();
12157 return resultobj;
12158fail:
12159 return NULL;
d55e5bfc 12160}
554f62e9
RD
12161
12162
12163SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12164 PyObject *resultobj = 0;
12165 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12166 wxLayoutAlignment result;
12167 void *argp1 = 0 ;
12168 int res1 = 0 ;
12169 PyObject *swig_obj[1] ;
12170
12171 if (!args) SWIG_fail;
12172 swig_obj[0] = args;
12173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12174 if (!SWIG_IsOK(res1)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12176 }
12177 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 resultobj = SWIG_From_int(static_cast< int >(result));
12185 return resultobj;
12186fail:
12187 return NULL;
d55e5bfc
RD
12188}
12189
12190
554f62e9
RD
12191SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12192 PyObject *obj;
12193 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12194 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12195 return SWIG_Py_Void();
d55e5bfc
RD
12196}
12197
554f62e9
RD
12198SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12199 return SWIG_Python_InitShadowInstance(args);
12200}
d55e5bfc 12201
554f62e9
RD
12202SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj = 0;
12204 int arg1 = (int) 0 ;
12205 wxCalculateLayoutEvent *result = 0 ;
12206 int val1 ;
12207 int ecode1 = 0 ;
12208 PyObject * obj0 = 0 ;
12209 char * kwnames[] = {
12210 (char *) "id", NULL
12211 };
12212
12213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12214 if (obj0) {
12215 ecode1 = SWIG_AsVal_int(obj0, &val1);
12216 if (!SWIG_IsOK(ecode1)) {
12217 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12218 }
12219 arg1 = static_cast< int >(val1);
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12228 return resultobj;
12229fail:
12230 return NULL;
12231}
12232
12233
12234SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12235 PyObject *resultobj = 0;
12236 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12237 int arg2 ;
12238 void *argp1 = 0 ;
12239 int res1 = 0 ;
12240 int val2 ;
12241 int ecode2 = 0 ;
12242 PyObject * obj0 = 0 ;
12243 PyObject * obj1 = 0 ;
12244 char * kwnames[] = {
12245 (char *) "self",(char *) "flags", NULL
12246 };
12247
12248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12252 }
12253 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12254 ecode2 = SWIG_AsVal_int(obj1, &val2);
12255 if (!SWIG_IsOK(ecode2)) {
12256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12257 }
12258 arg2 = static_cast< int >(val2);
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 (arg1)->SetFlags(arg2);
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 resultobj = SWIG_Py_Void();
12266 return resultobj;
12267fail:
12268 return NULL;
d55e5bfc
RD
12269}
12270
12271
554f62e9
RD
12272SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12275 int result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_From_int(static_cast< int >(result));
12294 return resultobj;
12295fail:
12296 return NULL;
12297}
12298
12299
12300SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj = 0;
12302 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12303 wxRect *arg2 = 0 ;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 wxRect temp2 ;
12307 PyObject * obj0 = 0 ;
12308 PyObject * obj1 = 0 ;
12309 char * kwnames[] = {
12310 (char *) "self",(char *) "rect", NULL
12311 };
12312
12313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12315 if (!SWIG_IsOK(res1)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12317 }
12318 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12319 {
12320 arg2 = &temp2;
12321 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12322 }
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 (arg1)->SetRect((wxRect const &)*arg2);
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 resultobj = SWIG_Py_Void();
12330 return resultobj;
12331fail:
12332 return NULL;
12333}
12334
12335
12336SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12337 PyObject *resultobj = 0;
12338 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12339 wxRect result;
12340 void *argp1 = 0 ;
12341 int res1 = 0 ;
12342 PyObject *swig_obj[1] ;
12343
12344 if (!args) SWIG_fail;
12345 swig_obj[0] = args;
12346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12347 if (!SWIG_IsOK(res1)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12349 }
12350 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12358 return resultobj;
12359fail:
12360 return NULL;
12361}
12362
12363
12364SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12365 PyObject *obj;
12366 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12367 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12368 return SWIG_Py_Void();
12369}
12370
12371SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12372 return SWIG_Python_InitShadowInstance(args);
12373}
12374
12375SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12376 PyObject *resultobj = 0;
12377 wxWindow *arg1 = (wxWindow *) 0 ;
12378 int arg2 = (int) -1 ;
12379 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12380 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12381 wxSize const &arg4_defvalue = wxDefaultSize ;
12382 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12383 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12384 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12385 wxString *arg6 = (wxString *) &arg6_defvalue ;
12386 wxSashLayoutWindow *result = 0 ;
12387 void *argp1 = 0 ;
12388 int res1 = 0 ;
12389 int val2 ;
12390 int ecode2 = 0 ;
12391 wxPoint temp3 ;
12392 wxSize temp4 ;
12393 long val5 ;
12394 int ecode5 = 0 ;
12395 bool temp6 = false ;
12396 PyObject * obj0 = 0 ;
12397 PyObject * obj1 = 0 ;
12398 PyObject * obj2 = 0 ;
12399 PyObject * obj3 = 0 ;
12400 PyObject * obj4 = 0 ;
12401 PyObject * obj5 = 0 ;
12402 char * kwnames[] = {
12403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12404 };
12405
12406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12408 if (!SWIG_IsOK(res1)) {
12409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12410 }
12411 arg1 = reinterpret_cast< wxWindow * >(argp1);
12412 if (obj1) {
12413 ecode2 = SWIG_AsVal_int(obj1, &val2);
12414 if (!SWIG_IsOK(ecode2)) {
12415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12416 }
12417 arg2 = static_cast< int >(val2);
12418 }
12419 if (obj2) {
d55e5bfc 12420 {
554f62e9
RD
12421 arg3 = &temp3;
12422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12423 }
554f62e9
RD
12424 }
12425 if (obj3) {
d55e5bfc 12426 {
554f62e9
RD
12427 arg4 = &temp4;
12428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12429 }
554f62e9
RD
12430 }
12431 if (obj4) {
12432 ecode5 = SWIG_AsVal_long(obj4, &val5);
12433 if (!SWIG_IsOK(ecode5)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12435 }
12436 arg5 = static_cast< long >(val5);
12437 }
12438 if (obj5) {
d55e5bfc 12439 {
554f62e9
RD
12440 arg6 = wxString_in_helper(obj5);
12441 if (arg6 == NULL) SWIG_fail;
12442 temp6 = true;
d55e5bfc 12443 }
554f62e9
RD
12444 }
12445 {
12446 if (!wxPyCheckForApp()) SWIG_fail;
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12453 {
12454 if (temp6)
12455 delete arg6;
12456 }
12457 return resultobj;
12458fail:
12459 {
12460 if (temp6)
12461 delete arg6;
12462 }
12463 return NULL;
d55e5bfc
RD
12464}
12465
12466
554f62e9
RD
12467SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12468 PyObject *resultobj = 0;
12469 wxSashLayoutWindow *result = 0 ;
12470
12471 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12472 {
12473 if (!wxPyCheckForApp()) SWIG_fail;
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12480 return resultobj;
12481fail:
12482 return NULL;
12483}
12484
12485
12486SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj = 0;
12488 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12489 wxWindow *arg2 = (wxWindow *) 0 ;
12490 int arg3 = (int) -1 ;
12491 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12492 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12493 wxSize const &arg5_defvalue = wxDefaultSize ;
12494 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12495 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12496 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12497 wxString *arg7 = (wxString *) &arg7_defvalue ;
12498 bool result;
12499 void *argp1 = 0 ;
12500 int res1 = 0 ;
12501 void *argp2 = 0 ;
12502 int res2 = 0 ;
12503 int val3 ;
12504 int ecode3 = 0 ;
12505 wxPoint temp4 ;
12506 wxSize temp5 ;
12507 long val6 ;
12508 int ecode6 = 0 ;
12509 bool temp7 = false ;
12510 PyObject * obj0 = 0 ;
12511 PyObject * obj1 = 0 ;
12512 PyObject * obj2 = 0 ;
12513 PyObject * obj3 = 0 ;
12514 PyObject * obj4 = 0 ;
12515 PyObject * obj5 = 0 ;
12516 PyObject * obj6 = 0 ;
12517 char * kwnames[] = {
12518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12519 };
12520
12521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12525 }
12526 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12527 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12528 if (!SWIG_IsOK(res2)) {
12529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12530 }
12531 arg2 = reinterpret_cast< wxWindow * >(argp2);
12532 if (obj2) {
12533 ecode3 = SWIG_AsVal_int(obj2, &val3);
12534 if (!SWIG_IsOK(ecode3)) {
12535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12536 }
12537 arg3 = static_cast< int >(val3);
12538 }
12539 if (obj3) {
d55e5bfc 12540 {
554f62e9
RD
12541 arg4 = &temp4;
12542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12543 }
554f62e9
RD
12544 }
12545 if (obj4) {
d55e5bfc 12546 {
554f62e9
RD
12547 arg5 = &temp5;
12548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12549 }
554f62e9
RD
12550 }
12551 if (obj5) {
12552 ecode6 = SWIG_AsVal_long(obj5, &val6);
12553 if (!SWIG_IsOK(ecode6)) {
12554 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12555 }
12556 arg6 = static_cast< long >(val6);
12557 }
12558 if (obj6) {
d55e5bfc 12559 {
554f62e9
RD
12560 arg7 = wxString_in_helper(obj6);
12561 if (arg7 == NULL) SWIG_fail;
12562 temp7 = true;
d55e5bfc 12563 }
554f62e9
RD
12564 }
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 {
12572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12573 }
12574 {
12575 if (temp7)
12576 delete arg7;
12577 }
12578 return resultobj;
12579fail:
12580 {
12581 if (temp7)
12582 delete arg7;
12583 }
12584 return NULL;
d55e5bfc
RD
12585}
12586
12587
554f62e9
RD
12588SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12589 PyObject *resultobj = 0;
12590 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12591 wxLayoutAlignment result;
12592 void *argp1 = 0 ;
12593 int res1 = 0 ;
12594 PyObject *swig_obj[1] ;
12595
12596 if (!args) SWIG_fail;
12597 swig_obj[0] = args;
12598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12599 if (!SWIG_IsOK(res1)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12601 }
12602 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 resultobj = SWIG_From_int(static_cast< int >(result));
12610 return resultobj;
12611fail:
12612 return NULL;
d55e5bfc
RD
12613}
12614
12615
554f62e9
RD
12616SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12617 PyObject *resultobj = 0;
12618 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12619 wxLayoutOrientation result;
12620 void *argp1 = 0 ;
12621 int res1 = 0 ;
12622 PyObject *swig_obj[1] ;
12623
12624 if (!args) SWIG_fail;
12625 swig_obj[0] = args;
12626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12627 if (!SWIG_IsOK(res1)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12629 }
12630 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 resultobj = SWIG_From_int(static_cast< int >(result));
12638 return resultobj;
12639fail:
12640 return NULL;
12641}
12642
12643
12644SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj = 0;
12646 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12647 wxLayoutAlignment arg2 ;
12648 void *argp1 = 0 ;
12649 int res1 = 0 ;
12650 int val2 ;
12651 int ecode2 = 0 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char * kwnames[] = {
12655 (char *) "self",(char *) "alignment", NULL
12656 };
12657
12658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12660 if (!SWIG_IsOK(res1)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12662 }
12663 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12664 ecode2 = SWIG_AsVal_int(obj1, &val2);
12665 if (!SWIG_IsOK(ecode2)) {
12666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12667 }
12668 arg2 = static_cast< wxLayoutAlignment >(val2);
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 (arg1)->SetAlignment(arg2);
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 resultobj = SWIG_Py_Void();
12676 return resultobj;
12677fail:
12678 return NULL;
12679}
12680
12681
12682SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12683 PyObject *resultobj = 0;
12684 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12685 wxSize *arg2 = 0 ;
12686 void *argp1 = 0 ;
12687 int res1 = 0 ;
12688 wxSize temp2 ;
12689 PyObject * obj0 = 0 ;
12690 PyObject * obj1 = 0 ;
12691 char * kwnames[] = {
12692 (char *) "self",(char *) "size", NULL
12693 };
12694
12695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12697 if (!SWIG_IsOK(res1)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12699 }
12700 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12701 {
12702 arg2 = &temp2;
12703 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12704 }
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 resultobj = SWIG_Py_Void();
12712 return resultobj;
12713fail:
12714 return NULL;
12715}
12716
12717
12718SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj = 0;
12720 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12721 wxLayoutOrientation arg2 ;
12722 void *argp1 = 0 ;
12723 int res1 = 0 ;
12724 int val2 ;
12725 int ecode2 = 0 ;
12726 PyObject * obj0 = 0 ;
12727 PyObject * obj1 = 0 ;
12728 char * kwnames[] = {
12729 (char *) "self",(char *) "orientation", NULL
12730 };
12731
12732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12734 if (!SWIG_IsOK(res1)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12736 }
12737 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12738 ecode2 = SWIG_AsVal_int(obj1, &val2);
12739 if (!SWIG_IsOK(ecode2)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12741 }
12742 arg2 = static_cast< wxLayoutOrientation >(val2);
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 (arg1)->SetOrientation(arg2);
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_Py_Void();
12750 return resultobj;
12751fail:
12752 return NULL;
d55e5bfc
RD
12753}
12754
12755
554f62e9
RD
12756SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12757 PyObject *obj;
12758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12760 return SWIG_Py_Void();
d55e5bfc
RD
12761}
12762
554f62e9
RD
12763SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12764 return SWIG_Python_InitShadowInstance(args);
12765}
d55e5bfc 12766
554f62e9
RD
12767SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12768 PyObject *resultobj = 0;
12769 wxLayoutAlgorithm *result = 0 ;
12770
12771 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12779 return resultobj;
12780fail:
12781 return NULL;
d55e5bfc
RD
12782}
12783
12784
554f62e9
RD
12785SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12786 PyObject *resultobj = 0;
12787 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12788 void *argp1 = 0 ;
12789 int res1 = 0 ;
12790 PyObject *swig_obj[1] ;
12791
12792 if (!args) SWIG_fail;
12793 swig_obj[0] = args;
12794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12795 if (!SWIG_IsOK(res1)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12797 }
12798 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12799 {
12800 PyThreadState* __tstate = wxPyBeginAllowThreads();
12801 delete arg1;
d55e5bfc 12802
554f62e9
RD
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 resultobj = SWIG_Py_Void();
12807 return resultobj;
12808fail:
12809 return NULL;
12810}
12811
12812
12813SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj = 0;
12815 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12816 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12817 wxRect *arg3 = (wxRect *) NULL ;
12818 bool result;
12819 void *argp1 = 0 ;
12820 int res1 = 0 ;
12821 void *argp2 = 0 ;
12822 int res2 = 0 ;
12823 void *argp3 = 0 ;
12824 int res3 = 0 ;
12825 PyObject * obj0 = 0 ;
12826 PyObject * obj1 = 0 ;
12827 PyObject * obj2 = 0 ;
12828 char * kwnames[] = {
12829 (char *) "self",(char *) "frame",(char *) "rect", NULL
12830 };
12831
12832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12834 if (!SWIG_IsOK(res1)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12836 }
12837 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12838 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12839 if (!SWIG_IsOK(res2)) {
12840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12841 }
12842 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12843 if (obj2) {
12844 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12845 if (!SWIG_IsOK(res3)) {
12846 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d55e5bfc 12847 }
554f62e9
RD
12848 arg3 = reinterpret_cast< wxRect * >(argp3);
12849 }
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 {
12857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12858 }
12859 return resultobj;
12860fail:
12861 return NULL;
12862}
12863
12864
12865SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj = 0;
12867 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12868 wxFrame *arg2 = (wxFrame *) 0 ;
12869 wxWindow *arg3 = (wxWindow *) NULL ;
12870 bool result;
12871 void *argp1 = 0 ;
12872 int res1 = 0 ;
12873 void *argp2 = 0 ;
12874 int res2 = 0 ;
12875 void *argp3 = 0 ;
12876 int res3 = 0 ;
12877 PyObject * obj0 = 0 ;
12878 PyObject * obj1 = 0 ;
12879 PyObject * obj2 = 0 ;
12880 char * kwnames[] = {
12881 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12882 };
12883
12884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12886 if (!SWIG_IsOK(res1)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12888 }
12889 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12891 if (!SWIG_IsOK(res2)) {
12892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12893 }
12894 arg2 = reinterpret_cast< wxFrame * >(argp2);
12895 if (obj2) {
12896 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12897 if (!SWIG_IsOK(res3)) {
12898 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12899 }
554f62e9
RD
12900 arg3 = reinterpret_cast< wxWindow * >(argp3);
12901 }
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 {
12909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12910 }
12911 return resultobj;
12912fail:
12913 return NULL;
12914}
12915
12916
12917SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj = 0;
12919 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12920 wxWindow *arg2 = (wxWindow *) 0 ;
12921 wxWindow *arg3 = (wxWindow *) NULL ;
12922 bool result;
12923 void *argp1 = 0 ;
12924 int res1 = 0 ;
12925 void *argp2 = 0 ;
12926 int res2 = 0 ;
12927 void *argp3 = 0 ;
12928 int res3 = 0 ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 PyObject * obj2 = 0 ;
12932 char * kwnames[] = {
12933 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12934 };
12935
12936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12938 if (!SWIG_IsOK(res1)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12940 }
12941 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12942 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12943 if (!SWIG_IsOK(res2)) {
12944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12945 }
12946 arg2 = reinterpret_cast< wxWindow * >(argp2);
12947 if (obj2) {
12948 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12949 if (!SWIG_IsOK(res3)) {
12950 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12951 }
554f62e9
RD
12952 arg3 = reinterpret_cast< wxWindow * >(argp3);
12953 }
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 {
12961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12962 }
12963 return resultobj;
12964fail:
12965 return NULL;
d55e5bfc
RD
12966}
12967
12968
554f62e9
RD
12969SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12970 PyObject *obj;
12971 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12972 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12973 return SWIG_Py_Void();
d55e5bfc
RD
12974}
12975
554f62e9
RD
12976SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12977 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12978}
12979
554f62e9
RD
12980SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12981 PyObject *resultobj = 0;
12982 wxWindow *arg1 = (wxWindow *) 0 ;
12983 int arg2 = (int) wxBORDER_NONE ;
12984 wxPopupWindow *result = 0 ;
12985 void *argp1 = 0 ;
12986 int res1 = 0 ;
12987 int val2 ;
12988 int ecode2 = 0 ;
12989 PyObject * obj0 = 0 ;
12990 PyObject * obj1 = 0 ;
12991 char * kwnames[] = {
12992 (char *) "parent",(char *) "flags", NULL
12993 };
12994
12995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12997 if (!SWIG_IsOK(res1)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12999 }
13000 arg1 = reinterpret_cast< wxWindow * >(argp1);
13001 if (obj1) {
13002 ecode2 = SWIG_AsVal_int(obj1, &val2);
13003 if (!SWIG_IsOK(ecode2)) {
13004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13005 }
13006 arg2 = static_cast< int >(val2);
13007 }
13008 {
13009 if (!wxPyCheckForApp()) SWIG_fail;
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13016 return resultobj;
13017fail:
13018 return NULL;
d55e5bfc
RD
13019}
13020
13021
554f62e9
RD
13022SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13023 PyObject *resultobj = 0;
13024 wxPopupWindow *result = 0 ;
13025
13026 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13027 {
13028 if (!wxPyCheckForApp()) SWIG_fail;
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (wxPopupWindow *)new wxPopupWindow();
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13035 return resultobj;
13036fail:
13037 return NULL;
13038}
13039
13040
13041SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13042 PyObject *resultobj = 0;
13043 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13044 wxWindow *arg2 = (wxWindow *) 0 ;
13045 int arg3 = (int) wxBORDER_NONE ;
13046 bool result;
13047 void *argp1 = 0 ;
13048 int res1 = 0 ;
13049 void *argp2 = 0 ;
13050 int res2 = 0 ;
13051 int val3 ;
13052 int ecode3 = 0 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 PyObject * obj2 = 0 ;
13056 char * kwnames[] = {
13057 (char *) "self",(char *) "parent",(char *) "flags", NULL
13058 };
13059
13060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13062 if (!SWIG_IsOK(res1)) {
13063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13064 }
13065 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13066 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13067 if (!SWIG_IsOK(res2)) {
13068 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13069 }
13070 arg2 = reinterpret_cast< wxWindow * >(argp2);
13071 if (obj2) {
13072 ecode3 = SWIG_AsVal_int(obj2, &val3);
13073 if (!SWIG_IsOK(ecode3)) {
13074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13075 }
13076 arg3 = static_cast< int >(val3);
13077 }
13078 {
13079 PyThreadState* __tstate = wxPyBeginAllowThreads();
13080 result = (bool)(arg1)->Create(arg2,arg3);
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 {
13085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13086 }
13087 return resultobj;
13088fail:
13089 return NULL;
13090}
13091
13092
13093SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj = 0;
13095 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13096 wxPoint *arg2 = 0 ;
13097 wxSize *arg3 = 0 ;
13098 void *argp1 = 0 ;
13099 int res1 = 0 ;
13100 wxPoint temp2 ;
13101 wxSize temp3 ;
13102 PyObject * obj0 = 0 ;
13103 PyObject * obj1 = 0 ;
13104 PyObject * obj2 = 0 ;
13105 char * kwnames[] = {
13106 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13107 };
13108
13109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13111 if (!SWIG_IsOK(res1)) {
13112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13113 }
13114 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13115 {
13116 arg2 = &temp2;
13117 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13118 }
13119 {
13120 arg3 = &temp3;
13121 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13122 }
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 resultobj = SWIG_Py_Void();
13130 return resultobj;
13131fail:
13132 return NULL;
d55e5bfc
RD
13133}
13134
13135
554f62e9
RD
13136SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13137 PyObject *obj;
13138 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13139 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13140 return SWIG_Py_Void();
d55e5bfc
RD
13141}
13142
554f62e9
RD
13143SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13144 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13145}
13146
554f62e9
RD
13147SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj = 0;
13149 wxWindow *arg1 = (wxWindow *) 0 ;
13150 int arg2 = (int) wxBORDER_NONE ;
13151 wxPyPopupTransientWindow *result = 0 ;
13152 void *argp1 = 0 ;
13153 int res1 = 0 ;
13154 int val2 ;
13155 int ecode2 = 0 ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13158 char * kwnames[] = {
13159 (char *) "parent",(char *) "style", NULL
13160 };
13161
13162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13164 if (!SWIG_IsOK(res1)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13166 }
13167 arg1 = reinterpret_cast< wxWindow * >(argp1);
13168 if (obj1) {
13169 ecode2 = SWIG_AsVal_int(obj1, &val2);
13170 if (!SWIG_IsOK(ecode2)) {
13171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13172 }
13173 arg2 = static_cast< int >(val2);
13174 }
13175 {
13176 if (!wxPyCheckForApp()) SWIG_fail;
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13183 return resultobj;
13184fail:
13185 return NULL;
d55e5bfc
RD
13186}
13187
13188
554f62e9
RD
13189SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13190 PyObject *resultobj = 0;
13191 wxPyPopupTransientWindow *result = 0 ;
13192
13193 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13194 {
13195 if (!wxPyCheckForApp()) SWIG_fail;
13196 PyThreadState* __tstate = wxPyBeginAllowThreads();
13197 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13202 return resultobj;
13203fail:
13204 return NULL;
13205}
13206
13207
13208SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13209 PyObject *resultobj = 0;
13210 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13211 PyObject *arg2 = (PyObject *) 0 ;
13212 PyObject *arg3 = (PyObject *) 0 ;
13213 void *argp1 = 0 ;
13214 int res1 = 0 ;
13215 PyObject * obj0 = 0 ;
13216 PyObject * obj1 = 0 ;
13217 PyObject * obj2 = 0 ;
13218 char * kwnames[] = {
13219 (char *) "self",(char *) "self",(char *) "_class", NULL
13220 };
13221
13222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13224 if (!SWIG_IsOK(res1)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13226 }
13227 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13228 arg2 = obj1;
13229 arg3 = obj2;
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 (arg1)->_setCallbackInfo(arg2,arg3);
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 resultobj = SWIG_Py_Void();
13237 return resultobj;
13238fail:
13239 return NULL;
13240}
13241
13242
13243SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj = 0;
13245 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13246 wxWindow *arg2 = (wxWindow *) NULL ;
13247 void *argp1 = 0 ;
13248 int res1 = 0 ;
13249 void *argp2 = 0 ;
13250 int res2 = 0 ;
13251 PyObject * obj0 = 0 ;
13252 PyObject * obj1 = 0 ;
13253 char * kwnames[] = {
13254 (char *) "self",(char *) "focus", NULL
13255 };
13256
13257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13259 if (!SWIG_IsOK(res1)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13261 }
13262 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13263 if (obj1) {
13264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13265 if (!SWIG_IsOK(res2)) {
13266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
093d3ff1 13267 }
554f62e9
RD
13268 arg2 = reinterpret_cast< wxWindow * >(argp2);
13269 }
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->Popup(arg2);
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = SWIG_Py_Void();
13277 return resultobj;
13278fail:
13279 return NULL;
d55e5bfc
RD
13280}
13281
13282
554f62e9
RD
13283SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13284 PyObject *resultobj = 0;
13285 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13286 void *argp1 = 0 ;
13287 int res1 = 0 ;
13288 PyObject *swig_obj[1] ;
13289
13290 if (!args) SWIG_fail;
13291 swig_obj[0] = args;
13292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13293 if (!SWIG_IsOK(res1)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13295 }
13296 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 (arg1)->Dismiss();
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_Py_Void();
13304 return resultobj;
13305fail:
13306 return NULL;
13307}
13308
13309
13310SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13311 PyObject *obj;
13312 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13314 return SWIG_Py_Void();
13315}
13316
13317SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13318 return SWIG_Python_InitShadowInstance(args);
13319}
13320
13321SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj = 0;
13323 wxWindow *arg1 = (wxWindow *) 0 ;
13324 wxString *arg2 = 0 ;
13325 int arg3 = (int) 100 ;
13326 wxRect *arg4 = (wxRect *) NULL ;
13327 wxTipWindow *result = 0 ;
13328 void *argp1 = 0 ;
13329 int res1 = 0 ;
13330 bool temp2 = false ;
13331 int val3 ;
13332 int ecode3 = 0 ;
13333 void *argp4 = 0 ;
13334 int res4 = 0 ;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 PyObject * obj2 = 0 ;
13338 PyObject * obj3 = 0 ;
13339 char * kwnames[] = {
13340 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13341 };
13342
13343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13345 if (!SWIG_IsOK(res1)) {
13346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13347 }
13348 arg1 = reinterpret_cast< wxWindow * >(argp1);
13349 {
13350 arg2 = wxString_in_helper(obj1);
13351 if (arg2 == NULL) SWIG_fail;
13352 temp2 = true;
13353 }
13354 if (obj2) {
13355 ecode3 = SWIG_AsVal_int(obj2, &val3);
13356 if (!SWIG_IsOK(ecode3)) {
13357 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13358 }
13359 arg3 = static_cast< int >(val3);
13360 }
13361 if (obj3) {
13362 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13363 if (!SWIG_IsOK(res4)) {
13364 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
093d3ff1 13365 }
554f62e9
RD
13366 arg4 = reinterpret_cast< wxRect * >(argp4);
13367 }
13368 {
13369 if (!wxPyCheckForApp()) SWIG_fail;
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13376 {
13377 if (temp2)
13378 delete arg2;
13379 }
13380 return resultobj;
13381fail:
13382 {
13383 if (temp2)
13384 delete arg2;
13385 }
13386 return NULL;
b519803b
RD
13387}
13388
13389
554f62e9
RD
13390SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj = 0;
13392 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13393 wxRect *arg2 = 0 ;
13394 void *argp1 = 0 ;
13395 int res1 = 0 ;
13396 wxRect temp2 ;
13397 PyObject * obj0 = 0 ;
13398 PyObject * obj1 = 0 ;
13399 char * kwnames[] = {
13400 (char *) "self",(char *) "rectBound", NULL
13401 };
13402
13403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13405 if (!SWIG_IsOK(res1)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13407 }
13408 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13409 {
13410 arg2 = &temp2;
13411 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13412 }
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 resultobj = SWIG_Py_Void();
13420 return resultobj;
13421fail:
13422 return NULL;
b519803b
RD
13423}
13424
13425
554f62e9
RD
13426SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13427 PyObject *resultobj = 0;
13428 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13429 void *argp1 = 0 ;
13430 int res1 = 0 ;
13431 PyObject *swig_obj[1] ;
13432
13433 if (!args) SWIG_fail;
13434 swig_obj[0] = args;
13435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13436 if (!SWIG_IsOK(res1)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13438 }
13439 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->Close();
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 resultobj = SWIG_Py_Void();
13447 return resultobj;
13448fail:
13449 return NULL;
13450}
13451
13452
13453SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13454 PyObject *obj;
13455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13456 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13457 return SWIG_Py_Void();
13458}
13459
13460SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13461 return SWIG_Python_InitShadowInstance(args);
13462}
13463
13464SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj = 0;
13466 wxWindow *arg1 = (wxWindow *) 0 ;
13467 int arg2 = (int) wxID_ANY ;
13468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13470 wxSize const &arg4_defvalue = wxDefaultSize ;
13471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13472 long arg5 = (long) 0 ;
13473 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13474 wxString *arg6 = (wxString *) &arg6_defvalue ;
13475 wxPyVScrolledWindow *result = 0 ;
13476 void *argp1 = 0 ;
13477 int res1 = 0 ;
13478 int val2 ;
13479 int ecode2 = 0 ;
13480 wxPoint temp3 ;
13481 wxSize temp4 ;
13482 long val5 ;
13483 int ecode5 = 0 ;
13484 bool temp6 = false ;
13485 PyObject * obj0 = 0 ;
13486 PyObject * obj1 = 0 ;
13487 PyObject * obj2 = 0 ;
13488 PyObject * obj3 = 0 ;
13489 PyObject * obj4 = 0 ;
13490 PyObject * obj5 = 0 ;
13491 char * kwnames[] = {
13492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13493 };
13494
13495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13497 if (!SWIG_IsOK(res1)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13499 }
13500 arg1 = reinterpret_cast< wxWindow * >(argp1);
13501 if (obj1) {
13502 ecode2 = SWIG_AsVal_int(obj1, &val2);
13503 if (!SWIG_IsOK(ecode2)) {
13504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13505 }
13506 arg2 = static_cast< int >(val2);
13507 }
13508 if (obj2) {
093d3ff1 13509 {
554f62e9
RD
13510 arg3 = &temp3;
13511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13512 }
554f62e9
RD
13513 }
13514 if (obj3) {
d55e5bfc 13515 {
554f62e9
RD
13516 arg4 = &temp4;
13517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13518 }
554f62e9
RD
13519 }
13520 if (obj4) {
13521 ecode5 = SWIG_AsVal_long(obj4, &val5);
13522 if (!SWIG_IsOK(ecode5)) {
13523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13524 }
13525 arg5 = static_cast< long >(val5);
13526 }
13527 if (obj5) {
093d3ff1 13528 {
554f62e9
RD
13529 arg6 = wxString_in_helper(obj5);
13530 if (arg6 == NULL) SWIG_fail;
13531 temp6 = true;
093d3ff1 13532 }
554f62e9
RD
13533 }
13534 {
13535 if (!wxPyCheckForApp()) SWIG_fail;
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13542 {
13543 if (temp6)
13544 delete arg6;
13545 }
13546 return resultobj;
13547fail:
13548 {
13549 if (temp6)
13550 delete arg6;
13551 }
13552 return NULL;
d55e5bfc
RD
13553}
13554
13555
554f62e9
RD
13556SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13557 PyObject *resultobj = 0;
13558 wxPyVScrolledWindow *result = 0 ;
13559
13560 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13561 {
13562 if (!wxPyCheckForApp()) SWIG_fail;
13563 PyThreadState* __tstate = wxPyBeginAllowThreads();
13564 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13569 return resultobj;
13570fail:
13571 return NULL;
13572}
13573
13574
13575SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj = 0;
13577 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13578 PyObject *arg2 = (PyObject *) 0 ;
13579 PyObject *arg3 = (PyObject *) 0 ;
13580 void *argp1 = 0 ;
13581 int res1 = 0 ;
13582 PyObject * obj0 = 0 ;
13583 PyObject * obj1 = 0 ;
13584 PyObject * obj2 = 0 ;
13585 char * kwnames[] = {
13586 (char *) "self",(char *) "self",(char *) "_class", NULL
13587 };
13588
13589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13591 if (!SWIG_IsOK(res1)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13593 }
13594 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13595 arg2 = obj1;
13596 arg3 = obj2;
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 (arg1)->_setCallbackInfo(arg2,arg3);
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 resultobj = SWIG_Py_Void();
13604 return resultobj;
13605fail:
13606 return NULL;
13607}
13608
13609
13610SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj = 0;
13612 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13613 wxWindow *arg2 = (wxWindow *) 0 ;
13614 int arg3 = (int) wxID_ANY ;
13615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13617 wxSize const &arg5_defvalue = wxDefaultSize ;
13618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13619 long arg6 = (long) 0 ;
13620 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13621 wxString *arg7 = (wxString *) &arg7_defvalue ;
13622 bool result;
13623 void *argp1 = 0 ;
13624 int res1 = 0 ;
13625 void *argp2 = 0 ;
13626 int res2 = 0 ;
13627 int val3 ;
13628 int ecode3 = 0 ;
13629 wxPoint temp4 ;
13630 wxSize temp5 ;
13631 long val6 ;
13632 int ecode6 = 0 ;
13633 bool temp7 = false ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 PyObject * obj2 = 0 ;
13637 PyObject * obj3 = 0 ;
13638 PyObject * obj4 = 0 ;
13639 PyObject * obj5 = 0 ;
13640 PyObject * obj6 = 0 ;
13641 char * kwnames[] = {
13642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13643 };
13644
13645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13647 if (!SWIG_IsOK(res1)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13649 }
13650 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13651 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13652 if (!SWIG_IsOK(res2)) {
13653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13654 }
13655 arg2 = reinterpret_cast< wxWindow * >(argp2);
13656 if (obj2) {
13657 ecode3 = SWIG_AsVal_int(obj2, &val3);
13658 if (!SWIG_IsOK(ecode3)) {
13659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13660 }
13661 arg3 = static_cast< int >(val3);
13662 }
13663 if (obj3) {
d55e5bfc 13664 {
554f62e9
RD
13665 arg4 = &temp4;
13666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13667 }
554f62e9
RD
13668 }
13669 if (obj4) {
d55e5bfc 13670 {
554f62e9
RD
13671 arg5 = &temp5;
13672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 13673 }
554f62e9
RD
13674 }
13675 if (obj5) {
13676 ecode6 = SWIG_AsVal_long(obj5, &val6);
13677 if (!SWIG_IsOK(ecode6)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13679 }
13680 arg6 = static_cast< long >(val6);
13681 }
13682 if (obj6) {
093d3ff1 13683 {
554f62e9
RD
13684 arg7 = wxString_in_helper(obj6);
13685 if (arg7 == NULL) SWIG_fail;
13686 temp7 = true;
093d3ff1 13687 }
554f62e9
RD
13688 }
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 {
13696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13697 }
13698 {
13699 if (temp7)
13700 delete arg7;
13701 }
13702 return resultobj;
13703fail:
13704 {
13705 if (temp7)
13706 delete arg7;
13707 }
13708 return NULL;
13709}
13710
13711
13712SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj = 0;
13714 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13715 size_t arg2 ;
13716 void *argp1 = 0 ;
13717 int res1 = 0 ;
13718 size_t val2 ;
13719 int ecode2 = 0 ;
13720 PyObject * obj0 = 0 ;
13721 PyObject * obj1 = 0 ;
13722 char * kwnames[] = {
13723 (char *) "self",(char *) "count", NULL
13724 };
13725
13726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13728 if (!SWIG_IsOK(res1)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13730 }
13731 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13732 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13733 if (!SWIG_IsOK(ecode2)) {
13734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13735 }
13736 arg2 = static_cast< size_t >(val2);
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 (arg1)->SetLineCount(arg2);
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = SWIG_Py_Void();
13744 return resultobj;
13745fail:
13746 return NULL;
13747}
13748
13749
13750SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj = 0;
13752 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13753 size_t arg2 ;
13754 bool result;
13755 void *argp1 = 0 ;
13756 int res1 = 0 ;
13757 size_t val2 ;
13758 int ecode2 = 0 ;
13759 PyObject * obj0 = 0 ;
13760 PyObject * obj1 = 0 ;
13761 char * kwnames[] = {
13762 (char *) "self",(char *) "line", NULL
13763 };
13764
13765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13767 if (!SWIG_IsOK(res1)) {
13768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13769 }
13770 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13771 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13772 if (!SWIG_IsOK(ecode2)) {
13773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13774 }
13775 arg2 = static_cast< size_t >(val2);
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 result = (bool)(arg1)->ScrollToLine(arg2);
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 {
13783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13784 }
13785 return resultobj;
13786fail:
13787 return NULL;
13788}
13789
13790
13791SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj = 0;
13793 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13794 size_t arg2 ;
13795 void *argp1 = 0 ;
13796 int res1 = 0 ;
13797 size_t val2 ;
13798 int ecode2 = 0 ;
13799 PyObject * obj0 = 0 ;
13800 PyObject * obj1 = 0 ;
13801 char * kwnames[] = {
13802 (char *) "self",(char *) "line", NULL
13803 };
13804
13805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13807 if (!SWIG_IsOK(res1)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13809 }
13810 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13811 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13812 if (!SWIG_IsOK(ecode2)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13814 }
13815 arg2 = static_cast< size_t >(val2);
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->RefreshLine(arg2);
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = SWIG_Py_Void();
13823 return resultobj;
13824fail:
13825 return NULL;
13826}
13827
13828
13829SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13830 PyObject *resultobj = 0;
13831 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13832 size_t arg2 ;
13833 size_t arg3 ;
13834 void *argp1 = 0 ;
13835 int res1 = 0 ;
13836 size_t val2 ;
13837 int ecode2 = 0 ;
13838 size_t val3 ;
13839 int ecode3 = 0 ;
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 PyObject * obj2 = 0 ;
13843 char * kwnames[] = {
f460c29d 13844 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13845 };
13846
13847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13849 if (!SWIG_IsOK(res1)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13851 }
13852 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13853 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13854 if (!SWIG_IsOK(ecode2)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13856 }
13857 arg2 = static_cast< size_t >(val2);
13858 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13859 if (!SWIG_IsOK(ecode3)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13861 }
13862 arg3 = static_cast< size_t >(val3);
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 (arg1)->RefreshLines(arg2,arg3);
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 resultobj = SWIG_Py_Void();
13870 return resultobj;
13871fail:
13872 return NULL;
13873}
13874
13875
13876SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj = 0;
13878 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13879 int arg2 ;
13880 int arg3 ;
13881 int result;
13882 void *argp1 = 0 ;
13883 int res1 = 0 ;
13884 int val2 ;
13885 int ecode2 = 0 ;
13886 int val3 ;
13887 int ecode3 = 0 ;
13888 PyObject * obj0 = 0 ;
13889 PyObject * obj1 = 0 ;
13890 PyObject * obj2 = 0 ;
13891 char * kwnames[] = {
13892 (char *) "self",(char *) "x",(char *) "y", NULL
13893 };
13894
13895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13897 if (!SWIG_IsOK(res1)) {
13898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13899 }
13900 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13901 ecode2 = SWIG_AsVal_int(obj1, &val2);
13902 if (!SWIG_IsOK(ecode2)) {
13903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13904 }
13905 arg2 = static_cast< int >(val2);
13906 ecode3 = SWIG_AsVal_int(obj2, &val3);
13907 if (!SWIG_IsOK(ecode3)) {
13908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13909 }
13910 arg3 = static_cast< int >(val3);
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 resultobj = SWIG_From_int(static_cast< int >(result));
13918 return resultobj;
13919fail:
13920 return NULL;
13921}
13922
13923
13924SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj = 0;
13926 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13927 wxPoint *arg2 = 0 ;
13928 int result;
13929 void *argp1 = 0 ;
13930 int res1 = 0 ;
13931 wxPoint temp2 ;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 char * kwnames[] = {
13935 (char *) "self",(char *) "pt", NULL
13936 };
13937
13938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13940 if (!SWIG_IsOK(res1)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13942 }
13943 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13944 {
13945 arg2 = &temp2;
13946 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = SWIG_From_int(static_cast< int >(result));
13955 return resultobj;
13956fail:
13957 return NULL;
f20a2e1f
RD
13958}
13959
13960
554f62e9
RD
13961SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13962 PyObject *resultobj = 0;
13963 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13964 void *argp1 = 0 ;
13965 int res1 = 0 ;
13966 PyObject *swig_obj[1] ;
13967
13968 if (!args) SWIG_fail;
13969 swig_obj[0] = args;
13970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13971 if (!SWIG_IsOK(res1)) {
13972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13973 }
13974 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 (arg1)->RefreshAll();
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 resultobj = SWIG_Py_Void();
13982 return resultobj;
13983fail:
13984 return NULL;
d55e5bfc
RD
13985}
13986
13987
554f62e9
RD
13988SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13989 PyObject *resultobj = 0;
13990 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13991 size_t result;
13992 void *argp1 = 0 ;
13993 int res1 = 0 ;
13994 PyObject *swig_obj[1] ;
13995
13996 if (!args) SWIG_fail;
13997 swig_obj[0] = args;
13998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13999 if (!SWIG_IsOK(res1)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14001 }
14002 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14010 return resultobj;
14011fail:
14012 return NULL;
d55e5bfc
RD
14013}
14014
14015
554f62e9
RD
14016SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14017 PyObject *resultobj = 0;
14018 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14019 size_t result;
14020 void *argp1 = 0 ;
14021 int res1 = 0 ;
14022 PyObject *swig_obj[1] ;
14023
14024 if (!args) SWIG_fail;
14025 swig_obj[0] = args;
14026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14027 if (!SWIG_IsOK(res1)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14029 }
14030 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14038 return resultobj;
14039fail:
14040 return NULL;
d55e5bfc
RD
14041}
14042
14043
554f62e9
RD
14044SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14045 PyObject *resultobj = 0;
14046 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14047 size_t result;
14048 void *argp1 = 0 ;
14049 int res1 = 0 ;
14050 PyObject *swig_obj[1] ;
14051
14052 if (!args) SWIG_fail;
14053 swig_obj[0] = args;
14054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14055 if (!SWIG_IsOK(res1)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14057 }
14058 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14059 {
14060 PyThreadState* __tstate = wxPyBeginAllowThreads();
14061 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14066 return resultobj;
14067fail:
14068 return NULL;
14069}
14070
14071
14072SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14073 PyObject *resultobj = 0;
14074 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14075 size_t arg2 ;
14076 bool result;
14077 void *argp1 = 0 ;
14078 int res1 = 0 ;
14079 size_t val2 ;
14080 int ecode2 = 0 ;
14081 PyObject * obj0 = 0 ;
14082 PyObject * obj1 = 0 ;
14083 char * kwnames[] = {
14084 (char *) "self",(char *) "line", NULL
14085 };
14086
14087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14089 if (!SWIG_IsOK(res1)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14091 }
14092 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14093 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14094 if (!SWIG_IsOK(ecode2)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14096 }
14097 arg2 = static_cast< size_t >(val2);
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
14100 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 {
14105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14106 }
14107 return resultobj;
14108fail:
14109 return NULL;
d55e5bfc
RD
14110}
14111
14112
554f62e9
RD
14113SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14114 PyObject *resultobj = 0;
14115 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14116 size_t result;
14117 void *argp1 = 0 ;
14118 int res1 = 0 ;
14119 PyObject *swig_obj[1] ;
14120
14121 if (!args) SWIG_fail;
14122 swig_obj[0] = args;
14123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14124 if (!SWIG_IsOK(res1)) {
14125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14126 }
14127 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
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;
d55e5bfc
RD
14138}
14139
14140
554f62e9
RD
14141SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14142 PyObject *resultobj = 0;
14143 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14144 size_t result;
14145 void *argp1 = 0 ;
14146 int res1 = 0 ;
14147 PyObject *swig_obj[1] ;
14148
14149 if (!args) SWIG_fail;
14150 swig_obj[0] = args;
14151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14152 if (!SWIG_IsOK(res1)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14154 }
14155 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14163 return resultobj;
14164fail:
14165 return NULL;
14166}
14167
14168
14169SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj = 0;
14171 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14172 size_t arg2 ;
14173 bool arg3 = (bool) false ;
14174 size_t result;
14175 void *argp1 = 0 ;
14176 int res1 = 0 ;
14177 size_t val2 ;
14178 int ecode2 = 0 ;
14179 bool val3 ;
14180 int ecode3 = 0 ;
14181 PyObject * obj0 = 0 ;
14182 PyObject * obj1 = 0 ;
14183 PyObject * obj2 = 0 ;
14184 char * kwnames[] = {
14185 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14186 };
14187
14188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14190 if (!SWIG_IsOK(res1)) {
14191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14192 }
14193 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14194 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14195 if (!SWIG_IsOK(ecode2)) {
14196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14197 }
14198 arg2 = static_cast< size_t >(val2);
14199 if (obj2) {
14200 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14201 if (!SWIG_IsOK(ecode3)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14203 }
14204 arg3 = static_cast< bool >(val3);
14205 }
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14213 return resultobj;
14214fail:
14215 return NULL;
14216}
14217
14218
14219SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj = 0;
14221 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14222 size_t arg2 ;
14223 size_t arg3 ;
14224 int result;
14225 void *argp1 = 0 ;
14226 int res1 = 0 ;
14227 size_t val2 ;
14228 int ecode2 = 0 ;
14229 size_t val3 ;
14230 int ecode3 = 0 ;
14231 PyObject * obj0 = 0 ;
14232 PyObject * obj1 = 0 ;
14233 PyObject * obj2 = 0 ;
14234 char * kwnames[] = {
14235 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14236 };
14237
14238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14240 if (!SWIG_IsOK(res1)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14242 }
14243 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14244 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14245 if (!SWIG_IsOK(ecode2)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14247 }
14248 arg2 = static_cast< size_t >(val2);
14249 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14250 if (!SWIG_IsOK(ecode3)) {
14251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14252 }
14253 arg3 = static_cast< size_t >(val3);
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 resultobj = SWIG_From_int(static_cast< int >(result));
14261 return resultobj;
14262fail:
14263 return NULL;
d55e5bfc
RD
14264}
14265
14266
554f62e9
RD
14267SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14268 PyObject *obj;
14269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14271 return SWIG_Py_Void();
d55e5bfc
RD
14272}
14273
554f62e9
RD
14274SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14275 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14276}
14277
554f62e9
RD
14278SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14279 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14280 return 1;
d55e5bfc
RD
14281}
14282
14283
554f62e9
RD
14284SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14285 PyObject *pyobj = 0;
14286
14287 {
d55e5bfc 14288#if wxUSE_UNICODE
554f62e9 14289 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14290#else
554f62e9 14291 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14292#endif
554f62e9
RD
14293 }
14294 return pyobj;
14295}
14296
14297
14298SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14299 PyObject *resultobj = 0;
14300 wxWindow *arg1 = (wxWindow *) 0 ;
14301 int arg2 = (int) wxID_ANY ;
14302 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14303 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14304 wxSize const &arg4_defvalue = wxDefaultSize ;
14305 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14306 long arg5 = (long) 0 ;
14307 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14308 wxString *arg6 = (wxString *) &arg6_defvalue ;
14309 wxPyVListBox *result = 0 ;
14310 void *argp1 = 0 ;
14311 int res1 = 0 ;
14312 int val2 ;
14313 int ecode2 = 0 ;
14314 wxPoint temp3 ;
14315 wxSize temp4 ;
14316 long val5 ;
14317 int ecode5 = 0 ;
14318 bool temp6 = false ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 PyObject * obj2 = 0 ;
14322 PyObject * obj3 = 0 ;
14323 PyObject * obj4 = 0 ;
14324 PyObject * obj5 = 0 ;
14325 char * kwnames[] = {
14326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14327 };
14328
14329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14331 if (!SWIG_IsOK(res1)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14333 }
14334 arg1 = reinterpret_cast< wxWindow * >(argp1);
14335 if (obj1) {
14336 ecode2 = SWIG_AsVal_int(obj1, &val2);
14337 if (!SWIG_IsOK(ecode2)) {
14338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14339 }
14340 arg2 = static_cast< int >(val2);
14341 }
14342 if (obj2) {
d55e5bfc 14343 {
554f62e9
RD
14344 arg3 = &temp3;
14345 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14346 }
554f62e9
RD
14347 }
14348 if (obj3) {
d55e5bfc 14349 {
554f62e9
RD
14350 arg4 = &temp4;
14351 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14352 }
554f62e9
RD
14353 }
14354 if (obj4) {
14355 ecode5 = SWIG_AsVal_long(obj4, &val5);
14356 if (!SWIG_IsOK(ecode5)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14358 }
14359 arg5 = static_cast< long >(val5);
14360 }
14361 if (obj5) {
d55e5bfc 14362 {
554f62e9
RD
14363 arg6 = wxString_in_helper(obj5);
14364 if (arg6 == NULL) SWIG_fail;
14365 temp6 = true;
14366 }
14367 }
14368 {
14369 if (!wxPyCheckForApp()) SWIG_fail;
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14376 {
14377 if (temp6)
14378 delete arg6;
14379 }
14380 return resultobj;
14381fail:
14382 {
14383 if (temp6)
14384 delete arg6;
14385 }
14386 return NULL;
d55e5bfc
RD
14387}
14388
14389
554f62e9
RD
14390SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14391 PyObject *resultobj = 0;
14392 wxPyVListBox *result = 0 ;
14393
14394 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14395 {
14396 if (!wxPyCheckForApp()) SWIG_fail;
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = (wxPyVListBox *)new wxPyVListBox();
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14403 return resultobj;
14404fail:
14405 return NULL;
14406}
14407
14408
14409SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj = 0;
14411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14412 PyObject *arg2 = (PyObject *) 0 ;
14413 PyObject *arg3 = (PyObject *) 0 ;
14414 void *argp1 = 0 ;
14415 int res1 = 0 ;
14416 PyObject * obj0 = 0 ;
14417 PyObject * obj1 = 0 ;
14418 PyObject * obj2 = 0 ;
14419 char * kwnames[] = {
14420 (char *) "self",(char *) "self",(char *) "_class", NULL
14421 };
14422
14423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14425 if (!SWIG_IsOK(res1)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14427 }
14428 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14429 arg2 = obj1;
14430 arg3 = obj2;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 (arg1)->_setCallbackInfo(arg2,arg3);
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 resultobj = SWIG_Py_Void();
14438 return resultobj;
14439fail:
14440 return NULL;
14441}
14442
14443
14444SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj = 0;
14446 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14447 wxWindow *arg2 = (wxWindow *) 0 ;
14448 int arg3 = (int) wxID_ANY ;
14449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14451 wxSize const &arg5_defvalue = wxDefaultSize ;
14452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14453 long arg6 = (long) 0 ;
14454 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14455 wxString *arg7 = (wxString *) &arg7_defvalue ;
14456 bool result;
14457 void *argp1 = 0 ;
14458 int res1 = 0 ;
14459 void *argp2 = 0 ;
14460 int res2 = 0 ;
14461 int val3 ;
14462 int ecode3 = 0 ;
14463 wxPoint temp4 ;
14464 wxSize temp5 ;
14465 long val6 ;
14466 int ecode6 = 0 ;
14467 bool temp7 = false ;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 PyObject * obj2 = 0 ;
14471 PyObject * obj3 = 0 ;
14472 PyObject * obj4 = 0 ;
14473 PyObject * obj5 = 0 ;
14474 PyObject * obj6 = 0 ;
14475 char * kwnames[] = {
14476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14477 };
14478
14479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14481 if (!SWIG_IsOK(res1)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14483 }
14484 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14485 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14486 if (!SWIG_IsOK(res2)) {
14487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14488 }
14489 arg2 = reinterpret_cast< wxWindow * >(argp2);
14490 if (obj2) {
14491 ecode3 = SWIG_AsVal_int(obj2, &val3);
14492 if (!SWIG_IsOK(ecode3)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14494 }
14495 arg3 = static_cast< int >(val3);
14496 }
14497 if (obj3) {
d55e5bfc 14498 {
554f62e9
RD
14499 arg4 = &temp4;
14500 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14501 }
554f62e9
RD
14502 }
14503 if (obj4) {
d55e5bfc 14504 {
554f62e9
RD
14505 arg5 = &temp5;
14506 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14507 }
554f62e9
RD
14508 }
14509 if (obj5) {
14510 ecode6 = SWIG_AsVal_long(obj5, &val6);
14511 if (!SWIG_IsOK(ecode6)) {
14512 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14513 }
14514 arg6 = static_cast< long >(val6);
14515 }
14516 if (obj6) {
d55e5bfc 14517 {
554f62e9
RD
14518 arg7 = wxString_in_helper(obj6);
14519 if (arg7 == NULL) SWIG_fail;
14520 temp7 = true;
d55e5bfc 14521 }
554f62e9
RD
14522 }
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14531 }
14532 {
14533 if (temp7)
14534 delete arg7;
14535 }
14536 return resultobj;
14537fail:
14538 {
14539 if (temp7)
14540 delete arg7;
14541 }
14542 return NULL;
d55e5bfc
RD
14543}
14544
14545
554f62e9
RD
14546SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14547 PyObject *resultobj = 0;
14548 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14549 size_t result;
14550 void *argp1 = 0 ;
14551 int res1 = 0 ;
14552 PyObject *swig_obj[1] ;
14553
14554 if (!args) SWIG_fail;
14555 swig_obj[0] = args;
14556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14557 if (!SWIG_IsOK(res1)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14559 }
14560 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14568 return resultobj;
14569fail:
14570 return NULL;
d55e5bfc
RD
14571}
14572
14573
554f62e9
RD
14574SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14575 PyObject *resultobj = 0;
14576 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14577 bool result;
14578 void *argp1 = 0 ;
14579 int res1 = 0 ;
14580 PyObject *swig_obj[1] ;
14581
14582 if (!args) SWIG_fail;
14583 swig_obj[0] = args;
14584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14585 if (!SWIG_IsOK(res1)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14587 }
14588 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 {
14596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14597 }
14598 return resultobj;
14599fail:
14600 return NULL;
d55e5bfc
RD
14601}
14602
14603
554f62e9
RD
14604SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14605 PyObject *resultobj = 0;
14606 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14607 int result;
14608 void *argp1 = 0 ;
14609 int res1 = 0 ;
14610 PyObject *swig_obj[1] ;
14611
14612 if (!args) SWIG_fail;
14613 swig_obj[0] = args;
14614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14615 if (!SWIG_IsOK(res1)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14617 }
14618 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 resultobj = SWIG_From_int(static_cast< int >(result));
14626 return resultobj;
14627fail:
14628 return NULL;
14629}
14630
14631
14632SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj = 0;
14634 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14635 size_t arg2 ;
14636 bool result;
14637 void *argp1 = 0 ;
14638 int res1 = 0 ;
14639 size_t val2 ;
14640 int ecode2 = 0 ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 char * kwnames[] = {
14644 (char *) "self",(char *) "item", NULL
14645 };
14646
14647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14649 if (!SWIG_IsOK(res1)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14651 }
14652 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14653 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14654 if (!SWIG_IsOK(ecode2)) {
14655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14656 }
14657 arg2 = static_cast< size_t >(val2);
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 {
14665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14666 }
14667 return resultobj;
14668fail:
14669 return NULL;
14670}
14671
14672
14673SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj = 0;
14675 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14676 size_t arg2 ;
14677 bool result;
14678 void *argp1 = 0 ;
14679 int res1 = 0 ;
14680 size_t val2 ;
14681 int ecode2 = 0 ;
14682 PyObject * obj0 = 0 ;
14683 PyObject * obj1 = 0 ;
14684 char * kwnames[] = {
14685 (char *) "self",(char *) "item", NULL
14686 };
14687
14688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14690 if (!SWIG_IsOK(res1)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14692 }
14693 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14694 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14695 if (!SWIG_IsOK(ecode2)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14697 }
14698 arg2 = static_cast< size_t >(val2);
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 {
14706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14707 }
14708 return resultobj;
14709fail:
14710 return NULL;
d55e5bfc
RD
14711}
14712
14713
554f62e9
RD
14714SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14715 PyObject *resultobj = 0;
14716 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14717 size_t result;
14718 void *argp1 = 0 ;
14719 int res1 = 0 ;
14720 PyObject *swig_obj[1] ;
14721
14722 if (!args) SWIG_fail;
14723 swig_obj[0] = args;
14724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14725 if (!SWIG_IsOK(res1)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14727 }
14728 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14736 return resultobj;
14737fail:
14738 return NULL;
d55e5bfc
RD
14739}
14740
14741
554f62e9
RD
14742SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14743 PyObject *resultobj = 0;
14744 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14745 PyObject *result = 0 ;
14746 void *argp1 = 0 ;
14747 int res1 = 0 ;
14748 PyObject *swig_obj[1] ;
14749
14750 if (!args) SWIG_fail;
14751 swig_obj[0] = args;
14752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14753 if (!SWIG_IsOK(res1)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14755 }
14756 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 resultobj = result;
14764 return resultobj;
14765fail:
14766 return NULL;
14767}
14768
14769
14770SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj = 0;
14772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14773 unsigned long arg2 ;
14774 PyObject *result = 0 ;
14775 void *argp1 = 0 ;
14776 int res1 = 0 ;
14777 unsigned long val2 ;
14778 int ecode2 = 0 ;
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 char * kwnames[] = {
14782 (char *) "self",(char *) "cookie", NULL
14783 };
14784
14785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14787 if (!SWIG_IsOK(res1)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14789 }
14790 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14791 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14792 if (!SWIG_IsOK(ecode2)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14794 }
14795 arg2 = static_cast< unsigned long >(val2);
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 resultobj = result;
14803 return resultobj;
14804fail:
14805 return NULL;
d55e5bfc
RD
14806}
14807
14808
554f62e9
RD
14809SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14810 PyObject *resultobj = 0;
14811 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14812 wxPoint result;
14813 void *argp1 = 0 ;
14814 int res1 = 0 ;
14815 PyObject *swig_obj[1] ;
14816
14817 if (!args) SWIG_fail;
14818 swig_obj[0] = args;
14819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14820 if (!SWIG_IsOK(res1)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14822 }
14823 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 result = ((wxPyVListBox const *)arg1)->GetMargins();
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14831 return resultobj;
14832fail:
14833 return NULL;
d55e5bfc
RD
14834}
14835
14836
554f62e9
RD
14837SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14838 PyObject *resultobj = 0;
14839 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14840 wxColour *result = 0 ;
14841 void *argp1 = 0 ;
14842 int res1 = 0 ;
14843 PyObject *swig_obj[1] ;
14844
14845 if (!args) SWIG_fail;
14846 swig_obj[0] = args;
14847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14848 if (!SWIG_IsOK(res1)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14850 }
14851 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14854 {
554f62e9
RD
14855 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14856 result = (wxColour *) &_result_ref;
093d3ff1 14857 }
554f62e9
RD
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14862 return resultobj;
14863fail:
14864 return NULL;
14865}
14866
14867
14868SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj = 0;
14870 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14871 size_t arg2 ;
14872 void *argp1 = 0 ;
14873 int res1 = 0 ;
14874 size_t val2 ;
14875 int ecode2 = 0 ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 char * kwnames[] = {
14879 (char *) "self",(char *) "count", NULL
14880 };
14881
14882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14884 if (!SWIG_IsOK(res1)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14886 }
14887 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14888 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14889 if (!SWIG_IsOK(ecode2)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14891 }
14892 arg2 = static_cast< size_t >(val2);
14893 {
14894 PyThreadState* __tstate = wxPyBeginAllowThreads();
14895 (arg1)->SetItemCount(arg2);
14896 wxPyEndAllowThreads(__tstate);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 }
14899 resultobj = SWIG_Py_Void();
14900 return resultobj;
14901fail:
14902 return NULL;
d55e5bfc
RD
14903}
14904
14905
554f62e9
RD
14906SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14907 PyObject *resultobj = 0;
14908 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14909 void *argp1 = 0 ;
14910 int res1 = 0 ;
14911 PyObject *swig_obj[1] ;
14912
14913 if (!args) SWIG_fail;
14914 swig_obj[0] = args;
14915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14916 if (!SWIG_IsOK(res1)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14918 }
14919 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 (arg1)->Clear();
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 resultobj = SWIG_Py_Void();
14927 return resultobj;
14928fail:
14929 return NULL;
14930}
14931
14932
14933SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj = 0;
14935 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14936 int arg2 ;
14937 void *argp1 = 0 ;
14938 int res1 = 0 ;
14939 int val2 ;
14940 int ecode2 = 0 ;
14941 PyObject * obj0 = 0 ;
14942 PyObject * obj1 = 0 ;
14943 char * kwnames[] = {
14944 (char *) "self",(char *) "selection", NULL
14945 };
14946
14947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14949 if (!SWIG_IsOK(res1)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14951 }
14952 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14953 ecode2 = SWIG_AsVal_int(obj1, &val2);
14954 if (!SWIG_IsOK(ecode2)) {
14955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14956 }
14957 arg2 = static_cast< int >(val2);
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 (arg1)->SetSelection(arg2);
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 resultobj = SWIG_Py_Void();
14965 return resultobj;
14966fail:
14967 return NULL;
14968}
14969
14970
14971SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj = 0;
14973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14974 size_t arg2 ;
14975 bool arg3 = (bool) true ;
14976 bool result;
14977 void *argp1 = 0 ;
14978 int res1 = 0 ;
14979 size_t val2 ;
14980 int ecode2 = 0 ;
14981 bool val3 ;
14982 int ecode3 = 0 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 PyObject * obj2 = 0 ;
14986 char * kwnames[] = {
14987 (char *) "self",(char *) "item",(char *) "select", NULL
14988 };
14989
14990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14992 if (!SWIG_IsOK(res1)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14994 }
14995 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14996 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14997 if (!SWIG_IsOK(ecode2)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14999 }
15000 arg2 = static_cast< size_t >(val2);
15001 if (obj2) {
15002 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15003 if (!SWIG_IsOK(ecode3)) {
15004 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15005 }
15006 arg3 = static_cast< bool >(val3);
15007 }
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (bool)(arg1)->Select(arg2,arg3);
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 {
15015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15016 }
15017 return resultobj;
15018fail:
15019 return NULL;
15020}
15021
15022
15023SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj = 0;
15025 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15026 size_t arg2 ;
15027 size_t arg3 ;
15028 bool result;
15029 void *argp1 = 0 ;
15030 int res1 = 0 ;
15031 size_t val2 ;
15032 int ecode2 = 0 ;
15033 size_t val3 ;
15034 int ecode3 = 0 ;
15035 PyObject * obj0 = 0 ;
15036 PyObject * obj1 = 0 ;
15037 PyObject * obj2 = 0 ;
15038 char * kwnames[] = {
f460c29d 15039 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15040 };
15041
15042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15044 if (!SWIG_IsOK(res1)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15046 }
15047 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15048 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15049 if (!SWIG_IsOK(ecode2)) {
15050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15051 }
15052 arg2 = static_cast< size_t >(val2);
15053 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15054 if (!SWIG_IsOK(ecode3)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15056 }
15057 arg3 = static_cast< size_t >(val3);
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (bool)(arg1)->SelectRange(arg2,arg3);
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15066 }
15067 return resultobj;
15068fail:
15069 return NULL;
15070}
15071
15072
15073SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj = 0;
15075 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15076 size_t arg2 ;
15077 void *argp1 = 0 ;
15078 int res1 = 0 ;
15079 size_t val2 ;
15080 int ecode2 = 0 ;
15081 PyObject * obj0 = 0 ;
15082 PyObject * obj1 = 0 ;
15083 char * kwnames[] = {
15084 (char *) "self",(char *) "item", NULL
15085 };
15086
15087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15089 if (!SWIG_IsOK(res1)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15091 }
15092 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15093 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15094 if (!SWIG_IsOK(ecode2)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15096 }
15097 arg2 = static_cast< size_t >(val2);
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 (arg1)->Toggle(arg2);
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 resultobj = SWIG_Py_Void();
15105 return resultobj;
15106fail:
15107 return NULL;
d55e5bfc
RD
15108}
15109
15110
554f62e9
RD
15111SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15112 PyObject *resultobj = 0;
15113 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15114 bool result;
15115 void *argp1 = 0 ;
15116 int res1 = 0 ;
15117 PyObject *swig_obj[1] ;
15118
15119 if (!args) SWIG_fail;
15120 swig_obj[0] = args;
15121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15122 if (!SWIG_IsOK(res1)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15124 }
15125 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (bool)(arg1)->SelectAll();
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 {
15133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15134 }
15135 return resultobj;
15136fail:
15137 return NULL;
d55e5bfc
RD
15138}
15139
15140
554f62e9
RD
15141SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15142 PyObject *resultobj = 0;
15143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15144 bool result;
15145 void *argp1 = 0 ;
15146 int res1 = 0 ;
15147 PyObject *swig_obj[1] ;
15148
15149 if (!args) SWIG_fail;
15150 swig_obj[0] = args;
15151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15152 if (!SWIG_IsOK(res1)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15154 }
15155 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (bool)(arg1)->DeselectAll();
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 {
15163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15164 }
15165 return resultobj;
15166fail:
15167 return NULL;
15168}
15169
15170
15171SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj = 0;
15173 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15174 wxPoint *arg2 = 0 ;
15175 void *argp1 = 0 ;
15176 int res1 = 0 ;
15177 wxPoint temp2 ;
15178 PyObject * obj0 = 0 ;
15179 PyObject * obj1 = 0 ;
15180 char * kwnames[] = {
15181 (char *) "self",(char *) "pt", NULL
15182 };
15183
15184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15186 if (!SWIG_IsOK(res1)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15188 }
15189 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15190 {
15191 arg2 = &temp2;
15192 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15193 }
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->SetMargins((wxPoint const &)*arg2);
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 resultobj = SWIG_Py_Void();
15201 return resultobj;
15202fail:
15203 return NULL;
15204}
15205
15206
15207SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj = 0;
15209 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15210 int arg2 ;
15211 int arg3 ;
15212 void *argp1 = 0 ;
15213 int res1 = 0 ;
15214 int val2 ;
15215 int ecode2 = 0 ;
15216 int val3 ;
15217 int ecode3 = 0 ;
15218 PyObject * obj0 = 0 ;
15219 PyObject * obj1 = 0 ;
15220 PyObject * obj2 = 0 ;
15221 char * kwnames[] = {
15222 (char *) "self",(char *) "x",(char *) "y", NULL
15223 };
15224
15225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15227 if (!SWIG_IsOK(res1)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15229 }
15230 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15231 ecode2 = SWIG_AsVal_int(obj1, &val2);
15232 if (!SWIG_IsOK(ecode2)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15234 }
15235 arg2 = static_cast< int >(val2);
15236 ecode3 = SWIG_AsVal_int(obj2, &val3);
15237 if (!SWIG_IsOK(ecode3)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15239 }
15240 arg3 = static_cast< int >(val3);
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 (arg1)->SetMargins(arg2,arg3);
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 resultobj = SWIG_Py_Void();
15248 return resultobj;
15249fail:
15250 return NULL;
15251}
15252
15253
15254SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15255 PyObject *resultobj = 0;
15256 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15257 wxColour *arg2 = 0 ;
15258 void *argp1 = 0 ;
15259 int res1 = 0 ;
15260 wxColour temp2 ;
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
15263 char * kwnames[] = {
15264 (char *) "self",(char *) "col", NULL
15265 };
15266
15267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15269 if (!SWIG_IsOK(res1)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15271 }
15272 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15273 {
15274 arg2 = &temp2;
15275 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15276 }
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
15283 resultobj = SWIG_Py_Void();
15284 return resultobj;
15285fail:
15286 return NULL;
15287}
15288
15289
1c71765a
RD
15290SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15291 PyObject *resultobj = 0;
15292 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15293 wxDC *arg2 = 0 ;
15294 wxRect *arg3 = 0 ;
15295 size_t arg4 ;
15296 void *argp1 = 0 ;
15297 int res1 = 0 ;
15298 void *argp2 = 0 ;
15299 int res2 = 0 ;
15300 wxRect temp3 ;
15301 size_t val4 ;
15302 int ecode4 = 0 ;
15303 PyObject * obj0 = 0 ;
15304 PyObject * obj1 = 0 ;
15305 PyObject * obj2 = 0 ;
15306 PyObject * obj3 = 0 ;
15307 char * kwnames[] = {
15308 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15309 };
15310
15311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15313 if (!SWIG_IsOK(res1)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15315 }
15316 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15317 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15318 if (!SWIG_IsOK(res2)) {
15319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15320 }
15321 if (!argp2) {
15322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15323 }
15324 arg2 = reinterpret_cast< wxDC * >(argp2);
15325 {
15326 arg3 = &temp3;
15327 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15328 }
15329 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15330 if (!SWIG_IsOK(ecode4)) {
15331 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15332 }
15333 arg4 = static_cast< size_t >(val4);
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 resultobj = SWIG_Py_Void();
15341 return resultobj;
15342fail:
15343 return NULL;
15344}
15345
15346
15347SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj = 0;
15349 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15350 wxDC *arg2 = 0 ;
15351 wxRect *arg3 = 0 ;
15352 size_t arg4 ;
15353 void *argp1 = 0 ;
15354 int res1 = 0 ;
15355 void *argp2 = 0 ;
15356 int res2 = 0 ;
15357 wxRect temp3 ;
15358 size_t val4 ;
15359 int ecode4 = 0 ;
15360 PyObject * obj0 = 0 ;
15361 PyObject * obj1 = 0 ;
15362 PyObject * obj2 = 0 ;
15363 PyObject * obj3 = 0 ;
15364 char * kwnames[] = {
15365 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15366 };
15367
15368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15370 if (!SWIG_IsOK(res1)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15372 }
15373 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15374 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15375 if (!SWIG_IsOK(res2)) {
15376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15377 }
15378 if (!argp2) {
15379 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15380 }
15381 arg2 = reinterpret_cast< wxDC * >(argp2);
15382 {
15383 arg3 = &temp3;
15384 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15385 }
15386 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15387 if (!SWIG_IsOK(ecode4)) {
15388 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15389 }
15390 arg4 = static_cast< size_t >(val4);
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 resultobj = SWIG_Py_Void();
15398 return resultobj;
15399fail:
15400 return NULL;
15401}
15402
15403
554f62e9
RD
15404SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15405 PyObject *obj;
15406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15408 return SWIG_Py_Void();
15409}
15410
15411SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15412 return SWIG_Python_InitShadowInstance(args);
15413}
15414
15415SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj = 0;
15417 wxWindow *arg1 = (wxWindow *) 0 ;
15418 int arg2 = (int) wxID_ANY ;
15419 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15420 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15421 wxSize const &arg4_defvalue = wxDefaultSize ;
15422 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15423 long arg5 = (long) 0 ;
15424 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15425 wxString *arg6 = (wxString *) &arg6_defvalue ;
15426 wxPyHtmlListBox *result = 0 ;
15427 void *argp1 = 0 ;
15428 int res1 = 0 ;
15429 int val2 ;
15430 int ecode2 = 0 ;
15431 wxPoint temp3 ;
15432 wxSize temp4 ;
15433 long val5 ;
15434 int ecode5 = 0 ;
15435 bool temp6 = false ;
15436 PyObject * obj0 = 0 ;
15437 PyObject * obj1 = 0 ;
15438 PyObject * obj2 = 0 ;
15439 PyObject * obj3 = 0 ;
15440 PyObject * obj4 = 0 ;
15441 PyObject * obj5 = 0 ;
15442 char * kwnames[] = {
15443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15444 };
15445
15446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15448 if (!SWIG_IsOK(res1)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15450 }
15451 arg1 = reinterpret_cast< wxWindow * >(argp1);
15452 if (obj1) {
15453 ecode2 = SWIG_AsVal_int(obj1, &val2);
15454 if (!SWIG_IsOK(ecode2)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15456 }
15457 arg2 = static_cast< int >(val2);
15458 }
15459 if (obj2) {
093d3ff1 15460 {
554f62e9
RD
15461 arg3 = &temp3;
15462 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15463 }
554f62e9
RD
15464 }
15465 if (obj3) {
d55e5bfc 15466 {
554f62e9
RD
15467 arg4 = &temp4;
15468 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15469 }
554f62e9
RD
15470 }
15471 if (obj4) {
15472 ecode5 = SWIG_AsVal_long(obj4, &val5);
15473 if (!SWIG_IsOK(ecode5)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15475 }
15476 arg5 = static_cast< long >(val5);
15477 }
15478 if (obj5) {
d55e5bfc 15479 {
554f62e9
RD
15480 arg6 = wxString_in_helper(obj5);
15481 if (arg6 == NULL) SWIG_fail;
15482 temp6 = true;
15483 }
15484 }
15485 {
15486 if (!wxPyCheckForApp()) SWIG_fail;
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15493 {
15494 if (temp6)
15495 delete arg6;
15496 }
15497 return resultobj;
15498fail:
15499 {
15500 if (temp6)
15501 delete arg6;
15502 }
15503 return NULL;
d55e5bfc
RD
15504}
15505
15506
554f62e9
RD
15507SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15508 PyObject *resultobj = 0;
15509 wxPyHtmlListBox *result = 0 ;
15510
15511 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15512 {
15513 if (!wxPyCheckForApp()) SWIG_fail;
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15520 return resultobj;
15521fail:
15522 return NULL;
15523}
15524
15525
15526SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj = 0;
15528 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15529 PyObject *arg2 = (PyObject *) 0 ;
15530 PyObject *arg3 = (PyObject *) 0 ;
15531 void *argp1 = 0 ;
15532 int res1 = 0 ;
15533 PyObject * obj0 = 0 ;
15534 PyObject * obj1 = 0 ;
15535 PyObject * obj2 = 0 ;
15536 char * kwnames[] = {
15537 (char *) "self",(char *) "self",(char *) "_class", NULL
15538 };
15539
15540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15542 if (!SWIG_IsOK(res1)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15544 }
15545 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15546 arg2 = obj1;
15547 arg3 = obj2;
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 (arg1)->_setCallbackInfo(arg2,arg3);
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = SWIG_Py_Void();
15555 return resultobj;
15556fail:
15557 return NULL;
15558}
15559
15560
15561SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj = 0;
15563 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15564 wxWindow *arg2 = (wxWindow *) 0 ;
15565 int arg3 = (int) wxID_ANY ;
15566 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15567 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15568 wxSize const &arg5_defvalue = wxDefaultSize ;
15569 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15570 long arg6 = (long) 0 ;
15571 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15572 wxString *arg7 = (wxString *) &arg7_defvalue ;
15573 bool result;
15574 void *argp1 = 0 ;
15575 int res1 = 0 ;
15576 void *argp2 = 0 ;
15577 int res2 = 0 ;
15578 int val3 ;
15579 int ecode3 = 0 ;
15580 wxPoint temp4 ;
15581 wxSize temp5 ;
15582 long val6 ;
15583 int ecode6 = 0 ;
15584 bool temp7 = false ;
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 PyObject * obj2 = 0 ;
15588 PyObject * obj3 = 0 ;
15589 PyObject * obj4 = 0 ;
15590 PyObject * obj5 = 0 ;
15591 PyObject * obj6 = 0 ;
15592 char * kwnames[] = {
15593 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15594 };
15595
15596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15598 if (!SWIG_IsOK(res1)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15600 }
15601 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15602 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15603 if (!SWIG_IsOK(res2)) {
15604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15605 }
15606 arg2 = reinterpret_cast< wxWindow * >(argp2);
15607 if (obj2) {
15608 ecode3 = SWIG_AsVal_int(obj2, &val3);
15609 if (!SWIG_IsOK(ecode3)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15611 }
15612 arg3 = static_cast< int >(val3);
15613 }
15614 if (obj3) {
093d3ff1 15615 {
554f62e9
RD
15616 arg4 = &temp4;
15617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15618 }
554f62e9
RD
15619 }
15620 if (obj4) {
d55e5bfc 15621 {
554f62e9
RD
15622 arg5 = &temp5;
15623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15624 }
554f62e9
RD
15625 }
15626 if (obj5) {
15627 ecode6 = SWIG_AsVal_long(obj5, &val6);
15628 if (!SWIG_IsOK(ecode6)) {
15629 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15630 }
15631 arg6 = static_cast< long >(val6);
15632 }
15633 if (obj6) {
093d3ff1 15634 {
554f62e9
RD
15635 arg7 = wxString_in_helper(obj6);
15636 if (arg7 == NULL) SWIG_fail;
15637 temp7 = true;
093d3ff1 15638 }
554f62e9
RD
15639 }
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 {
15647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15648 }
15649 {
15650 if (temp7)
15651 delete arg7;
15652 }
15653 return resultobj;
15654fail:
15655 {
15656 if (temp7)
15657 delete arg7;
15658 }
15659 return NULL;
15660}
15661
15662
15663SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15664 PyObject *resultobj = 0;
15665 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15666 size_t arg2 ;
15667 void *argp1 = 0 ;
15668 int res1 = 0 ;
15669 size_t val2 ;
15670 int ecode2 = 0 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 char * kwnames[] = {
15674 (char *) "self",(char *) "count", NULL
15675 };
15676
15677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15679 if (!SWIG_IsOK(res1)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15681 }
15682 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15683 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15684 if (!SWIG_IsOK(ecode2)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15686 }
15687 arg2 = static_cast< size_t >(val2);
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 (arg1)->SetItemCount(arg2);
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 resultobj = SWIG_Py_Void();
15695 return resultobj;
15696fail:
15697 return NULL;
d55e5bfc
RD
15698}
15699
15700
554f62e9
RD
15701SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15702 PyObject *resultobj = 0;
15703 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15704 wxFileSystem *result = 0 ;
15705 void *argp1 = 0 ;
15706 int res1 = 0 ;
15707 PyObject *swig_obj[1] ;
15708
15709 if (!args) SWIG_fail;
15710 swig_obj[0] = args;
15711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15712 if (!SWIG_IsOK(res1)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15714 }
15715 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15718 {
554f62e9
RD
15719 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15720 result = (wxFileSystem *) &_result_ref;
093d3ff1 15721 }
554f62e9
RD
15722 wxPyEndAllowThreads(__tstate);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15726 return resultobj;
15727fail:
15728 return NULL;
d55e5bfc
RD
15729}
15730
15731
e9d6f3a4
RD
15732SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj = 0;
15734 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15735 size_t arg2 ;
15736 wxHtmlLinkInfo *arg3 = 0 ;
15737 void *argp1 = 0 ;
15738 int res1 = 0 ;
15739 size_t val2 ;
15740 int ecode2 = 0 ;
15741 void *argp3 = 0 ;
15742 int res3 = 0 ;
15743 PyObject * obj0 = 0 ;
15744 PyObject * obj1 = 0 ;
15745 PyObject * obj2 = 0 ;
15746 char * kwnames[] = {
15747 (char *) "self",(char *) "n",(char *) "link", NULL
15748 };
15749
15750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15752 if (!SWIG_IsOK(res1)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15754 }
15755 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15756 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15757 if (!SWIG_IsOK(ecode2)) {
15758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15759 }
15760 arg2 = static_cast< size_t >(val2);
15761 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15762 if (!SWIG_IsOK(res3)) {
15763 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15764 }
15765 if (!argp3) {
15766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15767 }
15768 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 resultobj = SWIG_Py_Void();
15776 return resultobj;
15777fail:
15778 return NULL;
15779}
15780
15781
554f62e9
RD
15782SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15783 PyObject *obj;
15784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15786 return SWIG_Py_Void();
d55e5bfc
RD
15787}
15788
554f62e9
RD
15789SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15790 return SWIG_Python_InitShadowInstance(args);
15791}
d55e5bfc 15792
554f62e9
RD
15793SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15794 PyObject *resultobj = 0;
15795 wxPyTaskBarIcon *result = 0 ;
15796
15797 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15798 {
15799 if (!wxPyCheckForApp()) SWIG_fail;
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15806 return resultobj;
15807fail:
15808 return NULL;
d55e5bfc
RD
15809}
15810
15811
554f62e9
RD
15812SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15813 PyObject *resultobj = 0;
15814 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15815 void *argp1 = 0 ;
15816 int res1 = 0 ;
15817 PyObject *swig_obj[1] ;
15818
15819 if (!args) SWIG_fail;
15820 swig_obj[0] = args;
15821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15822 if (!SWIG_IsOK(res1)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15824 }
15825 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 delete arg1;
d55e5bfc 15829
554f62e9
RD
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 resultobj = SWIG_Py_Void();
15834 return resultobj;
15835fail:
15836 return NULL;
15837}
15838
15839
15840SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj = 0;
15842 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15843 PyObject *arg2 = (PyObject *) 0 ;
15844 PyObject *arg3 = (PyObject *) 0 ;
15845 int arg4 ;
15846 void *argp1 = 0 ;
15847 int res1 = 0 ;
15848 int val4 ;
15849 int ecode4 = 0 ;
15850 PyObject * obj0 = 0 ;
15851 PyObject * obj1 = 0 ;
15852 PyObject * obj2 = 0 ;
15853 PyObject * obj3 = 0 ;
15854 char * kwnames[] = {
15855 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15856 };
15857
15858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15860 if (!SWIG_IsOK(res1)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15862 }
15863 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15864 arg2 = obj1;
15865 arg3 = obj2;
15866 ecode4 = SWIG_AsVal_int(obj3, &val4);
15867 if (!SWIG_IsOK(ecode4)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15869 }
15870 arg4 = static_cast< int >(val4);
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 resultobj = SWIG_Py_Void();
15878 return resultobj;
15879fail:
15880 return NULL;
d55e5bfc
RD
15881}
15882
15883
554f62e9
RD
15884SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15885 PyObject *resultobj = 0;
15886 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15887 void *argp1 = 0 ;
15888 int res1 = 0 ;
15889 PyObject *swig_obj[1] ;
15890
15891 if (!args) SWIG_fail;
15892 swig_obj[0] = args;
15893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15894 if (!SWIG_IsOK(res1)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15896 }
15897 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 wxPyTaskBarIcon_Destroy(arg1);
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 resultobj = SWIG_Py_Void();
15905 return resultobj;
15906fail:
15907 return NULL;
d55e5bfc
RD
15908}
15909
15910
554f62e9
RD
15911SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15912 PyObject *resultobj = 0;
15913 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15914 bool result;
15915 void *argp1 = 0 ;
15916 int res1 = 0 ;
15917 PyObject *swig_obj[1] ;
15918
15919 if (!args) SWIG_fail;
15920 swig_obj[0] = args;
15921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15922 if (!SWIG_IsOK(res1)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15924 }
15925 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 {
15933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15934 }
15935 return resultobj;
15936fail:
15937 return NULL;
d55e5bfc
RD
15938}
15939
15940
554f62e9
RD
15941SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15942 PyObject *resultobj = 0;
15943 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15944 bool result;
15945 void *argp1 = 0 ;
15946 int res1 = 0 ;
15947 PyObject *swig_obj[1] ;
15948
15949 if (!args) SWIG_fail;
15950 swig_obj[0] = args;
15951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15952 if (!SWIG_IsOK(res1)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15954 }
15955 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 {
15963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15964 }
15965 return resultobj;
15966fail:
15967 return NULL;
15968}
15969
15970
15971SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj = 0;
15973 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15974 wxIcon *arg2 = 0 ;
15975 wxString const &arg3_defvalue = wxPyEmptyString ;
15976 wxString *arg3 = (wxString *) &arg3_defvalue ;
15977 bool result;
15978 void *argp1 = 0 ;
15979 int res1 = 0 ;
15980 void *argp2 = 0 ;
15981 int res2 = 0 ;
15982 bool temp3 = false ;
15983 PyObject * obj0 = 0 ;
15984 PyObject * obj1 = 0 ;
15985 PyObject * obj2 = 0 ;
15986 char * kwnames[] = {
15987 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15988 };
15989
15990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15992 if (!SWIG_IsOK(res1)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15994 }
15995 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15997 if (!SWIG_IsOK(res2)) {
15998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15999 }
16000 if (!argp2) {
16001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16002 }
16003 arg2 = reinterpret_cast< wxIcon * >(argp2);
16004 if (obj2) {
093d3ff1 16005 {
554f62e9
RD
16006 arg3 = wxString_in_helper(obj2);
16007 if (arg3 == NULL) SWIG_fail;
16008 temp3 = true;
093d3ff1 16009 }
554f62e9
RD
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 {
16018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16019 }
16020 {
16021 if (temp3)
16022 delete arg3;
16023 }
16024 return resultobj;
16025fail:
16026 {
16027 if (temp3)
16028 delete arg3;
16029 }
16030 return NULL;
d55e5bfc
RD
16031}
16032
16033
554f62e9
RD
16034SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16035 PyObject *resultobj = 0;
16036 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16037 bool result;
16038 void *argp1 = 0 ;
16039 int res1 = 0 ;
16040 PyObject *swig_obj[1] ;
16041
16042 if (!args) SWIG_fail;
16043 swig_obj[0] = args;
16044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16045 if (!SWIG_IsOK(res1)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16047 }
16048 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 result = (bool)(arg1)->RemoveIcon();
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 {
16056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16057 }
16058 return resultobj;
16059fail:
16060 return NULL;
16061}
16062
16063
16064SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16065 PyObject *resultobj = 0;
16066 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16067 wxMenu *arg2 = (wxMenu *) 0 ;
16068 bool result;
16069 void *argp1 = 0 ;
16070 int res1 = 0 ;
16071 void *argp2 = 0 ;
16072 int res2 = 0 ;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 char * kwnames[] = {
16076 (char *) "self",(char *) "menu", NULL
16077 };
16078
16079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16081 if (!SWIG_IsOK(res1)) {
16082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16083 }
16084 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16085 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16086 if (!SWIG_IsOK(res2)) {
16087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16088 }
16089 arg2 = reinterpret_cast< wxMenu * >(argp2);
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 result = (bool)(arg1)->PopupMenu(arg2);
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16098 }
16099 return resultobj;
16100fail:
16101 return NULL;
d55e5bfc
RD
16102}
16103
16104
554f62e9
RD
16105SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16106 PyObject *obj;
16107 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16109 return SWIG_Py_Void();
d55e5bfc
RD
16110}
16111
554f62e9
RD
16112SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16113 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16114}
16115
554f62e9
RD
16116SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj = 0;
16118 wxEventType arg1 ;
16119 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16120 wxTaskBarIconEvent *result = 0 ;
16121 int val1 ;
16122 int ecode1 = 0 ;
16123 void *argp2 = 0 ;
16124 int res2 = 0 ;
16125 PyObject * obj0 = 0 ;
16126 PyObject * obj1 = 0 ;
16127 char * kwnames[] = {
16128 (char *) "evtType",(char *) "tbIcon", NULL
16129 };
16130
16131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16132 ecode1 = SWIG_AsVal_int(obj0, &val1);
16133 if (!SWIG_IsOK(ecode1)) {
16134 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16135 }
16136 arg1 = static_cast< wxEventType >(val1);
16137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16138 if (!SWIG_IsOK(res2)) {
16139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16140 }
16141 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16149 return resultobj;
16150fail:
16151 return NULL;
d55e5bfc
RD
16152}
16153
16154
554f62e9
RD
16155SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16156 PyObject *obj;
16157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16158 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16159 return SWIG_Py_Void();
d55e5bfc
RD
16160}
16161
554f62e9
RD
16162SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16163 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16164}
16165
554f62e9
RD
16166SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16167 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16168 return 1;
d55e5bfc
RD
16169}
16170
16171
554f62e9
RD
16172SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16173 PyObject *pyobj = 0;
16174
16175 {
16176#if wxUSE_UNICODE
16177 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16178#else
16179 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16180#endif
16181 }
16182 return pyobj;
d55e5bfc
RD
16183}
16184
16185
554f62e9
RD
16186SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16187 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16188 return 1;
d55e5bfc
RD
16189}
16190
16191
554f62e9
RD
16192SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16193 PyObject *pyobj = 0;
16194
16195 {
16196#if wxUSE_UNICODE
16197 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16198#else
16199 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16200#endif
16201 }
16202 return pyobj;
d55e5bfc
RD
16203}
16204
16205
554f62e9
RD
16206SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16207 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16208 return 1;
d55e5bfc
RD
16209}
16210
16211
554f62e9
RD
16212SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16213 PyObject *pyobj = 0;
16214
16215 {
16216#if wxUSE_UNICODE
16217 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16218#else
16219 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16220#endif
16221 }
16222 return pyobj;
d55e5bfc
RD
16223}
16224
16225
554f62e9
RD
16226SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16227 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16228 return 1;
d55e5bfc
RD
16229}
16230
16231
554f62e9
RD
16232SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16233 PyObject *pyobj = 0;
16234
16235 {
16236#if wxUSE_UNICODE
16237 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16238#else
16239 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16240#endif
16241 }
16242 return pyobj;
d55e5bfc
RD
16243}
16244
16245
554f62e9
RD
16246SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16247 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16248 return 1;
d55e5bfc
RD
16249}
16250
16251
554f62e9
RD
16252SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16253 PyObject *pyobj = 0;
16254
16255 {
16256#if wxUSE_UNICODE
16257 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16258#else
16259 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16260#endif
16261 }
16262 return pyobj;
d55e5bfc
RD
16263}
16264
16265
554f62e9
RD
16266SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16267 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16268 return 1;
d55e5bfc
RD
16269}
16270
16271
554f62e9
RD
16272SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16273 PyObject *pyobj = 0;
16274
16275 {
16276#if wxUSE_UNICODE
16277 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16278#else
16279 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16280#endif
16281 }
16282 return pyobj;
d55e5bfc
RD
16283}
16284
16285
554f62e9
RD
16286SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16287 PyObject *resultobj = 0;
16288 wxColourData *result = 0 ;
16289
16290 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (wxColourData *)new wxColourData();
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16298 return resultobj;
16299fail:
16300 return NULL;
d55e5bfc
RD
16301}
16302
16303
554f62e9
RD
16304SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16305 PyObject *resultobj = 0;
16306 wxColourData *arg1 = (wxColourData *) 0 ;
16307 void *argp1 = 0 ;
16308 int res1 = 0 ;
16309 PyObject *swig_obj[1] ;
16310
16311 if (!args) SWIG_fail;
16312 swig_obj[0] = args;
16313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16314 if (!SWIG_IsOK(res1)) {
16315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16316 }
16317 arg1 = reinterpret_cast< wxColourData * >(argp1);
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 delete arg1;
d55e5bfc 16321
554f62e9
RD
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 resultobj = SWIG_Py_Void();
16326 return resultobj;
16327fail:
16328 return NULL;
d55e5bfc
RD
16329}
16330
16331
554f62e9
RD
16332SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16333 PyObject *resultobj = 0;
16334 wxColourData *arg1 = (wxColourData *) 0 ;
16335 bool result;
16336 void *argp1 = 0 ;
16337 int res1 = 0 ;
16338 PyObject *swig_obj[1] ;
16339
16340 if (!args) SWIG_fail;
16341 swig_obj[0] = args;
16342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16343 if (!SWIG_IsOK(res1)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16345 }
16346 arg1 = reinterpret_cast< wxColourData * >(argp1);
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (bool)(arg1)->GetChooseFull();
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 {
16354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16355 }
16356 return resultobj;
16357fail:
16358 return NULL;
d55e5bfc
RD
16359}
16360
16361
554f62e9
RD
16362SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16363 PyObject *resultobj = 0;
16364 wxColourData *arg1 = (wxColourData *) 0 ;
16365 wxColour result;
16366 void *argp1 = 0 ;
16367 int res1 = 0 ;
16368 PyObject *swig_obj[1] ;
16369
16370 if (!args) SWIG_fail;
16371 swig_obj[0] = args;
16372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16373 if (!SWIG_IsOK(res1)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16375 }
16376 arg1 = reinterpret_cast< wxColourData * >(argp1);
16377 {
16378 PyThreadState* __tstate = wxPyBeginAllowThreads();
16379 result = (arg1)->GetColour();
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16384 return resultobj;
16385fail:
16386 return NULL;
16387}
16388
16389
16390SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj = 0;
16392 wxColourData *arg1 = (wxColourData *) 0 ;
16393 int arg2 ;
16394 wxColour result;
16395 void *argp1 = 0 ;
16396 int res1 = 0 ;
16397 int val2 ;
16398 int ecode2 = 0 ;
16399 PyObject * obj0 = 0 ;
16400 PyObject * obj1 = 0 ;
16401 char * kwnames[] = {
16402 (char *) "self",(char *) "i", NULL
16403 };
16404
16405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16407 if (!SWIG_IsOK(res1)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16409 }
16410 arg1 = reinterpret_cast< wxColourData * >(argp1);
16411 ecode2 = SWIG_AsVal_int(obj1, &val2);
16412 if (!SWIG_IsOK(ecode2)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16414 }
16415 arg2 = static_cast< int >(val2);
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 result = (arg1)->GetCustomColour(arg2);
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16423 return resultobj;
16424fail:
16425 return NULL;
16426}
16427
16428
16429SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj = 0;
16431 wxColourData *arg1 = (wxColourData *) 0 ;
16432 int arg2 ;
16433 void *argp1 = 0 ;
16434 int res1 = 0 ;
16435 int val2 ;
16436 int ecode2 = 0 ;
16437 PyObject * obj0 = 0 ;
16438 PyObject * obj1 = 0 ;
16439 char * kwnames[] = {
16440 (char *) "self",(char *) "flag", NULL
16441 };
16442
16443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16445 if (!SWIG_IsOK(res1)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16447 }
16448 arg1 = reinterpret_cast< wxColourData * >(argp1);
16449 ecode2 = SWIG_AsVal_int(obj1, &val2);
16450 if (!SWIG_IsOK(ecode2)) {
16451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16452 }
16453 arg2 = static_cast< int >(val2);
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 (arg1)->SetChooseFull(arg2);
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 resultobj = SWIG_Py_Void();
16461 return resultobj;
16462fail:
16463 return NULL;
16464}
16465
16466
16467SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj = 0;
16469 wxColourData *arg1 = (wxColourData *) 0 ;
16470 wxColour *arg2 = 0 ;
16471 void *argp1 = 0 ;
16472 int res1 = 0 ;
16473 wxColour temp2 ;
16474 PyObject * obj0 = 0 ;
16475 PyObject * obj1 = 0 ;
16476 char * kwnames[] = {
16477 (char *) "self",(char *) "colour", NULL
16478 };
16479
16480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16482 if (!SWIG_IsOK(res1)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16484 }
16485 arg1 = reinterpret_cast< wxColourData * >(argp1);
16486 {
16487 arg2 = &temp2;
16488 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16489 }
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 (arg1)->SetColour((wxColour const &)*arg2);
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 resultobj = SWIG_Py_Void();
16497 return resultobj;
16498fail:
16499 return NULL;
16500}
16501
16502
16503SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16504 PyObject *resultobj = 0;
16505 wxColourData *arg1 = (wxColourData *) 0 ;
16506 int arg2 ;
16507 wxColour *arg3 = 0 ;
16508 void *argp1 = 0 ;
16509 int res1 = 0 ;
16510 int val2 ;
16511 int ecode2 = 0 ;
16512 wxColour temp3 ;
16513 PyObject * obj0 = 0 ;
16514 PyObject * obj1 = 0 ;
16515 PyObject * obj2 = 0 ;
16516 char * kwnames[] = {
16517 (char *) "self",(char *) "i",(char *) "colour", NULL
16518 };
16519
16520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16522 if (!SWIG_IsOK(res1)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16524 }
16525 arg1 = reinterpret_cast< wxColourData * >(argp1);
16526 ecode2 = SWIG_AsVal_int(obj1, &val2);
16527 if (!SWIG_IsOK(ecode2)) {
16528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16529 }
16530 arg2 = static_cast< int >(val2);
16531 {
16532 arg3 = &temp3;
16533 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16534 }
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 resultobj = SWIG_Py_Void();
16542 return resultobj;
16543fail:
16544 return NULL;
d55e5bfc
RD
16545}
16546
16547
554f62e9
RD
16548SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16549 PyObject *obj;
16550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16551 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16552 return SWIG_Py_Void();
d55e5bfc
RD
16553}
16554
554f62e9
RD
16555SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16556 return SWIG_Python_InitShadowInstance(args);
16557}
d55e5bfc 16558
554f62e9
RD
16559SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16560 PyObject *resultobj = 0;
16561 wxWindow *arg1 = (wxWindow *) 0 ;
16562 wxColourData *arg2 = (wxColourData *) NULL ;
16563 wxColourDialog *result = 0 ;
16564 void *argp1 = 0 ;
16565 int res1 = 0 ;
16566 void *argp2 = 0 ;
16567 int res2 = 0 ;
16568 PyObject * obj0 = 0 ;
16569 PyObject * obj1 = 0 ;
16570 char * kwnames[] = {
16571 (char *) "parent",(char *) "data", NULL
16572 };
16573
16574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16576 if (!SWIG_IsOK(res1)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16578 }
16579 arg1 = reinterpret_cast< wxWindow * >(argp1);
16580 if (obj1) {
16581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16582 if (!SWIG_IsOK(res2)) {
16583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
d55e5bfc 16584 }
554f62e9
RD
16585 arg2 = reinterpret_cast< wxColourData * >(argp2);
16586 }
16587 {
16588 if (!wxPyCheckForApp()) SWIG_fail;
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16595 return resultobj;
16596fail:
16597 return NULL;
16598}
16599
16600
16601SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16602 PyObject *resultobj = 0;
16603 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16604 wxColourData *result = 0 ;
16605 void *argp1 = 0 ;
16606 int res1 = 0 ;
16607 PyObject *swig_obj[1] ;
16608
16609 if (!args) SWIG_fail;
16610 swig_obj[0] = args;
16611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16612 if (!SWIG_IsOK(res1)) {
16613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16614 }
16615 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 {
16619 wxColourData &_result_ref = (arg1)->GetColourData();
16620 result = (wxColourData *) &_result_ref;
d55e5bfc 16621 }
554f62e9
RD
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16626 return resultobj;
16627fail:
16628 return NULL;
16629}
16630
16631
16632SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16633 PyObject *obj;
16634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16635 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16636 return SWIG_Py_Void();
16637}
16638
16639SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16640 return SWIG_Python_InitShadowInstance(args);
16641}
16642
16643SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj = 0;
16645 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16646 wxColour const &arg2_defvalue = wxNullColour ;
16647 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16648 wxString const &arg3_defvalue = wxPyEmptyString ;
16649 wxString *arg3 = (wxString *) &arg3_defvalue ;
16650 wxColour result;
16651 void *argp1 = 0 ;
16652 int res1 = 0 ;
16653 wxColour temp2 ;
16654 bool temp3 = false ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 PyObject * obj2 = 0 ;
16658 char * kwnames[] = {
16659 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16660 };
16661
16662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16663 if (obj0) {
16664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16665 if (!SWIG_IsOK(res1)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16667 }
554f62e9
RD
16668 arg1 = reinterpret_cast< wxWindow * >(argp1);
16669 }
16670 if (obj1) {
d55e5bfc 16671 {
554f62e9
RD
16672 arg2 = &temp2;
16673 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16674 }
554f62e9
RD
16675 }
16676 if (obj2) {
d55e5bfc 16677 {
554f62e9
RD
16678 arg3 = wxString_in_helper(obj2);
16679 if (arg3 == NULL) SWIG_fail;
16680 temp3 = true;
d55e5bfc 16681 }
554f62e9
RD
16682 }
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16686 wxPyEndAllowThreads(__tstate);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16690 {
16691 if (temp3)
16692 delete arg3;
16693 }
16694 return resultobj;
16695fail:
16696 {
16697 if (temp3)
16698 delete arg3;
16699 }
16700 return NULL;
16701}
16702
16703
16704SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj = 0;
16706 wxWindow *arg1 = (wxWindow *) 0 ;
16707 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16708 wxString *arg2 = (wxString *) &arg2_defvalue ;
16709 wxString const &arg3_defvalue = wxPyEmptyString ;
16710 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16711 long arg4 = (long) wxDD_DEFAULT_STYLE ;
554f62e9
RD
16712 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16713 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16714 wxSize const &arg6_defvalue = wxDefaultSize ;
16715 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16716 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16717 wxString *arg7 = (wxString *) &arg7_defvalue ;
16718 wxDirDialog *result = 0 ;
16719 void *argp1 = 0 ;
16720 int res1 = 0 ;
16721 bool temp2 = false ;
16722 bool temp3 = false ;
16723 long val4 ;
16724 int ecode4 = 0 ;
16725 wxPoint temp5 ;
16726 wxSize temp6 ;
16727 bool temp7 = false ;
16728 PyObject * obj0 = 0 ;
16729 PyObject * obj1 = 0 ;
16730 PyObject * obj2 = 0 ;
16731 PyObject * obj3 = 0 ;
16732 PyObject * obj4 = 0 ;
16733 PyObject * obj5 = 0 ;
16734 PyObject * obj6 = 0 ;
16735 char * kwnames[] = {
16736 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16737 };
16738
16739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16741 if (!SWIG_IsOK(res1)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16743 }
16744 arg1 = reinterpret_cast< wxWindow * >(argp1);
16745 if (obj1) {
d55e5bfc 16746 {
554f62e9
RD
16747 arg2 = wxString_in_helper(obj1);
16748 if (arg2 == NULL) SWIG_fail;
16749 temp2 = true;
d55e5bfc 16750 }
554f62e9
RD
16751 }
16752 if (obj2) {
d55e5bfc 16753 {
554f62e9
RD
16754 arg3 = wxString_in_helper(obj2);
16755 if (arg3 == NULL) SWIG_fail;
16756 temp3 = true;
d55e5bfc 16757 }
554f62e9
RD
16758 }
16759 if (obj3) {
16760 ecode4 = SWIG_AsVal_long(obj3, &val4);
16761 if (!SWIG_IsOK(ecode4)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16763 }
16764 arg4 = static_cast< long >(val4);
16765 }
16766 if (obj4) {
093d3ff1 16767 {
554f62e9
RD
16768 arg5 = &temp5;
16769 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 16770 }
554f62e9
RD
16771 }
16772 if (obj5) {
d55e5bfc 16773 {
554f62e9
RD
16774 arg6 = &temp6;
16775 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16776 }
554f62e9
RD
16777 }
16778 if (obj6) {
d55e5bfc 16779 {
554f62e9
RD
16780 arg7 = wxString_in_helper(obj6);
16781 if (arg7 == NULL) SWIG_fail;
16782 temp7 = true;
093d3ff1 16783 }
554f62e9
RD
16784 }
16785 {
16786 if (!wxPyCheckForApp()) SWIG_fail;
16787 PyThreadState* __tstate = wxPyBeginAllowThreads();
16788 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16793 {
16794 if (temp2)
16795 delete arg2;
16796 }
16797 {
16798 if (temp3)
16799 delete arg3;
16800 }
16801 {
16802 if (temp7)
16803 delete arg7;
16804 }
16805 return resultobj;
16806fail:
16807 {
16808 if (temp2)
16809 delete arg2;
16810 }
16811 {
16812 if (temp3)
16813 delete arg3;
16814 }
16815 {
16816 if (temp7)
16817 delete arg7;
16818 }
16819 return NULL;
d55e5bfc
RD
16820}
16821
16822
554f62e9
RD
16823SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16824 PyObject *resultobj = 0;
16825 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16826 wxString result;
16827 void *argp1 = 0 ;
16828 int res1 = 0 ;
16829 PyObject *swig_obj[1] ;
16830
16831 if (!args) SWIG_fail;
16832 swig_obj[0] = args;
16833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16834 if (!SWIG_IsOK(res1)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16836 }
16837 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 result = (arg1)->GetPath();
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 {
16845#if wxUSE_UNICODE
16846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16847#else
16848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16849#endif
16850 }
16851 return resultobj;
16852fail:
16853 return NULL;
d55e5bfc
RD
16854}
16855
16856
554f62e9
RD
16857SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16858 PyObject *resultobj = 0;
16859 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16860 wxString result;
16861 void *argp1 = 0 ;
16862 int res1 = 0 ;
16863 PyObject *swig_obj[1] ;
16864
16865 if (!args) SWIG_fail;
16866 swig_obj[0] = args;
16867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16868 if (!SWIG_IsOK(res1)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16870 }
16871 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = (arg1)->GetMessage();
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 {
16879#if wxUSE_UNICODE
16880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16881#else
16882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16883#endif
16884 }
16885 return resultobj;
16886fail:
16887 return NULL;
d55e5bfc
RD
16888}
16889
16890
554f62e9
RD
16891SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj = 0;
16893 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16894 wxString *arg2 = 0 ;
16895 void *argp1 = 0 ;
16896 int res1 = 0 ;
16897 bool temp2 = false ;
16898 PyObject * obj0 = 0 ;
16899 PyObject * obj1 = 0 ;
16900 char * kwnames[] = {
16901 (char *) "self",(char *) "message", NULL
16902 };
16903
16904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16906 if (!SWIG_IsOK(res1)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16908 }
16909 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16910 {
16911 arg2 = wxString_in_helper(obj1);
16912 if (arg2 == NULL) SWIG_fail;
16913 temp2 = true;
16914 }
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 (arg1)->SetMessage((wxString const &)*arg2);
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 resultobj = SWIG_Py_Void();
16922 {
16923 if (temp2)
16924 delete arg2;
16925 }
16926 return resultobj;
16927fail:
16928 {
16929 if (temp2)
16930 delete arg2;
16931 }
16932 return NULL;
d55e5bfc
RD
16933}
16934
16935
554f62e9
RD
16936SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj = 0;
16938 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16939 wxString *arg2 = 0 ;
16940 void *argp1 = 0 ;
16941 int res1 = 0 ;
16942 bool temp2 = false ;
16943 PyObject * obj0 = 0 ;
16944 PyObject * obj1 = 0 ;
16945 char * kwnames[] = {
16946 (char *) "self",(char *) "path", NULL
16947 };
16948
16949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16951 if (!SWIG_IsOK(res1)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16953 }
16954 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16955 {
16956 arg2 = wxString_in_helper(obj1);
16957 if (arg2 == NULL) SWIG_fail;
16958 temp2 = true;
16959 }
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 (arg1)->SetPath((wxString const &)*arg2);
16963 wxPyEndAllowThreads(__tstate);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 resultobj = SWIG_Py_Void();
16967 {
16968 if (temp2)
16969 delete arg2;
16970 }
16971 return resultobj;
16972fail:
16973 {
16974 if (temp2)
16975 delete arg2;
16976 }
16977 return NULL;
16978}
16979
16980
16981SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16982 PyObject *obj;
16983 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16984 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16985 return SWIG_Py_Void();
16986}
16987
16988SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16989 return SWIG_Python_InitShadowInstance(args);
16990}
16991
16992SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj = 0;
16994 wxWindow *arg1 = (wxWindow *) 0 ;
16995 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16996 wxString *arg2 = (wxString *) &arg2_defvalue ;
16997 wxString const &arg3_defvalue = wxPyEmptyString ;
16998 wxString *arg3 = (wxString *) &arg3_defvalue ;
16999 wxString const &arg4_defvalue = wxPyEmptyString ;
17000 wxString *arg4 = (wxString *) &arg4_defvalue ;
17001 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17002 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17003 long arg6 = (long) wxFD_DEFAULT_STYLE ;
554f62e9
RD
17004 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17005 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17006 wxFileDialog *result = 0 ;
17007 void *argp1 = 0 ;
17008 int res1 = 0 ;
17009 bool temp2 = false ;
17010 bool temp3 = false ;
17011 bool temp4 = false ;
17012 bool temp5 = false ;
17013 long val6 ;
17014 int ecode6 = 0 ;
17015 wxPoint temp7 ;
17016 PyObject * obj0 = 0 ;
17017 PyObject * obj1 = 0 ;
17018 PyObject * obj2 = 0 ;
17019 PyObject * obj3 = 0 ;
17020 PyObject * obj4 = 0 ;
17021 PyObject * obj5 = 0 ;
17022 PyObject * obj6 = 0 ;
17023 char * kwnames[] = {
17024 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17025 };
17026
17027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17029 if (!SWIG_IsOK(res1)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17031 }
17032 arg1 = reinterpret_cast< wxWindow * >(argp1);
17033 if (obj1) {
d55e5bfc 17034 {
554f62e9
RD
17035 arg2 = wxString_in_helper(obj1);
17036 if (arg2 == NULL) SWIG_fail;
17037 temp2 = true;
d55e5bfc 17038 }
554f62e9
RD
17039 }
17040 if (obj2) {
d55e5bfc 17041 {
554f62e9
RD
17042 arg3 = wxString_in_helper(obj2);
17043 if (arg3 == NULL) SWIG_fail;
17044 temp3 = true;
d55e5bfc 17045 }
554f62e9
RD
17046 }
17047 if (obj3) {
17048 {
17049 arg4 = wxString_in_helper(obj3);
17050 if (arg4 == NULL) SWIG_fail;
17051 temp4 = true;
d55e5bfc 17052 }
554f62e9
RD
17053 }
17054 if (obj4) {
d55e5bfc 17055 {
554f62e9
RD
17056 arg5 = wxString_in_helper(obj4);
17057 if (arg5 == NULL) SWIG_fail;
17058 temp5 = true;
d55e5bfc 17059 }
554f62e9
RD
17060 }
17061 if (obj5) {
17062 ecode6 = SWIG_AsVal_long(obj5, &val6);
17063 if (!SWIG_IsOK(ecode6)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17065 }
17066 arg6 = static_cast< long >(val6);
17067 }
17068 if (obj6) {
d55e5bfc 17069 {
554f62e9
RD
17070 arg7 = &temp7;
17071 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17072 }
554f62e9
RD
17073 }
17074 {
17075 if (!wxPyCheckForApp()) SWIG_fail;
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17082 {
17083 if (temp2)
17084 delete arg2;
17085 }
17086 {
17087 if (temp3)
17088 delete arg3;
17089 }
17090 {
17091 if (temp4)
17092 delete arg4;
17093 }
17094 {
17095 if (temp5)
17096 delete arg5;
17097 }
17098 return resultobj;
17099fail:
17100 {
17101 if (temp2)
17102 delete arg2;
17103 }
17104 {
17105 if (temp3)
17106 delete arg3;
17107 }
17108 {
17109 if (temp4)
17110 delete arg4;
17111 }
17112 {
17113 if (temp5)
17114 delete arg5;
17115 }
17116 return NULL;
d55e5bfc
RD
17117}
17118
17119
554f62e9
RD
17120SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj = 0;
17122 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17123 wxString *arg2 = 0 ;
17124 void *argp1 = 0 ;
17125 int res1 = 0 ;
17126 bool temp2 = false ;
17127 PyObject * obj0 = 0 ;
17128 PyObject * obj1 = 0 ;
17129 char * kwnames[] = {
17130 (char *) "self",(char *) "message", NULL
17131 };
17132
17133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17135 if (!SWIG_IsOK(res1)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17137 }
17138 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17139 {
17140 arg2 = wxString_in_helper(obj1);
17141 if (arg2 == NULL) SWIG_fail;
17142 temp2 = true;
17143 }
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 (arg1)->SetMessage((wxString const &)*arg2);
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 resultobj = SWIG_Py_Void();
17151 {
17152 if (temp2)
17153 delete arg2;
17154 }
17155 return resultobj;
17156fail:
17157 {
17158 if (temp2)
17159 delete arg2;
17160 }
17161 return NULL;
d55e5bfc
RD
17162}
17163
17164
554f62e9
RD
17165SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj = 0;
17167 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17168 wxString *arg2 = 0 ;
17169 void *argp1 = 0 ;
17170 int res1 = 0 ;
17171 bool temp2 = false ;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char * kwnames[] = {
17175 (char *) "self",(char *) "path", NULL
17176 };
17177
17178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17180 if (!SWIG_IsOK(res1)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17182 }
17183 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17184 {
17185 arg2 = wxString_in_helper(obj1);
17186 if (arg2 == NULL) SWIG_fail;
17187 temp2 = true;
17188 }
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 (arg1)->SetPath((wxString const &)*arg2);
17192 wxPyEndAllowThreads(__tstate);
17193 if (PyErr_Occurred()) SWIG_fail;
17194 }
17195 resultobj = SWIG_Py_Void();
17196 {
17197 if (temp2)
17198 delete arg2;
17199 }
17200 return resultobj;
17201fail:
17202 {
17203 if (temp2)
17204 delete arg2;
17205 }
17206 return NULL;
d55e5bfc
RD
17207}
17208
17209
554f62e9
RD
17210SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj = 0;
17212 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17213 wxString *arg2 = 0 ;
17214 void *argp1 = 0 ;
17215 int res1 = 0 ;
17216 bool temp2 = false ;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 char * kwnames[] = {
17220 (char *) "self",(char *) "dir", NULL
17221 };
17222
17223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17225 if (!SWIG_IsOK(res1)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17227 }
17228 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17229 {
17230 arg2 = wxString_in_helper(obj1);
17231 if (arg2 == NULL) SWIG_fail;
17232 temp2 = true;
17233 }
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 (arg1)->SetDirectory((wxString const &)*arg2);
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 resultobj = SWIG_Py_Void();
17241 {
17242 if (temp2)
17243 delete arg2;
17244 }
17245 return resultobj;
17246fail:
17247 {
17248 if (temp2)
17249 delete arg2;
17250 }
17251 return NULL;
d55e5bfc
RD
17252}
17253
17254
554f62e9
RD
17255SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj = 0;
17257 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17258 wxString *arg2 = 0 ;
17259 void *argp1 = 0 ;
17260 int res1 = 0 ;
17261 bool temp2 = false ;
17262 PyObject * obj0 = 0 ;
17263 PyObject * obj1 = 0 ;
17264 char * kwnames[] = {
17265 (char *) "self",(char *) "name", NULL
17266 };
17267
17268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17270 if (!SWIG_IsOK(res1)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17272 }
17273 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17274 {
17275 arg2 = wxString_in_helper(obj1);
17276 if (arg2 == NULL) SWIG_fail;
17277 temp2 = true;
17278 }
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 (arg1)->SetFilename((wxString const &)*arg2);
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 resultobj = SWIG_Py_Void();
17286 {
17287 if (temp2)
17288 delete arg2;
17289 }
17290 return resultobj;
17291fail:
17292 {
17293 if (temp2)
17294 delete arg2;
17295 }
17296 return NULL;
d55e5bfc
RD
17297}
17298
17299
554f62e9
RD
17300SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj = 0;
17302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17303 wxString *arg2 = 0 ;
17304 void *argp1 = 0 ;
17305 int res1 = 0 ;
17306 bool temp2 = false ;
17307 PyObject * obj0 = 0 ;
17308 PyObject * obj1 = 0 ;
17309 char * kwnames[] = {
17310 (char *) "self",(char *) "wildCard", NULL
17311 };
17312
17313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17315 if (!SWIG_IsOK(res1)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17317 }
17318 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17319 {
17320 arg2 = wxString_in_helper(obj1);
17321 if (arg2 == NULL) SWIG_fail;
17322 temp2 = true;
17323 }
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 (arg1)->SetWildcard((wxString const &)*arg2);
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 resultobj = SWIG_Py_Void();
17331 {
17332 if (temp2)
17333 delete arg2;
17334 }
17335 return resultobj;
17336fail:
17337 {
17338 if (temp2)
17339 delete arg2;
17340 }
17341 return NULL;
17342}
17343
17344
554f62e9
RD
17345SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj = 0;
17347 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17348 int arg2 ;
17349 void *argp1 = 0 ;
17350 int res1 = 0 ;
17351 int val2 ;
17352 int ecode2 = 0 ;
17353 PyObject * obj0 = 0 ;
17354 PyObject * obj1 = 0 ;
17355 char * kwnames[] = {
17356 (char *) "self",(char *) "filterIndex", NULL
17357 };
17358
17359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17361 if (!SWIG_IsOK(res1)) {
17362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17363 }
17364 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17365 ecode2 = SWIG_AsVal_int(obj1, &val2);
17366 if (!SWIG_IsOK(ecode2)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17368 }
17369 arg2 = static_cast< int >(val2);
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 (arg1)->SetFilterIndex(arg2);
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = SWIG_Py_Void();
17377 return resultobj;
17378fail:
17379 return NULL;
d55e5bfc
RD
17380}
17381
17382
554f62e9
RD
17383SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17384 PyObject *resultobj = 0;
17385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17386 wxString result;
17387 void *argp1 = 0 ;
17388 int res1 = 0 ;
17389 PyObject *swig_obj[1] ;
17390
17391 if (!args) SWIG_fail;
17392 swig_obj[0] = args;
17393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17394 if (!SWIG_IsOK(res1)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17396 }
17397 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = ((wxFileDialog const *)arg1)->GetMessage();
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
17405#if wxUSE_UNICODE
17406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17407#else
17408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17409#endif
17410 }
17411 return resultobj;
17412fail:
17413 return NULL;
d55e5bfc
RD
17414}
17415
17416
554f62e9
RD
17417SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17418 PyObject *resultobj = 0;
17419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17420 wxString result;
17421 void *argp1 = 0 ;
17422 int res1 = 0 ;
17423 PyObject *swig_obj[1] ;
17424
17425 if (!args) SWIG_fail;
17426 swig_obj[0] = args;
17427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17428 if (!SWIG_IsOK(res1)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17430 }
17431 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = ((wxFileDialog const *)arg1)->GetPath();
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439#if wxUSE_UNICODE
17440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17441#else
17442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17443#endif
17444 }
17445 return resultobj;
17446fail:
17447 return NULL;
d55e5bfc
RD
17448}
17449
17450
554f62e9
RD
17451SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17452 PyObject *resultobj = 0;
17453 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17454 wxString result;
17455 void *argp1 = 0 ;
17456 int res1 = 0 ;
17457 PyObject *swig_obj[1] ;
17458
17459 if (!args) SWIG_fail;
17460 swig_obj[0] = args;
17461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17462 if (!SWIG_IsOK(res1)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17464 }
17465 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = ((wxFileDialog const *)arg1)->GetDirectory();
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 {
17473#if wxUSE_UNICODE
17474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17475#else
17476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17477#endif
17478 }
17479 return resultobj;
17480fail:
17481 return NULL;
d55e5bfc
RD
17482}
17483
17484
554f62e9
RD
17485SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17486 PyObject *resultobj = 0;
17487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17488 wxString result;
17489 void *argp1 = 0 ;
17490 int res1 = 0 ;
17491 PyObject *swig_obj[1] ;
17492
17493 if (!args) SWIG_fail;
17494 swig_obj[0] = args;
17495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = ((wxFileDialog const *)arg1)->GetFilename();
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 {
17507#if wxUSE_UNICODE
17508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17509#else
17510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17511#endif
17512 }
17513 return resultobj;
17514fail:
17515 return NULL;
d55e5bfc
RD
17516}
17517
17518
554f62e9
RD
17519SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17520 PyObject *resultobj = 0;
17521 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17522 wxString result;
17523 void *argp1 = 0 ;
17524 int res1 = 0 ;
17525 PyObject *swig_obj[1] ;
17526
17527 if (!args) SWIG_fail;
17528 swig_obj[0] = args;
17529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17530 if (!SWIG_IsOK(res1)) {
17531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17532 }
17533 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = ((wxFileDialog const *)arg1)->GetWildcard();
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 {
17541#if wxUSE_UNICODE
17542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17543#else
17544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17545#endif
17546 }
17547 return resultobj;
17548fail:
17549 return NULL;
d55e5bfc
RD
17550}
17551
17552
554f62e9
RD
17553SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17554 PyObject *resultobj = 0;
17555 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17556 int result;
17557 void *argp1 = 0 ;
17558 int res1 = 0 ;
17559 PyObject *swig_obj[1] ;
17560
17561 if (!args) SWIG_fail;
17562 swig_obj[0] = args;
17563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17564 if (!SWIG_IsOK(res1)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17566 }
17567 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 resultobj = SWIG_From_int(static_cast< int >(result));
17575 return resultobj;
17576fail:
17577 return NULL;
d55e5bfc
RD
17578}
17579
17580
554f62e9
RD
17581SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17582 PyObject *resultobj = 0;
17583 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17584 PyObject *result = 0 ;
17585 void *argp1 = 0 ;
17586 int res1 = 0 ;
17587 PyObject *swig_obj[1] ;
17588
17589 if (!args) SWIG_fail;
17590 swig_obj[0] = args;
17591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17592 if (!SWIG_IsOK(res1)) {
17593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17594 }
17595 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = result;
17603 return resultobj;
17604fail:
17605 return NULL;
d55e5bfc
RD
17606}
17607
17608
554f62e9
RD
17609SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17610 PyObject *resultobj = 0;
17611 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17612 PyObject *result = 0 ;
17613 void *argp1 = 0 ;
17614 int res1 = 0 ;
17615 PyObject *swig_obj[1] ;
17616
17617 if (!args) SWIG_fail;
17618 swig_obj[0] = args;
17619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17620 if (!SWIG_IsOK(res1)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17622 }
17623 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = result;
17631 return resultobj;
17632fail:
17633 return NULL;
17634}
17635
17636
17637SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17638 PyObject *obj;
17639 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17640 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17641 return SWIG_Py_Void();
17642}
17643
17644SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17645 return SWIG_Python_InitShadowInstance(args);
17646}
17647
17648SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17649 PyObject *resultobj = 0;
17650 wxWindow *arg1 = (wxWindow *) 0 ;
17651 wxString *arg2 = 0 ;
17652 wxString *arg3 = 0 ;
17653 int arg4 = (int) 0 ;
17654 wxString *arg5 = (wxString *) NULL ;
17655 long arg6 = (long) wxCHOICEDLG_STYLE ;
17656 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17657 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17658 wxMultiChoiceDialog *result = 0 ;
17659 void *argp1 = 0 ;
17660 int res1 = 0 ;
17661 bool temp2 = false ;
17662 bool temp3 = false ;
17663 long val6 ;
17664 int ecode6 = 0 ;
17665 wxPoint temp7 ;
17666 PyObject * obj0 = 0 ;
17667 PyObject * obj1 = 0 ;
17668 PyObject * obj2 = 0 ;
17669 PyObject * obj3 = 0 ;
17670 PyObject * obj4 = 0 ;
17671 PyObject * obj5 = 0 ;
17672 char * kwnames[] = {
17673 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17674 };
17675
17676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17678 if (!SWIG_IsOK(res1)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17680 }
17681 arg1 = reinterpret_cast< wxWindow * >(argp1);
17682 {
17683 arg2 = wxString_in_helper(obj1);
17684 if (arg2 == NULL) SWIG_fail;
17685 temp2 = true;
17686 }
17687 {
17688 arg3 = wxString_in_helper(obj2);
17689 if (arg3 == NULL) SWIG_fail;
17690 temp3 = true;
17691 }
17692 if (obj3) {
d55e5bfc 17693 {
554f62e9
RD
17694 arg4 = PyList_Size(obj3);
17695 arg5 = wxString_LIST_helper(obj3);
17696 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17697 }
554f62e9
RD
17698 }
17699 if (obj4) {
17700 ecode6 = SWIG_AsVal_long(obj4, &val6);
17701 if (!SWIG_IsOK(ecode6)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17703 }
17704 arg6 = static_cast< long >(val6);
17705 }
17706 if (obj5) {
d55e5bfc 17707 {
554f62e9
RD
17708 arg7 = &temp7;
17709 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d55e5bfc 17710 }
554f62e9
RD
17711 }
17712 {
17713 if (!wxPyCheckForApp()) SWIG_fail;
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17720 {
17721 if (temp2)
17722 delete arg2;
17723 }
17724 {
17725 if (temp3)
17726 delete arg3;
17727 }
17728 {
17729 if (arg5) delete [] arg5;
17730 }
17731 return resultobj;
17732fail:
17733 {
17734 if (temp2)
17735 delete arg2;
17736 }
17737 {
17738 if (temp3)
17739 delete arg3;
17740 }
17741 {
17742 if (arg5) delete [] arg5;
17743 }
17744 return NULL;
d55e5bfc
RD
17745}
17746
17747
554f62e9
RD
17748SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj = 0;
17750 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17751 wxArrayInt *arg2 = 0 ;
17752 void *argp1 = 0 ;
17753 int res1 = 0 ;
17754 bool temp2 = false ;
17755 PyObject * obj0 = 0 ;
17756 PyObject * obj1 = 0 ;
17757 char * kwnames[] = {
17758 (char *) "self",(char *) "selections", NULL
17759 };
17760
17761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17763 if (!SWIG_IsOK(res1)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17765 }
17766 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17767 {
17768 if (! PySequence_Check(obj1)) {
17769 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17770 SWIG_fail;
17771 }
17772 arg2 = new wxArrayInt;
17773 temp2 = true;
17774 int i, len=PySequence_Length(obj1);
17775 for (i=0; i<len; i++) {
17776 PyObject* item = PySequence_GetItem(obj1, i);
17777 PyObject* number = PyNumber_Int(item);
17778 arg2->Add(PyInt_AS_LONG(number));
17779 Py_DECREF(item);
17780 Py_DECREF(number);
093d3ff1 17781 }
554f62e9
RD
17782 }
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 resultobj = SWIG_Py_Void();
17790 {
17791 if (temp2) delete arg2;
17792 }
17793 return resultobj;
17794fail:
17795 {
17796 if (temp2) delete arg2;
17797 }
17798 return NULL;
d55e5bfc
RD
17799}
17800
17801
554f62e9
RD
17802SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17803 PyObject *resultobj = 0;
17804 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17805 PyObject *result = 0 ;
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_wxMultiChoiceDialog, 0 | 0 );
17813 if (!SWIG_IsOK(res1)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17815 }
17816 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 resultobj = result;
17824 return resultobj;
17825fail:
17826 return NULL;
17827}
17828
17829
17830SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17831 PyObject *obj;
17832 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17834 return SWIG_Py_Void();
17835}
17836
17837SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17838 return SWIG_Python_InitShadowInstance(args);
17839}
17840
17841SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj = 0;
17843 wxWindow *arg1 = (wxWindow *) 0 ;
17844 wxString *arg2 = 0 ;
17845 wxString *arg3 = 0 ;
17846 int arg4 ;
17847 wxString *arg5 = (wxString *) 0 ;
17848 long arg6 = (long) wxCHOICEDLG_STYLE ;
17849 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17850 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17851 wxSingleChoiceDialog *result = 0 ;
17852 void *argp1 = 0 ;
17853 int res1 = 0 ;
17854 bool temp2 = false ;
17855 bool temp3 = false ;
17856 long val6 ;
17857 int ecode6 = 0 ;
17858 wxPoint temp7 ;
17859 PyObject * obj0 = 0 ;
17860 PyObject * obj1 = 0 ;
17861 PyObject * obj2 = 0 ;
17862 PyObject * obj3 = 0 ;
17863 PyObject * obj4 = 0 ;
17864 PyObject * obj5 = 0 ;
17865 char * kwnames[] = {
17866 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17867 };
17868
17869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17871 if (!SWIG_IsOK(res1)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17873 }
17874 arg1 = reinterpret_cast< wxWindow * >(argp1);
17875 {
17876 arg2 = wxString_in_helper(obj1);
17877 if (arg2 == NULL) SWIG_fail;
17878 temp2 = true;
17879 }
17880 {
17881 arg3 = wxString_in_helper(obj2);
17882 if (arg3 == NULL) SWIG_fail;
17883 temp3 = true;
17884 }
17885 {
17886 arg4 = PyList_Size(obj3);
17887 arg5 = wxString_LIST_helper(obj3);
17888 if (arg5 == NULL) SWIG_fail;
17889 }
17890 if (obj4) {
17891 ecode6 = SWIG_AsVal_long(obj4, &val6);
17892 if (!SWIG_IsOK(ecode6)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17894 }
17895 arg6 = static_cast< long >(val6);
17896 }
17897 if (obj5) {
093d3ff1 17898 {
554f62e9
RD
17899 arg7 = &temp7;
17900 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 17901 }
554f62e9
RD
17902 }
17903 {
17904 if (!wxPyCheckForApp()) SWIG_fail;
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17911 {
17912 if (temp2)
17913 delete arg2;
17914 }
17915 {
17916 if (temp3)
17917 delete arg3;
17918 }
17919 {
17920 if (arg5) delete [] arg5;
17921 }
17922 return resultobj;
17923fail:
17924 {
17925 if (temp2)
17926 delete arg2;
17927 }
17928 {
17929 if (temp3)
17930 delete arg3;
17931 }
17932 {
17933 if (arg5) delete [] arg5;
17934 }
17935 return NULL;
d55e5bfc
RD
17936}
17937
17938
554f62e9
RD
17939SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17940 PyObject *resultobj = 0;
17941 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17942 int result;
17943 void *argp1 = 0 ;
17944 int res1 = 0 ;
17945 PyObject *swig_obj[1] ;
17946
17947 if (!args) SWIG_fail;
17948 swig_obj[0] = args;
17949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17950 if (!SWIG_IsOK(res1)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17952 }
17953 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (int)(arg1)->GetSelection();
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 resultobj = SWIG_From_int(static_cast< int >(result));
17961 return resultobj;
17962fail:
17963 return NULL;
d55e5bfc
RD
17964}
17965
17966
554f62e9
RD
17967SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17968 PyObject *resultobj = 0;
17969 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17970 wxString result;
17971 void *argp1 = 0 ;
17972 int res1 = 0 ;
17973 PyObject *swig_obj[1] ;
17974
17975 if (!args) SWIG_fail;
17976 swig_obj[0] = args;
17977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17978 if (!SWIG_IsOK(res1)) {
17979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17980 }
17981 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 result = (arg1)->GetStringSelection();
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 {
17989#if wxUSE_UNICODE
17990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17991#else
17992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17993#endif
17994 }
17995 return resultobj;
17996fail:
17997 return NULL;
17998}
17999
18000
18001SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj = 0;
18003 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18004 int arg2 ;
18005 void *argp1 = 0 ;
18006 int res1 = 0 ;
18007 int val2 ;
18008 int ecode2 = 0 ;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 char * kwnames[] = {
18012 (char *) "self",(char *) "sel", NULL
18013 };
18014
18015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18017 if (!SWIG_IsOK(res1)) {
18018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18019 }
18020 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18021 ecode2 = SWIG_AsVal_int(obj1, &val2);
18022 if (!SWIG_IsOK(ecode2)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18024 }
18025 arg2 = static_cast< int >(val2);
18026 {
18027 PyThreadState* __tstate = wxPyBeginAllowThreads();
18028 (arg1)->SetSelection(arg2);
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = SWIG_Py_Void();
18033 return resultobj;
18034fail:
18035 return NULL;
18036}
18037
18038
18039SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18040 PyObject *obj;
18041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18042 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18043 return SWIG_Py_Void();
18044}
18045
18046SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18047 return SWIG_Python_InitShadowInstance(args);
18048}
18049
18050SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj = 0;
18052 wxWindow *arg1 = (wxWindow *) 0 ;
18053 wxString *arg2 = 0 ;
18054 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18055 wxString *arg3 = (wxString *) &arg3_defvalue ;
18056 wxString const &arg4_defvalue = wxPyEmptyString ;
18057 wxString *arg4 = (wxString *) &arg4_defvalue ;
18058 long arg5 = (long) wxTextEntryDialogStyle ;
18059 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18060 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18061 wxTextEntryDialog *result = 0 ;
18062 void *argp1 = 0 ;
18063 int res1 = 0 ;
18064 bool temp2 = false ;
18065 bool temp3 = false ;
18066 bool temp4 = false ;
18067 long val5 ;
18068 int ecode5 = 0 ;
18069 wxPoint temp6 ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 PyObject * obj2 = 0 ;
18073 PyObject * obj3 = 0 ;
18074 PyObject * obj4 = 0 ;
18075 PyObject * obj5 = 0 ;
18076 char * kwnames[] = {
18077 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18078 };
18079
18080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18082 if (!SWIG_IsOK(res1)) {
18083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18084 }
18085 arg1 = reinterpret_cast< wxWindow * >(argp1);
18086 {
18087 arg2 = wxString_in_helper(obj1);
18088 if (arg2 == NULL) SWIG_fail;
18089 temp2 = true;
18090 }
18091 if (obj2) {
093d3ff1 18092 {
554f62e9
RD
18093 arg3 = wxString_in_helper(obj2);
18094 if (arg3 == NULL) SWIG_fail;
18095 temp3 = true;
093d3ff1 18096 }
554f62e9
RD
18097 }
18098 if (obj3) {
d55e5bfc 18099 {
554f62e9
RD
18100 arg4 = wxString_in_helper(obj3);
18101 if (arg4 == NULL) SWIG_fail;
18102 temp4 = true;
d55e5bfc 18103 }
554f62e9
RD
18104 }
18105 if (obj4) {
18106 ecode5 = SWIG_AsVal_long(obj4, &val5);
18107 if (!SWIG_IsOK(ecode5)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18109 }
18110 arg5 = static_cast< long >(val5);
18111 }
18112 if (obj5) {
d55e5bfc 18113 {
554f62e9
RD
18114 arg6 = &temp6;
18115 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18116 }
554f62e9
RD
18117 }
18118 {
18119 if (!wxPyCheckForApp()) SWIG_fail;
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18126 {
18127 if (temp2)
18128 delete arg2;
18129 }
18130 {
18131 if (temp3)
18132 delete arg3;
18133 }
18134 {
18135 if (temp4)
18136 delete arg4;
18137 }
18138 return resultobj;
18139fail:
18140 {
18141 if (temp2)
18142 delete arg2;
18143 }
18144 {
18145 if (temp3)
18146 delete arg3;
18147 }
18148 {
18149 if (temp4)
18150 delete arg4;
18151 }
18152 return NULL;
d55e5bfc
RD
18153}
18154
18155
554f62e9
RD
18156SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18157 PyObject *resultobj = 0;
18158 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18159 wxString result;
18160 void *argp1 = 0 ;
18161 int res1 = 0 ;
18162 PyObject *swig_obj[1] ;
18163
18164 if (!args) SWIG_fail;
18165 swig_obj[0] = args;
18166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18167 if (!SWIG_IsOK(res1)) {
18168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18169 }
18170 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (arg1)->GetValue();
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 {
18178#if wxUSE_UNICODE
18179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18180#else
18181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18182#endif
18183 }
18184 return resultobj;
18185fail:
18186 return NULL;
18187}
18188
18189
18190SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj = 0;
18192 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18193 wxString *arg2 = 0 ;
18194 void *argp1 = 0 ;
18195 int res1 = 0 ;
18196 bool temp2 = false ;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char * kwnames[] = {
18200 (char *) "self",(char *) "value", NULL
18201 };
18202
18203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18205 if (!SWIG_IsOK(res1)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18207 }
18208 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18209 {
18210 arg2 = wxString_in_helper(obj1);
18211 if (arg2 == NULL) SWIG_fail;
18212 temp2 = true;
18213 }
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 (arg1)->SetValue((wxString const &)*arg2);
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 resultobj = SWIG_Py_Void();
18221 {
18222 if (temp2)
18223 delete arg2;
18224 }
18225 return resultobj;
18226fail:
18227 {
18228 if (temp2)
18229 delete arg2;
18230 }
18231 return NULL;
d55e5bfc
RD
18232}
18233
18234
554f62e9
RD
18235SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18236 PyObject *obj;
18237 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18238 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18239 return SWIG_Py_Void();
d55e5bfc
RD
18240}
18241
554f62e9
RD
18242SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18243 return SWIG_Python_InitShadowInstance(args);
18244}
d55e5bfc 18245
554f62e9
RD
18246SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18247 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18248 return 1;
d55e5bfc
RD
18249}
18250
18251
554f62e9
RD
18252SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18253 PyObject *pyobj = 0;
18254
18255 {
18256#if wxUSE_UNICODE
18257 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18258#else
18259 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18260#endif
18261 }
18262 return pyobj;
18263}
18264
18265
18266SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj = 0;
18268 wxWindow *arg1 = (wxWindow *) 0 ;
18269 wxString *arg2 = 0 ;
18270 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18271 wxString *arg3 = (wxString *) &arg3_defvalue ;
18272 wxString const &arg4_defvalue = wxPyEmptyString ;
18273 wxString *arg4 = (wxString *) &arg4_defvalue ;
18274 long arg5 = (long) wxTextEntryDialogStyle ;
18275 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18276 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18277 wxPasswordEntryDialog *result = 0 ;
18278 void *argp1 = 0 ;
18279 int res1 = 0 ;
18280 bool temp2 = false ;
18281 bool temp3 = false ;
18282 bool temp4 = false ;
18283 long val5 ;
18284 int ecode5 = 0 ;
18285 wxPoint temp6 ;
18286 PyObject * obj0 = 0 ;
18287 PyObject * obj1 = 0 ;
18288 PyObject * obj2 = 0 ;
18289 PyObject * obj3 = 0 ;
18290 PyObject * obj4 = 0 ;
18291 PyObject * obj5 = 0 ;
18292 char * kwnames[] = {
18293 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18294 };
18295
18296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18298 if (!SWIG_IsOK(res1)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18300 }
18301 arg1 = reinterpret_cast< wxWindow * >(argp1);
18302 {
18303 arg2 = wxString_in_helper(obj1);
18304 if (arg2 == NULL) SWIG_fail;
18305 temp2 = true;
18306 }
18307 if (obj2) {
d55e5bfc 18308 {
554f62e9
RD
18309 arg3 = wxString_in_helper(obj2);
18310 if (arg3 == NULL) SWIG_fail;
18311 temp3 = true;
d55e5bfc 18312 }
554f62e9
RD
18313 }
18314 if (obj3) {
d55e5bfc 18315 {
554f62e9
RD
18316 arg4 = wxString_in_helper(obj3);
18317 if (arg4 == NULL) SWIG_fail;
18318 temp4 = true;
d55e5bfc 18319 }
554f62e9
RD
18320 }
18321 if (obj4) {
18322 ecode5 = SWIG_AsVal_long(obj4, &val5);
18323 if (!SWIG_IsOK(ecode5)) {
18324 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18325 }
18326 arg5 = static_cast< long >(val5);
18327 }
18328 if (obj5) {
093d3ff1 18329 {
554f62e9
RD
18330 arg6 = &temp6;
18331 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18332 }
554f62e9
RD
18333 }
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18341 {
18342 if (temp2)
18343 delete arg2;
18344 }
18345 {
18346 if (temp3)
18347 delete arg3;
18348 }
18349 {
18350 if (temp4)
18351 delete arg4;
18352 }
18353 return resultobj;
18354fail:
18355 {
18356 if (temp2)
18357 delete arg2;
18358 }
18359 {
18360 if (temp3)
18361 delete arg3;
18362 }
18363 {
18364 if (temp4)
18365 delete arg4;
18366 }
18367 return NULL;
d55e5bfc
RD
18368}
18369
18370
554f62e9
RD
18371SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18372 PyObject *obj;
18373 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18374 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18375 return SWIG_Py_Void();
d55e5bfc
RD
18376}
18377
554f62e9
RD
18378SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18379 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18380}
18381
554f62e9
RD
18382SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18383 PyObject *resultobj = 0;
18384 wxFontData *result = 0 ;
18385
18386 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = (wxFontData *)new wxFontData();
18390 wxPyEndAllowThreads(__tstate);
18391 if (PyErr_Occurred()) SWIG_fail;
18392 }
18393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18394 return resultobj;
18395fail:
18396 return NULL;
d55e5bfc
RD
18397}
18398
18399
554f62e9
RD
18400SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18401 PyObject *resultobj = 0;
18402 wxFontData *arg1 = (wxFontData *) 0 ;
18403 void *argp1 = 0 ;
18404 int res1 = 0 ;
18405 PyObject *swig_obj[1] ;
18406
18407 if (!args) SWIG_fail;
18408 swig_obj[0] = args;
18409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18410 if (!SWIG_IsOK(res1)) {
18411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18412 }
18413 arg1 = reinterpret_cast< wxFontData * >(argp1);
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 delete arg1;
d55e5bfc 18417
554f62e9
RD
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = SWIG_Py_Void();
18422 return resultobj;
18423fail:
18424 return NULL;
18425}
18426
18427
18428SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj = 0;
18430 wxFontData *arg1 = (wxFontData *) 0 ;
18431 bool arg2 ;
18432 void *argp1 = 0 ;
18433 int res1 = 0 ;
18434 bool val2 ;
18435 int ecode2 = 0 ;
18436 PyObject * obj0 = 0 ;
18437 PyObject * obj1 = 0 ;
18438 char * kwnames[] = {
18439 (char *) "self",(char *) "enable", NULL
18440 };
18441
18442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18444 if (!SWIG_IsOK(res1)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18446 }
18447 arg1 = reinterpret_cast< wxFontData * >(argp1);
18448 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18449 if (!SWIG_IsOK(ecode2)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18451 }
18452 arg2 = static_cast< bool >(val2);
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 (arg1)->EnableEffects(arg2);
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 resultobj = SWIG_Py_Void();
18460 return resultobj;
18461fail:
18462 return NULL;
d55e5bfc
RD
18463}
18464
18465
554f62e9
RD
18466SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18467 PyObject *resultobj = 0;
18468 wxFontData *arg1 = (wxFontData *) 0 ;
18469 bool result;
18470 void *argp1 = 0 ;
18471 int res1 = 0 ;
18472 PyObject *swig_obj[1] ;
18473
18474 if (!args) SWIG_fail;
18475 swig_obj[0] = args;
18476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18477 if (!SWIG_IsOK(res1)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18479 }
18480 arg1 = reinterpret_cast< wxFontData * >(argp1);
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = (bool)(arg1)->GetAllowSymbols();
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18489 }
18490 return resultobj;
18491fail:
18492 return NULL;
d55e5bfc
RD
18493}
18494
18495
554f62e9
RD
18496SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18497 PyObject *resultobj = 0;
18498 wxFontData *arg1 = (wxFontData *) 0 ;
18499 wxColour result;
18500 void *argp1 = 0 ;
18501 int res1 = 0 ;
18502 PyObject *swig_obj[1] ;
18503
18504 if (!args) SWIG_fail;
18505 swig_obj[0] = args;
18506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18507 if (!SWIG_IsOK(res1)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18509 }
18510 arg1 = reinterpret_cast< wxFontData * >(argp1);
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (arg1)->GetColour();
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18518 return resultobj;
18519fail:
18520 return NULL;
70b7a5fe
RD
18521}
18522
18523
554f62e9
RD
18524SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18525 PyObject *resultobj = 0;
18526 wxFontData *arg1 = (wxFontData *) 0 ;
18527 wxFont result;
18528 void *argp1 = 0 ;
18529 int res1 = 0 ;
18530 PyObject *swig_obj[1] ;
18531
18532 if (!args) SWIG_fail;
18533 swig_obj[0] = args;
18534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18535 if (!SWIG_IsOK(res1)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18537 }
18538 arg1 = reinterpret_cast< wxFontData * >(argp1);
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 result = (arg1)->GetChosenFont();
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18546 return resultobj;
18547fail:
18548 return NULL;
70b7a5fe
RD
18549}
18550
18551
554f62e9
RD
18552SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18553 PyObject *resultobj = 0;
18554 wxFontData *arg1 = (wxFontData *) 0 ;
18555 bool result;
18556 void *argp1 = 0 ;
18557 int res1 = 0 ;
18558 PyObject *swig_obj[1] ;
18559
18560 if (!args) SWIG_fail;
18561 swig_obj[0] = args;
18562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18563 if (!SWIG_IsOK(res1)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18565 }
18566 arg1 = reinterpret_cast< wxFontData * >(argp1);
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 result = (bool)(arg1)->GetEnableEffects();
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 {
18574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18575 }
18576 return resultobj;
18577fail:
18578 return NULL;
d55e5bfc
RD
18579}
18580
18581
554f62e9
RD
18582SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18583 PyObject *resultobj = 0;
18584 wxFontData *arg1 = (wxFontData *) 0 ;
18585 wxFont result;
18586 void *argp1 = 0 ;
18587 int res1 = 0 ;
18588 PyObject *swig_obj[1] ;
18589
18590 if (!args) SWIG_fail;
18591 swig_obj[0] = args;
18592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18593 if (!SWIG_IsOK(res1)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18595 }
18596 arg1 = reinterpret_cast< wxFontData * >(argp1);
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (arg1)->GetInitialFont();
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18604 return resultobj;
18605fail:
18606 return NULL;
d55e5bfc
RD
18607}
18608
18609
554f62e9
RD
18610SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18611 PyObject *resultobj = 0;
18612 wxFontData *arg1 = (wxFontData *) 0 ;
18613 bool result;
18614 void *argp1 = 0 ;
18615 int res1 = 0 ;
18616 PyObject *swig_obj[1] ;
18617
18618 if (!args) SWIG_fail;
18619 swig_obj[0] = args;
18620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18621 if (!SWIG_IsOK(res1)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18623 }
18624 arg1 = reinterpret_cast< wxFontData * >(argp1);
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 result = (bool)(arg1)->GetShowHelp();
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 {
18632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18633 }
18634 return resultobj;
18635fail:
18636 return NULL;
18637}
18638
18639
18640SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj = 0;
18642 wxFontData *arg1 = (wxFontData *) 0 ;
18643 bool arg2 ;
18644 void *argp1 = 0 ;
18645 int res1 = 0 ;
18646 bool val2 ;
18647 int ecode2 = 0 ;
18648 PyObject * obj0 = 0 ;
18649 PyObject * obj1 = 0 ;
18650 char * kwnames[] = {
18651 (char *) "self",(char *) "allowSymbols", NULL
18652 };
18653
18654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18656 if (!SWIG_IsOK(res1)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18658 }
18659 arg1 = reinterpret_cast< wxFontData * >(argp1);
18660 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18661 if (!SWIG_IsOK(ecode2)) {
18662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18663 }
18664 arg2 = static_cast< bool >(val2);
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 (arg1)->SetAllowSymbols(arg2);
18668 wxPyEndAllowThreads(__tstate);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 resultobj = SWIG_Py_Void();
18672 return resultobj;
18673fail:
18674 return NULL;
18675}
18676
18677
18678SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18679 PyObject *resultobj = 0;
18680 wxFontData *arg1 = (wxFontData *) 0 ;
18681 wxFont *arg2 = 0 ;
18682 void *argp1 = 0 ;
18683 int res1 = 0 ;
18684 void *argp2 = 0 ;
18685 int res2 = 0 ;
18686 PyObject * obj0 = 0 ;
18687 PyObject * obj1 = 0 ;
18688 char * kwnames[] = {
18689 (char *) "self",(char *) "font", NULL
18690 };
18691
18692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18694 if (!SWIG_IsOK(res1)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18696 }
18697 arg1 = reinterpret_cast< wxFontData * >(argp1);
18698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18699 if (!SWIG_IsOK(res2)) {
18700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18701 }
18702 if (!argp2) {
18703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18704 }
18705 arg2 = reinterpret_cast< wxFont * >(argp2);
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 (arg1)->SetChosenFont((wxFont const &)*arg2);
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 resultobj = SWIG_Py_Void();
18713 return resultobj;
18714fail:
18715 return NULL;
18716}
18717
18718
18719SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj = 0;
18721 wxFontData *arg1 = (wxFontData *) 0 ;
18722 wxColour *arg2 = 0 ;
18723 void *argp1 = 0 ;
18724 int res1 = 0 ;
18725 wxColour temp2 ;
18726 PyObject * obj0 = 0 ;
18727 PyObject * obj1 = 0 ;
18728 char * kwnames[] = {
18729 (char *) "self",(char *) "colour", NULL
18730 };
18731
18732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18734 if (!SWIG_IsOK(res1)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 }
18737 arg1 = reinterpret_cast< wxFontData * >(argp1);
18738 {
18739 arg2 = &temp2;
18740 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18741 }
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 (arg1)->SetColour((wxColour const &)*arg2);
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 resultobj = SWIG_Py_Void();
18749 return resultobj;
18750fail:
18751 return NULL;
18752}
18753
18754
18755SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj = 0;
18757 wxFontData *arg1 = (wxFontData *) 0 ;
18758 wxFont *arg2 = 0 ;
18759 void *argp1 = 0 ;
18760 int res1 = 0 ;
18761 void *argp2 = 0 ;
18762 int res2 = 0 ;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765 char * kwnames[] = {
18766 (char *) "self",(char *) "font", NULL
18767 };
18768
18769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18771 if (!SWIG_IsOK(res1)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18773 }
18774 arg1 = reinterpret_cast< wxFontData * >(argp1);
18775 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18776 if (!SWIG_IsOK(res2)) {
18777 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18778 }
18779 if (!argp2) {
18780 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18781 }
18782 arg2 = reinterpret_cast< wxFont * >(argp2);
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 (arg1)->SetInitialFont((wxFont const &)*arg2);
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 resultobj = SWIG_Py_Void();
18790 return resultobj;
18791fail:
18792 return NULL;
18793}
18794
18795
18796SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj = 0;
18798 wxFontData *arg1 = (wxFontData *) 0 ;
18799 int arg2 ;
18800 int arg3 ;
18801 void *argp1 = 0 ;
18802 int res1 = 0 ;
18803 int val2 ;
18804 int ecode2 = 0 ;
18805 int val3 ;
18806 int ecode3 = 0 ;
18807 PyObject * obj0 = 0 ;
18808 PyObject * obj1 = 0 ;
18809 PyObject * obj2 = 0 ;
18810 char * kwnames[] = {
18811 (char *) "self",(char *) "min",(char *) "max", NULL
18812 };
18813
18814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18816 if (!SWIG_IsOK(res1)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18818 }
18819 arg1 = reinterpret_cast< wxFontData * >(argp1);
18820 ecode2 = SWIG_AsVal_int(obj1, &val2);
18821 if (!SWIG_IsOK(ecode2)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18823 }
18824 arg2 = static_cast< int >(val2);
18825 ecode3 = SWIG_AsVal_int(obj2, &val3);
18826 if (!SWIG_IsOK(ecode3)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18828 }
18829 arg3 = static_cast< int >(val3);
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 (arg1)->SetRange(arg2,arg3);
18833 wxPyEndAllowThreads(__tstate);
18834 if (PyErr_Occurred()) SWIG_fail;
18835 }
18836 resultobj = SWIG_Py_Void();
18837 return resultobj;
18838fail:
18839 return NULL;
18840}
18841
18842
18843SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj = 0;
18845 wxFontData *arg1 = (wxFontData *) 0 ;
18846 bool arg2 ;
18847 void *argp1 = 0 ;
18848 int res1 = 0 ;
18849 bool val2 ;
18850 int ecode2 = 0 ;
18851 PyObject * obj0 = 0 ;
18852 PyObject * obj1 = 0 ;
18853 char * kwnames[] = {
18854 (char *) "self",(char *) "showHelp", NULL
18855 };
18856
18857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18859 if (!SWIG_IsOK(res1)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18861 }
18862 arg1 = reinterpret_cast< wxFontData * >(argp1);
18863 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18864 if (!SWIG_IsOK(ecode2)) {
18865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18866 }
18867 arg2 = static_cast< bool >(val2);
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 (arg1)->SetShowHelp(arg2);
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 resultobj = SWIG_Py_Void();
18875 return resultobj;
18876fail:
18877 return NULL;
d55e5bfc
RD
18878}
18879
18880
554f62e9
RD
18881SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18882 PyObject *obj;
18883 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18884 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18885 return SWIG_Py_Void();
d55e5bfc
RD
18886}
18887
554f62e9
RD
18888SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18889 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18890}
18891
554f62e9
RD
18892SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18893 PyObject *resultobj = 0;
18894 wxWindow *arg1 = (wxWindow *) 0 ;
18895 wxFontData *arg2 = 0 ;
18896 wxFontDialog *result = 0 ;
18897 void *argp1 = 0 ;
18898 int res1 = 0 ;
18899 void *argp2 = 0 ;
18900 int res2 = 0 ;
18901 PyObject * obj0 = 0 ;
18902 PyObject * obj1 = 0 ;
18903 char * kwnames[] = {
18904 (char *) "parent",(char *) "data", NULL
18905 };
18906
18907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18909 if (!SWIG_IsOK(res1)) {
18910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18911 }
18912 arg1 = reinterpret_cast< wxWindow * >(argp1);
18913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18914 if (!SWIG_IsOK(res2)) {
18915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18916 }
18917 if (!argp2) {
18918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18919 }
18920 arg2 = reinterpret_cast< wxFontData * >(argp2);
18921 {
18922 if (!wxPyCheckForApp()) SWIG_fail;
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18929 return resultobj;
18930fail:
18931 return NULL;
d55e5bfc
RD
18932}
18933
18934
554f62e9
RD
18935SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18936 PyObject *resultobj = 0;
18937 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18938 wxFontData *result = 0 ;
18939 void *argp1 = 0 ;
18940 int res1 = 0 ;
18941 PyObject *swig_obj[1] ;
18942
18943 if (!args) SWIG_fail;
18944 swig_obj[0] = args;
18945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18946 if (!SWIG_IsOK(res1)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18948 }
18949 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 18952 {
554f62e9
RD
18953 wxFontData &_result_ref = (arg1)->GetFontData();
18954 result = (wxFontData *) &_result_ref;
d55e5bfc 18955 }
554f62e9
RD
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18960 return resultobj;
18961fail:
18962 return NULL;
18963}
18964
18965
18966SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *obj;
18968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18969 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18970 return SWIG_Py_Void();
18971}
18972
18973SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18974 return SWIG_Python_InitShadowInstance(args);
18975}
18976
18977SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj = 0;
18979 wxWindow *arg1 = (wxWindow *) NULL ;
18980 wxFont const &arg2_defvalue = wxNullFont ;
18981 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18982 wxString const &arg3_defvalue = wxPyEmptyString ;
18983 wxString *arg3 = (wxString *) &arg3_defvalue ;
18984 wxFont result;
18985 void *argp1 = 0 ;
18986 int res1 = 0 ;
18987 void *argp2 = 0 ;
18988 int res2 = 0 ;
18989 bool temp3 = false ;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 PyObject * obj2 = 0 ;
18993 char * kwnames[] = {
18994 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18995 };
18996
18997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18998 if (obj0) {
18999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19000 if (!SWIG_IsOK(res1)) {
19001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 19002 }
554f62e9
RD
19003 arg1 = reinterpret_cast< wxWindow * >(argp1);
19004 }
19005 if (obj1) {
19006 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19007 if (!SWIG_IsOK(res2)) {
19008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
093d3ff1 19009 }
554f62e9
RD
19010 if (!argp2) {
19011 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19012 }
554f62e9
RD
19013 arg2 = reinterpret_cast< wxFont * >(argp2);
19014 }
19015 if (obj2) {
d55e5bfc 19016 {
554f62e9
RD
19017 arg3 = wxString_in_helper(obj2);
19018 if (arg3 == NULL) SWIG_fail;
19019 temp3 = true;
d55e5bfc 19020 }
554f62e9
RD
19021 }
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19029 {
19030 if (temp3)
19031 delete arg3;
19032 }
19033 return resultobj;
19034fail:
19035 {
19036 if (temp3)
19037 delete arg3;
19038 }
19039 return NULL;
19040}
19041
19042
19043SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj = 0;
19045 wxWindow *arg1 = (wxWindow *) 0 ;
19046 wxString *arg2 = 0 ;
19047 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19048 wxString *arg3 = (wxString *) &arg3_defvalue ;
19049 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19050 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19051 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19052 wxMessageDialog *result = 0 ;
19053 void *argp1 = 0 ;
19054 int res1 = 0 ;
19055 bool temp2 = false ;
19056 bool temp3 = false ;
19057 long val4 ;
19058 int ecode4 = 0 ;
19059 wxPoint temp5 ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 PyObject * obj2 = 0 ;
19063 PyObject * obj3 = 0 ;
19064 PyObject * obj4 = 0 ;
19065 char * kwnames[] = {
19066 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19067 };
19068
19069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19071 if (!SWIG_IsOK(res1)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19073 }
19074 arg1 = reinterpret_cast< wxWindow * >(argp1);
19075 {
19076 arg2 = wxString_in_helper(obj1);
19077 if (arg2 == NULL) SWIG_fail;
19078 temp2 = true;
19079 }
19080 if (obj2) {
093d3ff1 19081 {
554f62e9
RD
19082 arg3 = wxString_in_helper(obj2);
19083 if (arg3 == NULL) SWIG_fail;
19084 temp3 = true;
093d3ff1 19085 }
554f62e9
RD
19086 }
19087 if (obj3) {
19088 ecode4 = SWIG_AsVal_long(obj3, &val4);
19089 if (!SWIG_IsOK(ecode4)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19091 }
19092 arg4 = static_cast< long >(val4);
19093 }
19094 if (obj4) {
d55e5bfc 19095 {
554f62e9
RD
19096 arg5 = &temp5;
19097 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19098 }
19099 }
19100 {
19101 if (!wxPyCheckForApp()) SWIG_fail;
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19108 {
19109 if (temp2)
19110 delete arg2;
19111 }
19112 {
19113 if (temp3)
19114 delete arg3;
19115 }
19116 return resultobj;
19117fail:
19118 {
19119 if (temp2)
19120 delete arg2;
19121 }
19122 {
19123 if (temp3)
19124 delete arg3;
19125 }
19126 return NULL;
19127}
19128
19129
19130SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19131 PyObject *obj;
19132 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19133 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19134 return SWIG_Py_Void();
19135}
19136
19137SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19138 return SWIG_Python_InitShadowInstance(args);
19139}
19140
19141SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj = 0;
19143 wxString *arg1 = 0 ;
19144 wxString *arg2 = 0 ;
19145 int arg3 = (int) 100 ;
19146 wxWindow *arg4 = (wxWindow *) NULL ;
19147 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19148 wxProgressDialog *result = 0 ;
19149 bool temp1 = false ;
19150 bool temp2 = false ;
19151 int val3 ;
19152 int ecode3 = 0 ;
19153 void *argp4 = 0 ;
19154 int res4 = 0 ;
19155 int val5 ;
19156 int ecode5 = 0 ;
19157 PyObject * obj0 = 0 ;
19158 PyObject * obj1 = 0 ;
19159 PyObject * obj2 = 0 ;
19160 PyObject * obj3 = 0 ;
19161 PyObject * obj4 = 0 ;
19162 char * kwnames[] = {
19163 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19164 };
19165
19166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19167 {
19168 arg1 = wxString_in_helper(obj0);
19169 if (arg1 == NULL) SWIG_fail;
19170 temp1 = true;
19171 }
19172 {
19173 arg2 = wxString_in_helper(obj1);
19174 if (arg2 == NULL) SWIG_fail;
19175 temp2 = true;
19176 }
19177 if (obj2) {
19178 ecode3 = SWIG_AsVal_int(obj2, &val3);
19179 if (!SWIG_IsOK(ecode3)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19181 }
19182 arg3 = static_cast< int >(val3);
19183 }
19184 if (obj3) {
19185 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19186 if (!SWIG_IsOK(res4)) {
19187 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19188 }
554f62e9
RD
19189 arg4 = reinterpret_cast< wxWindow * >(argp4);
19190 }
19191 if (obj4) {
19192 ecode5 = SWIG_AsVal_int(obj4, &val5);
19193 if (!SWIG_IsOK(ecode5)) {
19194 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19195 }
19196 arg5 = static_cast< int >(val5);
19197 }
19198 {
19199 if (!wxPyCheckForApp()) SWIG_fail;
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19206 {
19207 if (temp1)
19208 delete arg1;
19209 }
19210 {
19211 if (temp2)
19212 delete arg2;
19213 }
19214 return resultobj;
19215fail:
19216 {
19217 if (temp1)
19218 delete arg1;
19219 }
19220 {
19221 if (temp2)
19222 delete arg2;
19223 }
19224 return NULL;
19225}
19226
19227
19228SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj = 0;
19230 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19231 int arg2 ;
19232 wxString const &arg3_defvalue = wxPyEmptyString ;
19233 wxString *arg3 = (wxString *) &arg3_defvalue ;
f460c29d 19234 bool *arg4 = (bool *) 0 ;
554f62e9
RD
19235 bool result;
19236 void *argp1 = 0 ;
19237 int res1 = 0 ;
19238 int val2 ;
19239 int ecode2 = 0 ;
19240 bool temp3 = false ;
f460c29d
RD
19241 bool temp4 ;
19242 int res4 = SWIG_TMPOBJ ;
554f62e9
RD
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 PyObject * obj2 = 0 ;
19246 char * kwnames[] = {
19247 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19248 };
19249
f460c29d 19250 arg4 = &temp4;
554f62e9
RD
19251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19253 if (!SWIG_IsOK(res1)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19255 }
19256 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19257 ecode2 = SWIG_AsVal_int(obj1, &val2);
19258 if (!SWIG_IsOK(ecode2)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19260 }
19261 arg2 = static_cast< int >(val2);
19262 if (obj2) {
d55e5bfc 19263 {
554f62e9
RD
19264 arg3 = wxString_in_helper(obj2);
19265 if (arg3 == NULL) SWIG_fail;
19266 temp3 = true;
d55e5bfc 19267 }
554f62e9
RD
19268 }
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
f460c29d 19271 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
554f62e9
RD
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
19276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19277 }
f460c29d
RD
19278 if (SWIG_IsTmpObj(res4)) {
19279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19280 } else {
19281 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19283 }
554f62e9
RD
19284 {
19285 if (temp3)
19286 delete arg3;
19287 }
19288 return resultobj;
19289fail:
19290 {
19291 if (temp3)
19292 delete arg3;
19293 }
19294 return NULL;
d55e5bfc
RD
19295}
19296
19297
554f62e9
RD
19298SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19299 PyObject *resultobj = 0;
19300 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19301 void *argp1 = 0 ;
19302 int res1 = 0 ;
19303 PyObject *swig_obj[1] ;
19304
19305 if (!args) SWIG_fail;
19306 swig_obj[0] = args;
19307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19308 if (!SWIG_IsOK(res1)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19310 }
19311 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 (arg1)->Resume();
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 resultobj = SWIG_Py_Void();
19319 return resultobj;
19320fail:
19321 return NULL;
d55e5bfc
RD
19322}
19323
19324
554f62e9
RD
19325SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19326 PyObject *obj;
19327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19328 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19329 return SWIG_Py_Void();
d55e5bfc
RD
19330}
19331
554f62e9
RD
19332SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19333 return SWIG_Python_InitShadowInstance(args);
19334}
d55e5bfc 19335
554f62e9
RD
19336SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj = 0;
19338 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19339 int arg2 = (int) 0 ;
19340 wxFindDialogEvent *result = 0 ;
19341 int val1 ;
19342 int ecode1 = 0 ;
19343 int val2 ;
19344 int ecode2 = 0 ;
19345 PyObject * obj0 = 0 ;
19346 PyObject * obj1 = 0 ;
19347 char * kwnames[] = {
19348 (char *) "commandType",(char *) "id", NULL
19349 };
19350
19351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19352 if (obj0) {
19353 ecode1 = SWIG_AsVal_int(obj0, &val1);
19354 if (!SWIG_IsOK(ecode1)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19356 }
19357 arg1 = static_cast< wxEventType >(val1);
19358 }
19359 if (obj1) {
19360 ecode2 = SWIG_AsVal_int(obj1, &val2);
19361 if (!SWIG_IsOK(ecode2)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19363 }
19364 arg2 = static_cast< int >(val2);
19365 }
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19373 return resultobj;
19374fail:
19375 return NULL;
d55e5bfc
RD
19376}
19377
19378
554f62e9
RD
19379SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19380 PyObject *resultobj = 0;
19381 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19382 int result;
19383 void *argp1 = 0 ;
19384 int res1 = 0 ;
19385 PyObject *swig_obj[1] ;
19386
19387 if (!args) SWIG_fail;
19388 swig_obj[0] = args;
19389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19390 if (!SWIG_IsOK(res1)) {
19391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19392 }
19393 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (int)(arg1)->GetFlags();
19397 wxPyEndAllowThreads(__tstate);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 }
19400 resultobj = SWIG_From_int(static_cast< int >(result));
19401 return resultobj;
19402fail:
19403 return NULL;
d55e5bfc
RD
19404}
19405
19406
554f62e9
RD
19407SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19408 PyObject *resultobj = 0;
19409 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19410 wxString *result = 0 ;
19411 void *argp1 = 0 ;
19412 int res1 = 0 ;
19413 PyObject *swig_obj[1] ;
19414
19415 if (!args) SWIG_fail;
19416 swig_obj[0] = args;
19417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19418 if (!SWIG_IsOK(res1)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19420 }
19421 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19424 {
554f62e9
RD
19425 wxString const &_result_ref = (arg1)->GetFindString();
19426 result = (wxString *) &_result_ref;
d55e5bfc 19427 }
554f62e9
RD
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 {
19432#if wxUSE_UNICODE
19433 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19434#else
19435 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19436#endif
19437 }
19438 return resultobj;
19439fail:
19440 return NULL;
d55e5bfc
RD
19441}
19442
19443
554f62e9
RD
19444SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19445 PyObject *resultobj = 0;
19446 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19447 wxString *result = 0 ;
19448 void *argp1 = 0 ;
19449 int res1 = 0 ;
19450 PyObject *swig_obj[1] ;
19451
19452 if (!args) SWIG_fail;
19453 swig_obj[0] = args;
19454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19455 if (!SWIG_IsOK(res1)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19457 }
19458 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19461 {
554f62e9
RD
19462 wxString const &_result_ref = (arg1)->GetReplaceString();
19463 result = (wxString *) &_result_ref;
093d3ff1 19464 }
554f62e9
RD
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 {
19469#if wxUSE_UNICODE
19470 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19471#else
19472 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19473#endif
19474 }
19475 return resultobj;
19476fail:
19477 return NULL;
d55e5bfc
RD
19478}
19479
19480
554f62e9
RD
19481SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19482 PyObject *resultobj = 0;
19483 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19484 wxFindReplaceDialog *result = 0 ;
19485 void *argp1 = 0 ;
19486 int res1 = 0 ;
19487 PyObject *swig_obj[1] ;
19488
19489 if (!args) SWIG_fail;
19490 swig_obj[0] = args;
19491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19492 if (!SWIG_IsOK(res1)) {
19493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19494 }
19495 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19503 return resultobj;
19504fail:
19505 return NULL;
19506}
19507
19508
19509SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj = 0;
19511 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19512 int arg2 ;
19513 void *argp1 = 0 ;
19514 int res1 = 0 ;
19515 int val2 ;
19516 int ecode2 = 0 ;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 char * kwnames[] = {
19520 (char *) "self",(char *) "flags", NULL
19521 };
19522
19523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19525 if (!SWIG_IsOK(res1)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19527 }
19528 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19529 ecode2 = SWIG_AsVal_int(obj1, &val2);
19530 if (!SWIG_IsOK(ecode2)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19532 }
19533 arg2 = static_cast< int >(val2);
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 (arg1)->SetFlags(arg2);
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 resultobj = SWIG_Py_Void();
19541 return resultobj;
19542fail:
19543 return NULL;
19544}
19545
19546
19547SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj = 0;
19549 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19550 wxString *arg2 = 0 ;
19551 void *argp1 = 0 ;
19552 int res1 = 0 ;
19553 bool temp2 = false ;
19554 PyObject * obj0 = 0 ;
19555 PyObject * obj1 = 0 ;
19556 char * kwnames[] = {
19557 (char *) "self",(char *) "str", NULL
19558 };
19559
19560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19562 if (!SWIG_IsOK(res1)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19564 }
19565 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19566 {
19567 arg2 = wxString_in_helper(obj1);
19568 if (arg2 == NULL) SWIG_fail;
19569 temp2 = true;
19570 }
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 (arg1)->SetFindString((wxString const &)*arg2);
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 resultobj = SWIG_Py_Void();
19578 {
19579 if (temp2)
19580 delete arg2;
19581 }
19582 return resultobj;
19583fail:
19584 {
19585 if (temp2)
19586 delete arg2;
19587 }
19588 return NULL;
d55e5bfc
RD
19589}
19590
19591
554f62e9
RD
19592SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj = 0;
19594 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19595 wxString *arg2 = 0 ;
19596 void *argp1 = 0 ;
19597 int res1 = 0 ;
19598 bool temp2 = false ;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 char * kwnames[] = {
19602 (char *) "self",(char *) "str", NULL
19603 };
19604
19605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19607 if (!SWIG_IsOK(res1)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19609 }
19610 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19611 {
19612 arg2 = wxString_in_helper(obj1);
19613 if (arg2 == NULL) SWIG_fail;
19614 temp2 = true;
19615 }
19616 {
19617 PyThreadState* __tstate = wxPyBeginAllowThreads();
19618 (arg1)->SetReplaceString((wxString const &)*arg2);
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = SWIG_Py_Void();
19623 {
19624 if (temp2)
19625 delete arg2;
19626 }
19627 return resultobj;
19628fail:
19629 {
19630 if (temp2)
19631 delete arg2;
19632 }
19633 return NULL;
d55e5bfc
RD
19634}
19635
19636
554f62e9
RD
19637SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19638 PyObject *obj;
19639 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19640 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19641 return SWIG_Py_Void();
d55e5bfc
RD
19642}
19643
554f62e9
RD
19644SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19645 return SWIG_Python_InitShadowInstance(args);
19646}
d55e5bfc 19647
554f62e9
RD
19648SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj = 0;
19650 int arg1 = (int) 0 ;
19651 wxFindReplaceData *result = 0 ;
19652 int val1 ;
19653 int ecode1 = 0 ;
19654 PyObject * obj0 = 0 ;
19655 char * kwnames[] = {
19656 (char *) "flags", NULL
19657 };
19658
19659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19660 if (obj0) {
19661 ecode1 = SWIG_AsVal_int(obj0, &val1);
19662 if (!SWIG_IsOK(ecode1)) {
19663 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19664 }
19665 arg1 = static_cast< int >(val1);
19666 }
19667 {
19668 PyThreadState* __tstate = wxPyBeginAllowThreads();
19669 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19674 return resultobj;
19675fail:
19676 return NULL;
d55e5bfc
RD
19677}
19678
19679
554f62e9
RD
19680SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19681 PyObject *resultobj = 0;
19682 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19683 void *argp1 = 0 ;
19684 int res1 = 0 ;
19685 PyObject *swig_obj[1] ;
19686
19687 if (!args) SWIG_fail;
19688 swig_obj[0] = args;
19689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19690 if (!SWIG_IsOK(res1)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19692 }
19693 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 delete arg1;
d55e5bfc 19697
554f62e9
RD
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 resultobj = SWIG_Py_Void();
19702 return resultobj;
19703fail:
19704 return NULL;
d55e5bfc
RD
19705}
19706
19707
554f62e9
RD
19708SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19709 PyObject *resultobj = 0;
19710 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19711 wxString *result = 0 ;
19712 void *argp1 = 0 ;
19713 int res1 = 0 ;
19714 PyObject *swig_obj[1] ;
19715
19716 if (!args) SWIG_fail;
19717 swig_obj[0] = args;
19718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19719 if (!SWIG_IsOK(res1)) {
19720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19721 }
19722 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19723 {
19724 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19725 {
554f62e9
RD
19726 wxString const &_result_ref = (arg1)->GetFindString();
19727 result = (wxString *) &_result_ref;
d55e5bfc 19728 }
554f62e9
RD
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 {
19733#if wxUSE_UNICODE
19734 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19735#else
19736 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19737#endif
19738 }
19739 return resultobj;
19740fail:
19741 return NULL;
d55e5bfc
RD
19742}
19743
19744
554f62e9
RD
19745SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19746 PyObject *resultobj = 0;
19747 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19748 wxString *result = 0 ;
19749 void *argp1 = 0 ;
19750 int res1 = 0 ;
19751 PyObject *swig_obj[1] ;
19752
19753 if (!args) SWIG_fail;
19754 swig_obj[0] = args;
19755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19756 if (!SWIG_IsOK(res1)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19758 }
19759 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19762 {
554f62e9
RD
19763 wxString const &_result_ref = (arg1)->GetReplaceString();
19764 result = (wxString *) &_result_ref;
d55e5bfc 19765 }
554f62e9
RD
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 {
19770#if wxUSE_UNICODE
19771 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19772#else
19773 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19774#endif
19775 }
19776 return resultobj;
19777fail:
19778 return NULL;
d55e5bfc
RD
19779}
19780
19781
554f62e9
RD
19782SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19783 PyObject *resultobj = 0;
19784 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19785 int result;
19786 void *argp1 = 0 ;
19787 int res1 = 0 ;
19788 PyObject *swig_obj[1] ;
19789
19790 if (!args) SWIG_fail;
19791 swig_obj[0] = args;
19792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19793 if (!SWIG_IsOK(res1)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19795 }
19796 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 result = (int)(arg1)->GetFlags();
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 resultobj = SWIG_From_int(static_cast< int >(result));
19804 return resultobj;
19805fail:
19806 return NULL;
19807}
19808
19809
19810SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj = 0;
19812 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19813 int arg2 ;
19814 void *argp1 = 0 ;
19815 int res1 = 0 ;
19816 int val2 ;
19817 int ecode2 = 0 ;
19818 PyObject * obj0 = 0 ;
19819 PyObject * obj1 = 0 ;
19820 char * kwnames[] = {
19821 (char *) "self",(char *) "flags", NULL
19822 };
19823
19824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19826 if (!SWIG_IsOK(res1)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19828 }
19829 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19830 ecode2 = SWIG_AsVal_int(obj1, &val2);
19831 if (!SWIG_IsOK(ecode2)) {
19832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19833 }
19834 arg2 = static_cast< int >(val2);
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 (arg1)->SetFlags(arg2);
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = SWIG_Py_Void();
19842 return resultobj;
19843fail:
19844 return NULL;
19845}
19846
19847
19848SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj = 0;
19850 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19851 wxString *arg2 = 0 ;
19852 void *argp1 = 0 ;
19853 int res1 = 0 ;
19854 bool temp2 = false ;
19855 PyObject * obj0 = 0 ;
19856 PyObject * obj1 = 0 ;
19857 char * kwnames[] = {
19858 (char *) "self",(char *) "str", NULL
19859 };
19860
19861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19863 if (!SWIG_IsOK(res1)) {
19864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19865 }
19866 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19867 {
19868 arg2 = wxString_in_helper(obj1);
19869 if (arg2 == NULL) SWIG_fail;
19870 temp2 = true;
19871 }
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 (arg1)->SetFindString((wxString const &)*arg2);
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 resultobj = SWIG_Py_Void();
19879 {
19880 if (temp2)
19881 delete arg2;
19882 }
19883 return resultobj;
19884fail:
19885 {
19886 if (temp2)
19887 delete arg2;
19888 }
19889 return NULL;
d55e5bfc
RD
19890}
19891
19892
554f62e9
RD
19893SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj = 0;
19895 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19896 wxString *arg2 = 0 ;
19897 void *argp1 = 0 ;
19898 int res1 = 0 ;
19899 bool temp2 = false ;
19900 PyObject * obj0 = 0 ;
19901 PyObject * obj1 = 0 ;
19902 char * kwnames[] = {
19903 (char *) "self",(char *) "str", NULL
19904 };
19905
19906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19908 if (!SWIG_IsOK(res1)) {
19909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19910 }
19911 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19912 {
19913 arg2 = wxString_in_helper(obj1);
19914 if (arg2 == NULL) SWIG_fail;
19915 temp2 = true;
19916 }
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 (arg1)->SetReplaceString((wxString const &)*arg2);
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 resultobj = SWIG_Py_Void();
19924 {
19925 if (temp2)
19926 delete arg2;
19927 }
19928 return resultobj;
19929fail:
19930 {
19931 if (temp2)
19932 delete arg2;
19933 }
19934 return NULL;
19935}
19936
19937
19938SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19939 PyObject *obj;
19940 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19941 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19942 return SWIG_Py_Void();
19943}
19944
19945SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19946 return SWIG_Python_InitShadowInstance(args);
19947}
19948
19949SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj = 0;
19951 wxWindow *arg1 = (wxWindow *) 0 ;
19952 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19953 wxString *arg3 = 0 ;
19954 int arg4 = (int) 0 ;
19955 wxFindReplaceDialog *result = 0 ;
19956 void *argp1 = 0 ;
19957 int res1 = 0 ;
19958 void *argp2 = 0 ;
19959 int res2 = 0 ;
19960 bool temp3 = false ;
19961 int val4 ;
19962 int ecode4 = 0 ;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 PyObject * obj2 = 0 ;
19966 PyObject * obj3 = 0 ;
19967 char * kwnames[] = {
19968 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19969 };
19970
19971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19973 if (!SWIG_IsOK(res1)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19975 }
19976 arg1 = reinterpret_cast< wxWindow * >(argp1);
19977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19978 if (!SWIG_IsOK(res2)) {
19979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19980 }
19981 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19982 {
19983 arg3 = wxString_in_helper(obj2);
19984 if (arg3 == NULL) SWIG_fail;
19985 temp3 = true;
19986 }
19987 if (obj3) {
19988 ecode4 = SWIG_AsVal_int(obj3, &val4);
19989 if (!SWIG_IsOK(ecode4)) {
19990 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19991 }
19992 arg4 = static_cast< int >(val4);
19993 }
19994 {
19995 if (!wxPyCheckForApp()) SWIG_fail;
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20002 {
20003 if (temp3)
20004 delete arg3;
20005 }
20006 return resultobj;
20007fail:
20008 {
20009 if (temp3)
20010 delete arg3;
20011 }
20012 return NULL;
d55e5bfc
RD
20013}
20014
20015
554f62e9
RD
20016SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20017 PyObject *resultobj = 0;
20018 wxFindReplaceDialog *result = 0 ;
20019
20020 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20021 {
20022 if (!wxPyCheckForApp()) SWIG_fail;
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20029 return resultobj;
20030fail:
20031 return NULL;
20032}
20033
20034
20035SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj = 0;
20037 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20038 wxWindow *arg2 = (wxWindow *) 0 ;
20039 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20040 wxString *arg4 = 0 ;
20041 int arg5 = (int) 0 ;
20042 bool result;
20043 void *argp1 = 0 ;
20044 int res1 = 0 ;
20045 void *argp2 = 0 ;
20046 int res2 = 0 ;
20047 void *argp3 = 0 ;
20048 int res3 = 0 ;
20049 bool temp4 = false ;
20050 int val5 ;
20051 int ecode5 = 0 ;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 PyObject * obj2 = 0 ;
20055 PyObject * obj3 = 0 ;
20056 PyObject * obj4 = 0 ;
20057 char * kwnames[] = {
20058 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20059 };
20060
20061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20063 if (!SWIG_IsOK(res1)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20065 }
20066 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20067 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20068 if (!SWIG_IsOK(res2)) {
20069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20070 }
20071 arg2 = reinterpret_cast< wxWindow * >(argp2);
20072 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20073 if (!SWIG_IsOK(res3)) {
20074 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20075 }
20076 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20077 {
20078 arg4 = wxString_in_helper(obj3);
20079 if (arg4 == NULL) SWIG_fail;
20080 temp4 = true;
20081 }
20082 if (obj4) {
20083 ecode5 = SWIG_AsVal_int(obj4, &val5);
20084 if (!SWIG_IsOK(ecode5)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20086 }
20087 arg5 = static_cast< int >(val5);
20088 }
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 {
20096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20097 }
20098 {
20099 if (temp4)
20100 delete arg4;
20101 }
20102 return resultobj;
20103fail:
20104 {
20105 if (temp4)
20106 delete arg4;
20107 }
20108 return NULL;
d55e5bfc
RD
20109}
20110
20111
554f62e9
RD
20112SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20113 PyObject *resultobj = 0;
20114 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20115 wxFindReplaceData *result = 0 ;
20116 void *argp1 = 0 ;
20117 int res1 = 0 ;
20118 PyObject *swig_obj[1] ;
20119
20120 if (!args) SWIG_fail;
20121 swig_obj[0] = args;
20122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20123 if (!SWIG_IsOK(res1)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20125 }
20126 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (wxFindReplaceData *)(arg1)->GetData();
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20134 return resultobj;
20135fail:
20136 return NULL;
20137}
20138
20139
20140SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj = 0;
20142 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20143 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20144 void *argp1 = 0 ;
20145 int res1 = 0 ;
20146 void *argp2 = 0 ;
20147 int res2 = 0 ;
20148 PyObject * obj0 = 0 ;
20149 PyObject * obj1 = 0 ;
20150 char * kwnames[] = {
20151 (char *) "self",(char *) "data", NULL
20152 };
20153
20154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20156 if (!SWIG_IsOK(res1)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20158 }
20159 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20161 if (!SWIG_IsOK(res2)) {
20162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20163 }
20164 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 (arg1)->SetData(arg2);
20168 wxPyEndAllowThreads(__tstate);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 resultobj = SWIG_Py_Void();
20172 return resultobj;
20173fail:
20174 return NULL;
20175}
20176
20177
20178SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20179 PyObject *obj;
20180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20182 return SWIG_Py_Void();
20183}
20184
20185SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20186 return SWIG_Python_InitShadowInstance(args);
20187}
20188
20189SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj = 0;
20191 wxWindow *arg1 = (wxWindow *) 0 ;
20192 int arg2 = (int) (int)-1 ;
20193 wxString const &arg3_defvalue = wxPyEmptyString ;
20194 wxString *arg3 = (wxString *) &arg3_defvalue ;
20195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20197 wxSize const &arg5_defvalue = wxDefaultSize ;
20198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20199 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20200 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20201 wxString *arg7 = (wxString *) &arg7_defvalue ;
20202 wxMDIParentFrame *result = 0 ;
20203 void *argp1 = 0 ;
20204 int res1 = 0 ;
20205 int val2 ;
20206 int ecode2 = 0 ;
20207 bool temp3 = false ;
20208 wxPoint temp4 ;
20209 wxSize temp5 ;
20210 long val6 ;
20211 int ecode6 = 0 ;
20212 bool temp7 = false ;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 PyObject * obj2 = 0 ;
20216 PyObject * obj3 = 0 ;
20217 PyObject * obj4 = 0 ;
20218 PyObject * obj5 = 0 ;
20219 PyObject * obj6 = 0 ;
20220 char * kwnames[] = {
20221 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20222 };
20223
20224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20226 if (!SWIG_IsOK(res1)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20228 }
20229 arg1 = reinterpret_cast< wxWindow * >(argp1);
20230 if (obj1) {
20231 ecode2 = SWIG_AsVal_int(obj1, &val2);
20232 if (!SWIG_IsOK(ecode2)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20234 }
20235 arg2 = static_cast< int >(val2);
20236 }
20237 if (obj2) {
d55e5bfc 20238 {
554f62e9
RD
20239 arg3 = wxString_in_helper(obj2);
20240 if (arg3 == NULL) SWIG_fail;
20241 temp3 = true;
d55e5bfc 20242 }
554f62e9
RD
20243 }
20244 if (obj3) {
d55e5bfc 20245 {
554f62e9
RD
20246 arg4 = &temp4;
20247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20248 }
554f62e9
RD
20249 }
20250 if (obj4) {
d55e5bfc 20251 {
554f62e9
RD
20252 arg5 = &temp5;
20253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20254 }
20255 }
20256 if (obj5) {
20257 ecode6 = SWIG_AsVal_long(obj5, &val6);
20258 if (!SWIG_IsOK(ecode6)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20260 }
20261 arg6 = static_cast< long >(val6);
20262 }
20263 if (obj6) {
d55e5bfc 20264 {
554f62e9
RD
20265 arg7 = wxString_in_helper(obj6);
20266 if (arg7 == NULL) SWIG_fail;
20267 temp7 = true;
20268 }
20269 }
20270 {
20271 if (!wxPyCheckForApp()) SWIG_fail;
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20278 {
20279 if (temp3)
20280 delete arg3;
20281 }
20282 {
20283 if (temp7)
20284 delete arg7;
20285 }
20286 return resultobj;
20287fail:
20288 {
20289 if (temp3)
20290 delete arg3;
20291 }
20292 {
20293 if (temp7)
20294 delete arg7;
20295 }
20296 return NULL;
d55e5bfc
RD
20297}
20298
20299
554f62e9
RD
20300SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20301 PyObject *resultobj = 0;
20302 wxMDIParentFrame *result = 0 ;
20303
20304 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20305 {
20306 if (!wxPyCheckForApp()) SWIG_fail;
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20313 return resultobj;
20314fail:
20315 return NULL;
20316}
20317
20318
20319SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj = 0;
20321 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20322 wxWindow *arg2 = (wxWindow *) 0 ;
20323 int arg3 = (int) (int)-1 ;
20324 wxString const &arg4_defvalue = wxPyEmptyString ;
20325 wxString *arg4 = (wxString *) &arg4_defvalue ;
20326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20328 wxSize const &arg6_defvalue = wxDefaultSize ;
20329 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20330 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20331 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20332 wxString *arg8 = (wxString *) &arg8_defvalue ;
20333 bool result;
20334 void *argp1 = 0 ;
20335 int res1 = 0 ;
20336 void *argp2 = 0 ;
20337 int res2 = 0 ;
20338 int val3 ;
20339 int ecode3 = 0 ;
20340 bool temp4 = false ;
20341 wxPoint temp5 ;
20342 wxSize temp6 ;
20343 long val7 ;
20344 int ecode7 = 0 ;
20345 bool temp8 = false ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 PyObject * obj2 = 0 ;
20349 PyObject * obj3 = 0 ;
20350 PyObject * obj4 = 0 ;
20351 PyObject * obj5 = 0 ;
20352 PyObject * obj6 = 0 ;
20353 PyObject * obj7 = 0 ;
20354 char * kwnames[] = {
20355 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20356 };
20357
20358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20360 if (!SWIG_IsOK(res1)) {
20361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20362 }
20363 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20364 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20365 if (!SWIG_IsOK(res2)) {
20366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20367 }
20368 arg2 = reinterpret_cast< wxWindow * >(argp2);
20369 if (obj2) {
20370 ecode3 = SWIG_AsVal_int(obj2, &val3);
20371 if (!SWIG_IsOK(ecode3)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20373 }
20374 arg3 = static_cast< int >(val3);
20375 }
20376 if (obj3) {
d55e5bfc 20377 {
554f62e9
RD
20378 arg4 = wxString_in_helper(obj3);
20379 if (arg4 == NULL) SWIG_fail;
20380 temp4 = true;
d55e5bfc 20381 }
554f62e9
RD
20382 }
20383 if (obj4) {
d55e5bfc 20384 {
554f62e9
RD
20385 arg5 = &temp5;
20386 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20387 }
554f62e9
RD
20388 }
20389 if (obj5) {
d55e5bfc 20390 {
554f62e9
RD
20391 arg6 = &temp6;
20392 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20393 }
554f62e9
RD
20394 }
20395 if (obj6) {
20396 ecode7 = SWIG_AsVal_long(obj6, &val7);
20397 if (!SWIG_IsOK(ecode7)) {
20398 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20399 }
20400 arg7 = static_cast< long >(val7);
20401 }
20402 if (obj7) {
d55e5bfc 20403 {
554f62e9
RD
20404 arg8 = wxString_in_helper(obj7);
20405 if (arg8 == NULL) SWIG_fail;
20406 temp8 = true;
d55e5bfc 20407 }
554f62e9
RD
20408 }
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 {
20416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20417 }
20418 {
20419 if (temp4)
20420 delete arg4;
20421 }
20422 {
20423 if (temp8)
20424 delete arg8;
20425 }
20426 return resultobj;
20427fail:
20428 {
20429 if (temp4)
20430 delete arg4;
20431 }
20432 {
20433 if (temp8)
20434 delete arg8;
20435 }
20436 return NULL;
d55e5bfc
RD
20437}
20438
20439
554f62e9
RD
20440SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20441 PyObject *resultobj = 0;
20442 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20443 void *argp1 = 0 ;
20444 int res1 = 0 ;
20445 PyObject *swig_obj[1] ;
20446
20447 if (!args) SWIG_fail;
20448 swig_obj[0] = args;
20449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20450 if (!SWIG_IsOK(res1)) {
20451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20452 }
20453 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 (arg1)->ActivateNext();
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 resultobj = SWIG_Py_Void();
20461 return resultobj;
20462fail:
20463 return NULL;
d55e5bfc
RD
20464}
20465
20466
554f62e9
RD
20467SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20468 PyObject *resultobj = 0;
20469 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20470 void *argp1 = 0 ;
20471 int res1 = 0 ;
20472 PyObject *swig_obj[1] ;
20473
20474 if (!args) SWIG_fail;
20475 swig_obj[0] = args;
20476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20477 if (!SWIG_IsOK(res1)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20479 }
20480 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 (arg1)->ActivatePrevious();
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 resultobj = SWIG_Py_Void();
20488 return resultobj;
20489fail:
20490 return NULL;
d55e5bfc
RD
20491}
20492
20493
554f62e9
RD
20494SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20495 PyObject *resultobj = 0;
20496 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20497 void *argp1 = 0 ;
20498 int res1 = 0 ;
20499 PyObject *swig_obj[1] ;
20500
20501 if (!args) SWIG_fail;
20502 swig_obj[0] = args;
20503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20504 if (!SWIG_IsOK(res1)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20506 }
20507 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 (arg1)->ArrangeIcons();
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 resultobj = SWIG_Py_Void();
20515 return resultobj;
20516fail:
20517 return NULL;
7e08d4ef
RD
20518}
20519
20520
554f62e9
RD
20521SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20522 PyObject *resultobj = 0;
20523 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20524 void *argp1 = 0 ;
20525 int res1 = 0 ;
20526 PyObject *swig_obj[1] ;
20527
20528 if (!args) SWIG_fail;
20529 swig_obj[0] = args;
20530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20531 if (!SWIG_IsOK(res1)) {
20532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20533 }
20534 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 (arg1)->Cascade();
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 resultobj = SWIG_Py_Void();
20542 return resultobj;
20543fail:
20544 return NULL;
d55e5bfc
RD
20545}
20546
20547
554f62e9
RD
20548SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20549 PyObject *resultobj = 0;
20550 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20551 wxMDIChildFrame *result = 0 ;
20552 void *argp1 = 0 ;
20553 int res1 = 0 ;
20554 PyObject *swig_obj[1] ;
20555
20556 if (!args) SWIG_fail;
20557 swig_obj[0] = args;
20558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20559 if (!SWIG_IsOK(res1)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20561 }
20562 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 {
20570 resultobj = wxPyMake_wxObject(result, (bool)0);
20571 }
20572 return resultobj;
20573fail:
20574 return NULL;
d55e5bfc
RD
20575}
20576
20577
554f62e9
RD
20578SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20579 PyObject *resultobj = 0;
20580 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20581 wxMDIClientWindow *result = 0 ;
20582 void *argp1 = 0 ;
20583 int res1 = 0 ;
20584 PyObject *swig_obj[1] ;
20585
20586 if (!args) SWIG_fail;
20587 swig_obj[0] = args;
20588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20589 if (!SWIG_IsOK(res1)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20591 }
20592 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 {
20600 resultobj = wxPyMake_wxObject(result, (bool)0);
20601 }
20602 return resultobj;
20603fail:
20604 return NULL;
d55e5bfc
RD
20605}
20606
20607
554f62e9
RD
20608SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *resultobj = 0;
20610 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20611 wxWindow *result = 0 ;
20612 void *argp1 = 0 ;
20613 int res1 = 0 ;
20614 PyObject *swig_obj[1] ;
20615
20616 if (!args) SWIG_fail;
20617 swig_obj[0] = args;
20618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20619 if (!SWIG_IsOK(res1)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20621 }
20622 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (wxWindow *)(arg1)->GetToolBar();
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 {
20630 resultobj = wxPyMake_wxObject(result, 0);
20631 }
20632 return resultobj;
20633fail:
20634 return NULL;
d55e5bfc
RD
20635}
20636
20637
554f62e9
RD
20638SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20639 PyObject *resultobj = 0;
20640 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20641 wxMenu *result = 0 ;
20642 void *argp1 = 0 ;
20643 int res1 = 0 ;
20644 PyObject *swig_obj[1] ;
20645
20646 if (!args) SWIG_fail;
20647 swig_obj[0] = args;
20648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20649 if (!SWIG_IsOK(res1)) {
20650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20651 }
20652 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 result = (wxMenu *)(arg1)->GetWindowMenu();
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 {
20660 resultobj = wxPyMake_wxObject(result, 0);
20661 }
20662 return resultobj;
20663fail:
20664 return NULL;
20665}
20666
20667
20668SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj = 0;
20670 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20671 wxMenu *arg2 = (wxMenu *) 0 ;
20672 void *argp1 = 0 ;
20673 int res1 = 0 ;
20674 void *argp2 = 0 ;
20675 int res2 = 0 ;
20676 PyObject * obj0 = 0 ;
20677 PyObject * obj1 = 0 ;
20678 char * kwnames[] = {
20679 (char *) "self",(char *) "menu", NULL
20680 };
20681
20682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20684 if (!SWIG_IsOK(res1)) {
20685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20686 }
20687 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20688 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20689 if (!SWIG_IsOK(res2)) {
20690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20691 }
20692 arg2 = reinterpret_cast< wxMenu * >(argp2);
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 (arg1)->SetWindowMenu(arg2);
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 resultobj = SWIG_Py_Void();
20700 return resultobj;
20701fail:
20702 return NULL;
20703}
20704
20705
20706SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20707 PyObject *resultobj = 0;
20708 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20709 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20710 void *argp1 = 0 ;
20711 int res1 = 0 ;
20712 int val2 ;
20713 int ecode2 = 0 ;
20714 PyObject * obj0 = 0 ;
20715 PyObject * obj1 = 0 ;
20716 char * kwnames[] = {
20717 (char *) "self",(char *) "orient", NULL
20718 };
20719
20720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20722 if (!SWIG_IsOK(res1)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20724 }
20725 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20726 if (obj1) {
20727 ecode2 = SWIG_AsVal_int(obj1, &val2);
20728 if (!SWIG_IsOK(ecode2)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20730 }
20731 arg2 = static_cast< wxOrientation >(val2);
20732 }
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 (arg1)->Tile(arg2);
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 resultobj = SWIG_Py_Void();
20740 return resultobj;
20741fail:
20742 return NULL;
20743}
20744
20745
20746SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20747 PyObject *obj;
20748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20749 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20750 return SWIG_Py_Void();
20751}
20752
20753SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20754 return SWIG_Python_InitShadowInstance(args);
20755}
20756
20757SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj = 0;
20759 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20760 int arg2 = (int) (int)-1 ;
20761 wxString const &arg3_defvalue = wxPyEmptyString ;
20762 wxString *arg3 = (wxString *) &arg3_defvalue ;
20763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20765 wxSize const &arg5_defvalue = wxDefaultSize ;
20766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20767 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20768 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20769 wxString *arg7 = (wxString *) &arg7_defvalue ;
20770 wxMDIChildFrame *result = 0 ;
20771 void *argp1 = 0 ;
20772 int res1 = 0 ;
20773 int val2 ;
20774 int ecode2 = 0 ;
20775 bool temp3 = false ;
20776 wxPoint temp4 ;
20777 wxSize temp5 ;
20778 long val6 ;
20779 int ecode6 = 0 ;
20780 bool temp7 = false ;
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 PyObject * obj2 = 0 ;
20784 PyObject * obj3 = 0 ;
20785 PyObject * obj4 = 0 ;
20786 PyObject * obj5 = 0 ;
20787 PyObject * obj6 = 0 ;
20788 char * kwnames[] = {
20789 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20790 };
20791
20792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20794 if (!SWIG_IsOK(res1)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20796 }
20797 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20798 if (obj1) {
20799 ecode2 = SWIG_AsVal_int(obj1, &val2);
20800 if (!SWIG_IsOK(ecode2)) {
20801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20802 }
20803 arg2 = static_cast< int >(val2);
20804 }
20805 if (obj2) {
d55e5bfc 20806 {
554f62e9
RD
20807 arg3 = wxString_in_helper(obj2);
20808 if (arg3 == NULL) SWIG_fail;
20809 temp3 = true;
d55e5bfc 20810 }
554f62e9
RD
20811 }
20812 if (obj3) {
d55e5bfc 20813 {
554f62e9
RD
20814 arg4 = &temp4;
20815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20816 }
554f62e9
RD
20817 }
20818 if (obj4) {
d55e5bfc 20819 {
554f62e9
RD
20820 arg5 = &temp5;
20821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20822 }
554f62e9
RD
20823 }
20824 if (obj5) {
20825 ecode6 = SWIG_AsVal_long(obj5, &val6);
20826 if (!SWIG_IsOK(ecode6)) {
20827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20828 }
20829 arg6 = static_cast< long >(val6);
20830 }
20831 if (obj6) {
d55e5bfc 20832 {
554f62e9
RD
20833 arg7 = wxString_in_helper(obj6);
20834 if (arg7 == NULL) SWIG_fail;
20835 temp7 = true;
d55e5bfc 20836 }
554f62e9
RD
20837 }
20838 {
20839 if (!wxPyCheckForApp()) SWIG_fail;
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20846 {
20847 if (temp3)
20848 delete arg3;
20849 }
20850 {
20851 if (temp7)
20852 delete arg7;
20853 }
20854 return resultobj;
20855fail:
20856 {
20857 if (temp3)
20858 delete arg3;
20859 }
20860 {
20861 if (temp7)
20862 delete arg7;
20863 }
20864 return NULL;
d55e5bfc
RD
20865}
20866
20867
554f62e9
RD
20868SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20869 PyObject *resultobj = 0;
20870 wxMDIChildFrame *result = 0 ;
20871
20872 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20873 {
20874 if (!wxPyCheckForApp()) SWIG_fail;
20875 PyThreadState* __tstate = wxPyBeginAllowThreads();
20876 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20881 return resultobj;
20882fail:
20883 return NULL;
20884}
20885
20886
20887SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj = 0;
20889 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20890 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20891 int arg3 = (int) (int)-1 ;
20892 wxString const &arg4_defvalue = wxPyEmptyString ;
20893 wxString *arg4 = (wxString *) &arg4_defvalue ;
20894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20896 wxSize const &arg6_defvalue = wxDefaultSize ;
20897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20898 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20899 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20900 wxString *arg8 = (wxString *) &arg8_defvalue ;
20901 bool result;
20902 void *argp1 = 0 ;
20903 int res1 = 0 ;
20904 void *argp2 = 0 ;
20905 int res2 = 0 ;
20906 int val3 ;
20907 int ecode3 = 0 ;
20908 bool temp4 = false ;
20909 wxPoint temp5 ;
20910 wxSize temp6 ;
20911 long val7 ;
20912 int ecode7 = 0 ;
20913 bool temp8 = false ;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 PyObject * obj2 = 0 ;
20917 PyObject * obj3 = 0 ;
20918 PyObject * obj4 = 0 ;
20919 PyObject * obj5 = 0 ;
20920 PyObject * obj6 = 0 ;
20921 PyObject * obj7 = 0 ;
20922 char * kwnames[] = {
20923 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20924 };
20925
20926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20928 if (!SWIG_IsOK(res1)) {
20929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20930 }
20931 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20932 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20933 if (!SWIG_IsOK(res2)) {
20934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20935 }
20936 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20937 if (obj2) {
20938 ecode3 = SWIG_AsVal_int(obj2, &val3);
20939 if (!SWIG_IsOK(ecode3)) {
20940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20941 }
20942 arg3 = static_cast< int >(val3);
20943 }
20944 if (obj3) {
d55e5bfc 20945 {
554f62e9
RD
20946 arg4 = wxString_in_helper(obj3);
20947 if (arg4 == NULL) SWIG_fail;
20948 temp4 = true;
d55e5bfc 20949 }
554f62e9
RD
20950 }
20951 if (obj4) {
d55e5bfc 20952 {
554f62e9
RD
20953 arg5 = &temp5;
20954 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20955 }
554f62e9
RD
20956 }
20957 if (obj5) {
093d3ff1 20958 {
554f62e9
RD
20959 arg6 = &temp6;
20960 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 20961 }
554f62e9
RD
20962 }
20963 if (obj6) {
20964 ecode7 = SWIG_AsVal_long(obj6, &val7);
20965 if (!SWIG_IsOK(ecode7)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20967 }
20968 arg7 = static_cast< long >(val7);
20969 }
20970 if (obj7) {
d55e5bfc 20971 {
554f62e9
RD
20972 arg8 = wxString_in_helper(obj7);
20973 if (arg8 == NULL) SWIG_fail;
20974 temp8 = true;
d55e5bfc 20975 }
554f62e9
RD
20976 }
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 {
20984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20985 }
20986 {
20987 if (temp4)
20988 delete arg4;
20989 }
20990 {
20991 if (temp8)
20992 delete arg8;
20993 }
20994 return resultobj;
20995fail:
20996 {
20997 if (temp4)
20998 delete arg4;
20999 }
21000 {
21001 if (temp8)
21002 delete arg8;
21003 }
21004 return NULL;
d55e5bfc
RD
21005}
21006
21007
554f62e9
RD
21008SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21009 PyObject *resultobj = 0;
21010 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21011 void *argp1 = 0 ;
21012 int res1 = 0 ;
21013 PyObject *swig_obj[1] ;
21014
21015 if (!args) SWIG_fail;
21016 swig_obj[0] = args;
21017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21018 if (!SWIG_IsOK(res1)) {
21019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21020 }
21021 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 (arg1)->Activate();
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 resultobj = SWIG_Py_Void();
21029 return resultobj;
21030fail:
21031 return NULL;
d55e5bfc
RD
21032}
21033
21034
554f62e9
RD
21035SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21036 PyObject *obj;
21037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21038 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21039 return SWIG_Py_Void();
d55e5bfc
RD
21040}
21041
554f62e9
RD
21042SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21043 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21044}
21045
554f62e9
RD
21046SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21047 PyObject *resultobj = 0;
21048 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21049 long arg2 = (long) 0 ;
21050 wxMDIClientWindow *result = 0 ;
21051 void *argp1 = 0 ;
21052 int res1 = 0 ;
21053 long val2 ;
21054 int ecode2 = 0 ;
21055 PyObject * obj0 = 0 ;
21056 PyObject * obj1 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "parent",(char *) "style", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21065 }
21066 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21067 if (obj1) {
21068 ecode2 = SWIG_AsVal_long(obj1, &val2);
21069 if (!SWIG_IsOK(ecode2)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21071 }
21072 arg2 = static_cast< long >(val2);
21073 }
21074 {
21075 if (!wxPyCheckForApp()) SWIG_fail;
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21078 wxPyEndAllowThreads(__tstate);
21079 if (PyErr_Occurred()) SWIG_fail;
21080 }
21081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21082 return resultobj;
21083fail:
21084 return NULL;
d55e5bfc
RD
21085}
21086
21087
554f62e9
RD
21088SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21089 PyObject *resultobj = 0;
21090 wxMDIClientWindow *result = 0 ;
21091
21092 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21093 {
21094 if (!wxPyCheckForApp()) SWIG_fail;
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21101 return resultobj;
21102fail:
21103 return NULL;
21104}
21105
21106
21107SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj = 0;
21109 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21110 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21111 long arg3 = (long) 0 ;
21112 bool result;
21113 void *argp1 = 0 ;
21114 int res1 = 0 ;
21115 void *argp2 = 0 ;
21116 int res2 = 0 ;
21117 long val3 ;
21118 int ecode3 = 0 ;
21119 PyObject * obj0 = 0 ;
21120 PyObject * obj1 = 0 ;
21121 PyObject * obj2 = 0 ;
21122 char * kwnames[] = {
21123 (char *) "self",(char *) "parent",(char *) "style", NULL
21124 };
21125
21126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21128 if (!SWIG_IsOK(res1)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21130 }
21131 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21132 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21133 if (!SWIG_IsOK(res2)) {
21134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21135 }
21136 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21137 if (obj2) {
21138 ecode3 = SWIG_AsVal_long(obj2, &val3);
21139 if (!SWIG_IsOK(ecode3)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21141 }
21142 arg3 = static_cast< long >(val3);
21143 }
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 result = (bool)(arg1)->Create(arg2,arg3);
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 {
21151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21152 }
21153 return resultobj;
21154fail:
21155 return NULL;
21156}
21157
21158
21159SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21160 PyObject *obj;
21161 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21162 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21163 return SWIG_Py_Void();
21164}
21165
21166SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21167 return SWIG_Python_InitShadowInstance(args);
21168}
21169
21170SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj = 0;
21172 wxWindow *arg1 = (wxWindow *) 0 ;
21173 int arg2 = (int) (int)-1 ;
21174 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21175 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21176 wxSize const &arg4_defvalue = wxDefaultSize ;
21177 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21178 long arg5 = (long) 0 ;
21179 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21180 wxString *arg6 = (wxString *) &arg6_defvalue ;
21181 wxPyWindow *result = 0 ;
21182 void *argp1 = 0 ;
21183 int res1 = 0 ;
21184 int val2 ;
21185 int ecode2 = 0 ;
21186 wxPoint temp3 ;
21187 wxSize temp4 ;
21188 long val5 ;
21189 int ecode5 = 0 ;
21190 bool temp6 = false ;
21191 PyObject * obj0 = 0 ;
21192 PyObject * obj1 = 0 ;
21193 PyObject * obj2 = 0 ;
21194 PyObject * obj3 = 0 ;
21195 PyObject * obj4 = 0 ;
21196 PyObject * obj5 = 0 ;
21197 char * kwnames[] = {
21198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21199 };
21200
21201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21203 if (!SWIG_IsOK(res1)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21205 }
21206 arg1 = reinterpret_cast< wxWindow * >(argp1);
21207 if (obj1) {
21208 ecode2 = SWIG_AsVal_int(obj1, &val2);
21209 if (!SWIG_IsOK(ecode2)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21211 }
21212 arg2 = static_cast< int >(val2);
21213 }
21214 if (obj2) {
d55e5bfc 21215 {
554f62e9
RD
21216 arg3 = &temp3;
21217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21218 }
554f62e9
RD
21219 }
21220 if (obj3) {
d55e5bfc 21221 {
554f62e9
RD
21222 arg4 = &temp4;
21223 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21224 }
554f62e9
RD
21225 }
21226 if (obj4) {
21227 ecode5 = SWIG_AsVal_long(obj4, &val5);
21228 if (!SWIG_IsOK(ecode5)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21230 }
21231 arg5 = static_cast< long >(val5);
21232 }
21233 if (obj5) {
d55e5bfc 21234 {
554f62e9
RD
21235 arg6 = wxString_in_helper(obj5);
21236 if (arg6 == NULL) SWIG_fail;
21237 temp6 = true;
d55e5bfc 21238 }
554f62e9
RD
21239 }
21240 {
21241 if (!wxPyCheckForApp()) SWIG_fail;
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21248 {
21249 if (temp6)
21250 delete arg6;
21251 }
21252 return resultobj;
21253fail:
21254 {
21255 if (temp6)
21256 delete arg6;
21257 }
21258 return NULL;
d55e5bfc
RD
21259}
21260
21261
554f62e9
RD
21262SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21263 PyObject *resultobj = 0;
21264 wxPyWindow *result = 0 ;
21265
21266 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21267 {
21268 if (!wxPyCheckForApp()) SWIG_fail;
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (wxPyWindow *)new wxPyWindow();
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21275 return resultobj;
21276fail:
21277 return NULL;
21278}
21279
21280
21281SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj = 0;
21283 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21284 PyObject *arg2 = (PyObject *) 0 ;
21285 PyObject *arg3 = (PyObject *) 0 ;
21286 void *argp1 = 0 ;
21287 int res1 = 0 ;
21288 PyObject * obj0 = 0 ;
21289 PyObject * obj1 = 0 ;
21290 PyObject * obj2 = 0 ;
21291 char * kwnames[] = {
21292 (char *) "self",(char *) "self",(char *) "_class", NULL
21293 };
21294
21295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21297 if (!SWIG_IsOK(res1)) {
21298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21299 }
21300 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21301 arg2 = obj1;
21302 arg3 = obj2;
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 (arg1)->_setCallbackInfo(arg2,arg3);
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 resultobj = SWIG_Py_Void();
21310 return resultobj;
21311fail:
21312 return NULL;
21313}
21314
21315
21316SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21317 PyObject *resultobj = 0;
21318 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21319 wxSize *arg2 = 0 ;
21320 void *argp1 = 0 ;
21321 int res1 = 0 ;
21322 wxSize temp2 ;
21323 PyObject * obj0 = 0 ;
21324 PyObject * obj1 = 0 ;
21325 char * kwnames[] = {
21326 (char *) "self",(char *) "size", NULL
21327 };
21328
21329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21331 if (!SWIG_IsOK(res1)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21333 }
21334 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21335 {
21336 arg2 = &temp2;
21337 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21338 }
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->SetBestSize((wxSize const &)*arg2);
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_Py_Void();
21346 return resultobj;
21347fail:
21348 return NULL;
21349}
21350
21351
21352SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj = 0;
21354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21355 wxDC *arg2 = (wxDC *) 0 ;
21356 bool result;
21357 void *argp1 = 0 ;
21358 int res1 = 0 ;
21359 void *argp2 = 0 ;
21360 int res2 = 0 ;
21361 PyObject * obj0 = 0 ;
21362 PyObject * obj1 = 0 ;
21363 char * kwnames[] = {
21364 (char *) "self",(char *) "dc", NULL
21365 };
21366
21367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21369 if (!SWIG_IsOK(res1)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21371 }
21372 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21373 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21374 if (!SWIG_IsOK(res2)) {
21375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21376 }
21377 arg2 = reinterpret_cast< wxDC * >(argp2);
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 result = (bool)(arg1)->DoEraseBackground(arg2);
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 {
21385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21386 }
21387 return resultobj;
21388fail:
21389 return NULL;
21390}
21391
21392
21393SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21394 PyObject *resultobj = 0;
21395 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21396 int arg2 ;
21397 int arg3 ;
21398 int arg4 ;
21399 int arg5 ;
21400 void *argp1 = 0 ;
21401 int res1 = 0 ;
21402 int val2 ;
21403 int ecode2 = 0 ;
21404 int val3 ;
21405 int ecode3 = 0 ;
21406 int val4 ;
21407 int ecode4 = 0 ;
21408 int val5 ;
21409 int ecode5 = 0 ;
21410 PyObject * obj0 = 0 ;
21411 PyObject * obj1 = 0 ;
21412 PyObject * obj2 = 0 ;
21413 PyObject * obj3 = 0 ;
21414 PyObject * obj4 = 0 ;
21415 char * kwnames[] = {
21416 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21417 };
21418
21419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21421 if (!SWIG_IsOK(res1)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21423 }
21424 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21425 ecode2 = SWIG_AsVal_int(obj1, &val2);
21426 if (!SWIG_IsOK(ecode2)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21428 }
21429 arg2 = static_cast< int >(val2);
21430 ecode3 = SWIG_AsVal_int(obj2, &val3);
21431 if (!SWIG_IsOK(ecode3)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21433 }
21434 arg3 = static_cast< int >(val3);
21435 ecode4 = SWIG_AsVal_int(obj3, &val4);
21436 if (!SWIG_IsOK(ecode4)) {
21437 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21438 }
21439 arg4 = static_cast< int >(val4);
21440 ecode5 = SWIG_AsVal_int(obj4, &val5);
21441 if (!SWIG_IsOK(ecode5)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21443 }
21444 arg5 = static_cast< int >(val5);
21445 {
21446 PyThreadState* __tstate = wxPyBeginAllowThreads();
21447 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 resultobj = SWIG_Py_Void();
21452 return resultobj;
21453fail:
21454 return NULL;
21455}
21456
21457
21458SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj = 0;
21460 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21461 int arg2 ;
21462 int arg3 ;
21463 int arg4 ;
21464 int arg5 ;
21465 int arg6 = (int) wxSIZE_AUTO ;
21466 void *argp1 = 0 ;
21467 int res1 = 0 ;
21468 int val2 ;
21469 int ecode2 = 0 ;
21470 int val3 ;
21471 int ecode3 = 0 ;
21472 int val4 ;
21473 int ecode4 = 0 ;
21474 int val5 ;
21475 int ecode5 = 0 ;
21476 int val6 ;
21477 int ecode6 = 0 ;
21478 PyObject * obj0 = 0 ;
21479 PyObject * obj1 = 0 ;
21480 PyObject * obj2 = 0 ;
21481 PyObject * obj3 = 0 ;
21482 PyObject * obj4 = 0 ;
21483 PyObject * obj5 = 0 ;
21484 char * kwnames[] = {
21485 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21486 };
21487
21488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21490 if (!SWIG_IsOK(res1)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21492 }
21493 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21494 ecode2 = SWIG_AsVal_int(obj1, &val2);
21495 if (!SWIG_IsOK(ecode2)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21497 }
21498 arg2 = static_cast< int >(val2);
21499 ecode3 = SWIG_AsVal_int(obj2, &val3);
21500 if (!SWIG_IsOK(ecode3)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21502 }
21503 arg3 = static_cast< int >(val3);
21504 ecode4 = SWIG_AsVal_int(obj3, &val4);
21505 if (!SWIG_IsOK(ecode4)) {
21506 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21507 }
21508 arg4 = static_cast< int >(val4);
21509 ecode5 = SWIG_AsVal_int(obj4, &val5);
21510 if (!SWIG_IsOK(ecode5)) {
21511 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21512 }
21513 arg5 = static_cast< int >(val5);
21514 if (obj5) {
21515 ecode6 = SWIG_AsVal_int(obj5, &val6);
21516 if (!SWIG_IsOK(ecode6)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21518 }
21519 arg6 = static_cast< int >(val6);
21520 }
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21524 wxPyEndAllowThreads(__tstate);
21525 if (PyErr_Occurred()) SWIG_fail;
21526 }
21527 resultobj = SWIG_Py_Void();
21528 return resultobj;
21529fail:
21530 return NULL;
21531}
21532
21533
21534SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj = 0;
21536 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21537 int arg2 ;
21538 int arg3 ;
21539 void *argp1 = 0 ;
21540 int res1 = 0 ;
21541 int val2 ;
21542 int ecode2 = 0 ;
21543 int val3 ;
21544 int ecode3 = 0 ;
21545 PyObject * obj0 = 0 ;
21546 PyObject * obj1 = 0 ;
21547 PyObject * obj2 = 0 ;
21548 char * kwnames[] = {
21549 (char *) "self",(char *) "width",(char *) "height", NULL
21550 };
21551
21552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21554 if (!SWIG_IsOK(res1)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21556 }
21557 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21558 ecode2 = SWIG_AsVal_int(obj1, &val2);
21559 if (!SWIG_IsOK(ecode2)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21561 }
21562 arg2 = static_cast< int >(val2);
21563 ecode3 = SWIG_AsVal_int(obj2, &val3);
21564 if (!SWIG_IsOK(ecode3)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21566 }
21567 arg3 = static_cast< int >(val3);
21568 {
21569 PyThreadState* __tstate = wxPyBeginAllowThreads();
21570 (arg1)->DoSetClientSize(arg2,arg3);
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 resultobj = SWIG_Py_Void();
21575 return resultobj;
21576fail:
21577 return NULL;
21578}
21579
21580
21581SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj = 0;
21583 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21584 int arg2 ;
21585 int arg3 ;
21586 void *argp1 = 0 ;
21587 int res1 = 0 ;
21588 int val2 ;
21589 int ecode2 = 0 ;
21590 int val3 ;
21591 int ecode3 = 0 ;
21592 PyObject * obj0 = 0 ;
21593 PyObject * obj1 = 0 ;
21594 PyObject * obj2 = 0 ;
21595 char * kwnames[] = {
21596 (char *) "self",(char *) "x",(char *) "y", NULL
21597 };
21598
21599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21601 if (!SWIG_IsOK(res1)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21603 }
21604 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21605 ecode2 = SWIG_AsVal_int(obj1, &val2);
21606 if (!SWIG_IsOK(ecode2)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21608 }
21609 arg2 = static_cast< int >(val2);
21610 ecode3 = SWIG_AsVal_int(obj2, &val3);
21611 if (!SWIG_IsOK(ecode3)) {
21612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21613 }
21614 arg3 = static_cast< int >(val3);
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 (arg1)->DoSetVirtualSize(arg2,arg3);
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 resultobj = SWIG_Py_Void();
21622 return resultobj;
21623fail:
21624 return NULL;
21625}
21626
21627
21628SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21629 PyObject *resultobj = 0;
21630 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21631 int *arg2 = (int *) 0 ;
21632 int *arg3 = (int *) 0 ;
21633 void *argp1 = 0 ;
21634 int res1 = 0 ;
21635 int temp2 ;
21636 int res2 = SWIG_TMPOBJ ;
21637 int temp3 ;
21638 int res3 = SWIG_TMPOBJ ;
21639 PyObject *swig_obj[1] ;
21640
21641 arg2 = &temp2;
21642 arg3 = &temp3;
21643 if (!args) SWIG_fail;
21644 swig_obj[0] = args;
21645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21646 if (!SWIG_IsOK(res1)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21648 }
21649 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21653 wxPyEndAllowThreads(__tstate);
21654 if (PyErr_Occurred()) SWIG_fail;
21655 }
21656 resultobj = SWIG_Py_Void();
21657 if (SWIG_IsTmpObj(res2)) {
21658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21659 } else {
21660 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21662 }
21663 if (SWIG_IsTmpObj(res3)) {
21664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21665 } else {
21666 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21668 }
21669 return resultobj;
21670fail:
21671 return NULL;
21672}
21673
21674
21675SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21676 PyObject *resultobj = 0;
21677 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21678 int *arg2 = (int *) 0 ;
21679 int *arg3 = (int *) 0 ;
21680 void *argp1 = 0 ;
21681 int res1 = 0 ;
21682 int temp2 ;
21683 int res2 = SWIG_TMPOBJ ;
21684 int temp3 ;
21685 int res3 = SWIG_TMPOBJ ;
21686 PyObject *swig_obj[1] ;
21687
21688 arg2 = &temp2;
21689 arg3 = &temp3;
21690 if (!args) SWIG_fail;
21691 swig_obj[0] = args;
21692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21693 if (!SWIG_IsOK(res1)) {
21694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21695 }
21696 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 resultobj = SWIG_Py_Void();
21704 if (SWIG_IsTmpObj(res2)) {
21705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21706 } else {
21707 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21709 }
21710 if (SWIG_IsTmpObj(res3)) {
21711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21712 } else {
21713 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21714 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21715 }
21716 return resultobj;
21717fail:
21718 return NULL;
21719}
21720
21721
21722SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21723 PyObject *resultobj = 0;
21724 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21725 int *arg2 = (int *) 0 ;
21726 int *arg3 = (int *) 0 ;
21727 void *argp1 = 0 ;
21728 int res1 = 0 ;
21729 int temp2 ;
21730 int res2 = SWIG_TMPOBJ ;
21731 int temp3 ;
21732 int res3 = SWIG_TMPOBJ ;
21733 PyObject *swig_obj[1] ;
21734
21735 arg2 = &temp2;
21736 arg3 = &temp3;
21737 if (!args) SWIG_fail;
21738 swig_obj[0] = args;
21739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21740 if (!SWIG_IsOK(res1)) {
21741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21742 }
21743 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 resultobj = SWIG_Py_Void();
21751 if (SWIG_IsTmpObj(res2)) {
21752 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21753 } else {
21754 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21755 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21756 }
21757 if (SWIG_IsTmpObj(res3)) {
21758 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21759 } else {
21760 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21761 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21762 }
21763 return resultobj;
21764fail:
21765 return NULL;
21766}
d55e5bfc 21767
554f62e9
RD
21768
21769SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21770 PyObject *resultobj = 0;
21771 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21772 wxSize result;
21773 void *argp1 = 0 ;
21774 int res1 = 0 ;
21775 PyObject *swig_obj[1] ;
21776
21777 if (!args) SWIG_fail;
21778 swig_obj[0] = args;
21779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21780 if (!SWIG_IsOK(res1)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21782 }
21783 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
21790 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21791 return resultobj;
21792fail:
21793 return NULL;
d55e5bfc
RD
21794}
21795
21796
554f62e9
RD
21797SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21798 PyObject *resultobj = 0;
21799 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21800 wxSize result;
21801 void *argp1 = 0 ;
21802 int res1 = 0 ;
21803 PyObject *swig_obj[1] ;
21804
21805 if (!args) SWIG_fail;
21806 swig_obj[0] = args;
21807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21808 if (!SWIG_IsOK(res1)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21810 }
21811 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21819 return resultobj;
21820fail:
21821 return NULL;
d55e5bfc
RD
21822}
21823
21824
554f62e9
RD
21825SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21826 PyObject *resultobj = 0;
21827 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21828 SwigValueWrapper<wxVisualAttributes > result;
21829 void *argp1 = 0 ;
21830 int res1 = 0 ;
21831 PyObject *swig_obj[1] ;
21832
21833 if (!args) SWIG_fail;
21834 swig_obj[0] = args;
21835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21836 if (!SWIG_IsOK(res1)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21838 }
21839 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21840 {
21841 PyThreadState* __tstate = wxPyBeginAllowThreads();
21842 result = (arg1)->GetDefaultAttributes();
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21847 return resultobj;
21848fail:
21849 return NULL;
d55e5bfc
RD
21850}
21851
21852
554f62e9
RD
21853SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21854 PyObject *resultobj = 0;
21855 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21856 void *argp1 = 0 ;
21857 int res1 = 0 ;
21858 PyObject *swig_obj[1] ;
21859
21860 if (!args) SWIG_fail;
21861 swig_obj[0] = args;
21862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21863 if (!SWIG_IsOK(res1)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21865 }
21866 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 (arg1)->OnInternalIdle();
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 resultobj = SWIG_Py_Void();
21874 return resultobj;
21875fail:
21876 return NULL;
21877}
21878
21879
21880SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21881 PyObject *obj;
21882 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21884 return SWIG_Py_Void();
21885}
21886
21887SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21888 return SWIG_Python_InitShadowInstance(args);
21889}
21890
21891SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj = 0;
21893 wxWindow *arg1 = (wxWindow *) 0 ;
21894 int arg2 = (int) (int)-1 ;
21895 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21896 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21897 wxSize const &arg4_defvalue = wxDefaultSize ;
21898 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21899 long arg5 = (long) 0 ;
21900 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21901 wxString *arg6 = (wxString *) &arg6_defvalue ;
21902 wxPyPanel *result = 0 ;
21903 void *argp1 = 0 ;
21904 int res1 = 0 ;
21905 int val2 ;
21906 int ecode2 = 0 ;
21907 wxPoint temp3 ;
21908 wxSize temp4 ;
21909 long val5 ;
21910 int ecode5 = 0 ;
21911 bool temp6 = false ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 PyObject * obj2 = 0 ;
21915 PyObject * obj3 = 0 ;
21916 PyObject * obj4 = 0 ;
21917 PyObject * obj5 = 0 ;
21918 char * kwnames[] = {
21919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21920 };
21921
21922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21924 if (!SWIG_IsOK(res1)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21926 }
21927 arg1 = reinterpret_cast< wxWindow * >(argp1);
21928 if (obj1) {
21929 ecode2 = SWIG_AsVal_int(obj1, &val2);
21930 if (!SWIG_IsOK(ecode2)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21932 }
21933 arg2 = static_cast< int >(val2);
21934 }
21935 if (obj2) {
093d3ff1 21936 {
554f62e9
RD
21937 arg3 = &temp3;
21938 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21939 }
554f62e9
RD
21940 }
21941 if (obj3) {
d55e5bfc 21942 {
554f62e9
RD
21943 arg4 = &temp4;
21944 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21945 }
554f62e9
RD
21946 }
21947 if (obj4) {
21948 ecode5 = SWIG_AsVal_long(obj4, &val5);
21949 if (!SWIG_IsOK(ecode5)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21951 }
21952 arg5 = static_cast< long >(val5);
21953 }
21954 if (obj5) {
d55e5bfc 21955 {
554f62e9
RD
21956 arg6 = wxString_in_helper(obj5);
21957 if (arg6 == NULL) SWIG_fail;
21958 temp6 = true;
d55e5bfc 21959 }
554f62e9
RD
21960 }
21961 {
21962 if (!wxPyCheckForApp()) SWIG_fail;
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21969 {
21970 if (temp6)
21971 delete arg6;
21972 }
21973 return resultobj;
21974fail:
21975 {
21976 if (temp6)
21977 delete arg6;
21978 }
21979 return NULL;
d55e5bfc
RD
21980}
21981
21982
554f62e9
RD
21983SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21984 PyObject *resultobj = 0;
21985 wxPyPanel *result = 0 ;
21986
21987 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21988 {
21989 if (!wxPyCheckForApp()) SWIG_fail;
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 result = (wxPyPanel *)new wxPyPanel();
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21996 return resultobj;
21997fail:
21998 return NULL;
21999}
22000
22001
22002SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22003 PyObject *resultobj = 0;
22004 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22005 PyObject *arg2 = (PyObject *) 0 ;
22006 PyObject *arg3 = (PyObject *) 0 ;
22007 void *argp1 = 0 ;
22008 int res1 = 0 ;
22009 PyObject * obj0 = 0 ;
22010 PyObject * obj1 = 0 ;
22011 PyObject * obj2 = 0 ;
22012 char * kwnames[] = {
22013 (char *) "self",(char *) "self",(char *) "_class", NULL
22014 };
22015
22016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22018 if (!SWIG_IsOK(res1)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22020 }
22021 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22022 arg2 = obj1;
22023 arg3 = obj2;
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 (arg1)->_setCallbackInfo(arg2,arg3);
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 resultobj = SWIG_Py_Void();
22031 return resultobj;
22032fail:
22033 return NULL;
22034}
22035
22036
22037SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22038 PyObject *resultobj = 0;
22039 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22040 wxSize *arg2 = 0 ;
22041 void *argp1 = 0 ;
22042 int res1 = 0 ;
22043 wxSize temp2 ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 char * kwnames[] = {
22047 (char *) "self",(char *) "size", NULL
22048 };
22049
22050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22052 if (!SWIG_IsOK(res1)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22054 }
22055 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22056 {
22057 arg2 = &temp2;
22058 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22059 }
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 (arg1)->SetBestSize((wxSize const &)*arg2);
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_Py_Void();
22067 return resultobj;
22068fail:
22069 return NULL;
22070}
22071
22072
22073SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj = 0;
22075 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22076 wxDC *arg2 = (wxDC *) 0 ;
22077 bool result;
22078 void *argp1 = 0 ;
22079 int res1 = 0 ;
22080 void *argp2 = 0 ;
22081 int res2 = 0 ;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 char * kwnames[] = {
22085 (char *) "self",(char *) "dc", NULL
22086 };
22087
22088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22090 if (!SWIG_IsOK(res1)) {
22091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22092 }
22093 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22094 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22095 if (!SWIG_IsOK(res2)) {
22096 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22097 }
22098 arg2 = reinterpret_cast< wxDC * >(argp2);
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (bool)(arg1)->DoEraseBackground(arg2);
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22107 }
22108 return resultobj;
22109fail:
22110 return NULL;
22111}
22112
22113
22114SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj = 0;
22116 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22117 int arg2 ;
22118 int arg3 ;
22119 int arg4 ;
22120 int arg5 ;
22121 void *argp1 = 0 ;
22122 int res1 = 0 ;
22123 int val2 ;
22124 int ecode2 = 0 ;
22125 int val3 ;
22126 int ecode3 = 0 ;
22127 int val4 ;
22128 int ecode4 = 0 ;
22129 int val5 ;
22130 int ecode5 = 0 ;
22131 PyObject * obj0 = 0 ;
22132 PyObject * obj1 = 0 ;
22133 PyObject * obj2 = 0 ;
22134 PyObject * obj3 = 0 ;
22135 PyObject * obj4 = 0 ;
22136 char * kwnames[] = {
22137 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22138 };
22139
22140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22142 if (!SWIG_IsOK(res1)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22144 }
22145 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22146 ecode2 = SWIG_AsVal_int(obj1, &val2);
22147 if (!SWIG_IsOK(ecode2)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22149 }
22150 arg2 = static_cast< int >(val2);
22151 ecode3 = SWIG_AsVal_int(obj2, &val3);
22152 if (!SWIG_IsOK(ecode3)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22154 }
22155 arg3 = static_cast< int >(val3);
22156 ecode4 = SWIG_AsVal_int(obj3, &val4);
22157 if (!SWIG_IsOK(ecode4)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22159 }
22160 arg4 = static_cast< int >(val4);
22161 ecode5 = SWIG_AsVal_int(obj4, &val5);
22162 if (!SWIG_IsOK(ecode5)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22164 }
22165 arg5 = static_cast< int >(val5);
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 resultobj = SWIG_Py_Void();
22173 return resultobj;
22174fail:
22175 return NULL;
22176}
22177
22178
22179SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj = 0;
22181 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22182 int arg2 ;
22183 int arg3 ;
22184 int arg4 ;
22185 int arg5 ;
22186 int arg6 = (int) wxSIZE_AUTO ;
22187 void *argp1 = 0 ;
22188 int res1 = 0 ;
22189 int val2 ;
22190 int ecode2 = 0 ;
22191 int val3 ;
22192 int ecode3 = 0 ;
22193 int val4 ;
22194 int ecode4 = 0 ;
22195 int val5 ;
22196 int ecode5 = 0 ;
22197 int val6 ;
22198 int ecode6 = 0 ;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 PyObject * obj2 = 0 ;
22202 PyObject * obj3 = 0 ;
22203 PyObject * obj4 = 0 ;
22204 PyObject * obj5 = 0 ;
22205 char * kwnames[] = {
22206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22207 };
22208
22209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22211 if (!SWIG_IsOK(res1)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22213 }
22214 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22215 ecode2 = SWIG_AsVal_int(obj1, &val2);
22216 if (!SWIG_IsOK(ecode2)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22218 }
22219 arg2 = static_cast< int >(val2);
22220 ecode3 = SWIG_AsVal_int(obj2, &val3);
22221 if (!SWIG_IsOK(ecode3)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22223 }
22224 arg3 = static_cast< int >(val3);
22225 ecode4 = SWIG_AsVal_int(obj3, &val4);
22226 if (!SWIG_IsOK(ecode4)) {
22227 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22228 }
22229 arg4 = static_cast< int >(val4);
22230 ecode5 = SWIG_AsVal_int(obj4, &val5);
22231 if (!SWIG_IsOK(ecode5)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22233 }
22234 arg5 = static_cast< int >(val5);
22235 if (obj5) {
22236 ecode6 = SWIG_AsVal_int(obj5, &val6);
22237 if (!SWIG_IsOK(ecode6)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22239 }
22240 arg6 = static_cast< int >(val6);
22241 }
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 resultobj = SWIG_Py_Void();
22249 return resultobj;
22250fail:
22251 return NULL;
22252}
22253
22254
22255SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj = 0;
22257 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22258 int arg2 ;
22259 int arg3 ;
22260 void *argp1 = 0 ;
22261 int res1 = 0 ;
22262 int val2 ;
22263 int ecode2 = 0 ;
22264 int val3 ;
22265 int ecode3 = 0 ;
22266 PyObject * obj0 = 0 ;
22267 PyObject * obj1 = 0 ;
22268 PyObject * obj2 = 0 ;
22269 char * kwnames[] = {
22270 (char *) "self",(char *) "width",(char *) "height", NULL
22271 };
22272
22273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22275 if (!SWIG_IsOK(res1)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22277 }
22278 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22279 ecode2 = SWIG_AsVal_int(obj1, &val2);
22280 if (!SWIG_IsOK(ecode2)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22282 }
22283 arg2 = static_cast< int >(val2);
22284 ecode3 = SWIG_AsVal_int(obj2, &val3);
22285 if (!SWIG_IsOK(ecode3)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22287 }
22288 arg3 = static_cast< int >(val3);
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 (arg1)->DoSetClientSize(arg2,arg3);
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 resultobj = SWIG_Py_Void();
22296 return resultobj;
22297fail:
22298 return NULL;
22299}
22300
22301
22302SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj = 0;
22304 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22305 int arg2 ;
22306 int arg3 ;
22307 void *argp1 = 0 ;
22308 int res1 = 0 ;
22309 int val2 ;
22310 int ecode2 = 0 ;
22311 int val3 ;
22312 int ecode3 = 0 ;
22313 PyObject * obj0 = 0 ;
22314 PyObject * obj1 = 0 ;
22315 PyObject * obj2 = 0 ;
22316 char * kwnames[] = {
22317 (char *) "self",(char *) "x",(char *) "y", NULL
22318 };
22319
22320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22322 if (!SWIG_IsOK(res1)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22324 }
22325 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22326 ecode2 = SWIG_AsVal_int(obj1, &val2);
22327 if (!SWIG_IsOK(ecode2)) {
22328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22329 }
22330 arg2 = static_cast< int >(val2);
22331 ecode3 = SWIG_AsVal_int(obj2, &val3);
22332 if (!SWIG_IsOK(ecode3)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22334 }
22335 arg3 = static_cast< int >(val3);
22336 {
22337 PyThreadState* __tstate = wxPyBeginAllowThreads();
22338 (arg1)->DoSetVirtualSize(arg2,arg3);
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 resultobj = SWIG_Py_Void();
22343 return resultobj;
22344fail:
22345 return NULL;
22346}
22347
22348
22349SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22350 PyObject *resultobj = 0;
22351 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22352 int *arg2 = (int *) 0 ;
22353 int *arg3 = (int *) 0 ;
22354 void *argp1 = 0 ;
22355 int res1 = 0 ;
22356 int temp2 ;
22357 int res2 = SWIG_TMPOBJ ;
22358 int temp3 ;
22359 int res3 = SWIG_TMPOBJ ;
22360 PyObject *swig_obj[1] ;
22361
22362 arg2 = &temp2;
22363 arg3 = &temp3;
22364 if (!args) SWIG_fail;
22365 swig_obj[0] = args;
22366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22367 if (!SWIG_IsOK(res1)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22369 }
22370 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 resultobj = SWIG_Py_Void();
22378 if (SWIG_IsTmpObj(res2)) {
22379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22380 } else {
22381 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22383 }
22384 if (SWIG_IsTmpObj(res3)) {
22385 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22386 } else {
22387 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22389 }
22390 return resultobj;
22391fail:
22392 return NULL;
22393}
22394
22395
22396SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22397 PyObject *resultobj = 0;
22398 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22399 int *arg2 = (int *) 0 ;
22400 int *arg3 = (int *) 0 ;
22401 void *argp1 = 0 ;
22402 int res1 = 0 ;
22403 int temp2 ;
22404 int res2 = SWIG_TMPOBJ ;
22405 int temp3 ;
22406 int res3 = SWIG_TMPOBJ ;
22407 PyObject *swig_obj[1] ;
22408
22409 arg2 = &temp2;
22410 arg3 = &temp3;
22411 if (!args) SWIG_fail;
22412 swig_obj[0] = args;
22413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22414 if (!SWIG_IsOK(res1)) {
22415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22416 }
22417 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 resultobj = SWIG_Py_Void();
22425 if (SWIG_IsTmpObj(res2)) {
22426 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22427 } else {
22428 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22429 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22430 }
22431 if (SWIG_IsTmpObj(res3)) {
22432 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22433 } else {
22434 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22435 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22436 }
22437 return resultobj;
22438fail:
22439 return NULL;
22440}
22441
22442
22443SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22444 PyObject *resultobj = 0;
22445 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22446 int *arg2 = (int *) 0 ;
22447 int *arg3 = (int *) 0 ;
22448 void *argp1 = 0 ;
22449 int res1 = 0 ;
22450 int temp2 ;
22451 int res2 = SWIG_TMPOBJ ;
22452 int temp3 ;
22453 int res3 = SWIG_TMPOBJ ;
22454 PyObject *swig_obj[1] ;
22455
22456 arg2 = &temp2;
22457 arg3 = &temp3;
22458 if (!args) SWIG_fail;
22459 swig_obj[0] = args;
22460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22461 if (!SWIG_IsOK(res1)) {
22462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22463 }
22464 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22465 {
22466 PyThreadState* __tstate = wxPyBeginAllowThreads();
22467 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22468 wxPyEndAllowThreads(__tstate);
22469 if (PyErr_Occurred()) SWIG_fail;
22470 }
22471 resultobj = SWIG_Py_Void();
22472 if (SWIG_IsTmpObj(res2)) {
22473 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22474 } else {
22475 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22476 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22477 }
22478 if (SWIG_IsTmpObj(res3)) {
22479 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22480 } else {
22481 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22483 }
22484 return resultobj;
22485fail:
22486 return NULL;
d55e5bfc
RD
22487}
22488
22489
554f62e9
RD
22490SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22491 PyObject *resultobj = 0;
22492 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22493 wxSize result;
22494 void *argp1 = 0 ;
22495 int res1 = 0 ;
22496 PyObject *swig_obj[1] ;
22497
22498 if (!args) SWIG_fail;
22499 swig_obj[0] = args;
22500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22501 if (!SWIG_IsOK(res1)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22503 }
22504 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22505 {
22506 PyThreadState* __tstate = wxPyBeginAllowThreads();
22507 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22512 return resultobj;
22513fail:
22514 return NULL;
d55e5bfc
RD
22515}
22516
22517
554f62e9
RD
22518SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22519 PyObject *resultobj = 0;
22520 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22521 wxSize result;
22522 void *argp1 = 0 ;
22523 int res1 = 0 ;
22524 PyObject *swig_obj[1] ;
22525
22526 if (!args) SWIG_fail;
22527 swig_obj[0] = args;
22528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22529 if (!SWIG_IsOK(res1)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22531 }
22532 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22540 return resultobj;
22541fail:
22542 return NULL;
d55e5bfc
RD
22543}
22544
22545
554f62e9
RD
22546SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22547 PyObject *resultobj = 0;
22548 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22549 SwigValueWrapper<wxVisualAttributes > result;
22550 void *argp1 = 0 ;
22551 int res1 = 0 ;
22552 PyObject *swig_obj[1] ;
22553
22554 if (!args) SWIG_fail;
22555 swig_obj[0] = args;
22556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22557 if (!SWIG_IsOK(res1)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22559 }
22560 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 result = (arg1)->GetDefaultAttributes();
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22568 return resultobj;
22569fail:
22570 return NULL;
d55e5bfc
RD
22571}
22572
22573
554f62e9
RD
22574SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22575 PyObject *resultobj = 0;
22576 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22577 void *argp1 = 0 ;
22578 int res1 = 0 ;
22579 PyObject *swig_obj[1] ;
22580
22581 if (!args) SWIG_fail;
22582 swig_obj[0] = args;
22583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22584 if (!SWIG_IsOK(res1)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22586 }
22587 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 (arg1)->OnInternalIdle();
22591 wxPyEndAllowThreads(__tstate);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 }
22594 resultobj = SWIG_Py_Void();
22595 return resultobj;
22596fail:
22597 return NULL;
22598}
22599
22600
22601SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22602 PyObject *obj;
22603 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22604 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22605 return SWIG_Py_Void();
22606}
22607
22608SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22609 return SWIG_Python_InitShadowInstance(args);
22610}
22611
22612SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj = 0;
22614 wxWindow *arg1 = (wxWindow *) 0 ;
22615 int arg2 = (int) (int)-1 ;
22616 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22617 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22618 wxSize const &arg4_defvalue = wxDefaultSize ;
22619 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22620 long arg5 = (long) 0 ;
22621 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22622 wxString *arg6 = (wxString *) &arg6_defvalue ;
22623 wxPyScrolledWindow *result = 0 ;
22624 void *argp1 = 0 ;
22625 int res1 = 0 ;
22626 int val2 ;
22627 int ecode2 = 0 ;
22628 wxPoint temp3 ;
22629 wxSize temp4 ;
22630 long val5 ;
22631 int ecode5 = 0 ;
22632 bool temp6 = false ;
22633 PyObject * obj0 = 0 ;
22634 PyObject * obj1 = 0 ;
22635 PyObject * obj2 = 0 ;
22636 PyObject * obj3 = 0 ;
22637 PyObject * obj4 = 0 ;
22638 PyObject * obj5 = 0 ;
22639 char * kwnames[] = {
22640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22641 };
22642
22643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22645 if (!SWIG_IsOK(res1)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22647 }
22648 arg1 = reinterpret_cast< wxWindow * >(argp1);
22649 if (obj1) {
22650 ecode2 = SWIG_AsVal_int(obj1, &val2);
22651 if (!SWIG_IsOK(ecode2)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22653 }
22654 arg2 = static_cast< int >(val2);
22655 }
22656 if (obj2) {
d55e5bfc 22657 {
554f62e9
RD
22658 arg3 = &temp3;
22659 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7449af73 22660 }
554f62e9
RD
22661 }
22662 if (obj3) {
7449af73 22663 {
554f62e9
RD
22664 arg4 = &temp4;
22665 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7449af73 22666 }
554f62e9
RD
22667 }
22668 if (obj4) {
22669 ecode5 = SWIG_AsVal_long(obj4, &val5);
22670 if (!SWIG_IsOK(ecode5)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22672 }
22673 arg5 = static_cast< long >(val5);
22674 }
22675 if (obj5) {
7449af73 22676 {
554f62e9
RD
22677 arg6 = wxString_in_helper(obj5);
22678 if (arg6 == NULL) SWIG_fail;
22679 temp6 = true;
7449af73 22680 }
554f62e9
RD
22681 }
22682 {
22683 if (!wxPyCheckForApp()) SWIG_fail;
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22690 {
22691 if (temp6)
22692 delete arg6;
22693 }
22694 return resultobj;
22695fail:
22696 {
22697 if (temp6)
22698 delete arg6;
22699 }
22700 return NULL;
7449af73
RD
22701}
22702
22703
554f62e9
RD
22704SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22705 PyObject *resultobj = 0;
22706 wxPyScrolledWindow *result = 0 ;
22707
22708 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22709 {
22710 if (!wxPyCheckForApp()) SWIG_fail;
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22717 return resultobj;
22718fail:
22719 return NULL;
22720}
22721
22722
22723SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj = 0;
22725 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22726 PyObject *arg2 = (PyObject *) 0 ;
22727 PyObject *arg3 = (PyObject *) 0 ;
22728 void *argp1 = 0 ;
22729 int res1 = 0 ;
22730 PyObject * obj0 = 0 ;
22731 PyObject * obj1 = 0 ;
22732 PyObject * obj2 = 0 ;
22733 char * kwnames[] = {
22734 (char *) "self",(char *) "self",(char *) "_class", NULL
22735 };
22736
22737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22739 if (!SWIG_IsOK(res1)) {
22740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22741 }
22742 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22743 arg2 = obj1;
22744 arg3 = obj2;
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 (arg1)->_setCallbackInfo(arg2,arg3);
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 resultobj = SWIG_Py_Void();
22752 return resultobj;
22753fail:
22754 return NULL;
22755}
22756
22757
22758SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj = 0;
22760 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22761 wxSize *arg2 = 0 ;
22762 void *argp1 = 0 ;
22763 int res1 = 0 ;
22764 wxSize temp2 ;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 char * kwnames[] = {
22768 (char *) "self",(char *) "size", NULL
22769 };
22770
22771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22773 if (!SWIG_IsOK(res1)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22775 }
22776 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22777 {
22778 arg2 = &temp2;
22779 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22780 }
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 (arg1)->SetBestSize((wxSize const &)*arg2);
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = SWIG_Py_Void();
22788 return resultobj;
22789fail:
22790 return NULL;
22791}
22792
22793
22794SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj = 0;
22796 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22797 wxDC *arg2 = (wxDC *) 0 ;
22798 bool result;
22799 void *argp1 = 0 ;
22800 int res1 = 0 ;
22801 void *argp2 = 0 ;
22802 int res2 = 0 ;
22803 PyObject * obj0 = 0 ;
22804 PyObject * obj1 = 0 ;
22805 char * kwnames[] = {
22806 (char *) "self",(char *) "dc", NULL
22807 };
22808
22809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22811 if (!SWIG_IsOK(res1)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22813 }
22814 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22815 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22816 if (!SWIG_IsOK(res2)) {
22817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22818 }
22819 arg2 = reinterpret_cast< wxDC * >(argp2);
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 result = (bool)(arg1)->DoEraseBackground(arg2);
22823 wxPyEndAllowThreads(__tstate);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 }
22826 {
22827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22828 }
22829 return resultobj;
22830fail:
22831 return NULL;
22832}
22833
22834
22835SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj = 0;
22837 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22838 int arg2 ;
22839 int arg3 ;
22840 int arg4 ;
22841 int arg5 ;
22842 void *argp1 = 0 ;
22843 int res1 = 0 ;
22844 int val2 ;
22845 int ecode2 = 0 ;
22846 int val3 ;
22847 int ecode3 = 0 ;
22848 int val4 ;
22849 int ecode4 = 0 ;
22850 int val5 ;
22851 int ecode5 = 0 ;
22852 PyObject * obj0 = 0 ;
22853 PyObject * obj1 = 0 ;
22854 PyObject * obj2 = 0 ;
22855 PyObject * obj3 = 0 ;
22856 PyObject * obj4 = 0 ;
22857 char * kwnames[] = {
22858 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22859 };
22860
22861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22863 if (!SWIG_IsOK(res1)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22865 }
22866 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22867 ecode2 = SWIG_AsVal_int(obj1, &val2);
22868 if (!SWIG_IsOK(ecode2)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22870 }
22871 arg2 = static_cast< int >(val2);
22872 ecode3 = SWIG_AsVal_int(obj2, &val3);
22873 if (!SWIG_IsOK(ecode3)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22875 }
22876 arg3 = static_cast< int >(val3);
22877 ecode4 = SWIG_AsVal_int(obj3, &val4);
22878 if (!SWIG_IsOK(ecode4)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22880 }
22881 arg4 = static_cast< int >(val4);
22882 ecode5 = SWIG_AsVal_int(obj4, &val5);
22883 if (!SWIG_IsOK(ecode5)) {
22884 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22885 }
22886 arg5 = static_cast< int >(val5);
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 resultobj = SWIG_Py_Void();
22894 return resultobj;
22895fail:
22896 return NULL;
22897}
22898
22899
22900SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj = 0;
22902 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22903 int arg2 ;
22904 int arg3 ;
22905 int arg4 ;
22906 int arg5 ;
22907 int arg6 = (int) wxSIZE_AUTO ;
22908 void *argp1 = 0 ;
22909 int res1 = 0 ;
22910 int val2 ;
22911 int ecode2 = 0 ;
22912 int val3 ;
22913 int ecode3 = 0 ;
22914 int val4 ;
22915 int ecode4 = 0 ;
22916 int val5 ;
22917 int ecode5 = 0 ;
22918 int val6 ;
22919 int ecode6 = 0 ;
22920 PyObject * obj0 = 0 ;
22921 PyObject * obj1 = 0 ;
22922 PyObject * obj2 = 0 ;
22923 PyObject * obj3 = 0 ;
22924 PyObject * obj4 = 0 ;
22925 PyObject * obj5 = 0 ;
22926 char * kwnames[] = {
22927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22928 };
22929
22930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22932 if (!SWIG_IsOK(res1)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22934 }
22935 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22936 ecode2 = SWIG_AsVal_int(obj1, &val2);
22937 if (!SWIG_IsOK(ecode2)) {
22938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22939 }
22940 arg2 = static_cast< int >(val2);
22941 ecode3 = SWIG_AsVal_int(obj2, &val3);
22942 if (!SWIG_IsOK(ecode3)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22944 }
22945 arg3 = static_cast< int >(val3);
22946 ecode4 = SWIG_AsVal_int(obj3, &val4);
22947 if (!SWIG_IsOK(ecode4)) {
22948 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22949 }
22950 arg4 = static_cast< int >(val4);
22951 ecode5 = SWIG_AsVal_int(obj4, &val5);
22952 if (!SWIG_IsOK(ecode5)) {
22953 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22954 }
22955 arg5 = static_cast< int >(val5);
22956 if (obj5) {
22957 ecode6 = SWIG_AsVal_int(obj5, &val6);
22958 if (!SWIG_IsOK(ecode6)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22960 }
22961 arg6 = static_cast< int >(val6);
22962 }
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22966 wxPyEndAllowThreads(__tstate);
22967 if (PyErr_Occurred()) SWIG_fail;
22968 }
22969 resultobj = SWIG_Py_Void();
22970 return resultobj;
22971fail:
22972 return NULL;
22973}
22974
22975
22976SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22977 PyObject *resultobj = 0;
22978 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22979 int arg2 ;
22980 int arg3 ;
22981 void *argp1 = 0 ;
22982 int res1 = 0 ;
22983 int val2 ;
22984 int ecode2 = 0 ;
22985 int val3 ;
22986 int ecode3 = 0 ;
22987 PyObject * obj0 = 0 ;
22988 PyObject * obj1 = 0 ;
22989 PyObject * obj2 = 0 ;
22990 char * kwnames[] = {
22991 (char *) "self",(char *) "width",(char *) "height", NULL
22992 };
22993
22994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22996 if (!SWIG_IsOK(res1)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22998 }
22999 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23000 ecode2 = SWIG_AsVal_int(obj1, &val2);
23001 if (!SWIG_IsOK(ecode2)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23003 }
23004 arg2 = static_cast< int >(val2);
23005 ecode3 = SWIG_AsVal_int(obj2, &val3);
23006 if (!SWIG_IsOK(ecode3)) {
23007 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23008 }
23009 arg3 = static_cast< int >(val3);
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 (arg1)->DoSetClientSize(arg2,arg3);
23013 wxPyEndAllowThreads(__tstate);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 resultobj = SWIG_Py_Void();
23017 return resultobj;
23018fail:
23019 return NULL;
23020}
23021
23022
23023SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23024 PyObject *resultobj = 0;
23025 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23026 int arg2 ;
23027 int arg3 ;
23028 void *argp1 = 0 ;
23029 int res1 = 0 ;
23030 int val2 ;
23031 int ecode2 = 0 ;
23032 int val3 ;
23033 int ecode3 = 0 ;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 PyObject * obj2 = 0 ;
23037 char * kwnames[] = {
23038 (char *) "self",(char *) "x",(char *) "y", NULL
23039 };
23040
23041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23043 if (!SWIG_IsOK(res1)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23045 }
23046 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23047 ecode2 = SWIG_AsVal_int(obj1, &val2);
23048 if (!SWIG_IsOK(ecode2)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23050 }
23051 arg2 = static_cast< int >(val2);
23052 ecode3 = SWIG_AsVal_int(obj2, &val3);
23053 if (!SWIG_IsOK(ecode3)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23055 }
23056 arg3 = static_cast< int >(val3);
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 (arg1)->DoSetVirtualSize(arg2,arg3);
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 resultobj = SWIG_Py_Void();
23064 return resultobj;
23065fail:
23066 return NULL;
23067}
23068
23069
23070SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23071 PyObject *resultobj = 0;
23072 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23073 int *arg2 = (int *) 0 ;
23074 int *arg3 = (int *) 0 ;
23075 void *argp1 = 0 ;
23076 int res1 = 0 ;
23077 int temp2 ;
23078 int res2 = SWIG_TMPOBJ ;
23079 int temp3 ;
23080 int res3 = SWIG_TMPOBJ ;
23081 PyObject *swig_obj[1] ;
23082
23083 arg2 = &temp2;
23084 arg3 = &temp3;
23085 if (!args) SWIG_fail;
23086 swig_obj[0] = args;
23087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23088 if (!SWIG_IsOK(res1)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23090 }
23091 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 resultobj = SWIG_Py_Void();
23099 if (SWIG_IsTmpObj(res2)) {
23100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23101 } else {
23102 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23104 }
23105 if (SWIG_IsTmpObj(res3)) {
23106 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23107 } else {
23108 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23109 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23110 }
23111 return resultobj;
23112fail:
23113 return NULL;
23114}
23115
23116
23117SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23118 PyObject *resultobj = 0;
23119 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23120 int *arg2 = (int *) 0 ;
23121 int *arg3 = (int *) 0 ;
23122 void *argp1 = 0 ;
23123 int res1 = 0 ;
23124 int temp2 ;
23125 int res2 = SWIG_TMPOBJ ;
23126 int temp3 ;
23127 int res3 = SWIG_TMPOBJ ;
23128 PyObject *swig_obj[1] ;
23129
23130 arg2 = &temp2;
23131 arg3 = &temp3;
23132 if (!args) SWIG_fail;
23133 swig_obj[0] = args;
23134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23135 if (!SWIG_IsOK(res1)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23137 }
23138 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 resultobj = SWIG_Py_Void();
23146 if (SWIG_IsTmpObj(res2)) {
23147 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23148 } else {
23149 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23150 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23151 }
23152 if (SWIG_IsTmpObj(res3)) {
23153 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23154 } else {
23155 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23156 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23157 }
23158 return resultobj;
23159fail:
23160 return NULL;
23161}
23162
23163
23164SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23165 PyObject *resultobj = 0;
23166 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23167 int *arg2 = (int *) 0 ;
23168 int *arg3 = (int *) 0 ;
23169 void *argp1 = 0 ;
23170 int res1 = 0 ;
23171 int temp2 ;
23172 int res2 = SWIG_TMPOBJ ;
23173 int temp3 ;
23174 int res3 = SWIG_TMPOBJ ;
23175 PyObject *swig_obj[1] ;
23176
23177 arg2 = &temp2;
23178 arg3 = &temp3;
23179 if (!args) SWIG_fail;
23180 swig_obj[0] = args;
23181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23182 if (!SWIG_IsOK(res1)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23184 }
23185 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23186 {
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 resultobj = SWIG_Py_Void();
23193 if (SWIG_IsTmpObj(res2)) {
23194 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23195 } else {
23196 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23198 }
23199 if (SWIG_IsTmpObj(res3)) {
23200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23201 } else {
23202 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23204 }
23205 return resultobj;
23206fail:
23207 return NULL;
d55e5bfc
RD
23208}
23209
23210
554f62e9
RD
23211SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23212 PyObject *resultobj = 0;
23213 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23214 wxSize result;
23215 void *argp1 = 0 ;
23216 int res1 = 0 ;
23217 PyObject *swig_obj[1] ;
23218
23219 if (!args) SWIG_fail;
23220 swig_obj[0] = args;
23221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23222 if (!SWIG_IsOK(res1)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23224 }
23225 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23233 return resultobj;
23234fail:
23235 return NULL;
d55e5bfc
RD
23236}
23237
23238
554f62e9
RD
23239SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23240 PyObject *resultobj = 0;
23241 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23242 wxSize result;
23243 void *argp1 = 0 ;
23244 int res1 = 0 ;
23245 PyObject *swig_obj[1] ;
23246
23247 if (!args) SWIG_fail;
23248 swig_obj[0] = args;
23249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23250 if (!SWIG_IsOK(res1)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23252 }
23253 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23261 return resultobj;
23262fail:
23263 return NULL;
d55e5bfc
RD
23264}
23265
23266
554f62e9
RD
23267SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23268 PyObject *resultobj = 0;
23269 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23270 SwigValueWrapper<wxVisualAttributes > result;
23271 void *argp1 = 0 ;
23272 int res1 = 0 ;
23273 PyObject *swig_obj[1] ;
23274
23275 if (!args) SWIG_fail;
23276 swig_obj[0] = args;
23277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23278 if (!SWIG_IsOK(res1)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23280 }
23281 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 result = (arg1)->GetDefaultAttributes();
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23289 return resultobj;
23290fail:
23291 return NULL;
d55e5bfc
RD
23292}
23293
23294
554f62e9
RD
23295SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23296 PyObject *resultobj = 0;
23297 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23298 void *argp1 = 0 ;
23299 int res1 = 0 ;
23300 PyObject *swig_obj[1] ;
23301
23302 if (!args) SWIG_fail;
23303 swig_obj[0] = args;
23304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23305 if (!SWIG_IsOK(res1)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23307 }
23308 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23309 {
23310 PyThreadState* __tstate = wxPyBeginAllowThreads();
23311 (arg1)->OnInternalIdle();
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 resultobj = SWIG_Py_Void();
23316 return resultobj;
23317fail:
23318 return NULL;
d55e5bfc
RD
23319}
23320
23321
554f62e9
RD
23322SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23323 PyObject *obj;
23324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23325 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23326 return SWIG_Py_Void();
d55e5bfc
RD
23327}
23328
554f62e9
RD
23329SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23330 return SWIG_Python_InitShadowInstance(args);
23331}
d55e5bfc 23332
554f62e9
RD
23333SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23334 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23335 return 1;
d55e5bfc
RD
23336}
23337
23338
554f62e9
RD
23339SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23340 PyObject *pyobj = 0;
23341
23342 {
23343#if wxUSE_UNICODE
23344 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23345#else
23346 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23347#endif
23348 }
23349 return pyobj;
d55e5bfc
RD
23350}
23351
23352
554f62e9
RD
23353SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23354 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23355 return 1;
d55e5bfc
RD
23356}
23357
23358
554f62e9
RD
23359SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23360 PyObject *pyobj = 0;
23361
23362 {
23363#if wxUSE_UNICODE
23364 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23365#else
23366 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23367#endif
23368 }
23369 return pyobj;
d55e5bfc
RD
23370}
23371
23372
554f62e9
RD
23373SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23374 PyObject *resultobj = 0;
23375 wxPrintData *result = 0 ;
23376
23377 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 result = (wxPrintData *)new wxPrintData();
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23385 return resultobj;
23386fail:
23387 return NULL;
d55e5bfc
RD
23388}
23389
23390
554f62e9
RD
23391SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23392 PyObject *resultobj = 0;
23393 wxPrintData *arg1 = 0 ;
23394 wxPrintData *result = 0 ;
23395 void *argp1 = 0 ;
23396 int res1 = 0 ;
23397
23398 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23400 if (!SWIG_IsOK(res1)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23402 }
23403 if (!argp1) {
23404 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23405 }
23406 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23414 return resultobj;
23415fail:
23416 return NULL;
d55e5bfc
RD
23417}
23418
23419
554f62e9
RD
23420SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23421 int argc;
23422 PyObject *argv[2];
23423
23424 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23425 --argc;
23426 if (argc == 0) {
23427 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23428 }
23429 if (argc == 1) {
23430 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23431 }
23432
23433fail:
23434 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23435 return NULL;
d55e5bfc
RD
23436}
23437
23438
554f62e9
RD
23439SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23440 PyObject *resultobj = 0;
23441 wxPrintData *arg1 = (wxPrintData *) 0 ;
23442 void *argp1 = 0 ;
23443 int res1 = 0 ;
23444 PyObject *swig_obj[1] ;
23445
23446 if (!args) SWIG_fail;
23447 swig_obj[0] = args;
23448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23449 if (!SWIG_IsOK(res1)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23451 }
23452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 delete arg1;
d55e5bfc 23456
554f62e9
RD
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 resultobj = SWIG_Py_Void();
23461 return resultobj;
23462fail:
23463 return NULL;
d55e5bfc
RD
23464}
23465
23466
554f62e9
RD
23467SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23468 PyObject *resultobj = 0;
23469 wxPrintData *arg1 = (wxPrintData *) 0 ;
23470 int result;
23471 void *argp1 = 0 ;
23472 int res1 = 0 ;
23473 PyObject *swig_obj[1] ;
23474
23475 if (!args) SWIG_fail;
23476 swig_obj[0] = args;
23477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23478 if (!SWIG_IsOK(res1)) {
23479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23480 }
23481 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 result = (int)(arg1)->GetNoCopies();
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 resultobj = SWIG_From_int(static_cast< int >(result));
23489 return resultobj;
23490fail:
23491 return NULL;
d55e5bfc
RD
23492}
23493
23494
554f62e9
RD
23495SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23496 PyObject *resultobj = 0;
23497 wxPrintData *arg1 = (wxPrintData *) 0 ;
23498 bool result;
23499 void *argp1 = 0 ;
23500 int res1 = 0 ;
23501 PyObject *swig_obj[1] ;
23502
23503 if (!args) SWIG_fail;
23504 swig_obj[0] = args;
23505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23506 if (!SWIG_IsOK(res1)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23508 }
23509 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 result = (bool)(arg1)->GetCollate();
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 {
23517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23518 }
23519 return resultobj;
23520fail:
23521 return NULL;
d55e5bfc
RD
23522}
23523
23524
554f62e9
RD
23525SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23526 PyObject *resultobj = 0;
23527 wxPrintData *arg1 = (wxPrintData *) 0 ;
23528 int result;
23529 void *argp1 = 0 ;
23530 int res1 = 0 ;
23531 PyObject *swig_obj[1] ;
23532
23533 if (!args) SWIG_fail;
23534 swig_obj[0] = args;
23535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23536 if (!SWIG_IsOK(res1)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23538 }
23539 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (int)(arg1)->GetOrientation();
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_From_int(static_cast< int >(result));
23547 return resultobj;
23548fail:
23549 return NULL;
d55e5bfc
RD
23550}
23551
23552
554f62e9
RD
23553SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23554 PyObject *resultobj = 0;
23555 wxPrintData *arg1 = (wxPrintData *) 0 ;
23556 bool result;
23557 void *argp1 = 0 ;
23558 int res1 = 0 ;
23559 PyObject *swig_obj[1] ;
23560
23561 if (!args) SWIG_fail;
23562 swig_obj[0] = args;
23563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23564 if (!SWIG_IsOK(res1)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23566 }
23567 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 result = (bool)(arg1)->Ok();
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 {
23575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23576 }
23577 return resultobj;
23578fail:
23579 return NULL;
d55e5bfc
RD
23580}
23581
23582
554f62e9
RD
23583SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23584 PyObject *resultobj = 0;
23585 wxPrintData *arg1 = (wxPrintData *) 0 ;
23586 wxString *result = 0 ;
23587 void *argp1 = 0 ;
23588 int res1 = 0 ;
23589 PyObject *swig_obj[1] ;
23590
23591 if (!args) SWIG_fail;
23592 swig_obj[0] = args;
23593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23594 if (!SWIG_IsOK(res1)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23596 }
23597 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23600 {
554f62e9
RD
23601 wxString const &_result_ref = (arg1)->GetPrinterName();
23602 result = (wxString *) &_result_ref;
d55e5bfc 23603 }
554f62e9
RD
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 {
d55e5bfc 23608#if wxUSE_UNICODE
554f62e9 23609 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23610#else
554f62e9 23611 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23612#endif
554f62e9
RD
23613 }
23614 return resultobj;
23615fail:
23616 return NULL;
d55e5bfc
RD
23617}
23618
23619
554f62e9
RD
23620SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23621 PyObject *resultobj = 0;
23622 wxPrintData *arg1 = (wxPrintData *) 0 ;
23623 bool result;
23624 void *argp1 = 0 ;
23625 int res1 = 0 ;
23626 PyObject *swig_obj[1] ;
23627
23628 if (!args) SWIG_fail;
23629 swig_obj[0] = args;
23630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23631 if (!SWIG_IsOK(res1)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23633 }
23634 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 result = (bool)(arg1)->GetColour();
23638 wxPyEndAllowThreads(__tstate);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 }
23641 {
23642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23643 }
23644 return resultobj;
23645fail:
23646 return NULL;
d55e5bfc
RD
23647}
23648
23649
554f62e9
RD
23650SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23651 PyObject *resultobj = 0;
23652 wxPrintData *arg1 = (wxPrintData *) 0 ;
23653 wxDuplexMode result;
23654 void *argp1 = 0 ;
23655 int res1 = 0 ;
23656 PyObject *swig_obj[1] ;
23657
23658 if (!args) SWIG_fail;
23659 swig_obj[0] = args;
23660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23661 if (!SWIG_IsOK(res1)) {
23662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23663 }
23664 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (wxDuplexMode)(arg1)->GetDuplex();
23668 wxPyEndAllowThreads(__tstate);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 }
23671 resultobj = SWIG_From_int(static_cast< int >(result));
23672 return resultobj;
23673fail:
23674 return NULL;
d55e5bfc
RD
23675}
23676
23677
554f62e9
RD
23678SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23679 PyObject *resultobj = 0;
23680 wxPrintData *arg1 = (wxPrintData *) 0 ;
23681 wxPaperSize result;
23682 void *argp1 = 0 ;
23683 int res1 = 0 ;
23684 PyObject *swig_obj[1] ;
23685
23686 if (!args) SWIG_fail;
23687 swig_obj[0] = args;
23688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23689 if (!SWIG_IsOK(res1)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23691 }
23692 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 result = (wxPaperSize)(arg1)->GetPaperId();
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 resultobj = SWIG_From_int(static_cast< int >(result));
23700 return resultobj;
23701fail:
23702 return NULL;
d55e5bfc
RD
23703}
23704
23705
554f62e9
RD
23706SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23707 PyObject *resultobj = 0;
23708 wxPrintData *arg1 = (wxPrintData *) 0 ;
23709 wxSize *result = 0 ;
23710 void *argp1 = 0 ;
23711 int res1 = 0 ;
23712 PyObject *swig_obj[1] ;
23713
23714 if (!args) SWIG_fail;
23715 swig_obj[0] = args;
23716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23717 if (!SWIG_IsOK(res1)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23719 }
23720 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23723 {
554f62e9
RD
23724 wxSize const &_result_ref = (arg1)->GetPaperSize();
23725 result = (wxSize *) &_result_ref;
d55e5bfc 23726 }
554f62e9
RD
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23731 return resultobj;
23732fail:
23733 return NULL;
d55e5bfc
RD
23734}
23735
23736
554f62e9
RD
23737SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23738 PyObject *resultobj = 0;
23739 wxPrintData *arg1 = (wxPrintData *) 0 ;
23740 int result;
23741 void *argp1 = 0 ;
23742 int res1 = 0 ;
23743 PyObject *swig_obj[1] ;
23744
23745 if (!args) SWIG_fail;
23746 swig_obj[0] = args;
23747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23748 if (!SWIG_IsOK(res1)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23750 }
23751 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (int)(arg1)->GetQuality();
23755 wxPyEndAllowThreads(__tstate);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 }
23758 resultobj = SWIG_From_int(static_cast< int >(result));
23759 return resultobj;
23760fail:
23761 return NULL;
d55e5bfc
RD
23762}
23763
23764
554f62e9
RD
23765SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23766 PyObject *resultobj = 0;
23767 wxPrintData *arg1 = (wxPrintData *) 0 ;
23768 wxPrintBin result;
23769 void *argp1 = 0 ;
23770 int res1 = 0 ;
23771 PyObject *swig_obj[1] ;
23772
23773 if (!args) SWIG_fail;
23774 swig_obj[0] = args;
23775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23776 if (!SWIG_IsOK(res1)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23778 }
23779 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (wxPrintBin)(arg1)->GetBin();
23783 wxPyEndAllowThreads(__tstate);
23784 if (PyErr_Occurred()) SWIG_fail;
23785 }
23786 resultobj = SWIG_From_int(static_cast< int >(result));
23787 return resultobj;
23788fail:
23789 return NULL;
d55e5bfc
RD
23790}
23791
23792
554f62e9
RD
23793SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23794 PyObject *resultobj = 0;
23795 wxPrintData *arg1 = (wxPrintData *) 0 ;
23796 wxPrintMode result;
23797 void *argp1 = 0 ;
23798 int res1 = 0 ;
23799 PyObject *swig_obj[1] ;
23800
23801 if (!args) SWIG_fail;
23802 swig_obj[0] = args;
23803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23804 if (!SWIG_IsOK(res1)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23806 }
23807 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 resultobj = SWIG_From_int(static_cast< int >(result));
23815 return resultobj;
23816fail:
23817 return NULL;
23818}
23819
23820
23821SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj = 0;
23823 wxPrintData *arg1 = (wxPrintData *) 0 ;
23824 int arg2 ;
23825 void *argp1 = 0 ;
23826 int res1 = 0 ;
23827 int val2 ;
23828 int ecode2 = 0 ;
23829 PyObject * obj0 = 0 ;
23830 PyObject * obj1 = 0 ;
23831 char * kwnames[] = {
23832 (char *) "self",(char *) "v", NULL
23833 };
23834
23835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23837 if (!SWIG_IsOK(res1)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 }
23840 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23841 ecode2 = SWIG_AsVal_int(obj1, &val2);
23842 if (!SWIG_IsOK(ecode2)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23844 }
23845 arg2 = static_cast< int >(val2);
23846 {
23847 PyThreadState* __tstate = wxPyBeginAllowThreads();
23848 (arg1)->SetNoCopies(arg2);
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 resultobj = SWIG_Py_Void();
23853 return resultobj;
23854fail:
23855 return NULL;
23856}
23857
23858
23859SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23860 PyObject *resultobj = 0;
23861 wxPrintData *arg1 = (wxPrintData *) 0 ;
23862 bool arg2 ;
23863 void *argp1 = 0 ;
23864 int res1 = 0 ;
23865 bool val2 ;
23866 int ecode2 = 0 ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 char * kwnames[] = {
23870 (char *) "self",(char *) "flag", NULL
23871 };
23872
23873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23875 if (!SWIG_IsOK(res1)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 }
23878 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23879 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23880 if (!SWIG_IsOK(ecode2)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23882 }
23883 arg2 = static_cast< bool >(val2);
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 (arg1)->SetCollate(arg2);
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 resultobj = SWIG_Py_Void();
23891 return resultobj;
23892fail:
23893 return NULL;
23894}
23895
23896
23897SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj = 0;
23899 wxPrintData *arg1 = (wxPrintData *) 0 ;
23900 int arg2 ;
23901 void *argp1 = 0 ;
23902 int res1 = 0 ;
23903 int val2 ;
23904 int ecode2 = 0 ;
23905 PyObject * obj0 = 0 ;
23906 PyObject * obj1 = 0 ;
23907 char * kwnames[] = {
23908 (char *) "self",(char *) "orient", NULL
23909 };
23910
23911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23913 if (!SWIG_IsOK(res1)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23915 }
23916 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23917 ecode2 = SWIG_AsVal_int(obj1, &val2);
23918 if (!SWIG_IsOK(ecode2)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23920 }
23921 arg2 = static_cast< int >(val2);
23922 {
23923 PyThreadState* __tstate = wxPyBeginAllowThreads();
23924 (arg1)->SetOrientation(arg2);
23925 wxPyEndAllowThreads(__tstate);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 }
23928 resultobj = SWIG_Py_Void();
23929 return resultobj;
23930fail:
23931 return NULL;
23932}
23933
23934
23935SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj = 0;
23937 wxPrintData *arg1 = (wxPrintData *) 0 ;
23938 wxString *arg2 = 0 ;
23939 void *argp1 = 0 ;
23940 int res1 = 0 ;
23941 bool temp2 = false ;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char * kwnames[] = {
23945 (char *) "self",(char *) "name", NULL
23946 };
23947
23948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23950 if (!SWIG_IsOK(res1)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23952 }
23953 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23954 {
23955 arg2 = wxString_in_helper(obj1);
23956 if (arg2 == NULL) SWIG_fail;
23957 temp2 = true;
23958 }
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 (arg1)->SetPrinterName((wxString const &)*arg2);
23962 wxPyEndAllowThreads(__tstate);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 }
23965 resultobj = SWIG_Py_Void();
23966 {
23967 if (temp2)
23968 delete arg2;
23969 }
23970 return resultobj;
23971fail:
23972 {
23973 if (temp2)
23974 delete arg2;
23975 }
23976 return NULL;
23977}
23978
23979
23980SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23981 PyObject *resultobj = 0;
23982 wxPrintData *arg1 = (wxPrintData *) 0 ;
23983 bool arg2 ;
23984 void *argp1 = 0 ;
23985 int res1 = 0 ;
23986 bool val2 ;
23987 int ecode2 = 0 ;
23988 PyObject * obj0 = 0 ;
23989 PyObject * obj1 = 0 ;
23990 char * kwnames[] = {
23991 (char *) "self",(char *) "colour", NULL
23992 };
23993
23994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23996 if (!SWIG_IsOK(res1)) {
23997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23998 }
23999 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24000 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24001 if (!SWIG_IsOK(ecode2)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24003 }
24004 arg2 = static_cast< bool >(val2);
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->SetColour(arg2);
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 resultobj = SWIG_Py_Void();
24012 return resultobj;
24013fail:
24014 return NULL;
24015}
24016
24017
24018SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj = 0;
24020 wxPrintData *arg1 = (wxPrintData *) 0 ;
24021 wxDuplexMode arg2 ;
24022 void *argp1 = 0 ;
24023 int res1 = 0 ;
24024 int val2 ;
24025 int ecode2 = 0 ;
24026 PyObject * obj0 = 0 ;
24027 PyObject * obj1 = 0 ;
24028 char * kwnames[] = {
24029 (char *) "self",(char *) "duplex", NULL
24030 };
24031
24032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24034 if (!SWIG_IsOK(res1)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 }
24037 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24038 ecode2 = SWIG_AsVal_int(obj1, &val2);
24039 if (!SWIG_IsOK(ecode2)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24041 }
24042 arg2 = static_cast< wxDuplexMode >(val2);
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 (arg1)->SetDuplex(arg2);
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
24049 resultobj = SWIG_Py_Void();
24050 return resultobj;
24051fail:
24052 return NULL;
24053}
24054
24055
24056SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24057 PyObject *resultobj = 0;
24058 wxPrintData *arg1 = (wxPrintData *) 0 ;
24059 wxPaperSize arg2 ;
24060 void *argp1 = 0 ;
24061 int res1 = 0 ;
24062 int val2 ;
24063 int ecode2 = 0 ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 char * kwnames[] = {
24067 (char *) "self",(char *) "sizeId", NULL
24068 };
24069
24070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24072 if (!SWIG_IsOK(res1)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 }
24075 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24076 ecode2 = SWIG_AsVal_int(obj1, &val2);
24077 if (!SWIG_IsOK(ecode2)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24079 }
24080 arg2 = static_cast< wxPaperSize >(val2);
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->SetPaperId(arg2);
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 resultobj = SWIG_Py_Void();
24088 return resultobj;
24089fail:
24090 return NULL;
24091}
24092
24093
24094SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj = 0;
24096 wxPrintData *arg1 = (wxPrintData *) 0 ;
24097 wxSize *arg2 = 0 ;
24098 void *argp1 = 0 ;
24099 int res1 = 0 ;
24100 wxSize temp2 ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char * kwnames[] = {
24104 (char *) "self",(char *) "sz", NULL
24105 };
24106
24107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24109 if (!SWIG_IsOK(res1)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24111 }
24112 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24113 {
24114 arg2 = &temp2;
24115 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24116 }
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 (arg1)->SetPaperSize((wxSize const &)*arg2);
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 resultobj = SWIG_Py_Void();
24124 return resultobj;
24125fail:
24126 return NULL;
24127}
24128
24129
24130SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj = 0;
24132 wxPrintData *arg1 = (wxPrintData *) 0 ;
24133 int arg2 ;
24134 void *argp1 = 0 ;
24135 int res1 = 0 ;
24136 int val2 ;
24137 int ecode2 = 0 ;
24138 PyObject * obj0 = 0 ;
24139 PyObject * obj1 = 0 ;
24140 char * kwnames[] = {
24141 (char *) "self",(char *) "quality", NULL
24142 };
24143
24144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24146 if (!SWIG_IsOK(res1)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24148 }
24149 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24150 ecode2 = SWIG_AsVal_int(obj1, &val2);
24151 if (!SWIG_IsOK(ecode2)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24153 }
24154 arg2 = static_cast< int >(val2);
24155 {
24156 PyThreadState* __tstate = wxPyBeginAllowThreads();
24157 (arg1)->SetQuality(arg2);
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 resultobj = SWIG_Py_Void();
24162 return resultobj;
24163fail:
24164 return NULL;
24165}
24166
24167
24168SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24169 PyObject *resultobj = 0;
24170 wxPrintData *arg1 = (wxPrintData *) 0 ;
24171 wxPrintBin arg2 ;
24172 void *argp1 = 0 ;
24173 int res1 = 0 ;
24174 int val2 ;
24175 int ecode2 = 0 ;
24176 PyObject * obj0 = 0 ;
24177 PyObject * obj1 = 0 ;
24178 char * kwnames[] = {
24179 (char *) "self",(char *) "bin", NULL
24180 };
24181
24182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24184 if (!SWIG_IsOK(res1)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24186 }
24187 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24188 ecode2 = SWIG_AsVal_int(obj1, &val2);
24189 if (!SWIG_IsOK(ecode2)) {
24190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24191 }
24192 arg2 = static_cast< wxPrintBin >(val2);
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 (arg1)->SetBin(arg2);
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 resultobj = SWIG_Py_Void();
24200 return resultobj;
24201fail:
24202 return NULL;
24203}
24204
24205
24206SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj = 0;
24208 wxPrintData *arg1 = (wxPrintData *) 0 ;
24209 wxPrintMode arg2 ;
24210 void *argp1 = 0 ;
24211 int res1 = 0 ;
24212 int val2 ;
24213 int ecode2 = 0 ;
24214 PyObject * obj0 = 0 ;
24215 PyObject * obj1 = 0 ;
24216 char * kwnames[] = {
24217 (char *) "self",(char *) "printMode", NULL
24218 };
24219
24220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24222 if (!SWIG_IsOK(res1)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24224 }
24225 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24226 ecode2 = SWIG_AsVal_int(obj1, &val2);
24227 if (!SWIG_IsOK(ecode2)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24229 }
24230 arg2 = static_cast< wxPrintMode >(val2);
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 (arg1)->SetPrintMode(arg2);
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 resultobj = SWIG_Py_Void();
24238 return resultobj;
24239fail:
24240 return NULL;
d55e5bfc
RD
24241}
24242
24243
554f62e9
RD
24244SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24245 PyObject *resultobj = 0;
24246 wxPrintData *arg1 = (wxPrintData *) 0 ;
24247 wxString result;
24248 void *argp1 = 0 ;
24249 int res1 = 0 ;
24250 PyObject *swig_obj[1] ;
24251
24252 if (!args) SWIG_fail;
24253 swig_obj[0] = args;
24254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24255 if (!SWIG_IsOK(res1)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24257 }
24258 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 result = ((wxPrintData const *)arg1)->GetFilename();
24262 wxPyEndAllowThreads(__tstate);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 {
d55e5bfc 24266#if wxUSE_UNICODE
554f62e9 24267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24268#else
554f62e9 24269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24270#endif
554f62e9
RD
24271 }
24272 return resultobj;
24273fail:
24274 return NULL;
24275}
24276
24277
24278SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj = 0;
24280 wxPrintData *arg1 = (wxPrintData *) 0 ;
24281 wxString *arg2 = 0 ;
24282 void *argp1 = 0 ;
24283 int res1 = 0 ;
24284 bool temp2 = false ;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char * kwnames[] = {
24288 (char *) "self",(char *) "filename", NULL
24289 };
24290
24291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24293 if (!SWIG_IsOK(res1)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24295 }
24296 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24297 {
24298 arg2 = wxString_in_helper(obj1);
24299 if (arg2 == NULL) SWIG_fail;
24300 temp2 = true;
24301 }
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 (arg1)->SetFilename((wxString const &)*arg2);
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 resultobj = SWIG_Py_Void();
24309 {
24310 if (temp2)
24311 delete arg2;
24312 }
24313 return resultobj;
24314fail:
24315 {
24316 if (temp2)
24317 delete arg2;
24318 }
24319 return NULL;
d55e5bfc
RD
24320}
24321
24322
554f62e9
RD
24323SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24324 PyObject *resultobj = 0;
24325 wxPrintData *arg1 = (wxPrintData *) 0 ;
24326 PyObject *result = 0 ;
24327 void *argp1 = 0 ;
24328 int res1 = 0 ;
24329 PyObject *swig_obj[1] ;
24330
24331 if (!args) SWIG_fail;
24332 swig_obj[0] = args;
24333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24334 if (!SWIG_IsOK(res1)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24336 }
24337 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 resultobj = result;
24345 return resultobj;
24346fail:
24347 return NULL;
24348}
24349
24350
24351SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj = 0;
24353 wxPrintData *arg1 = (wxPrintData *) 0 ;
24354 PyObject *arg2 = (PyObject *) 0 ;
24355 void *argp1 = 0 ;
24356 int res1 = 0 ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char * kwnames[] = {
24360 (char *) "self",(char *) "data", NULL
24361 };
24362
24363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24365 if (!SWIG_IsOK(res1)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24367 }
24368 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24369 arg2 = obj1;
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 wxPrintData_SetPrivData(arg1,arg2);
24373 wxPyEndAllowThreads(__tstate);
24374 if (PyErr_Occurred()) SWIG_fail;
24375 }
24376 resultobj = SWIG_Py_Void();
24377 return resultobj;
24378fail:
24379 return NULL;
d55e5bfc
RD
24380}
24381
24382
554f62e9
RD
24383SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24384 PyObject *obj;
24385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24387 return SWIG_Py_Void();
c1cb24a4
RD
24388}
24389
554f62e9
RD
24390SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24391 return SWIG_Python_InitShadowInstance(args);
c1cb24a4
RD
24392}
24393
554f62e9
RD
24394SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24395 PyObject *resultobj = 0;
24396 wxPageSetupDialogData *result = 0 ;
24397
24398 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24399 {
24400 PyThreadState* __tstate = wxPyBeginAllowThreads();
24401 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24406 return resultobj;
24407fail:
24408 return NULL;
d55e5bfc
RD
24409}
24410
24411
554f62e9
RD
24412SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24413 PyObject *resultobj = 0;
24414 wxPageSetupDialogData *arg1 = 0 ;
24415 wxPageSetupDialogData *result = 0 ;
24416 void *argp1 = 0 ;
24417 int res1 = 0 ;
24418
24419 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24421 if (!SWIG_IsOK(res1)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24423 }
24424 if (!argp1) {
24425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24426 }
24427 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24428 {
24429 PyThreadState* __tstate = wxPyBeginAllowThreads();
24430 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24435 return resultobj;
24436fail:
24437 return NULL;
d55e5bfc
RD
24438}
24439
24440
554f62e9
RD
24441SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24442 PyObject *resultobj = 0;
24443 wxPrintData *arg1 = 0 ;
24444 wxPageSetupDialogData *result = 0 ;
24445 void *argp1 = 0 ;
24446 int res1 = 0 ;
24447
24448 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24450 if (!SWIG_IsOK(res1)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24452 }
24453 if (!argp1) {
24454 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24455 }
24456 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24464 return resultobj;
24465fail:
24466 return NULL;
d55e5bfc
RD
24467}
24468
24469
554f62e9
RD
24470SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24471 int argc;
24472 PyObject *argv[2];
24473
24474 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24475 --argc;
24476 if (argc == 0) {
24477 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24478 }
24479 if (argc == 1) {
24480 int _v = 0;
d55e5bfc 24481 {
554f62e9
RD
24482 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24483 _v = SWIG_CheckState(res);
d55e5bfc 24484 }
554f62e9
RD
24485 if (!_v) goto check_2;
24486 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24487 }
24488check_2:
24489
24490 if (argc == 1) {
24491 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24492 }
24493
24494fail:
24495 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24496 return NULL;
d55e5bfc
RD
24497}
24498
24499
554f62e9
RD
24500SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24501 PyObject *resultobj = 0;
24502 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24503 void *argp1 = 0 ;
24504 int res1 = 0 ;
24505 PyObject *swig_obj[1] ;
24506
24507 if (!args) SWIG_fail;
24508 swig_obj[0] = args;
24509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24510 if (!SWIG_IsOK(res1)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24512 }
24513 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 delete arg1;
d55e5bfc 24517
554f62e9
RD
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 resultobj = SWIG_Py_Void();
24522 return resultobj;
24523fail:
24524 return NULL;
24525}
24526
24527
24528SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24529 PyObject *resultobj = 0;
24530 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24531 bool arg2 ;
24532 void *argp1 = 0 ;
24533 int res1 = 0 ;
24534 bool val2 ;
24535 int ecode2 = 0 ;
24536 PyObject * obj0 = 0 ;
24537 PyObject * obj1 = 0 ;
24538 char * kwnames[] = {
24539 (char *) "self",(char *) "flag", NULL
24540 };
24541
24542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24544 if (!SWIG_IsOK(res1)) {
24545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24546 }
24547 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24548 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24549 if (!SWIG_IsOK(ecode2)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24551 }
24552 arg2 = static_cast< bool >(val2);
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 (arg1)->EnableHelp(arg2);
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 resultobj = SWIG_Py_Void();
24560 return resultobj;
24561fail:
24562 return NULL;
24563}
24564
24565
24566SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj = 0;
24568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24569 bool arg2 ;
24570 void *argp1 = 0 ;
24571 int res1 = 0 ;
24572 bool val2 ;
24573 int ecode2 = 0 ;
24574 PyObject * obj0 = 0 ;
24575 PyObject * obj1 = 0 ;
24576 char * kwnames[] = {
24577 (char *) "self",(char *) "flag", NULL
24578 };
24579
24580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24582 if (!SWIG_IsOK(res1)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24584 }
24585 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24586 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24587 if (!SWIG_IsOK(ecode2)) {
24588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24589 }
24590 arg2 = static_cast< bool >(val2);
24591 {
24592 PyThreadState* __tstate = wxPyBeginAllowThreads();
24593 (arg1)->EnableMargins(arg2);
24594 wxPyEndAllowThreads(__tstate);
24595 if (PyErr_Occurred()) SWIG_fail;
24596 }
24597 resultobj = SWIG_Py_Void();
24598 return resultobj;
24599fail:
24600 return NULL;
24601}
24602
24603
24604SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24605 PyObject *resultobj = 0;
24606 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24607 bool arg2 ;
24608 void *argp1 = 0 ;
24609 int res1 = 0 ;
24610 bool val2 ;
24611 int ecode2 = 0 ;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 char * kwnames[] = {
24615 (char *) "self",(char *) "flag", NULL
24616 };
24617
24618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24620 if (!SWIG_IsOK(res1)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24622 }
24623 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24624 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24625 if (!SWIG_IsOK(ecode2)) {
24626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24627 }
24628 arg2 = static_cast< bool >(val2);
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 (arg1)->EnableOrientation(arg2);
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 resultobj = SWIG_Py_Void();
24636 return resultobj;
24637fail:
24638 return NULL;
24639}
24640
24641
24642SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj = 0;
24644 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24645 bool arg2 ;
24646 void *argp1 = 0 ;
24647 int res1 = 0 ;
24648 bool val2 ;
24649 int ecode2 = 0 ;
24650 PyObject * obj0 = 0 ;
24651 PyObject * obj1 = 0 ;
24652 char * kwnames[] = {
24653 (char *) "self",(char *) "flag", NULL
24654 };
24655
24656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24658 if (!SWIG_IsOK(res1)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24660 }
24661 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24662 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24663 if (!SWIG_IsOK(ecode2)) {
24664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24665 }
24666 arg2 = static_cast< bool >(val2);
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 (arg1)->EnablePaper(arg2);
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 resultobj = SWIG_Py_Void();
24674 return resultobj;
24675fail:
24676 return NULL;
24677}
24678
24679
24680SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24681 PyObject *resultobj = 0;
24682 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24683 bool arg2 ;
24684 void *argp1 = 0 ;
24685 int res1 = 0 ;
24686 bool val2 ;
24687 int ecode2 = 0 ;
24688 PyObject * obj0 = 0 ;
24689 PyObject * obj1 = 0 ;
24690 char * kwnames[] = {
24691 (char *) "self",(char *) "flag", NULL
24692 };
24693
24694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24696 if (!SWIG_IsOK(res1)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24698 }
24699 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24700 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24701 if (!SWIG_IsOK(ecode2)) {
24702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24703 }
24704 arg2 = static_cast< bool >(val2);
24705 {
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 (arg1)->EnablePrinter(arg2);
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 resultobj = SWIG_Py_Void();
24712 return resultobj;
24713fail:
24714 return NULL;
d55e5bfc
RD
24715}
24716
24717
554f62e9
RD
24718SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24719 PyObject *resultobj = 0;
24720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24721 bool result;
24722 void *argp1 = 0 ;
24723 int res1 = 0 ;
24724 PyObject *swig_obj[1] ;
24725
24726 if (!args) SWIG_fail;
24727 swig_obj[0] = args;
24728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24729 if (!SWIG_IsOK(res1)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24731 }
24732 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = (bool)(arg1)->GetDefaultMinMargins();
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 {
24740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24741 }
24742 return resultobj;
24743fail:
24744 return NULL;
d55e5bfc
RD
24745}
24746
24747
554f62e9
RD
24748SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24749 PyObject *resultobj = 0;
24750 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24751 bool result;
24752 void *argp1 = 0 ;
24753 int res1 = 0 ;
24754 PyObject *swig_obj[1] ;
24755
24756 if (!args) SWIG_fail;
24757 swig_obj[0] = args;
24758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24759 if (!SWIG_IsOK(res1)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24761 }
24762 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 result = (bool)(arg1)->GetEnableMargins();
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 {
24770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24771 }
24772 return resultobj;
24773fail:
24774 return NULL;
d55e5bfc
RD
24775}
24776
24777
554f62e9
RD
24778SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24779 PyObject *resultobj = 0;
24780 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24781 bool result;
24782 void *argp1 = 0 ;
24783 int res1 = 0 ;
24784 PyObject *swig_obj[1] ;
24785
24786 if (!args) SWIG_fail;
24787 swig_obj[0] = args;
24788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24789 if (!SWIG_IsOK(res1)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24791 }
24792 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 result = (bool)(arg1)->GetEnableOrientation();
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 {
24800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24801 }
24802 return resultobj;
24803fail:
24804 return NULL;
d55e5bfc
RD
24805}
24806
24807
554f62e9
RD
24808SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24809 PyObject *resultobj = 0;
24810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24811 bool result;
24812 void *argp1 = 0 ;
24813 int res1 = 0 ;
24814 PyObject *swig_obj[1] ;
24815
24816 if (!args) SWIG_fail;
24817 swig_obj[0] = args;
24818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24819 if (!SWIG_IsOK(res1)) {
24820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24821 }
24822 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 result = (bool)(arg1)->GetEnablePaper();
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 {
24830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24831 }
24832 return resultobj;
24833fail:
24834 return NULL;
d55e5bfc
RD
24835}
24836
24837
554f62e9
RD
24838SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24839 PyObject *resultobj = 0;
24840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24841 bool result;
24842 void *argp1 = 0 ;
24843 int res1 = 0 ;
24844 PyObject *swig_obj[1] ;
24845
24846 if (!args) SWIG_fail;
24847 swig_obj[0] = args;
24848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24849 if (!SWIG_IsOK(res1)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24851 }
24852 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 result = (bool)(arg1)->GetEnablePrinter();
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 {
24860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24861 }
24862 return resultobj;
24863fail:
24864 return NULL;
d55e5bfc
RD
24865}
24866
24867
554f62e9
RD
24868SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24869 PyObject *resultobj = 0;
24870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24871 bool result;
24872 void *argp1 = 0 ;
24873 int res1 = 0 ;
24874 PyObject *swig_obj[1] ;
24875
24876 if (!args) SWIG_fail;
24877 swig_obj[0] = args;
24878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24879 if (!SWIG_IsOK(res1)) {
24880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24881 }
24882 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 result = (bool)(arg1)->GetEnableHelp();
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 {
24890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24891 }
24892 return resultobj;
24893fail:
24894 return NULL;
d55e5bfc
RD
24895}
24896
24897
554f62e9
RD
24898SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24899 PyObject *resultobj = 0;
24900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24901 bool result;
24902 void *argp1 = 0 ;
24903 int res1 = 0 ;
24904 PyObject *swig_obj[1] ;
24905
24906 if (!args) SWIG_fail;
24907 swig_obj[0] = args;
24908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24909 if (!SWIG_IsOK(res1)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24911 }
24912 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (bool)(arg1)->GetDefaultInfo();
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 {
24920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24921 }
24922 return resultobj;
24923fail:
24924 return NULL;
d55e5bfc
RD
24925}
24926
24927
554f62e9
RD
24928SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24929 PyObject *resultobj = 0;
24930 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24931 wxPoint result;
24932 void *argp1 = 0 ;
24933 int res1 = 0 ;
24934 PyObject *swig_obj[1] ;
24935
24936 if (!args) SWIG_fail;
24937 swig_obj[0] = args;
24938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24939 if (!SWIG_IsOK(res1)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24941 }
24942 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 result = (arg1)->GetMarginTopLeft();
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24950 return resultobj;
24951fail:
24952 return NULL;
d55e5bfc
RD
24953}
24954
24955
554f62e9
RD
24956SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24957 PyObject *resultobj = 0;
24958 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24959 wxPoint result;
24960 void *argp1 = 0 ;
24961 int res1 = 0 ;
24962 PyObject *swig_obj[1] ;
24963
24964 if (!args) SWIG_fail;
24965 swig_obj[0] = args;
24966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24967 if (!SWIG_IsOK(res1)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24969 }
24970 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (arg1)->GetMarginBottomRight();
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24978 return resultobj;
24979fail:
24980 return NULL;
d55e5bfc
RD
24981}
24982
24983
554f62e9
RD
24984SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24985 PyObject *resultobj = 0;
24986 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24987 wxPoint result;
24988 void *argp1 = 0 ;
24989 int res1 = 0 ;
24990 PyObject *swig_obj[1] ;
24991
24992 if (!args) SWIG_fail;
24993 swig_obj[0] = args;
24994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24995 if (!SWIG_IsOK(res1)) {
24996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24997 }
24998 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = (arg1)->GetMinMarginTopLeft();
25002 wxPyEndAllowThreads(__tstate);
25003 if (PyErr_Occurred()) SWIG_fail;
25004 }
25005 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25006 return resultobj;
25007fail:
25008 return NULL;
d55e5bfc
RD
25009}
25010
25011
554f62e9
RD
25012SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25013 PyObject *resultobj = 0;
25014 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25015 wxPoint result;
25016 void *argp1 = 0 ;
25017 int res1 = 0 ;
25018 PyObject *swig_obj[1] ;
25019
25020 if (!args) SWIG_fail;
25021 swig_obj[0] = args;
25022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25023 if (!SWIG_IsOK(res1)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25025 }
25026 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (arg1)->GetMinMarginBottomRight();
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25034 return resultobj;
25035fail:
25036 return NULL;
d55e5bfc
RD
25037}
25038
25039
554f62e9
RD
25040SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25041 PyObject *resultobj = 0;
25042 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25043 wxPaperSize result;
25044 void *argp1 = 0 ;
25045 int res1 = 0 ;
25046 PyObject *swig_obj[1] ;
25047
25048 if (!args) SWIG_fail;
25049 swig_obj[0] = args;
25050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25051 if (!SWIG_IsOK(res1)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25053 }
25054 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 result = (wxPaperSize)(arg1)->GetPaperId();
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 resultobj = SWIG_From_int(static_cast< int >(result));
25062 return resultobj;
25063fail:
25064 return NULL;
d55e5bfc
RD
25065}
25066
25067
554f62e9
RD
25068SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25069 PyObject *resultobj = 0;
25070 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25071 wxSize result;
25072 void *argp1 = 0 ;
25073 int res1 = 0 ;
25074 PyObject *swig_obj[1] ;
25075
25076 if (!args) SWIG_fail;
25077 swig_obj[0] = args;
25078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25079 if (!SWIG_IsOK(res1)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25081 }
25082 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 result = (arg1)->GetPaperSize();
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25090 return resultobj;
25091fail:
25092 return NULL;
7449af73
RD
25093}
25094
25095
554f62e9
RD
25096SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25097 PyObject *resultobj = 0;
25098 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25099 wxPrintData *result = 0 ;
25100 void *argp1 = 0 ;
25101 int res1 = 0 ;
25102 PyObject *swig_obj[1] ;
25103
25104 if (!args) SWIG_fail;
25105 swig_obj[0] = args;
25106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25107 if (!SWIG_IsOK(res1)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25109 }
25110 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25113 {
554f62e9
RD
25114 wxPrintData &_result_ref = (arg1)->GetPrintData();
25115 result = (wxPrintData *) &_result_ref;
d55e5bfc 25116 }
554f62e9
RD
25117 wxPyEndAllowThreads(__tstate);
25118 if (PyErr_Occurred()) SWIG_fail;
25119 }
25120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25121 return resultobj;
25122fail:
25123 return NULL;
d55e5bfc
RD
25124}
25125
25126
554f62e9
RD
25127SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25128 PyObject *resultobj = 0;
25129 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25130 bool result;
25131 void *argp1 = 0 ;
25132 int res1 = 0 ;
25133 PyObject *swig_obj[1] ;
25134
25135 if (!args) SWIG_fail;
25136 swig_obj[0] = args;
25137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25138 if (!SWIG_IsOK(res1)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25140 }
25141 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 result = (bool)(arg1)->Ok();
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 {
25149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25150 }
25151 return resultobj;
25152fail:
25153 return NULL;
25154}
25155
25156
25157SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25158 PyObject *resultobj = 0;
25159 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25160 bool arg2 ;
25161 void *argp1 = 0 ;
25162 int res1 = 0 ;
25163 bool val2 ;
25164 int ecode2 = 0 ;
25165 PyObject * obj0 = 0 ;
25166 PyObject * obj1 = 0 ;
25167 char * kwnames[] = {
25168 (char *) "self",(char *) "flag", NULL
25169 };
25170
25171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25173 if (!SWIG_IsOK(res1)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25175 }
25176 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25177 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25178 if (!SWIG_IsOK(ecode2)) {
25179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25180 }
25181 arg2 = static_cast< bool >(val2);
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 (arg1)->SetDefaultInfo(arg2);
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 resultobj = SWIG_Py_Void();
25189 return resultobj;
25190fail:
25191 return NULL;
25192}
25193
25194
25195SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25196 PyObject *resultobj = 0;
25197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25198 bool arg2 ;
25199 void *argp1 = 0 ;
25200 int res1 = 0 ;
25201 bool val2 ;
25202 int ecode2 = 0 ;
25203 PyObject * obj0 = 0 ;
25204 PyObject * obj1 = 0 ;
25205 char * kwnames[] = {
25206 (char *) "self",(char *) "flag", NULL
25207 };
25208
25209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25211 if (!SWIG_IsOK(res1)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25213 }
25214 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25215 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25216 if (!SWIG_IsOK(ecode2)) {
25217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25218 }
25219 arg2 = static_cast< bool >(val2);
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 (arg1)->SetDefaultMinMargins(arg2);
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 resultobj = SWIG_Py_Void();
25227 return resultobj;
25228fail:
25229 return NULL;
25230}
25231
25232
25233SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj = 0;
25235 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25236 wxPoint *arg2 = 0 ;
25237 void *argp1 = 0 ;
25238 int res1 = 0 ;
25239 wxPoint temp2 ;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 char * kwnames[] = {
25243 (char *) "self",(char *) "pt", NULL
25244 };
25245
25246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25248 if (!SWIG_IsOK(res1)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25250 }
25251 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25252 {
25253 arg2 = &temp2;
25254 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25255 }
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 resultobj = SWIG_Py_Void();
25263 return resultobj;
25264fail:
25265 return NULL;
25266}
25267
25268
25269SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25270 PyObject *resultobj = 0;
25271 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25272 wxPoint *arg2 = 0 ;
25273 void *argp1 = 0 ;
25274 int res1 = 0 ;
25275 wxPoint temp2 ;
25276 PyObject * obj0 = 0 ;
25277 PyObject * obj1 = 0 ;
25278 char * kwnames[] = {
25279 (char *) "self",(char *) "pt", NULL
25280 };
25281
25282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25284 if (!SWIG_IsOK(res1)) {
25285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25286 }
25287 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25288 {
25289 arg2 = &temp2;
25290 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25291 }
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 resultobj = SWIG_Py_Void();
25299 return resultobj;
25300fail:
25301 return NULL;
25302}
25303
25304
25305SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj = 0;
25307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25308 wxPoint *arg2 = 0 ;
25309 void *argp1 = 0 ;
25310 int res1 = 0 ;
25311 wxPoint temp2 ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 char * kwnames[] = {
25315 (char *) "self",(char *) "pt", NULL
25316 };
25317
25318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25320 if (!SWIG_IsOK(res1)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25322 }
25323 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25324 {
25325 arg2 = &temp2;
25326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25327 }
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 resultobj = SWIG_Py_Void();
25335 return resultobj;
25336fail:
25337 return NULL;
25338}
25339
25340
25341SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj = 0;
25343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25344 wxPoint *arg2 = 0 ;
25345 void *argp1 = 0 ;
25346 int res1 = 0 ;
25347 wxPoint temp2 ;
25348 PyObject * obj0 = 0 ;
25349 PyObject * obj1 = 0 ;
25350 char * kwnames[] = {
25351 (char *) "self",(char *) "pt", NULL
25352 };
25353
25354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25356 if (!SWIG_IsOK(res1)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 }
25359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25360 {
25361 arg2 = &temp2;
25362 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 resultobj = SWIG_Py_Void();
25371 return resultobj;
25372fail:
25373 return NULL;
25374}
25375
25376
25377SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj = 0;
25379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25380 wxPaperSize arg2 ;
25381 void *argp1 = 0 ;
25382 int res1 = 0 ;
25383 int val2 ;
25384 int ecode2 = 0 ;
25385 PyObject * obj0 = 0 ;
25386 PyObject * obj1 = 0 ;
25387 char * kwnames[] = {
25388 (char *) "self",(char *) "id", NULL
25389 };
25390
25391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 ecode2 = SWIG_AsVal_int(obj1, &val2);
25398 if (!SWIG_IsOK(ecode2)) {
25399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25400 }
25401 arg2 = static_cast< wxPaperSize >(val2);
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 (arg1)->SetPaperId(arg2);
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 resultobj = SWIG_Py_Void();
25409 return resultobj;
25410fail:
25411 return NULL;
25412}
25413
25414
25415SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj = 0;
25417 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25418 wxSize *arg2 = 0 ;
25419 void *argp1 = 0 ;
25420 int res1 = 0 ;
25421 wxSize temp2 ;
25422 PyObject * obj0 = 0 ;
25423 PyObject * obj1 = 0 ;
25424 char * kwnames[] = {
25425 (char *) "self",(char *) "size", NULL
25426 };
25427
25428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25430 if (!SWIG_IsOK(res1)) {
25431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25432 }
25433 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25434 {
25435 arg2 = &temp2;
25436 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25437 }
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 (arg1)->SetPaperSize((wxSize const &)*arg2);
25441 wxPyEndAllowThreads(__tstate);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 resultobj = SWIG_Py_Void();
25445 return resultobj;
25446fail:
25447 return NULL;
25448}
25449
25450
25451SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25452 PyObject *resultobj = 0;
25453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25454 wxPrintData *arg2 = 0 ;
25455 void *argp1 = 0 ;
25456 int res1 = 0 ;
25457 void *argp2 = 0 ;
25458 int res2 = 0 ;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 char * kwnames[] = {
25462 (char *) "self",(char *) "printData", NULL
25463 };
25464
25465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25467 if (!SWIG_IsOK(res1)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25469 }
25470 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25471 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25472 if (!SWIG_IsOK(res2)) {
25473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25474 }
25475 if (!argp2) {
25476 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25477 }
25478 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 resultobj = SWIG_Py_Void();
25486 return resultobj;
25487fail:
25488 return NULL;
d55e5bfc
RD
25489}
25490
25491
554f62e9
RD
25492SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25493 PyObject *resultobj = 0;
25494 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25495 void *argp1 = 0 ;
25496 int res1 = 0 ;
25497 PyObject *swig_obj[1] ;
25498
25499 if (!args) SWIG_fail;
25500 swig_obj[0] = args;
25501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25502 if (!SWIG_IsOK(res1)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25504 }
25505 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 (arg1)->CalculateIdFromPaperSize();
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 resultobj = SWIG_Py_Void();
25513 return resultobj;
25514fail:
25515 return NULL;
d55e5bfc
RD
25516}
25517
25518
554f62e9
RD
25519SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25520 PyObject *resultobj = 0;
25521 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25522 void *argp1 = 0 ;
25523 int res1 = 0 ;
25524 PyObject *swig_obj[1] ;
25525
25526 if (!args) SWIG_fail;
25527 swig_obj[0] = args;
25528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25529 if (!SWIG_IsOK(res1)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25531 }
25532 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->CalculatePaperSizeFromId();
25536 wxPyEndAllowThreads(__tstate);
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 resultobj = SWIG_Py_Void();
25540 return resultobj;
25541fail:
25542 return NULL;
d55e5bfc
RD
25543}
25544
25545
554f62e9
RD
25546SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25547 PyObject *obj;
25548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25549 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25550 return SWIG_Py_Void();
d55e5bfc
RD
25551}
25552
554f62e9
RD
25553SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25554 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25555}
25556
554f62e9
RD
25557SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25558 PyObject *resultobj = 0;
25559 wxWindow *arg1 = (wxWindow *) 0 ;
25560 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25561 wxPageSetupDialog *result = 0 ;
25562 void *argp1 = 0 ;
25563 int res1 = 0 ;
25564 void *argp2 = 0 ;
25565 int res2 = 0 ;
25566 PyObject * obj0 = 0 ;
25567 PyObject * obj1 = 0 ;
25568 char * kwnames[] = {
25569 (char *) "parent",(char *) "data", NULL
25570 };
25571
25572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25574 if (!SWIG_IsOK(res1)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25576 }
25577 arg1 = reinterpret_cast< wxWindow * >(argp1);
25578 if (obj1) {
25579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25580 if (!SWIG_IsOK(res2)) {
25581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d55e5bfc 25582 }
554f62e9
RD
25583 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25584 }
25585 {
25586 if (!wxPyCheckForApp()) SWIG_fail;
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25593 return resultobj;
25594fail:
25595 return NULL;
d55e5bfc
RD
25596}
25597
25598
f05326ba
RD
25599SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25600 PyObject *resultobj = 0;
25601 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25602 void *argp1 = 0 ;
25603 int res1 = 0 ;
25604 PyObject *swig_obj[1] ;
25605
25606 if (!args) SWIG_fail;
25607 swig_obj[0] = args;
25608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25609 if (!SWIG_IsOK(res1)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25611 }
25612 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 delete arg1;
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 resultobj = SWIG_Py_Void();
25621 return resultobj;
25622fail:
25623 return NULL;
25624}
25625
25626
554f62e9
RD
25627SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25628 PyObject *resultobj = 0;
25629 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25630 wxPageSetupDialogData *result = 0 ;
25631 void *argp1 = 0 ;
25632 int res1 = 0 ;
25633 PyObject *swig_obj[1] ;
25634
25635 if (!args) SWIG_fail;
25636 swig_obj[0] = args;
25637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25638 if (!SWIG_IsOK(res1)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25640 }
25641 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25644 {
554f62e9
RD
25645 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25646 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25647 }
554f62e9
RD
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25652 return resultobj;
25653fail:
25654 return NULL;
d55e5bfc
RD
25655}
25656
25657
554f62e9
RD
25658SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25659 PyObject *resultobj = 0;
25660 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25661 wxPageSetupDialogData *result = 0 ;
25662 void *argp1 = 0 ;
25663 int res1 = 0 ;
25664 PyObject *swig_obj[1] ;
25665
25666 if (!args) SWIG_fail;
25667 swig_obj[0] = args;
25668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25669 if (!SWIG_IsOK(res1)) {
25670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25671 }
25672 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 25675 {
554f62e9
RD
25676 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25677 result = (wxPageSetupDialogData *) &_result_ref;
093d3ff1 25678 }
554f62e9
RD
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25683 return resultobj;
25684fail:
25685 return NULL;
d55e5bfc
RD
25686}
25687
25688
554f62e9
RD
25689SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25690 PyObject *resultobj = 0;
25691 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25692 int result;
25693 void *argp1 = 0 ;
25694 int res1 = 0 ;
25695 PyObject *swig_obj[1] ;
25696
25697 if (!args) SWIG_fail;
25698 swig_obj[0] = args;
25699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25700 if (!SWIG_IsOK(res1)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25702 }
25703 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 result = (int)(arg1)->ShowModal();
25707 wxPyEndAllowThreads(__tstate);
25708 if (PyErr_Occurred()) SWIG_fail;
25709 }
25710 resultobj = SWIG_From_int(static_cast< int >(result));
25711 return resultobj;
25712fail:
25713 return NULL;
d55e5bfc
RD
25714}
25715
25716
554f62e9
RD
25717SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25718 PyObject *obj;
25719 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25721 return SWIG_Py_Void();
d55e5bfc
RD
25722}
25723
554f62e9
RD
25724SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25725 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 25726}
554f62e9
RD
25727
25728SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25729 PyObject *resultobj = 0;
25730 wxPrintDialogData *result = 0 ;
25731
25732 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 result = (wxPrintDialogData *)new wxPrintDialogData();
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25740 return resultobj;
25741fail:
25742 return NULL;
d55e5bfc
RD
25743}
25744
25745
554f62e9
RD
25746SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25747 PyObject *resultobj = 0;
25748 wxPrintData *arg1 = 0 ;
25749 wxPrintDialogData *result = 0 ;
25750 void *argp1 = 0 ;
25751 int res1 = 0 ;
25752
25753 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25755 if (!SWIG_IsOK(res1)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25757 }
25758 if (!argp1) {
25759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25760 }
25761 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25765 wxPyEndAllowThreads(__tstate);
25766 if (PyErr_Occurred()) SWIG_fail;
25767 }
25768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25769 return resultobj;
25770fail:
25771 return NULL;
d55e5bfc
RD
25772}
25773
25774
554f62e9
RD
25775SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25776 PyObject *resultobj = 0;
25777 wxPrintDialogData *arg1 = 0 ;
25778 wxPrintDialogData *result = 0 ;
25779 void *argp1 = 0 ;
25780 int res1 = 0 ;
25781
25782 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25784 if (!SWIG_IsOK(res1)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25786 }
25787 if (!argp1) {
25788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25789 }
25790 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25798 return resultobj;
25799fail:
25800 return NULL;
d55e5bfc
RD
25801}
25802
25803
554f62e9
RD
25804SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25805 int argc;
25806 PyObject *argv[2];
25807
25808 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25809 --argc;
25810 if (argc == 0) {
25811 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25812 }
25813 if (argc == 1) {
25814 int _v = 0;
d55e5bfc 25815 {
554f62e9
RD
25816 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25817 _v = SWIG_CheckState(res);
d55e5bfc 25818 }
554f62e9
RD
25819 if (!_v) goto check_2;
25820 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25821 }
25822check_2:
25823
25824 if (argc == 1) {
25825 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25826 }
25827
25828fail:
25829 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25830 return NULL;
d55e5bfc
RD
25831}
25832
25833
554f62e9
RD
25834SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25835 PyObject *resultobj = 0;
25836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25837 void *argp1 = 0 ;
25838 int res1 = 0 ;
25839 PyObject *swig_obj[1] ;
25840
25841 if (!args) SWIG_fail;
25842 swig_obj[0] = args;
25843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25844 if (!SWIG_IsOK(res1)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25846 }
25847 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 delete arg1;
d55e5bfc 25851
554f62e9
RD
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 resultobj = SWIG_Py_Void();
25856 return resultobj;
25857fail:
25858 return NULL;
d55e5bfc
RD
25859}
25860
25861
554f62e9
RD
25862SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25863 PyObject *resultobj = 0;
25864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25865 int result;
25866 void *argp1 = 0 ;
25867 int res1 = 0 ;
25868 PyObject *swig_obj[1] ;
25869
25870 if (!args) SWIG_fail;
25871 swig_obj[0] = args;
25872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25873 if (!SWIG_IsOK(res1)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25875 }
25876 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25880 wxPyEndAllowThreads(__tstate);
25881 if (PyErr_Occurred()) SWIG_fail;
25882 }
25883 resultobj = SWIG_From_int(static_cast< int >(result));
25884 return resultobj;
25885fail:
25886 return NULL;
d55e5bfc
RD
25887}
25888
25889
554f62e9
RD
25890SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25891 PyObject *resultobj = 0;
25892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25893 int result;
25894 void *argp1 = 0 ;
25895 int res1 = 0 ;
25896 PyObject *swig_obj[1] ;
25897
25898 if (!args) SWIG_fail;
25899 swig_obj[0] = args;
25900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25901 if (!SWIG_IsOK(res1)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25903 }
25904 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 resultobj = SWIG_From_int(static_cast< int >(result));
25912 return resultobj;
25913fail:
25914 return NULL;
d55e5bfc
RD
25915}
25916
25917
554f62e9
RD
25918SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25919 PyObject *resultobj = 0;
25920 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25921 int result;
25922 void *argp1 = 0 ;
25923 int res1 = 0 ;
25924 PyObject *swig_obj[1] ;
25925
25926 if (!args) SWIG_fail;
25927 swig_obj[0] = args;
25928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25929 if (!SWIG_IsOK(res1)) {
25930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25931 }
25932 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25933 {
25934 PyThreadState* __tstate = wxPyBeginAllowThreads();
25935 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 resultobj = SWIG_From_int(static_cast< int >(result));
25940 return resultobj;
25941fail:
25942 return NULL;
d55e5bfc
RD
25943}
25944
25945
554f62e9
RD
25946SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25947 PyObject *resultobj = 0;
25948 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25949 int result;
25950 void *argp1 = 0 ;
25951 int res1 = 0 ;
25952 PyObject *swig_obj[1] ;
25953
25954 if (!args) SWIG_fail;
25955 swig_obj[0] = args;
25956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25957 if (!SWIG_IsOK(res1)) {
25958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25959 }
25960 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25961 {
25962 PyThreadState* __tstate = wxPyBeginAllowThreads();
25963 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25964 wxPyEndAllowThreads(__tstate);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
25967 resultobj = SWIG_From_int(static_cast< int >(result));
25968 return resultobj;
25969fail:
25970 return NULL;
d55e5bfc
RD
25971}
25972
25973
554f62e9
RD
25974SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25975 PyObject *resultobj = 0;
25976 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25977 int result;
25978 void *argp1 = 0 ;
25979 int res1 = 0 ;
25980 PyObject *swig_obj[1] ;
25981
25982 if (!args) SWIG_fail;
25983 swig_obj[0] = args;
25984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25985 if (!SWIG_IsOK(res1)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25987 }
25988 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25992 wxPyEndAllowThreads(__tstate);
25993 if (PyErr_Occurred()) SWIG_fail;
25994 }
25995 resultobj = SWIG_From_int(static_cast< int >(result));
25996 return resultobj;
25997fail:
25998 return NULL;
d55e5bfc
RD
25999}
26000
26001
554f62e9
RD
26002SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26003 PyObject *resultobj = 0;
26004 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26005 bool result;
26006 void *argp1 = 0 ;
26007 int res1 = 0 ;
26008 PyObject *swig_obj[1] ;
26009
26010 if (!args) SWIG_fail;
26011 swig_obj[0] = args;
26012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26013 if (!SWIG_IsOK(res1)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26015 }
26016 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 {
26024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26025 }
26026 return resultobj;
26027fail:
26028 return NULL;
d55e5bfc
RD
26029}
26030
26031
554f62e9
RD
26032SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26033 PyObject *resultobj = 0;
26034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26035 bool result;
26036 void *argp1 = 0 ;
26037 int res1 = 0 ;
26038 PyObject *swig_obj[1] ;
26039
26040 if (!args) SWIG_fail;
26041 swig_obj[0] = args;
26042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26043 if (!SWIG_IsOK(res1)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26045 }
26046 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 {
26054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26055 }
26056 return resultobj;
26057fail:
26058 return NULL;
d55e5bfc
RD
26059}
26060
26061
554f62e9
RD
26062SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26063 PyObject *resultobj = 0;
26064 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26065 bool result;
26066 void *argp1 = 0 ;
26067 int res1 = 0 ;
26068 PyObject *swig_obj[1] ;
26069
26070 if (!args) SWIG_fail;
26071 swig_obj[0] = args;
26072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26073 if (!SWIG_IsOK(res1)) {
26074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26075 }
26076 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26077 {
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 {
26084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26085 }
26086 return resultobj;
26087fail:
26088 return NULL;
d55e5bfc
RD
26089}
26090
26091
554f62e9
RD
26092SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26093 PyObject *resultobj = 0;
26094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26095 bool result;
26096 void *argp1 = 0 ;
26097 int res1 = 0 ;
26098 PyObject *swig_obj[1] ;
26099
26100 if (!args) SWIG_fail;
26101 swig_obj[0] = args;
26102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26103 if (!SWIG_IsOK(res1)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26105 }
26106 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 {
26114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26115 }
26116 return resultobj;
26117fail:
26118 return NULL;
26119}
26120
26121
26122SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26123 PyObject *resultobj = 0;
26124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26125 int arg2 ;
26126 void *argp1 = 0 ;
26127 int res1 = 0 ;
26128 int val2 ;
26129 int ecode2 = 0 ;
26130 PyObject * obj0 = 0 ;
26131 PyObject * obj1 = 0 ;
26132 char * kwnames[] = {
26133 (char *) "self",(char *) "v", NULL
26134 };
26135
26136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26138 if (!SWIG_IsOK(res1)) {
26139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26140 }
26141 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26142 ecode2 = SWIG_AsVal_int(obj1, &val2);
26143 if (!SWIG_IsOK(ecode2)) {
26144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26145 }
26146 arg2 = static_cast< int >(val2);
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 (arg1)->SetFromPage(arg2);
26150 wxPyEndAllowThreads(__tstate);
26151 if (PyErr_Occurred()) SWIG_fail;
26152 }
26153 resultobj = SWIG_Py_Void();
26154 return resultobj;
26155fail:
26156 return NULL;
26157}
26158
26159
26160SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26161 PyObject *resultobj = 0;
26162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26163 int arg2 ;
26164 void *argp1 = 0 ;
26165 int res1 = 0 ;
26166 int val2 ;
26167 int ecode2 = 0 ;
26168 PyObject * obj0 = 0 ;
26169 PyObject * obj1 = 0 ;
26170 char * kwnames[] = {
26171 (char *) "self",(char *) "v", NULL
26172 };
26173
26174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26176 if (!SWIG_IsOK(res1)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26178 }
26179 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26180 ecode2 = SWIG_AsVal_int(obj1, &val2);
26181 if (!SWIG_IsOK(ecode2)) {
26182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26183 }
26184 arg2 = static_cast< int >(val2);
26185 {
26186 PyThreadState* __tstate = wxPyBeginAllowThreads();
26187 (arg1)->SetToPage(arg2);
26188 wxPyEndAllowThreads(__tstate);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 }
26191 resultobj = SWIG_Py_Void();
26192 return resultobj;
26193fail:
26194 return NULL;
26195}
26196
26197
26198SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26199 PyObject *resultobj = 0;
26200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26201 int arg2 ;
26202 void *argp1 = 0 ;
26203 int res1 = 0 ;
26204 int val2 ;
26205 int ecode2 = 0 ;
26206 PyObject * obj0 = 0 ;
26207 PyObject * obj1 = 0 ;
26208 char * kwnames[] = {
26209 (char *) "self",(char *) "v", NULL
26210 };
26211
26212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26214 if (!SWIG_IsOK(res1)) {
26215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26216 }
26217 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26218 ecode2 = SWIG_AsVal_int(obj1, &val2);
26219 if (!SWIG_IsOK(ecode2)) {
26220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26221 }
26222 arg2 = static_cast< int >(val2);
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 (arg1)->SetMinPage(arg2);
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 resultobj = SWIG_Py_Void();
26230 return resultobj;
26231fail:
26232 return NULL;
26233}
26234
26235
26236SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26237 PyObject *resultobj = 0;
26238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26239 int arg2 ;
26240 void *argp1 = 0 ;
26241 int res1 = 0 ;
26242 int val2 ;
26243 int ecode2 = 0 ;
26244 PyObject * obj0 = 0 ;
26245 PyObject * obj1 = 0 ;
26246 char * kwnames[] = {
26247 (char *) "self",(char *) "v", NULL
26248 };
26249
26250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26252 if (!SWIG_IsOK(res1)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26254 }
26255 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26256 ecode2 = SWIG_AsVal_int(obj1, &val2);
26257 if (!SWIG_IsOK(ecode2)) {
26258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26259 }
26260 arg2 = static_cast< int >(val2);
26261 {
26262 PyThreadState* __tstate = wxPyBeginAllowThreads();
26263 (arg1)->SetMaxPage(arg2);
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 resultobj = SWIG_Py_Void();
26268 return resultobj;
26269fail:
26270 return NULL;
26271}
26272
26273
26274SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26275 PyObject *resultobj = 0;
26276 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26277 int arg2 ;
26278 void *argp1 = 0 ;
26279 int res1 = 0 ;
26280 int val2 ;
26281 int ecode2 = 0 ;
26282 PyObject * obj0 = 0 ;
26283 PyObject * obj1 = 0 ;
26284 char * kwnames[] = {
26285 (char *) "self",(char *) "v", NULL
26286 };
26287
26288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26290 if (!SWIG_IsOK(res1)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26292 }
26293 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26294 ecode2 = SWIG_AsVal_int(obj1, &val2);
26295 if (!SWIG_IsOK(ecode2)) {
26296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26297 }
26298 arg2 = static_cast< int >(val2);
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 (arg1)->SetNoCopies(arg2);
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 resultobj = SWIG_Py_Void();
26306 return resultobj;
26307fail:
26308 return NULL;
26309}
26310
26311
26312SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26313 PyObject *resultobj = 0;
26314 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26315 bool arg2 ;
26316 void *argp1 = 0 ;
26317 int res1 = 0 ;
26318 bool val2 ;
26319 int ecode2 = 0 ;
26320 PyObject * obj0 = 0 ;
26321 PyObject * obj1 = 0 ;
26322 char * kwnames[] = {
26323 (char *) "self",(char *) "flag", NULL
26324 };
26325
26326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26328 if (!SWIG_IsOK(res1)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26330 }
26331 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26332 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26333 if (!SWIG_IsOK(ecode2)) {
26334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26335 }
26336 arg2 = static_cast< bool >(val2);
26337 {
26338 PyThreadState* __tstate = wxPyBeginAllowThreads();
26339 (arg1)->SetAllPages(arg2);
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 resultobj = SWIG_Py_Void();
26344 return resultobj;
26345fail:
26346 return NULL;
26347}
26348
26349
26350SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26351 PyObject *resultobj = 0;
26352 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26353 bool arg2 ;
26354 void *argp1 = 0 ;
26355 int res1 = 0 ;
26356 bool val2 ;
26357 int ecode2 = 0 ;
26358 PyObject * obj0 = 0 ;
26359 PyObject * obj1 = 0 ;
26360 char * kwnames[] = {
26361 (char *) "self",(char *) "flag", NULL
26362 };
26363
26364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26366 if (!SWIG_IsOK(res1)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26368 }
26369 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26370 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26371 if (!SWIG_IsOK(ecode2)) {
26372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26373 }
26374 arg2 = static_cast< bool >(val2);
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 (arg1)->SetSelection(arg2);
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 resultobj = SWIG_Py_Void();
26382 return resultobj;
26383fail:
26384 return NULL;
26385}
26386
26387
26388SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26389 PyObject *resultobj = 0;
26390 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26391 bool arg2 ;
26392 void *argp1 = 0 ;
26393 int res1 = 0 ;
26394 bool val2 ;
26395 int ecode2 = 0 ;
26396 PyObject * obj0 = 0 ;
26397 PyObject * obj1 = 0 ;
26398 char * kwnames[] = {
26399 (char *) "self",(char *) "flag", NULL
26400 };
26401
26402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26404 if (!SWIG_IsOK(res1)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26406 }
26407 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26408 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26409 if (!SWIG_IsOK(ecode2)) {
26410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26411 }
26412 arg2 = static_cast< bool >(val2);
26413 {
26414 PyThreadState* __tstate = wxPyBeginAllowThreads();
26415 (arg1)->SetCollate(arg2);
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 resultobj = SWIG_Py_Void();
26420 return resultobj;
26421fail:
26422 return NULL;
26423}
26424
26425
26426SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26427 PyObject *resultobj = 0;
26428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26429 bool arg2 ;
26430 void *argp1 = 0 ;
26431 int res1 = 0 ;
26432 bool val2 ;
26433 int ecode2 = 0 ;
26434 PyObject * obj0 = 0 ;
26435 PyObject * obj1 = 0 ;
26436 char * kwnames[] = {
26437 (char *) "self",(char *) "flag", NULL
26438 };
26439
26440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26442 if (!SWIG_IsOK(res1)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26444 }
26445 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26447 if (!SWIG_IsOK(ecode2)) {
26448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26449 }
26450 arg2 = static_cast< bool >(val2);
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 (arg1)->SetPrintToFile(arg2);
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 resultobj = SWIG_Py_Void();
26458 return resultobj;
26459fail:
26460 return NULL;
26461}
26462
26463
26464SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26465 PyObject *resultobj = 0;
26466 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26467 bool arg2 ;
26468 void *argp1 = 0 ;
26469 int res1 = 0 ;
26470 bool val2 ;
26471 int ecode2 = 0 ;
26472 PyObject * obj0 = 0 ;
26473 PyObject * obj1 = 0 ;
26474 char * kwnames[] = {
26475 (char *) "self",(char *) "flag", NULL
26476 };
26477
26478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26480 if (!SWIG_IsOK(res1)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26482 }
26483 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26484 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26485 if (!SWIG_IsOK(ecode2)) {
26486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26487 }
26488 arg2 = static_cast< bool >(val2);
26489 {
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 (arg1)->EnablePrintToFile(arg2);
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
26495 resultobj = SWIG_Py_Void();
26496 return resultobj;
26497fail:
26498 return NULL;
26499}
26500
26501
26502SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26503 PyObject *resultobj = 0;
26504 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26505 bool arg2 ;
26506 void *argp1 = 0 ;
26507 int res1 = 0 ;
26508 bool val2 ;
26509 int ecode2 = 0 ;
26510 PyObject * obj0 = 0 ;
26511 PyObject * obj1 = 0 ;
26512 char * kwnames[] = {
26513 (char *) "self",(char *) "flag", NULL
26514 };
26515
26516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26518 if (!SWIG_IsOK(res1)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26520 }
26521 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26522 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26523 if (!SWIG_IsOK(ecode2)) {
26524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26525 }
26526 arg2 = static_cast< bool >(val2);
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 (arg1)->EnableSelection(arg2);
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 resultobj = SWIG_Py_Void();
26534 return resultobj;
26535fail:
26536 return NULL;
26537}
26538
26539
26540SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26541 PyObject *resultobj = 0;
26542 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26543 bool arg2 ;
26544 void *argp1 = 0 ;
26545 int res1 = 0 ;
26546 bool val2 ;
26547 int ecode2 = 0 ;
26548 PyObject * obj0 = 0 ;
26549 PyObject * obj1 = 0 ;
26550 char * kwnames[] = {
26551 (char *) "self",(char *) "flag", NULL
26552 };
26553
26554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26556 if (!SWIG_IsOK(res1)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26558 }
26559 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26560 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26561 if (!SWIG_IsOK(ecode2)) {
26562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26563 }
26564 arg2 = static_cast< bool >(val2);
26565 {
26566 PyThreadState* __tstate = wxPyBeginAllowThreads();
26567 (arg1)->EnablePageNumbers(arg2);
26568 wxPyEndAllowThreads(__tstate);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 }
26571 resultobj = SWIG_Py_Void();
26572 return resultobj;
26573fail:
26574 return NULL;
26575}
26576
26577
26578SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26579 PyObject *resultobj = 0;
26580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26581 bool arg2 ;
26582 void *argp1 = 0 ;
26583 int res1 = 0 ;
26584 bool val2 ;
26585 int ecode2 = 0 ;
26586 PyObject * obj0 = 0 ;
26587 PyObject * obj1 = 0 ;
26588 char * kwnames[] = {
26589 (char *) "self",(char *) "flag", NULL
26590 };
26591
26592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26594 if (!SWIG_IsOK(res1)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26596 }
26597 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26599 if (!SWIG_IsOK(ecode2)) {
26600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26601 }
26602 arg2 = static_cast< bool >(val2);
26603 {
26604 PyThreadState* __tstate = wxPyBeginAllowThreads();
26605 (arg1)->EnableHelp(arg2);
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
26609 resultobj = SWIG_Py_Void();
26610 return resultobj;
26611fail:
26612 return NULL;
d55e5bfc
RD
26613}
26614
26615
554f62e9
RD
26616SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26617 PyObject *resultobj = 0;
26618 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26619 bool result;
26620 void *argp1 = 0 ;
26621 int res1 = 0 ;
26622 PyObject *swig_obj[1] ;
26623
26624 if (!args) SWIG_fail;
26625 swig_obj[0] = args;
26626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26627 if (!SWIG_IsOK(res1)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26629 }
26630 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 {
26638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26639 }
26640 return resultobj;
26641fail:
26642 return NULL;
d55e5bfc
RD
26643}
26644
26645
554f62e9
RD
26646SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26647 PyObject *resultobj = 0;
26648 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26649 bool result;
26650 void *argp1 = 0 ;
26651 int res1 = 0 ;
26652 PyObject *swig_obj[1] ;
26653
26654 if (!args) SWIG_fail;
26655 swig_obj[0] = args;
26656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26657 if (!SWIG_IsOK(res1)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26659 }
26660 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 {
26668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26669 }
26670 return resultobj;
26671fail:
26672 return NULL;
d55e5bfc
RD
26673}
26674
26675
554f62e9
RD
26676SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26677 PyObject *resultobj = 0;
26678 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26679 bool result;
26680 void *argp1 = 0 ;
26681 int res1 = 0 ;
26682 PyObject *swig_obj[1] ;
26683
26684 if (!args) SWIG_fail;
26685 swig_obj[0] = args;
26686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26687 if (!SWIG_IsOK(res1)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26689 }
26690 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26691 {
26692 PyThreadState* __tstate = wxPyBeginAllowThreads();
26693 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26694 wxPyEndAllowThreads(__tstate);
26695 if (PyErr_Occurred()) SWIG_fail;
26696 }
26697 {
26698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26699 }
26700 return resultobj;
26701fail:
26702 return NULL;
d55e5bfc
RD
26703}
26704
26705
554f62e9
RD
26706SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26707 PyObject *resultobj = 0;
26708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26709 bool result;
26710 void *argp1 = 0 ;
26711 int res1 = 0 ;
26712 PyObject *swig_obj[1] ;
26713
26714 if (!args) SWIG_fail;
26715 swig_obj[0] = args;
26716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26717 if (!SWIG_IsOK(res1)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26719 }
26720 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 {
26728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26729 }
26730 return resultobj;
26731fail:
26732 return NULL;
d55e5bfc
RD
26733}
26734
26735
554f62e9
RD
26736SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26737 PyObject *resultobj = 0;
26738 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26739 bool result;
26740 void *argp1 = 0 ;
26741 int res1 = 0 ;
26742 PyObject *swig_obj[1] ;
26743
26744 if (!args) SWIG_fail;
26745 swig_obj[0] = args;
26746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26747 if (!SWIG_IsOK(res1)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26749 }
26750 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26751 {
26752 PyThreadState* __tstate = wxPyBeginAllowThreads();
26753 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26754 wxPyEndAllowThreads(__tstate);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 }
26757 {
26758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26759 }
26760 return resultobj;
26761fail:
26762 return NULL;
d55e5bfc
RD
26763}
26764
26765
554f62e9
RD
26766SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26767 PyObject *resultobj = 0;
26768 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26769 wxPrintData *result = 0 ;
26770 void *argp1 = 0 ;
26771 int res1 = 0 ;
26772 PyObject *swig_obj[1] ;
26773
26774 if (!args) SWIG_fail;
26775 swig_obj[0] = args;
26776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26777 if (!SWIG_IsOK(res1)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26779 }
26780 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26781 {
26782 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26783 {
554f62e9
RD
26784 wxPrintData &_result_ref = (arg1)->GetPrintData();
26785 result = (wxPrintData *) &_result_ref;
26786 }
26787 wxPyEndAllowThreads(__tstate);
26788 if (PyErr_Occurred()) SWIG_fail;
26789 }
26790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26791 return resultobj;
26792fail:
26793 return NULL;
26794}
26795
26796
26797SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26798 PyObject *resultobj = 0;
26799 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26800 wxPrintData *arg2 = 0 ;
26801 void *argp1 = 0 ;
26802 int res1 = 0 ;
26803 void *argp2 = 0 ;
26804 int res2 = 0 ;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
26807 char * kwnames[] = {
26808 (char *) "self",(char *) "printData", NULL
26809 };
26810
26811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26813 if (!SWIG_IsOK(res1)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26815 }
26816 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26817 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26818 if (!SWIG_IsOK(res2)) {
26819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26820 }
26821 if (!argp2) {
26822 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26823 }
26824 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26828 wxPyEndAllowThreads(__tstate);
26829 if (PyErr_Occurred()) SWIG_fail;
26830 }
26831 resultobj = SWIG_Py_Void();
26832 return resultobj;
26833fail:
26834 return NULL;
d55e5bfc
RD
26835}
26836
26837
554f62e9
RD
26838SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26839 PyObject *obj;
26840 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26841 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26842 return SWIG_Py_Void();
d55e5bfc
RD
26843}
26844
554f62e9
RD
26845SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26846 return SWIG_Python_InitShadowInstance(args);
26847}
d55e5bfc 26848
554f62e9
RD
26849SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26850 PyObject *resultobj = 0;
26851 wxWindow *arg1 = (wxWindow *) 0 ;
26852 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26853 wxPrintDialog *result = 0 ;
26854 void *argp1 = 0 ;
26855 int res1 = 0 ;
26856 void *argp2 = 0 ;
26857 int res2 = 0 ;
26858 PyObject * obj0 = 0 ;
26859 PyObject * obj1 = 0 ;
26860 char * kwnames[] = {
26861 (char *) "parent",(char *) "data", NULL
26862 };
26863
26864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26866 if (!SWIG_IsOK(res1)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26868 }
26869 arg1 = reinterpret_cast< wxWindow * >(argp1);
26870 if (obj1) {
26871 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26872 if (!SWIG_IsOK(res2)) {
26873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26874 }
554f62e9
RD
26875 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26876 }
26877 {
26878 if (!wxPyCheckForApp()) SWIG_fail;
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26885 return resultobj;
26886fail:
26887 return NULL;
d55e5bfc
RD
26888}
26889
26890
f05326ba
RD
26891SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26892 PyObject *resultobj = 0;
26893 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26894 void *argp1 = 0 ;
26895 int res1 = 0 ;
26896 PyObject *swig_obj[1] ;
26897
26898 if (!args) SWIG_fail;
26899 swig_obj[0] = args;
26900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26901 if (!SWIG_IsOK(res1)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26903 }
26904 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26905 {
26906 PyThreadState* __tstate = wxPyBeginAllowThreads();
26907 delete arg1;
26908
26909 wxPyEndAllowThreads(__tstate);
26910 if (PyErr_Occurred()) SWIG_fail;
26911 }
26912 resultobj = SWIG_Py_Void();
26913 return resultobj;
26914fail:
26915 return NULL;
26916}
26917
26918
554f62e9
RD
26919SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26920 PyObject *resultobj = 0;
26921 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26922 int result;
26923 void *argp1 = 0 ;
26924 int res1 = 0 ;
26925 PyObject *swig_obj[1] ;
26926
26927 if (!args) SWIG_fail;
26928 swig_obj[0] = args;
26929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26930 if (!SWIG_IsOK(res1)) {
26931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26932 }
26933 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26934 {
26935 PyThreadState* __tstate = wxPyBeginAllowThreads();
26936 result = (int)(arg1)->ShowModal();
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 resultobj = SWIG_From_int(static_cast< int >(result));
26941 return resultobj;
26942fail:
26943 return NULL;
d55e5bfc
RD
26944}
26945
26946
554f62e9
RD
26947SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26948 PyObject *resultobj = 0;
26949 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26950 wxPrintDialogData *result = 0 ;
26951 void *argp1 = 0 ;
26952 int res1 = 0 ;
26953 PyObject *swig_obj[1] ;
26954
26955 if (!args) SWIG_fail;
26956 swig_obj[0] = args;
26957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26958 if (!SWIG_IsOK(res1)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26960 }
26961 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26964 {
554f62e9
RD
26965 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26966 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 26967 }
554f62e9
RD
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26972 return resultobj;
26973fail:
26974 return NULL;
26975}
26976
26977
26978SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26979 PyObject *resultobj = 0;
26980 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26981 wxPrintData *result = 0 ;
26982 void *argp1 = 0 ;
26983 int res1 = 0 ;
26984 PyObject *swig_obj[1] ;
26985
26986 if (!args) SWIG_fail;
26987 swig_obj[0] = args;
26988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26989 if (!SWIG_IsOK(res1)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26991 }
26992 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26995 {
554f62e9
RD
26996 wxPrintData &_result_ref = (arg1)->GetPrintData();
26997 result = (wxPrintData *) &_result_ref;
d55e5bfc 26998 }
554f62e9
RD
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27003 return resultobj;
27004fail:
27005 return NULL;
d55e5bfc
RD
27006}
27007
27008
554f62e9
RD
27009SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27010 PyObject *resultobj = 0;
27011 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27012 wxDC *result = 0 ;
27013 void *argp1 = 0 ;
27014 int res1 = 0 ;
27015 PyObject *swig_obj[1] ;
27016
27017 if (!args) SWIG_fail;
27018 swig_obj[0] = args;
27019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27020 if (!SWIG_IsOK(res1)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27022 }
27023 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27024 {
27025 PyThreadState* __tstate = wxPyBeginAllowThreads();
27026 result = (wxDC *)(arg1)->GetPrintDC();
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 {
27031 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27032 }
27033 return resultobj;
27034fail:
27035 return NULL;
d55e5bfc
RD
27036}
27037
27038
554f62e9
RD
27039SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27040 PyObject *obj;
27041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27043 return SWIG_Py_Void();
d55e5bfc
RD
27044}
27045
554f62e9
RD
27046SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27047 return SWIG_Python_InitShadowInstance(args);
27048}
d55e5bfc 27049
554f62e9
RD
27050SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27051 PyObject *resultobj = 0;
27052 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27053 wxPrinter *result = 0 ;
27054 void *argp1 = 0 ;
27055 int res1 = 0 ;
27056 PyObject * obj0 = 0 ;
27057 char * kwnames[] = {
27058 (char *) "data", NULL
27059 };
27060
27061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27062 if (obj0) {
27063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27064 if (!SWIG_IsOK(res1)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
396fb509 27066 }
554f62e9
RD
27067 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27068 }
27069 {
27070 if (!wxPyCheckForApp()) SWIG_fail;
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 result = (wxPrinter *)new wxPrinter(arg1);
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27077 return resultobj;
27078fail:
27079 return NULL;
d55e5bfc
RD
27080}
27081
27082
554f62e9
RD
27083SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27084 PyObject *resultobj = 0;
27085 wxPrinter *arg1 = (wxPrinter *) 0 ;
27086 void *argp1 = 0 ;
27087 int res1 = 0 ;
27088 PyObject *swig_obj[1] ;
27089
27090 if (!args) SWIG_fail;
27091 swig_obj[0] = args;
27092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27093 if (!SWIG_IsOK(res1)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27095 }
27096 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 delete arg1;
d55e5bfc 27100
554f62e9
RD
27101 wxPyEndAllowThreads(__tstate);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 resultobj = SWIG_Py_Void();
27105 return resultobj;
27106fail:
27107 return NULL;
27108}
27109
27110
27111SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj = 0;
27113 wxPrinter *arg1 = (wxPrinter *) 0 ;
27114 wxWindow *arg2 = (wxWindow *) 0 ;
27115 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27116 wxWindow *result = 0 ;
27117 void *argp1 = 0 ;
27118 int res1 = 0 ;
27119 void *argp2 = 0 ;
27120 int res2 = 0 ;
27121 void *argp3 = 0 ;
27122 int res3 = 0 ;
27123 PyObject * obj0 = 0 ;
27124 PyObject * obj1 = 0 ;
27125 PyObject * obj2 = 0 ;
27126 char * kwnames[] = {
27127 (char *) "self",(char *) "parent",(char *) "printout", NULL
27128 };
27129
27130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27132 if (!SWIG_IsOK(res1)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27134 }
27135 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27136 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27137 if (!SWIG_IsOK(res2)) {
27138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27139 }
27140 arg2 = reinterpret_cast< wxWindow * >(argp2);
27141 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27142 if (!SWIG_IsOK(res3)) {
27143 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27144 }
27145 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 {
27153 resultobj = wxPyMake_wxObject(result, 0);
27154 }
27155 return resultobj;
27156fail:
27157 return NULL;
27158}
27159
27160
27161SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27162 PyObject *resultobj = 0;
27163 wxPrinter *arg1 = (wxPrinter *) 0 ;
27164 wxWindow *arg2 = (wxWindow *) 0 ;
27165 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27166 wxString *arg4 = 0 ;
27167 void *argp1 = 0 ;
27168 int res1 = 0 ;
27169 void *argp2 = 0 ;
27170 int res2 = 0 ;
27171 void *argp3 = 0 ;
27172 int res3 = 0 ;
27173 bool temp4 = false ;
27174 PyObject * obj0 = 0 ;
27175 PyObject * obj1 = 0 ;
27176 PyObject * obj2 = 0 ;
27177 PyObject * obj3 = 0 ;
27178 char * kwnames[] = {
27179 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27180 };
27181
27182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27184 if (!SWIG_IsOK(res1)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27186 }
27187 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27189 if (!SWIG_IsOK(res2)) {
27190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27191 }
27192 arg2 = reinterpret_cast< wxWindow * >(argp2);
27193 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27194 if (!SWIG_IsOK(res3)) {
27195 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27196 }
27197 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27198 {
27199 arg4 = wxString_in_helper(obj3);
27200 if (arg4 == NULL) SWIG_fail;
27201 temp4 = true;
27202 }
27203 {
27204 PyThreadState* __tstate = wxPyBeginAllowThreads();
27205 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 resultobj = SWIG_Py_Void();
27210 {
27211 if (temp4)
27212 delete arg4;
27213 }
27214 return resultobj;
27215fail:
27216 {
27217 if (temp4)
27218 delete arg4;
27219 }
27220 return NULL;
27221}
27222
27223
27224SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27225 PyObject *resultobj = 0;
27226 wxPrinter *arg1 = (wxPrinter *) 0 ;
27227 wxWindow *arg2 = (wxWindow *) 0 ;
27228 bool result;
27229 void *argp1 = 0 ;
27230 int res1 = 0 ;
27231 void *argp2 = 0 ;
27232 int res2 = 0 ;
27233 PyObject * obj0 = 0 ;
27234 PyObject * obj1 = 0 ;
27235 char * kwnames[] = {
27236 (char *) "self",(char *) "parent", NULL
27237 };
27238
27239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27241 if (!SWIG_IsOK(res1)) {
27242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27243 }
27244 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27246 if (!SWIG_IsOK(res2)) {
27247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27248 }
27249 arg2 = reinterpret_cast< wxWindow * >(argp2);
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 result = (bool)(arg1)->Setup(arg2);
27253 wxPyEndAllowThreads(__tstate);
27254 if (PyErr_Occurred()) SWIG_fail;
27255 }
27256 {
27257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27258 }
27259 return resultobj;
27260fail:
27261 return NULL;
27262}
27263
27264
27265SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27266 PyObject *resultobj = 0;
27267 wxPrinter *arg1 = (wxPrinter *) 0 ;
27268 wxWindow *arg2 = (wxWindow *) 0 ;
27269 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27270 bool arg4 = (bool) true ;
27271 bool result;
27272 void *argp1 = 0 ;
27273 int res1 = 0 ;
27274 void *argp2 = 0 ;
27275 int res2 = 0 ;
27276 void *argp3 = 0 ;
27277 int res3 = 0 ;
27278 bool val4 ;
27279 int ecode4 = 0 ;
27280 PyObject * obj0 = 0 ;
27281 PyObject * obj1 = 0 ;
27282 PyObject * obj2 = 0 ;
27283 PyObject * obj3 = 0 ;
27284 char * kwnames[] = {
27285 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27286 };
27287
27288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27290 if (!SWIG_IsOK(res1)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27292 }
27293 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27295 if (!SWIG_IsOK(res2)) {
27296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27297 }
27298 arg2 = reinterpret_cast< wxWindow * >(argp2);
27299 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27300 if (!SWIG_IsOK(res3)) {
27301 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27302 }
27303 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27304 if (obj3) {
27305 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27306 if (!SWIG_IsOK(ecode4)) {
27307 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27308 }
27309 arg4 = static_cast< bool >(val4);
27310 }
27311 {
27312 PyThreadState* __tstate = wxPyBeginAllowThreads();
27313 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 {
27318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27319 }
27320 return resultobj;
27321fail:
27322 return NULL;
27323}
27324
27325
27326SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27327 PyObject *resultobj = 0;
27328 wxPrinter *arg1 = (wxPrinter *) 0 ;
27329 wxWindow *arg2 = (wxWindow *) 0 ;
27330 wxDC *result = 0 ;
27331 void *argp1 = 0 ;
27332 int res1 = 0 ;
27333 void *argp2 = 0 ;
27334 int res2 = 0 ;
27335 PyObject * obj0 = 0 ;
27336 PyObject * obj1 = 0 ;
27337 char * kwnames[] = {
27338 (char *) "self",(char *) "parent", NULL
27339 };
27340
27341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27343 if (!SWIG_IsOK(res1)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27345 }
27346 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27348 if (!SWIG_IsOK(res2)) {
27349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27350 }
27351 arg2 = reinterpret_cast< wxWindow * >(argp2);
27352 {
27353 PyThreadState* __tstate = wxPyBeginAllowThreads();
27354 result = (wxDC *)(arg1)->PrintDialog(arg2);
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
27358 {
27359 resultobj = wxPyMake_wxObject(result, (bool)0);
27360 }
27361 return resultobj;
27362fail:
27363 return NULL;
d55e5bfc
RD
27364}
27365
27366
554f62e9
RD
27367SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27368 PyObject *resultobj = 0;
27369 wxPrinter *arg1 = (wxPrinter *) 0 ;
27370 wxPrintDialogData *result = 0 ;
27371 void *argp1 = 0 ;
27372 int res1 = 0 ;
27373 PyObject *swig_obj[1] ;
27374
27375 if (!args) SWIG_fail;
27376 swig_obj[0] = args;
27377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27378 if (!SWIG_IsOK(res1)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27380 }
27381 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27384 {
554f62e9
RD
27385 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27386 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27387 }
554f62e9
RD
27388 wxPyEndAllowThreads(__tstate);
27389 if (PyErr_Occurred()) SWIG_fail;
27390 }
27391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27392 return resultobj;
27393fail:
27394 return NULL;
d55e5bfc
RD
27395}
27396
27397
554f62e9
RD
27398SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27399 PyObject *resultobj = 0;
27400 wxPrinter *arg1 = (wxPrinter *) 0 ;
27401 bool result;
27402 void *argp1 = 0 ;
27403 int res1 = 0 ;
27404 PyObject *swig_obj[1] ;
27405
27406 if (!args) SWIG_fail;
27407 swig_obj[0] = args;
27408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27409 if (!SWIG_IsOK(res1)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27411 }
27412 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27413 {
27414 PyThreadState* __tstate = wxPyBeginAllowThreads();
27415 result = (bool)(arg1)->GetAbort();
27416 wxPyEndAllowThreads(__tstate);
27417 if (PyErr_Occurred()) SWIG_fail;
27418 }
27419 {
27420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27421 }
27422 return resultobj;
27423fail:
27424 return NULL;
d55e5bfc
RD
27425}
27426
27427
554f62e9
RD
27428SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27429 PyObject *resultobj = 0;
27430 wxPrinterError result;
27431
27432 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 result = (wxPrinterError)wxPrinter::GetLastError();
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 resultobj = SWIG_From_int(static_cast< int >(result));
27440 return resultobj;
27441fail:
27442 return NULL;
d55e5bfc
RD
27443}
27444
27445
554f62e9
RD
27446SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27447 PyObject *obj;
27448 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27450 return SWIG_Py_Void();
d55e5bfc
RD
27451}
27452
554f62e9
RD
27453SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27454 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27455}
27456
554f62e9
RD
27457SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27458 PyObject *resultobj = 0;
27459 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27460 wxString *arg1 = (wxString *) &arg1_defvalue ;
27461 wxPyPrintout *result = 0 ;
27462 bool temp1 = false ;
27463 PyObject * obj0 = 0 ;
27464 char * kwnames[] = {
27465 (char *) "title", NULL
27466 };
27467
27468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27469 if (obj0) {
d55e5bfc 27470 {
554f62e9
RD
27471 arg1 = wxString_in_helper(obj0);
27472 if (arg1 == NULL) SWIG_fail;
27473 temp1 = true;
27474 }
27475 }
27476 {
27477 if (!wxPyCheckForApp()) SWIG_fail;
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27480 wxPyEndAllowThreads(__tstate);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 }
27483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27484 {
27485 if (temp1)
27486 delete arg1;
27487 }
27488 return resultobj;
27489fail:
27490 {
27491 if (temp1)
27492 delete arg1;
27493 }
27494 return NULL;
d55e5bfc
RD
27495}
27496
27497
554f62e9
RD
27498SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27499 PyObject *resultobj = 0;
27500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27501 void *argp1 = 0 ;
27502 int res1 = 0 ;
27503 PyObject *swig_obj[1] ;
27504
27505 if (!args) SWIG_fail;
27506 swig_obj[0] = args;
27507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27508 if (!SWIG_IsOK(res1)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27510 }
27511 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27512 {
27513 PyThreadState* __tstate = wxPyBeginAllowThreads();
27514 delete arg1;
d55e5bfc 27515
554f62e9
RD
27516 wxPyEndAllowThreads(__tstate);
27517 if (PyErr_Occurred()) SWIG_fail;
27518 }
27519 resultobj = SWIG_Py_Void();
27520 return resultobj;
27521fail:
27522 return NULL;
27523}
27524
27525
27526SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27527 PyObject *resultobj = 0;
27528 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27529 PyObject *arg2 = (PyObject *) 0 ;
27530 PyObject *arg3 = (PyObject *) 0 ;
27531 void *argp1 = 0 ;
27532 int res1 = 0 ;
27533 PyObject * obj0 = 0 ;
27534 PyObject * obj1 = 0 ;
27535 PyObject * obj2 = 0 ;
27536 char * kwnames[] = {
27537 (char *) "self",(char *) "self",(char *) "_class", NULL
27538 };
27539
27540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27542 if (!SWIG_IsOK(res1)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27544 }
27545 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27546 arg2 = obj1;
27547 arg3 = obj2;
27548 {
27549 PyThreadState* __tstate = wxPyBeginAllowThreads();
27550 (arg1)->_setCallbackInfo(arg2,arg3);
27551 wxPyEndAllowThreads(__tstate);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 }
27554 resultobj = SWIG_Py_Void();
27555 return resultobj;
27556fail:
27557 return NULL;
d55e5bfc
RD
27558}
27559
27560
554f62e9
RD
27561SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27562 PyObject *resultobj = 0;
27563 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27564 wxString result;
27565 void *argp1 = 0 ;
27566 int res1 = 0 ;
27567 PyObject *swig_obj[1] ;
27568
27569 if (!args) SWIG_fail;
27570 swig_obj[0] = args;
27571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27572 if (!SWIG_IsOK(res1)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27574 }
27575 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27576 {
27577 PyThreadState* __tstate = wxPyBeginAllowThreads();
27578 result = ((wxPyPrintout const *)arg1)->GetTitle();
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 {
27583#if wxUSE_UNICODE
27584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27585#else
27586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27587#endif
27588 }
27589 return resultobj;
27590fail:
27591 return NULL;
d55e5bfc
RD
27592}
27593
27594
554f62e9
RD
27595SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27596 PyObject *resultobj = 0;
27597 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27598 wxDC *result = 0 ;
27599 void *argp1 = 0 ;
27600 int res1 = 0 ;
27601 PyObject *swig_obj[1] ;
27602
27603 if (!args) SWIG_fail;
27604 swig_obj[0] = args;
27605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27606 if (!SWIG_IsOK(res1)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27608 }
27609 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 result = (wxDC *)(arg1)->GetDC();
27613 wxPyEndAllowThreads(__tstate);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 {
27617 resultobj = wxPyMake_wxObject(result, (bool)0);
27618 }
27619 return resultobj;
27620fail:
27621 return NULL;
27622}
27623
27624
27625SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27626 PyObject *resultobj = 0;
27627 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27628 wxDC *arg2 = (wxDC *) 0 ;
27629 void *argp1 = 0 ;
27630 int res1 = 0 ;
27631 void *argp2 = 0 ;
27632 int res2 = 0 ;
27633 PyObject * obj0 = 0 ;
27634 PyObject * obj1 = 0 ;
27635 char * kwnames[] = {
27636 (char *) "self",(char *) "dc", NULL
27637 };
27638
27639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27641 if (!SWIG_IsOK(res1)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27643 }
27644 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27645 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27646 if (!SWIG_IsOK(res2)) {
27647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27648 }
27649 arg2 = reinterpret_cast< wxDC * >(argp2);
27650 {
27651 PyThreadState* __tstate = wxPyBeginAllowThreads();
27652 (arg1)->SetDC(arg2);
27653 wxPyEndAllowThreads(__tstate);
27654 if (PyErr_Occurred()) SWIG_fail;
27655 }
27656 resultobj = SWIG_Py_Void();
27657 return resultobj;
27658fail:
27659 return NULL;
27660}
27661
27662
27663SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27664 PyObject *resultobj = 0;
27665 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27666 int arg2 ;
27667 int arg3 ;
27668 void *argp1 = 0 ;
27669 int res1 = 0 ;
27670 int val2 ;
27671 int ecode2 = 0 ;
27672 int val3 ;
27673 int ecode3 = 0 ;
27674 PyObject * obj0 = 0 ;
27675 PyObject * obj1 = 0 ;
27676 PyObject * obj2 = 0 ;
27677 char * kwnames[] = {
27678 (char *) "self",(char *) "w",(char *) "h", NULL
27679 };
27680
27681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27683 if (!SWIG_IsOK(res1)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27685 }
27686 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27687 ecode2 = SWIG_AsVal_int(obj1, &val2);
27688 if (!SWIG_IsOK(ecode2)) {
27689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27690 }
27691 arg2 = static_cast< int >(val2);
27692 ecode3 = SWIG_AsVal_int(obj2, &val3);
27693 if (!SWIG_IsOK(ecode3)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27695 }
27696 arg3 = static_cast< int >(val3);
27697 {
27698 PyThreadState* __tstate = wxPyBeginAllowThreads();
27699 (arg1)->SetPageSizePixels(arg2,arg3);
27700 wxPyEndAllowThreads(__tstate);
27701 if (PyErr_Occurred()) SWIG_fail;
27702 }
27703 resultobj = SWIG_Py_Void();
27704 return resultobj;
27705fail:
27706 return NULL;
27707}
27708
27709
27710SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27711 PyObject *resultobj = 0;
27712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27713 int *arg2 = (int *) 0 ;
27714 int *arg3 = (int *) 0 ;
27715 void *argp1 = 0 ;
27716 int res1 = 0 ;
27717 int temp2 ;
27718 int res2 = SWIG_TMPOBJ ;
27719 int temp3 ;
27720 int res3 = SWIG_TMPOBJ ;
27721 PyObject *swig_obj[1] ;
27722
27723 arg2 = &temp2;
27724 arg3 = &temp3;
27725 if (!args) SWIG_fail;
27726 swig_obj[0] = args;
27727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27728 if (!SWIG_IsOK(res1)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27730 }
27731 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 (arg1)->GetPageSizePixels(arg2,arg3);
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 resultobj = SWIG_Py_Void();
27739 if (SWIG_IsTmpObj(res2)) {
27740 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27741 } else {
27742 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27743 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27744 }
27745 if (SWIG_IsTmpObj(res3)) {
27746 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27747 } else {
27748 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27749 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27750 }
27751 return resultobj;
27752fail:
27753 return NULL;
27754}
27755
27756
27757SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27758 PyObject *resultobj = 0;
27759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27760 int arg2 ;
27761 int arg3 ;
27762 void *argp1 = 0 ;
27763 int res1 = 0 ;
27764 int val2 ;
27765 int ecode2 = 0 ;
27766 int val3 ;
27767 int ecode3 = 0 ;
27768 PyObject * obj0 = 0 ;
27769 PyObject * obj1 = 0 ;
27770 PyObject * obj2 = 0 ;
27771 char * kwnames[] = {
27772 (char *) "self",(char *) "w",(char *) "h", NULL
27773 };
27774
27775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27777 if (!SWIG_IsOK(res1)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27779 }
27780 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27781 ecode2 = SWIG_AsVal_int(obj1, &val2);
27782 if (!SWIG_IsOK(ecode2)) {
27783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27784 }
27785 arg2 = static_cast< int >(val2);
27786 ecode3 = SWIG_AsVal_int(obj2, &val3);
27787 if (!SWIG_IsOK(ecode3)) {
27788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27789 }
27790 arg3 = static_cast< int >(val3);
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 (arg1)->SetPageSizeMM(arg2,arg3);
27794 wxPyEndAllowThreads(__tstate);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 }
27797 resultobj = SWIG_Py_Void();
27798 return resultobj;
27799fail:
27800 return NULL;
27801}
27802
27803
27804SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27805 PyObject *resultobj = 0;
27806 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27807 int *arg2 = (int *) 0 ;
27808 int *arg3 = (int *) 0 ;
27809 void *argp1 = 0 ;
27810 int res1 = 0 ;
27811 int temp2 ;
27812 int res2 = SWIG_TMPOBJ ;
27813 int temp3 ;
27814 int res3 = SWIG_TMPOBJ ;
27815 PyObject *swig_obj[1] ;
27816
27817 arg2 = &temp2;
27818 arg3 = &temp3;
27819 if (!args) SWIG_fail;
27820 swig_obj[0] = args;
27821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27822 if (!SWIG_IsOK(res1)) {
27823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27824 }
27825 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 (arg1)->GetPageSizeMM(arg2,arg3);
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 resultobj = SWIG_Py_Void();
27833 if (SWIG_IsTmpObj(res2)) {
27834 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27835 } else {
27836 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27837 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27838 }
27839 if (SWIG_IsTmpObj(res3)) {
27840 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27841 } else {
27842 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27844 }
27845 return resultobj;
27846fail:
27847 return NULL;
27848}
27849
27850
27851SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27852 PyObject *resultobj = 0;
27853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27854 int arg2 ;
27855 int arg3 ;
27856 void *argp1 = 0 ;
27857 int res1 = 0 ;
27858 int val2 ;
27859 int ecode2 = 0 ;
27860 int val3 ;
27861 int ecode3 = 0 ;
27862 PyObject * obj0 = 0 ;
27863 PyObject * obj1 = 0 ;
27864 PyObject * obj2 = 0 ;
27865 char * kwnames[] = {
27866 (char *) "self",(char *) "x",(char *) "y", NULL
27867 };
27868
27869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27871 if (!SWIG_IsOK(res1)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27873 }
27874 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27875 ecode2 = SWIG_AsVal_int(obj1, &val2);
27876 if (!SWIG_IsOK(ecode2)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27878 }
27879 arg2 = static_cast< int >(val2);
27880 ecode3 = SWIG_AsVal_int(obj2, &val3);
27881 if (!SWIG_IsOK(ecode3)) {
27882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27883 }
27884 arg3 = static_cast< int >(val3);
27885 {
27886 PyThreadState* __tstate = wxPyBeginAllowThreads();
27887 (arg1)->SetPPIScreen(arg2,arg3);
27888 wxPyEndAllowThreads(__tstate);
27889 if (PyErr_Occurred()) SWIG_fail;
27890 }
27891 resultobj = SWIG_Py_Void();
27892 return resultobj;
27893fail:
27894 return NULL;
27895}
27896
27897
27898SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27899 PyObject *resultobj = 0;
27900 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27901 int *arg2 = (int *) 0 ;
27902 int *arg3 = (int *) 0 ;
27903 void *argp1 = 0 ;
27904 int res1 = 0 ;
27905 int temp2 ;
27906 int res2 = SWIG_TMPOBJ ;
27907 int temp3 ;
27908 int res3 = SWIG_TMPOBJ ;
27909 PyObject *swig_obj[1] ;
27910
27911 arg2 = &temp2;
27912 arg3 = &temp3;
27913 if (!args) SWIG_fail;
27914 swig_obj[0] = args;
27915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27916 if (!SWIG_IsOK(res1)) {
27917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27918 }
27919 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27920 {
27921 PyThreadState* __tstate = wxPyBeginAllowThreads();
27922 (arg1)->GetPPIScreen(arg2,arg3);
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 resultobj = SWIG_Py_Void();
27927 if (SWIG_IsTmpObj(res2)) {
27928 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27929 } else {
27930 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27932 }
27933 if (SWIG_IsTmpObj(res3)) {
27934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27935 } else {
27936 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27938 }
27939 return resultobj;
27940fail:
27941 return NULL;
27942}
27943
27944
27945SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27946 PyObject *resultobj = 0;
27947 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27948 int arg2 ;
27949 int arg3 ;
27950 void *argp1 = 0 ;
27951 int res1 = 0 ;
27952 int val2 ;
27953 int ecode2 = 0 ;
27954 int val3 ;
27955 int ecode3 = 0 ;
27956 PyObject * obj0 = 0 ;
27957 PyObject * obj1 = 0 ;
27958 PyObject * obj2 = 0 ;
27959 char * kwnames[] = {
27960 (char *) "self",(char *) "x",(char *) "y", NULL
27961 };
27962
27963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27965 if (!SWIG_IsOK(res1)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27967 }
27968 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27969 ecode2 = SWIG_AsVal_int(obj1, &val2);
27970 if (!SWIG_IsOK(ecode2)) {
27971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27972 }
27973 arg2 = static_cast< int >(val2);
27974 ecode3 = SWIG_AsVal_int(obj2, &val3);
27975 if (!SWIG_IsOK(ecode3)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27977 }
27978 arg3 = static_cast< int >(val3);
27979 {
27980 PyThreadState* __tstate = wxPyBeginAllowThreads();
27981 (arg1)->SetPPIPrinter(arg2,arg3);
27982 wxPyEndAllowThreads(__tstate);
27983 if (PyErr_Occurred()) SWIG_fail;
27984 }
27985 resultobj = SWIG_Py_Void();
27986 return resultobj;
27987fail:
27988 return NULL;
27989}
27990
27991
27992SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27993 PyObject *resultobj = 0;
27994 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27995 int *arg2 = (int *) 0 ;
27996 int *arg3 = (int *) 0 ;
27997 void *argp1 = 0 ;
27998 int res1 = 0 ;
27999 int temp2 ;
28000 int res2 = SWIG_TMPOBJ ;
28001 int temp3 ;
28002 int res3 = SWIG_TMPOBJ ;
28003 PyObject *swig_obj[1] ;
28004
28005 arg2 = &temp2;
28006 arg3 = &temp3;
28007 if (!args) SWIG_fail;
28008 swig_obj[0] = args;
28009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28010 if (!SWIG_IsOK(res1)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28012 }
28013 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28014 {
28015 PyThreadState* __tstate = wxPyBeginAllowThreads();
28016 (arg1)->GetPPIPrinter(arg2,arg3);
28017 wxPyEndAllowThreads(__tstate);
28018 if (PyErr_Occurred()) SWIG_fail;
28019 }
28020 resultobj = SWIG_Py_Void();
28021 if (SWIG_IsTmpObj(res2)) {
28022 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28023 } else {
28024 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28025 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28026 }
28027 if (SWIG_IsTmpObj(res3)) {
28028 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28029 } else {
28030 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28032 }
28033 return resultobj;
28034fail:
28035 return NULL;
d55e5bfc
RD
28036}
28037
28038
554f62e9
RD
28039SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28040 PyObject *resultobj = 0;
28041 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28042 bool result;
28043 void *argp1 = 0 ;
28044 int res1 = 0 ;
28045 PyObject *swig_obj[1] ;
28046
28047 if (!args) SWIG_fail;
28048 swig_obj[0] = args;
28049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28050 if (!SWIG_IsOK(res1)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28052 }
28053 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28054 {
28055 PyThreadState* __tstate = wxPyBeginAllowThreads();
28056 result = (bool)(arg1)->IsPreview();
28057 wxPyEndAllowThreads(__tstate);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 {
28061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28062 }
28063 return resultobj;
28064fail:
28065 return NULL;
28066}
28067
28068
28069SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28070 PyObject *resultobj = 0;
28071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28072 bool arg2 ;
28073 void *argp1 = 0 ;
28074 int res1 = 0 ;
28075 bool val2 ;
28076 int ecode2 = 0 ;
28077 PyObject * obj0 = 0 ;
28078 PyObject * obj1 = 0 ;
28079 char * kwnames[] = {
28080 (char *) "self",(char *) "p", NULL
28081 };
28082
28083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28085 if (!SWIG_IsOK(res1)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28087 }
28088 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28090 if (!SWIG_IsOK(ecode2)) {
28091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28092 }
28093 arg2 = static_cast< bool >(val2);
28094 {
28095 PyThreadState* __tstate = wxPyBeginAllowThreads();
28096 (arg1)->SetIsPreview(arg2);
28097 wxPyEndAllowThreads(__tstate);
28098 if (PyErr_Occurred()) SWIG_fail;
28099 }
28100 resultobj = SWIG_Py_Void();
28101 return resultobj;
28102fail:
28103 return NULL;
28104}
28105
28106
28107SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28108 PyObject *resultobj = 0;
28109 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28110 int arg2 ;
28111 int arg3 ;
28112 bool result;
28113 void *argp1 = 0 ;
28114 int res1 = 0 ;
28115 int val2 ;
28116 int ecode2 = 0 ;
28117 int val3 ;
28118 int ecode3 = 0 ;
28119 PyObject * obj0 = 0 ;
28120 PyObject * obj1 = 0 ;
28121 PyObject * obj2 = 0 ;
28122 char * kwnames[] = {
28123 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28124 };
28125
28126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28128 if (!SWIG_IsOK(res1)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28130 }
28131 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28132 ecode2 = SWIG_AsVal_int(obj1, &val2);
28133 if (!SWIG_IsOK(ecode2)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28135 }
28136 arg2 = static_cast< int >(val2);
28137 ecode3 = SWIG_AsVal_int(obj2, &val3);
28138 if (!SWIG_IsOK(ecode3)) {
28139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28140 }
28141 arg3 = static_cast< int >(val3);
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28145 wxPyEndAllowThreads(__tstate);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 {
28149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28150 }
28151 return resultobj;
28152fail:
28153 return NULL;
d55e5bfc
RD
28154}
28155
28156
554f62e9
RD
28157SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28158 PyObject *resultobj = 0;
28159 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28160 void *argp1 = 0 ;
28161 int res1 = 0 ;
28162 PyObject *swig_obj[1] ;
28163
28164 if (!args) SWIG_fail;
28165 swig_obj[0] = args;
28166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28167 if (!SWIG_IsOK(res1)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28169 }
28170 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28171 {
28172 PyThreadState* __tstate = wxPyBeginAllowThreads();
28173 (arg1)->OnEndDocument();
28174 wxPyEndAllowThreads(__tstate);
28175 if (PyErr_Occurred()) SWIG_fail;
28176 }
28177 resultobj = SWIG_Py_Void();
28178 return resultobj;
28179fail:
28180 return NULL;
caef1a4d
RD
28181}
28182
28183
554f62e9
RD
28184SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28185 PyObject *resultobj = 0;
28186 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28187 void *argp1 = 0 ;
28188 int res1 = 0 ;
28189 PyObject *swig_obj[1] ;
28190
28191 if (!args) SWIG_fail;
28192 swig_obj[0] = args;
28193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28194 if (!SWIG_IsOK(res1)) {
28195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28196 }
28197 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28198 {
28199 PyThreadState* __tstate = wxPyBeginAllowThreads();
28200 (arg1)->OnBeginPrinting();
28201 wxPyEndAllowThreads(__tstate);
28202 if (PyErr_Occurred()) SWIG_fail;
28203 }
28204 resultobj = SWIG_Py_Void();
28205 return resultobj;
28206fail:
28207 return NULL;
60d5fcc1
RD
28208}
28209
28210
554f62e9
RD
28211SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28212 PyObject *resultobj = 0;
28213 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28214 void *argp1 = 0 ;
28215 int res1 = 0 ;
28216 PyObject *swig_obj[1] ;
28217
28218 if (!args) SWIG_fail;
28219 swig_obj[0] = args;
28220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28221 if (!SWIG_IsOK(res1)) {
28222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28223 }
28224 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28225 {
28226 PyThreadState* __tstate = wxPyBeginAllowThreads();
28227 (arg1)->OnEndPrinting();
28228 wxPyEndAllowThreads(__tstate);
28229 if (PyErr_Occurred()) SWIG_fail;
28230 }
28231 resultobj = SWIG_Py_Void();
28232 return resultobj;
28233fail:
28234 return NULL;
d55e5bfc
RD
28235}
28236
28237
554f62e9
RD
28238SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28239 PyObject *resultobj = 0;
28240 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28241 void *argp1 = 0 ;
28242 int res1 = 0 ;
28243 PyObject *swig_obj[1] ;
28244
28245 if (!args) SWIG_fail;
28246 swig_obj[0] = args;
28247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28248 if (!SWIG_IsOK(res1)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28250 }
28251 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 (arg1)->OnPreparePrinting();
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 resultobj = SWIG_Py_Void();
28259 return resultobj;
28260fail:
28261 return NULL;
28262}
28263
28264
28265SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28266 PyObject *resultobj = 0;
28267 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28268 int arg2 ;
28269 bool result;
28270 void *argp1 = 0 ;
28271 int res1 = 0 ;
28272 int val2 ;
28273 int ecode2 = 0 ;
28274 PyObject * obj0 = 0 ;
28275 PyObject * obj1 = 0 ;
28276 char * kwnames[] = {
28277 (char *) "self",(char *) "page", NULL
28278 };
28279
28280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28282 if (!SWIG_IsOK(res1)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28284 }
28285 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28286 ecode2 = SWIG_AsVal_int(obj1, &val2);
28287 if (!SWIG_IsOK(ecode2)) {
28288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28289 }
28290 arg2 = static_cast< int >(val2);
28291 {
28292 PyThreadState* __tstate = wxPyBeginAllowThreads();
28293 result = (bool)(arg1)->HasPage(arg2);
28294 wxPyEndAllowThreads(__tstate);
28295 if (PyErr_Occurred()) SWIG_fail;
28296 }
28297 {
28298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28299 }
28300 return resultobj;
28301fail:
28302 return NULL;
28303}
28304
28305
28306SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28307 PyObject *resultobj = 0;
28308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28309 int *arg2 = (int *) 0 ;
28310 int *arg3 = (int *) 0 ;
28311 int *arg4 = (int *) 0 ;
28312 int *arg5 = (int *) 0 ;
28313 void *argp1 = 0 ;
28314 int res1 = 0 ;
28315 int temp2 ;
28316 int res2 = SWIG_TMPOBJ ;
28317 int temp3 ;
28318 int res3 = SWIG_TMPOBJ ;
28319 int temp4 ;
28320 int res4 = SWIG_TMPOBJ ;
28321 int temp5 ;
28322 int res5 = SWIG_TMPOBJ ;
28323 PyObject *swig_obj[1] ;
28324
28325 arg2 = &temp2;
28326 arg3 = &temp3;
28327 arg4 = &temp4;
28328 arg5 = &temp5;
28329 if (!args) SWIG_fail;
28330 swig_obj[0] = args;
28331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28332 if (!SWIG_IsOK(res1)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28334 }
28335 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28339 wxPyEndAllowThreads(__tstate);
28340 if (PyErr_Occurred()) SWIG_fail;
28341 }
28342 resultobj = SWIG_Py_Void();
28343 if (SWIG_IsTmpObj(res2)) {
28344 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28345 } else {
28346 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28347 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28348 }
28349 if (SWIG_IsTmpObj(res3)) {
28350 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28351 } else {
28352 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28354 }
28355 if (SWIG_IsTmpObj(res4)) {
28356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28357 } else {
28358 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28360 }
28361 if (SWIG_IsTmpObj(res5)) {
28362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28363 } else {
28364 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28366 }
28367 return resultobj;
28368fail:
28369 return NULL;
28370}
28371
28372
28373SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28374 PyObject *obj;
28375 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28377 return SWIG_Py_Void();
28378}
28379
28380SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28381 return SWIG_Python_InitShadowInstance(args);
28382}
28383
28384SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28385 PyObject *resultobj = 0;
28386 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28387 wxWindow *arg2 = (wxWindow *) 0 ;
28388 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28389 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28390 wxSize const &arg4_defvalue = wxDefaultSize ;
28391 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28392 long arg5 = (long) 0 ;
28393 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28394 wxString *arg6 = (wxString *) &arg6_defvalue ;
28395 wxPreviewCanvas *result = 0 ;
28396 void *argp1 = 0 ;
28397 int res1 = 0 ;
28398 void *argp2 = 0 ;
28399 int res2 = 0 ;
28400 wxPoint temp3 ;
28401 wxSize temp4 ;
28402 long val5 ;
28403 int ecode5 = 0 ;
28404 bool temp6 = false ;
28405 PyObject * obj0 = 0 ;
28406 PyObject * obj1 = 0 ;
28407 PyObject * obj2 = 0 ;
28408 PyObject * obj3 = 0 ;
28409 PyObject * obj4 = 0 ;
28410 PyObject * obj5 = 0 ;
28411 char * kwnames[] = {
28412 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28413 };
28414
28415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28417 if (!SWIG_IsOK(res1)) {
28418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28419 }
28420 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28422 if (!SWIG_IsOK(res2)) {
28423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28424 }
28425 arg2 = reinterpret_cast< wxWindow * >(argp2);
28426 if (obj2) {
093d3ff1 28427 {
554f62e9
RD
28428 arg3 = &temp3;
28429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28430 }
554f62e9
RD
28431 }
28432 if (obj3) {
093d3ff1 28433 {
554f62e9
RD
28434 arg4 = &temp4;
28435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28436 }
554f62e9
RD
28437 }
28438 if (obj4) {
28439 ecode5 = SWIG_AsVal_long(obj4, &val5);
28440 if (!SWIG_IsOK(ecode5)) {
28441 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28442 }
28443 arg5 = static_cast< long >(val5);
28444 }
28445 if (obj5) {
093d3ff1 28446 {
554f62e9
RD
28447 arg6 = wxString_in_helper(obj5);
28448 if (arg6 == NULL) SWIG_fail;
28449 temp6 = true;
093d3ff1 28450 }
554f62e9
RD
28451 }
28452 {
28453 if (!wxPyCheckForApp()) SWIG_fail;
28454 PyThreadState* __tstate = wxPyBeginAllowThreads();
28455 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28456 wxPyEndAllowThreads(__tstate);
28457 if (PyErr_Occurred()) SWIG_fail;
28458 }
28459 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28460 {
28461 if (temp6)
28462 delete arg6;
28463 }
28464 return resultobj;
28465fail:
28466 {
28467 if (temp6)
28468 delete arg6;
28469 }
28470 return NULL;
28471}
28472
28473
28474SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28475 PyObject *obj;
28476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28478 return SWIG_Py_Void();
28479}
28480
28481SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28482 return SWIG_Python_InitShadowInstance(args);
28483}
28484
28485SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28486 PyObject *resultobj = 0;
28487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28488 wxFrame *arg2 = (wxFrame *) 0 ;
28489 wxString *arg3 = 0 ;
28490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28492 wxSize const &arg5_defvalue = wxDefaultSize ;
28493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28494 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28495 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28496 wxString *arg7 = (wxString *) &arg7_defvalue ;
28497 wxPreviewFrame *result = 0 ;
28498 int res1 = 0 ;
28499 void *argp2 = 0 ;
28500 int res2 = 0 ;
28501 bool temp3 = false ;
28502 wxPoint temp4 ;
28503 wxSize temp5 ;
28504 long val6 ;
28505 int ecode6 = 0 ;
28506 bool temp7 = false ;
28507 PyObject * obj0 = 0 ;
28508 PyObject * obj1 = 0 ;
28509 PyObject * obj2 = 0 ;
28510 PyObject * obj3 = 0 ;
28511 PyObject * obj4 = 0 ;
28512 PyObject * obj5 = 0 ;
28513 PyObject * obj6 = 0 ;
28514 char * kwnames[] = {
28515 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28516 };
28517
28518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28519 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28520 if (!SWIG_IsOK(res1)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28522 }
28523 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28524 if (!SWIG_IsOK(res2)) {
28525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28526 }
28527 arg2 = reinterpret_cast< wxFrame * >(argp2);
28528 {
28529 arg3 = wxString_in_helper(obj2);
28530 if (arg3 == NULL) SWIG_fail;
28531 temp3 = true;
28532 }
28533 if (obj3) {
093d3ff1 28534 {
554f62e9
RD
28535 arg4 = &temp4;
28536 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28537 }
554f62e9
RD
28538 }
28539 if (obj4) {
d55e5bfc 28540 {
554f62e9
RD
28541 arg5 = &temp5;
28542 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 28543 }
554f62e9
RD
28544 }
28545 if (obj5) {
28546 ecode6 = SWIG_AsVal_long(obj5, &val6);
28547 if (!SWIG_IsOK(ecode6)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28549 }
28550 arg6 = static_cast< long >(val6);
28551 }
28552 if (obj6) {
093d3ff1 28553 {
554f62e9
RD
28554 arg7 = wxString_in_helper(obj6);
28555 if (arg7 == NULL) SWIG_fail;
28556 temp7 = true;
093d3ff1 28557 }
554f62e9
RD
28558 }
28559 {
28560 if (!wxPyCheckForApp()) SWIG_fail;
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28567 {
28568 if (temp3)
28569 delete arg3;
28570 }
28571 {
28572 if (temp7)
28573 delete arg7;
28574 }
28575 return resultobj;
28576fail:
28577 {
28578 if (temp3)
28579 delete arg3;
28580 }
28581 {
28582 if (temp7)
28583 delete arg7;
28584 }
28585 return NULL;
d55e5bfc
RD
28586}
28587
28588
554f62e9
RD
28589SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28590 PyObject *resultobj = 0;
28591 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28592 void *argp1 = 0 ;
28593 int res1 = 0 ;
28594 PyObject *swig_obj[1] ;
28595
28596 if (!args) SWIG_fail;
28597 swig_obj[0] = args;
28598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28599 if (!SWIG_IsOK(res1)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28601 }
28602 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 (arg1)->Initialize();
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
28609 resultobj = SWIG_Py_Void();
28610 return resultobj;
28611fail:
28612 return NULL;
d55e5bfc
RD
28613}
28614
28615
554f62e9
RD
28616SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28617 PyObject *resultobj = 0;
28618 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28619 void *argp1 = 0 ;
28620 int res1 = 0 ;
28621 PyObject *swig_obj[1] ;
28622
28623 if (!args) SWIG_fail;
28624 swig_obj[0] = args;
28625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28626 if (!SWIG_IsOK(res1)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28628 }
28629 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28630 {
28631 PyThreadState* __tstate = wxPyBeginAllowThreads();
28632 (arg1)->CreateControlBar();
28633 wxPyEndAllowThreads(__tstate);
28634 if (PyErr_Occurred()) SWIG_fail;
28635 }
28636 resultobj = SWIG_Py_Void();
28637 return resultobj;
28638fail:
28639 return NULL;
d55e5bfc
RD
28640}
28641
28642
554f62e9
RD
28643SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28644 PyObject *resultobj = 0;
28645 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28646 void *argp1 = 0 ;
28647 int res1 = 0 ;
28648 PyObject *swig_obj[1] ;
28649
28650 if (!args) SWIG_fail;
28651 swig_obj[0] = args;
28652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28653 if (!SWIG_IsOK(res1)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28655 }
28656 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 (arg1)->CreateCanvas();
28660 wxPyEndAllowThreads(__tstate);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 resultobj = SWIG_Py_Void();
28664 return resultobj;
28665fail:
28666 return NULL;
d55e5bfc
RD
28667}
28668
28669
554f62e9
RD
28670SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28671 PyObject *resultobj = 0;
28672 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28673 wxPreviewControlBar *result = 0 ;
28674 void *argp1 = 0 ;
28675 int res1 = 0 ;
28676 PyObject *swig_obj[1] ;
28677
28678 if (!args) SWIG_fail;
28679 swig_obj[0] = args;
28680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28681 if (!SWIG_IsOK(res1)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28683 }
28684 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28685 {
28686 PyThreadState* __tstate = wxPyBeginAllowThreads();
28687 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28688 wxPyEndAllowThreads(__tstate);
28689 if (PyErr_Occurred()) SWIG_fail;
28690 }
28691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28692 return resultobj;
28693fail:
28694 return NULL;
28695}
28696
28697
28698SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28699 PyObject *obj;
28700 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28701 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28702 return SWIG_Py_Void();
28703}
28704
28705SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28706 return SWIG_Python_InitShadowInstance(args);
28707}
28708
28709SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28710 PyObject *resultobj = 0;
28711 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28712 long arg2 ;
28713 wxWindow *arg3 = (wxWindow *) 0 ;
28714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28716 wxSize const &arg5_defvalue = wxDefaultSize ;
28717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28718 long arg6 = (long) wxTAB_TRAVERSAL ;
28719 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28720 wxString *arg7 = (wxString *) &arg7_defvalue ;
28721 wxPreviewControlBar *result = 0 ;
28722 void *argp1 = 0 ;
28723 int res1 = 0 ;
28724 long val2 ;
28725 int ecode2 = 0 ;
28726 void *argp3 = 0 ;
28727 int res3 = 0 ;
28728 wxPoint temp4 ;
28729 wxSize temp5 ;
28730 long val6 ;
28731 int ecode6 = 0 ;
28732 bool temp7 = false ;
28733 PyObject * obj0 = 0 ;
28734 PyObject * obj1 = 0 ;
28735 PyObject * obj2 = 0 ;
28736 PyObject * obj3 = 0 ;
28737 PyObject * obj4 = 0 ;
28738 PyObject * obj5 = 0 ;
28739 PyObject * obj6 = 0 ;
28740 char * kwnames[] = {
28741 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28742 };
28743
28744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28746 if (!SWIG_IsOK(res1)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28748 }
28749 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28750 ecode2 = SWIG_AsVal_long(obj1, &val2);
28751 if (!SWIG_IsOK(ecode2)) {
28752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28753 }
28754 arg2 = static_cast< long >(val2);
28755 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28756 if (!SWIG_IsOK(res3)) {
28757 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28758 }
28759 arg3 = reinterpret_cast< wxWindow * >(argp3);
28760 if (obj3) {
d55e5bfc 28761 {
554f62e9
RD
28762 arg4 = &temp4;
28763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28764 }
28765 }
28766 if (obj4) {
d55e5bfc 28767 {
554f62e9
RD
28768 arg5 = &temp5;
28769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28770 }
554f62e9
RD
28771 }
28772 if (obj5) {
28773 ecode6 = SWIG_AsVal_long(obj5, &val6);
28774 if (!SWIG_IsOK(ecode6)) {
28775 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28776 }
28777 arg6 = static_cast< long >(val6);
28778 }
28779 if (obj6) {
d55e5bfc 28780 {
554f62e9
RD
28781 arg7 = wxString_in_helper(obj6);
28782 if (arg7 == NULL) SWIG_fail;
28783 temp7 = true;
d55e5bfc 28784 }
554f62e9
RD
28785 }
28786 {
28787 if (!wxPyCheckForApp()) SWIG_fail;
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28794 {
28795 if (temp7)
28796 delete arg7;
28797 }
28798 return resultobj;
28799fail:
28800 {
28801 if (temp7)
28802 delete arg7;
28803 }
28804 return NULL;
d55e5bfc
RD
28805}
28806
28807
554f62e9
RD
28808SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28809 PyObject *resultobj = 0;
28810 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28811 int result;
28812 void *argp1 = 0 ;
28813 int res1 = 0 ;
28814 PyObject *swig_obj[1] ;
28815
28816 if (!args) SWIG_fail;
28817 swig_obj[0] = args;
28818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28819 if (!SWIG_IsOK(res1)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28821 }
28822 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28823 {
28824 PyThreadState* __tstate = wxPyBeginAllowThreads();
28825 result = (int)(arg1)->GetZoomControl();
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 resultobj = SWIG_From_int(static_cast< int >(result));
28830 return resultobj;
28831fail:
28832 return NULL;
28833}
28834
28835
28836SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28837 PyObject *resultobj = 0;
28838 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28839 int arg2 ;
28840 void *argp1 = 0 ;
28841 int res1 = 0 ;
28842 int val2 ;
28843 int ecode2 = 0 ;
28844 PyObject * obj0 = 0 ;
28845 PyObject * obj1 = 0 ;
28846 char * kwnames[] = {
28847 (char *) "self",(char *) "zoom", NULL
28848 };
28849
28850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28852 if (!SWIG_IsOK(res1)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28854 }
28855 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28856 ecode2 = SWIG_AsVal_int(obj1, &val2);
28857 if (!SWIG_IsOK(ecode2)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28859 }
28860 arg2 = static_cast< int >(val2);
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 (arg1)->SetZoomControl(arg2);
28864 wxPyEndAllowThreads(__tstate);
28865 if (PyErr_Occurred()) SWIG_fail;
28866 }
28867 resultobj = SWIG_Py_Void();
28868 return resultobj;
28869fail:
28870 return NULL;
d55e5bfc
RD
28871}
28872
28873
554f62e9
RD
28874SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28875 PyObject *resultobj = 0;
28876 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28877 wxPrintPreview *result = 0 ;
28878 void *argp1 = 0 ;
28879 int res1 = 0 ;
28880 PyObject *swig_obj[1] ;
28881
28882 if (!args) SWIG_fail;
28883 swig_obj[0] = args;
28884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28885 if (!SWIG_IsOK(res1)) {
28886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28887 }
28888 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28889 {
28890 PyThreadState* __tstate = wxPyBeginAllowThreads();
28891 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28892 wxPyEndAllowThreads(__tstate);
28893 if (PyErr_Occurred()) SWIG_fail;
28894 }
28895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28896 return resultobj;
28897fail:
28898 return NULL;
d55e5bfc
RD
28899}
28900
28901
554f62e9
RD
28902SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28903 PyObject *resultobj = 0;
28904 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28905 void *argp1 = 0 ;
28906 int res1 = 0 ;
28907 PyObject *swig_obj[1] ;
28908
28909 if (!args) SWIG_fail;
28910 swig_obj[0] = args;
28911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28912 if (!SWIG_IsOK(res1)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28914 }
28915 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28916 {
28917 PyThreadState* __tstate = wxPyBeginAllowThreads();
28918 (arg1)->OnNext();
28919 wxPyEndAllowThreads(__tstate);
28920 if (PyErr_Occurred()) SWIG_fail;
28921 }
28922 resultobj = SWIG_Py_Void();
28923 return resultobj;
28924fail:
28925 return NULL;
d55e5bfc
RD
28926}
28927
28928
554f62e9
RD
28929SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28930 PyObject *resultobj = 0;
28931 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28932 void *argp1 = 0 ;
28933 int res1 = 0 ;
28934 PyObject *swig_obj[1] ;
28935
28936 if (!args) SWIG_fail;
28937 swig_obj[0] = args;
28938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28939 if (!SWIG_IsOK(res1)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28941 }
28942 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28943 {
28944 PyThreadState* __tstate = wxPyBeginAllowThreads();
28945 (arg1)->OnPrevious();
28946 wxPyEndAllowThreads(__tstate);
28947 if (PyErr_Occurred()) SWIG_fail;
28948 }
28949 resultobj = SWIG_Py_Void();
28950 return resultobj;
28951fail:
28952 return NULL;
d55e5bfc
RD
28953}
28954
28955
554f62e9
RD
28956SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28957 PyObject *resultobj = 0;
28958 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28959 void *argp1 = 0 ;
28960 int res1 = 0 ;
28961 PyObject *swig_obj[1] ;
28962
28963 if (!args) SWIG_fail;
28964 swig_obj[0] = args;
28965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28966 if (!SWIG_IsOK(res1)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28968 }
28969 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28970 {
28971 PyThreadState* __tstate = wxPyBeginAllowThreads();
28972 (arg1)->OnFirst();
28973 wxPyEndAllowThreads(__tstate);
28974 if (PyErr_Occurred()) SWIG_fail;
28975 }
28976 resultobj = SWIG_Py_Void();
28977 return resultobj;
28978fail:
28979 return NULL;
d55e5bfc
RD
28980}
28981
28982
554f62e9
RD
28983SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28984 PyObject *resultobj = 0;
28985 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28986 void *argp1 = 0 ;
28987 int res1 = 0 ;
28988 PyObject *swig_obj[1] ;
28989
28990 if (!args) SWIG_fail;
28991 swig_obj[0] = args;
28992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28993 if (!SWIG_IsOK(res1)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28995 }
28996 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 (arg1)->OnLast();
29000 wxPyEndAllowThreads(__tstate);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 }
29003 resultobj = SWIG_Py_Void();
29004 return resultobj;
29005fail:
29006 return NULL;
d55e5bfc
RD
29007}
29008
29009
554f62e9
RD
29010SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29011 PyObject *resultobj = 0;
29012 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29013 void *argp1 = 0 ;
29014 int res1 = 0 ;
29015 PyObject *swig_obj[1] ;
29016
29017 if (!args) SWIG_fail;
29018 swig_obj[0] = args;
29019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29020 if (!SWIG_IsOK(res1)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29022 }
29023 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29024 {
29025 PyThreadState* __tstate = wxPyBeginAllowThreads();
29026 (arg1)->OnGoto();
29027 wxPyEndAllowThreads(__tstate);
29028 if (PyErr_Occurred()) SWIG_fail;
29029 }
29030 resultobj = SWIG_Py_Void();
29031 return resultobj;
29032fail:
29033 return NULL;
d55e5bfc
RD
29034}
29035
29036
554f62e9
RD
29037SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29038 PyObject *obj;
29039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29041 return SWIG_Py_Void();
d55e5bfc
RD
29042}
29043
554f62e9
RD
29044SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29045 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29046}
29047
554f62e9
RD
29048SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29049 PyObject *resultobj = 0;
29050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29051 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29052 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29053 wxPrintPreview *result = 0 ;
29054 int res1 = 0 ;
29055 int res2 = 0 ;
29056 void *argp3 = 0 ;
29057 int res3 = 0 ;
29058
29059 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29060 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29061 if (!SWIG_IsOK(res1)) {
29062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29063 }
29064 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29065 if (!SWIG_IsOK(res2)) {
29066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29067 }
29068 if (swig_obj[2]) {
29069 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29070 if (!SWIG_IsOK(res3)) {
29071 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29072 }
29073 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29074 }
29075 {
29076 if (!wxPyCheckForApp()) SWIG_fail;
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29083 return resultobj;
29084fail:
29085 return NULL;
29086}
29087
29088
29089SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29090 PyObject *resultobj = 0;
29091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29092 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29093 wxPrintData *arg3 = (wxPrintData *) 0 ;
29094 wxPrintPreview *result = 0 ;
29095 int res1 = 0 ;
29096 int res2 = 0 ;
29097 void *argp3 = 0 ;
29098 int res3 = 0 ;
29099
29100 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29101 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29102 if (!SWIG_IsOK(res1)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29104 }
29105 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29106 if (!SWIG_IsOK(res2)) {
29107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29108 }
29109 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29110 if (!SWIG_IsOK(res3)) {
29111 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29112 }
29113 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29114 {
29115 if (!wxPyCheckForApp()) SWIG_fail;
29116 PyThreadState* __tstate = wxPyBeginAllowThreads();
29117 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29118 wxPyEndAllowThreads(__tstate);
29119 if (PyErr_Occurred()) SWIG_fail;
29120 }
29121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29122 return resultobj;
29123fail:
29124 return NULL;
d55e5bfc
RD
29125}
29126
29127
554f62e9
RD
29128SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29129 int argc;
29130 PyObject *argv[4];
29131
29132 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29133 --argc;
29134 if ((argc >= 2) && (argc <= 3)) {
29135 int _v = 0;
29136 if (argc > 2) {
29137 {
29138 void *vptr = 0;
29139 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29140 _v = SWIG_CheckState(res);
29141 }
29142 if (!_v) goto check_1;
d55e5bfc 29143 }
554f62e9
RD
29144 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29145 }
29146check_1:
29147
29148 if (argc == 3) {
29149 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29150 }
29151
29152fail:
29153 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29154 return NULL;
d55e5bfc
RD
29155}
29156
29157
554f62e9
RD
29158SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29159 PyObject *resultobj = 0;
29160 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29161 void *argp1 = 0 ;
29162 int res1 = 0 ;
29163 PyObject *swig_obj[1] ;
29164
29165 if (!args) SWIG_fail;
29166 swig_obj[0] = args;
29167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29168 if (!SWIG_IsOK(res1)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29170 }
29171 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 delete arg1;
caef1a4d 29175
554f62e9
RD
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
29179 resultobj = SWIG_Py_Void();
29180 return resultobj;
29181fail:
29182 return NULL;
29183}
29184
29185
29186SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29187 PyObject *resultobj = 0;
29188 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29189 int arg2 ;
29190 bool result;
29191 void *argp1 = 0 ;
29192 int res1 = 0 ;
29193 int val2 ;
29194 int ecode2 = 0 ;
29195 PyObject * obj0 = 0 ;
29196 PyObject * obj1 = 0 ;
29197 char * kwnames[] = {
29198 (char *) "self",(char *) "pageNum", NULL
29199 };
29200
29201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29203 if (!SWIG_IsOK(res1)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29205 }
29206 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29207 ecode2 = SWIG_AsVal_int(obj1, &val2);
29208 if (!SWIG_IsOK(ecode2)) {
29209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29210 }
29211 arg2 = static_cast< int >(val2);
29212 {
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 result = (bool)(arg1)->SetCurrentPage(arg2);
29215 wxPyEndAllowThreads(__tstate);
29216 if (PyErr_Occurred()) SWIG_fail;
29217 }
29218 {
29219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29220 }
29221 return resultobj;
29222fail:
29223 return NULL;
caef1a4d
RD
29224}
29225
29226
554f62e9
RD
29227SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29228 PyObject *resultobj = 0;
29229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29230 int result;
29231 void *argp1 = 0 ;
29232 int res1 = 0 ;
29233 PyObject *swig_obj[1] ;
29234
29235 if (!args) SWIG_fail;
29236 swig_obj[0] = args;
29237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29238 if (!SWIG_IsOK(res1)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29240 }
29241 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29242 {
29243 PyThreadState* __tstate = wxPyBeginAllowThreads();
29244 result = (int)(arg1)->GetCurrentPage();
29245 wxPyEndAllowThreads(__tstate);
29246 if (PyErr_Occurred()) SWIG_fail;
29247 }
29248 resultobj = SWIG_From_int(static_cast< int >(result));
29249 return resultobj;
29250fail:
29251 return NULL;
29252}
29253
29254
29255SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29256 PyObject *resultobj = 0;
29257 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29258 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29259 void *argp1 = 0 ;
29260 int res1 = 0 ;
29261 int res2 = 0 ;
29262 PyObject * obj0 = 0 ;
29263 PyObject * obj1 = 0 ;
29264 char * kwnames[] = {
29265 (char *) "self",(char *) "printout", NULL
29266 };
29267
29268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29270 if (!SWIG_IsOK(res1)) {
29271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29272 }
29273 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29274 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29275 if (!SWIG_IsOK(res2)) {
29276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29277 }
29278 {
29279 PyThreadState* __tstate = wxPyBeginAllowThreads();
29280 (arg1)->SetPrintout(arg2);
29281 wxPyEndAllowThreads(__tstate);
29282 if (PyErr_Occurred()) SWIG_fail;
29283 }
29284 resultobj = SWIG_Py_Void();
29285 return resultobj;
29286fail:
29287 return NULL;
8d38bd1d
RD
29288}
29289
29290
554f62e9
RD
29291SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29292 PyObject *resultobj = 0;
29293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29294 wxPyPrintout *result = 0 ;
29295 void *argp1 = 0 ;
29296 int res1 = 0 ;
29297 PyObject *swig_obj[1] ;
29298
29299 if (!args) SWIG_fail;
29300 swig_obj[0] = args;
29301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29302 if (!SWIG_IsOK(res1)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29304 }
29305 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29306 {
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
29308 result = (wxPyPrintout *)(arg1)->GetPrintout();
29309 wxPyEndAllowThreads(__tstate);
29310 if (PyErr_Occurred()) SWIG_fail;
29311 }
29312 {
29313 resultobj = wxPyMake_wxObject(result, 0);
29314 }
29315 return resultobj;
29316fail:
29317 return NULL;
d55e5bfc
RD
29318}
29319
29320
554f62e9
RD
29321SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29322 PyObject *resultobj = 0;
29323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29324 wxPyPrintout *result = 0 ;
29325 void *argp1 = 0 ;
29326 int res1 = 0 ;
29327 PyObject *swig_obj[1] ;
29328
29329 if (!args) SWIG_fail;
29330 swig_obj[0] = args;
29331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29332 if (!SWIG_IsOK(res1)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29334 }
29335 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29336 {
29337 PyThreadState* __tstate = wxPyBeginAllowThreads();
29338 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
29342 {
29343 resultobj = wxPyMake_wxObject(result, 0);
29344 }
29345 return resultobj;
29346fail:
29347 return NULL;
29348}
29349
29350
29351SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29352 PyObject *resultobj = 0;
29353 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29354 wxFrame *arg2 = (wxFrame *) 0 ;
29355 void *argp1 = 0 ;
29356 int res1 = 0 ;
29357 void *argp2 = 0 ;
29358 int res2 = 0 ;
29359 PyObject * obj0 = 0 ;
29360 PyObject * obj1 = 0 ;
29361 char * kwnames[] = {
29362 (char *) "self",(char *) "frame", NULL
29363 };
29364
29365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29367 if (!SWIG_IsOK(res1)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29369 }
29370 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29371 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29372 if (!SWIG_IsOK(res2)) {
29373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29374 }
29375 arg2 = reinterpret_cast< wxFrame * >(argp2);
29376 {
29377 PyThreadState* __tstate = wxPyBeginAllowThreads();
29378 (arg1)->SetFrame(arg2);
29379 wxPyEndAllowThreads(__tstate);
29380 if (PyErr_Occurred()) SWIG_fail;
29381 }
29382 resultobj = SWIG_Py_Void();
29383 return resultobj;
29384fail:
29385 return NULL;
29386}
29387
29388
29389SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29390 PyObject *resultobj = 0;
29391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29392 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29393 void *argp1 = 0 ;
29394 int res1 = 0 ;
29395 void *argp2 = 0 ;
29396 int res2 = 0 ;
29397 PyObject * obj0 = 0 ;
29398 PyObject * obj1 = 0 ;
29399 char * kwnames[] = {
29400 (char *) "self",(char *) "canvas", NULL
29401 };
29402
29403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29405 if (!SWIG_IsOK(res1)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29407 }
29408 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29409 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29410 if (!SWIG_IsOK(res2)) {
29411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29412 }
29413 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29414 {
29415 PyThreadState* __tstate = wxPyBeginAllowThreads();
29416 (arg1)->SetCanvas(arg2);
29417 wxPyEndAllowThreads(__tstate);
29418 if (PyErr_Occurred()) SWIG_fail;
29419 }
29420 resultobj = SWIG_Py_Void();
29421 return resultobj;
29422fail:
29423 return NULL;
d55e5bfc
RD
29424}
29425
29426
554f62e9
RD
29427SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29428 PyObject *resultobj = 0;
29429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29430 wxFrame *result = 0 ;
29431 void *argp1 = 0 ;
29432 int res1 = 0 ;
29433 PyObject *swig_obj[1] ;
29434
29435 if (!args) SWIG_fail;
29436 swig_obj[0] = args;
29437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29438 if (!SWIG_IsOK(res1)) {
29439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29440 }
29441 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29442 {
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
29444 result = (wxFrame *)(arg1)->GetFrame();
29445 wxPyEndAllowThreads(__tstate);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 {
29449 resultobj = wxPyMake_wxObject(result, 0);
29450 }
29451 return resultobj;
29452fail:
29453 return NULL;
d55e5bfc
RD
29454}
29455
29456
554f62e9
RD
29457SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29458 PyObject *resultobj = 0;
29459 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29460 wxPreviewCanvas *result = 0 ;
29461 void *argp1 = 0 ;
29462 int res1 = 0 ;
29463 PyObject *swig_obj[1] ;
29464
29465 if (!args) SWIG_fail;
29466 swig_obj[0] = args;
29467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29468 if (!SWIG_IsOK(res1)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29470 }
29471 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29472 {
29473 PyThreadState* __tstate = wxPyBeginAllowThreads();
29474 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29475 wxPyEndAllowThreads(__tstate);
29476 if (PyErr_Occurred()) SWIG_fail;
29477 }
29478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29479 return resultobj;
29480fail:
29481 return NULL;
29482}
29483
29484
29485SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29486 PyObject *resultobj = 0;
29487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29488 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29489 wxDC *arg3 = 0 ;
29490 bool result;
29491 void *argp1 = 0 ;
29492 int res1 = 0 ;
29493 void *argp2 = 0 ;
29494 int res2 = 0 ;
29495 void *argp3 = 0 ;
29496 int res3 = 0 ;
29497 PyObject * obj0 = 0 ;
29498 PyObject * obj1 = 0 ;
29499 PyObject * obj2 = 0 ;
29500 char * kwnames[] = {
29501 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29502 };
29503
29504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29506 if (!SWIG_IsOK(res1)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29508 }
29509 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29510 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29511 if (!SWIG_IsOK(res2)) {
29512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29513 }
29514 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29515 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29516 if (!SWIG_IsOK(res3)) {
29517 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29518 }
29519 if (!argp3) {
29520 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29521 }
29522 arg3 = reinterpret_cast< wxDC * >(argp3);
29523 {
29524 PyThreadState* __tstate = wxPyBeginAllowThreads();
29525 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29526 wxPyEndAllowThreads(__tstate);
29527 if (PyErr_Occurred()) SWIG_fail;
29528 }
29529 {
29530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29531 }
29532 return resultobj;
29533fail:
29534 return NULL;
29535}
29536
29537
29538SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29539 PyObject *resultobj = 0;
29540 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29541 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29542 wxDC *arg3 = 0 ;
29543 bool result;
29544 void *argp1 = 0 ;
29545 int res1 = 0 ;
29546 void *argp2 = 0 ;
29547 int res2 = 0 ;
29548 void *argp3 = 0 ;
29549 int res3 = 0 ;
29550 PyObject * obj0 = 0 ;
29551 PyObject * obj1 = 0 ;
29552 PyObject * obj2 = 0 ;
29553 char * kwnames[] = {
29554 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29555 };
29556
29557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29559 if (!SWIG_IsOK(res1)) {
29560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29561 }
29562 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29563 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29564 if (!SWIG_IsOK(res2)) {
29565 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29566 }
29567 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29568 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29569 if (!SWIG_IsOK(res3)) {
29570 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29571 }
29572 if (!argp3) {
29573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29574 }
29575 arg3 = reinterpret_cast< wxDC * >(argp3);
29576 {
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29579 wxPyEndAllowThreads(__tstate);
29580 if (PyErr_Occurred()) SWIG_fail;
29581 }
29582 {
29583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29584 }
29585 return resultobj;
29586fail:
29587 return NULL;
29588}
29589
29590
29591SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29592 PyObject *resultobj = 0;
29593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29594 int arg2 ;
29595 bool result;
29596 void *argp1 = 0 ;
29597 int res1 = 0 ;
29598 int val2 ;
29599 int ecode2 = 0 ;
29600 PyObject * obj0 = 0 ;
29601 PyObject * obj1 = 0 ;
29602 char * kwnames[] = {
29603 (char *) "self",(char *) "pageNum", NULL
29604 };
29605
29606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29608 if (!SWIG_IsOK(res1)) {
29609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29610 }
29611 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29612 ecode2 = SWIG_AsVal_int(obj1, &val2);
29613 if (!SWIG_IsOK(ecode2)) {
29614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29615 }
29616 arg2 = static_cast< int >(val2);
29617 {
29618 PyThreadState* __tstate = wxPyBeginAllowThreads();
29619 result = (bool)(arg1)->RenderPage(arg2);
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
29623 {
29624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29625 }
29626 return resultobj;
29627fail:
29628 return NULL;
29629}
29630
29631
29632SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29633 PyObject *resultobj = 0;
29634 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29635 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29636 void *argp1 = 0 ;
29637 int res1 = 0 ;
29638 void *argp2 = 0 ;
29639 int res2 = 0 ;
29640 PyObject * obj0 = 0 ;
29641 PyObject * obj1 = 0 ;
29642 char * kwnames[] = {
29643 (char *) "self",(char *) "canvas", NULL
29644 };
29645
29646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29648 if (!SWIG_IsOK(res1)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29650 }
29651 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29652 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29653 if (!SWIG_IsOK(res2)) {
29654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29655 }
29656 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29657 {
29658 PyThreadState* __tstate = wxPyBeginAllowThreads();
29659 (arg1)->AdjustScrollbars(arg2);
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 resultobj = SWIG_Py_Void();
29664 return resultobj;
29665fail:
29666 return NULL;
caef1a4d
RD
29667}
29668
29669
554f62e9
RD
29670SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29671 PyObject *resultobj = 0;
29672 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29673 wxPrintDialogData *result = 0 ;
29674 void *argp1 = 0 ;
29675 int res1 = 0 ;
29676 PyObject *swig_obj[1] ;
29677
29678 if (!args) SWIG_fail;
29679 swig_obj[0] = args;
29680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29681 if (!SWIG_IsOK(res1)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29683 }
29684 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29685 {
29686 PyThreadState* __tstate = wxPyBeginAllowThreads();
60d5fcc1 29687 {
554f62e9
RD
29688 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29689 result = (wxPrintDialogData *) &_result_ref;
60d5fcc1 29690 }
554f62e9
RD
29691 wxPyEndAllowThreads(__tstate);
29692 if (PyErr_Occurred()) SWIG_fail;
29693 }
29694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29695 return resultobj;
29696fail:
29697 return NULL;
29698}
29699
29700
29701SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29702 PyObject *resultobj = 0;
29703 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29704 int arg2 ;
29705 void *argp1 = 0 ;
29706 int res1 = 0 ;
29707 int val2 ;
29708 int ecode2 = 0 ;
29709 PyObject * obj0 = 0 ;
29710 PyObject * obj1 = 0 ;
29711 char * kwnames[] = {
29712 (char *) "self",(char *) "percent", NULL
29713 };
29714
29715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29717 if (!SWIG_IsOK(res1)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29719 }
29720 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29721 ecode2 = SWIG_AsVal_int(obj1, &val2);
29722 if (!SWIG_IsOK(ecode2)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29724 }
29725 arg2 = static_cast< int >(val2);
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 (arg1)->SetZoom(arg2);
29729 wxPyEndAllowThreads(__tstate);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
29732 resultobj = SWIG_Py_Void();
29733 return resultobj;
29734fail:
29735 return NULL;
60d5fcc1
RD
29736}
29737
29738
554f62e9
RD
29739SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29740 PyObject *resultobj = 0;
29741 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29742 int result;
29743 void *argp1 = 0 ;
29744 int res1 = 0 ;
29745 PyObject *swig_obj[1] ;
29746
29747 if (!args) SWIG_fail;
29748 swig_obj[0] = args;
29749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29750 if (!SWIG_IsOK(res1)) {
29751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29752 }
29753 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29754 {
29755 PyThreadState* __tstate = wxPyBeginAllowThreads();
29756 result = (int)(arg1)->GetZoom();
29757 wxPyEndAllowThreads(__tstate);
29758 if (PyErr_Occurred()) SWIG_fail;
29759 }
29760 resultobj = SWIG_From_int(static_cast< int >(result));
29761 return resultobj;
29762fail:
29763 return NULL;
d55e5bfc
RD
29764}
29765
29766
554f62e9
RD
29767SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29768 PyObject *resultobj = 0;
29769 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29770 int result;
29771 void *argp1 = 0 ;
29772 int res1 = 0 ;
29773 PyObject *swig_obj[1] ;
29774
29775 if (!args) SWIG_fail;
29776 swig_obj[0] = args;
29777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29778 if (!SWIG_IsOK(res1)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29780 }
29781 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29782 {
29783 PyThreadState* __tstate = wxPyBeginAllowThreads();
29784 result = (int)(arg1)->GetMaxPage();
29785 wxPyEndAllowThreads(__tstate);
29786 if (PyErr_Occurred()) SWIG_fail;
29787 }
29788 resultobj = SWIG_From_int(static_cast< int >(result));
29789 return resultobj;
29790fail:
29791 return NULL;
d55e5bfc
RD
29792}
29793
29794
554f62e9
RD
29795SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29796 PyObject *resultobj = 0;
29797 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29798 int result;
29799 void *argp1 = 0 ;
29800 int res1 = 0 ;
29801 PyObject *swig_obj[1] ;
29802
29803 if (!args) SWIG_fail;
29804 swig_obj[0] = args;
29805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29806 if (!SWIG_IsOK(res1)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29808 }
29809 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 result = (int)(arg1)->GetMinPage();
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 resultobj = SWIG_From_int(static_cast< int >(result));
29817 return resultobj;
29818fail:
29819 return NULL;
d55e5bfc
RD
29820}
29821
29822
554f62e9
RD
29823SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29824 PyObject *resultobj = 0;
29825 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29826 bool result;
29827 void *argp1 = 0 ;
29828 int res1 = 0 ;
29829 PyObject *swig_obj[1] ;
29830
29831 if (!args) SWIG_fail;
29832 swig_obj[0] = args;
29833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29834 if (!SWIG_IsOK(res1)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29836 }
29837 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29838 {
29839 PyThreadState* __tstate = wxPyBeginAllowThreads();
29840 result = (bool)(arg1)->Ok();
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
29844 {
29845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29846 }
29847 return resultobj;
29848fail:
29849 return NULL;
29850}
29851
29852
29853SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29854 PyObject *resultobj = 0;
29855 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29856 bool arg2 ;
29857 void *argp1 = 0 ;
29858 int res1 = 0 ;
29859 bool val2 ;
29860 int ecode2 = 0 ;
29861 PyObject * obj0 = 0 ;
29862 PyObject * obj1 = 0 ;
29863 char * kwnames[] = {
29864 (char *) "self",(char *) "ok", NULL
29865 };
29866
29867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29869 if (!SWIG_IsOK(res1)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29871 }
29872 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29873 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29874 if (!SWIG_IsOK(ecode2)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29876 }
29877 arg2 = static_cast< bool >(val2);
29878 {
29879 PyThreadState* __tstate = wxPyBeginAllowThreads();
29880 (arg1)->SetOk(arg2);
29881 wxPyEndAllowThreads(__tstate);
29882 if (PyErr_Occurred()) SWIG_fail;
29883 }
29884 resultobj = SWIG_Py_Void();
29885 return resultobj;
29886fail:
29887 return NULL;
29888}
29889
29890
29891SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29892 PyObject *resultobj = 0;
29893 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29894 bool arg2 ;
29895 bool result;
29896 void *argp1 = 0 ;
29897 int res1 = 0 ;
29898 bool val2 ;
29899 int ecode2 = 0 ;
29900 PyObject * obj0 = 0 ;
29901 PyObject * obj1 = 0 ;
29902 char * kwnames[] = {
29903 (char *) "self",(char *) "interactive", NULL
29904 };
29905
29906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29908 if (!SWIG_IsOK(res1)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29910 }
29911 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29912 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29913 if (!SWIG_IsOK(ecode2)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29915 }
29916 arg2 = static_cast< bool >(val2);
29917 {
29918 PyThreadState* __tstate = wxPyBeginAllowThreads();
29919 result = (bool)(arg1)->Print(arg2);
29920 wxPyEndAllowThreads(__tstate);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 {
29924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29925 }
29926 return resultobj;
29927fail:
29928 return NULL;
d55e5bfc
RD
29929}
29930
29931
554f62e9
RD
29932SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29933 PyObject *resultobj = 0;
29934 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29935 void *argp1 = 0 ;
29936 int res1 = 0 ;
29937 PyObject *swig_obj[1] ;
29938
29939 if (!args) SWIG_fail;
29940 swig_obj[0] = args;
29941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29942 if (!SWIG_IsOK(res1)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29944 }
29945 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29946 {
29947 PyThreadState* __tstate = wxPyBeginAllowThreads();
29948 (arg1)->DetermineScaling();
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 resultobj = SWIG_Py_Void();
29953 return resultobj;
29954fail:
29955 return NULL;
d55e5bfc
RD
29956}
29957
29958
554f62e9
RD
29959SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29960 PyObject *obj;
29961 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29963 return SWIG_Py_Void();
d55e5bfc
RD
29964}
29965
554f62e9
RD
29966SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29967 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29968}
29969
554f62e9
RD
29970SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29971 PyObject *resultobj = 0;
29972 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29973 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29974 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29975 wxPyPrintPreview *result = 0 ;
29976 int res1 = 0 ;
29977 int res2 = 0 ;
29978 void *argp3 = 0 ;
29979 int res3 = 0 ;
29980
29981 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29982 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29983 if (!SWIG_IsOK(res1)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29985 }
29986 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29987 if (!SWIG_IsOK(res2)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29989 }
29990 if (swig_obj[2]) {
29991 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29992 if (!SWIG_IsOK(res3)) {
29993 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d55e5bfc 29994 }
554f62e9
RD
29995 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29996 }
29997 {
29998 if (!wxPyCheckForApp()) SWIG_fail;
29999 PyThreadState* __tstate = wxPyBeginAllowThreads();
30000 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30001 wxPyEndAllowThreads(__tstate);
30002 if (PyErr_Occurred()) SWIG_fail;
30003 }
30004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30005 return resultobj;
30006fail:
30007 return NULL;
30008}
30009
30010
30011SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30012 PyObject *resultobj = 0;
30013 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30014 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30015 wxPrintData *arg3 = (wxPrintData *) 0 ;
30016 wxPyPrintPreview *result = 0 ;
30017 int res1 = 0 ;
30018 int res2 = 0 ;
30019 void *argp3 = 0 ;
30020 int res3 = 0 ;
30021
30022 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30023 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30024 if (!SWIG_IsOK(res1)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30026 }
30027 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30028 if (!SWIG_IsOK(res2)) {
30029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30030 }
30031 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30032 if (!SWIG_IsOK(res3)) {
30033 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30034 }
30035 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30036 {
30037 if (!wxPyCheckForApp()) SWIG_fail;
30038 PyThreadState* __tstate = wxPyBeginAllowThreads();
30039 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30040 wxPyEndAllowThreads(__tstate);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 }
30043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30044 return resultobj;
30045fail:
30046 return NULL;
d55e5bfc
RD
30047}
30048
30049
554f62e9
RD
30050SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30051 int argc;
30052 PyObject *argv[4];
30053
30054 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30055 --argc;
30056 if ((argc >= 2) && (argc <= 3)) {
30057 int _v = 0;
30058 if (argc > 2) {
30059 {
30060 void *vptr = 0;
30061 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30062 _v = SWIG_CheckState(res);
30063 }
30064 if (!_v) goto check_1;
d55e5bfc 30065 }
554f62e9
RD
30066 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30067 }
30068check_1:
30069
30070 if (argc == 3) {
30071 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30072 }
30073
30074fail:
30075 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30076 return NULL;
30077}
30078
30079
30080SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30081 PyObject *resultobj = 0;
30082 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30083 PyObject *arg2 = (PyObject *) 0 ;
30084 PyObject *arg3 = (PyObject *) 0 ;
30085 void *argp1 = 0 ;
30086 int res1 = 0 ;
30087 PyObject * obj0 = 0 ;
30088 PyObject * obj1 = 0 ;
30089 PyObject * obj2 = 0 ;
30090 char * kwnames[] = {
30091 (char *) "self",(char *) "self",(char *) "_class", NULL
30092 };
30093
30094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30096 if (!SWIG_IsOK(res1)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30098 }
30099 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30100 arg2 = obj1;
30101 arg3 = obj2;
30102 {
30103 PyThreadState* __tstate = wxPyBeginAllowThreads();
30104 (arg1)->_setCallbackInfo(arg2,arg3);
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 *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30116 PyObject *obj;
30117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30119 return SWIG_Py_Void();
30120}
30121
30122SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30123 return SWIG_Python_InitShadowInstance(args);
30124}
30125
30126SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30127 PyObject *resultobj = 0;
30128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30129 wxFrame *arg2 = (wxFrame *) 0 ;
30130 wxString *arg3 = 0 ;
30131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30133 wxSize const &arg5_defvalue = wxDefaultSize ;
30134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30135 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30136 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30137 wxString *arg7 = (wxString *) &arg7_defvalue ;
30138 wxPyPreviewFrame *result = 0 ;
30139 void *argp1 = 0 ;
30140 int res1 = 0 ;
30141 void *argp2 = 0 ;
30142 int res2 = 0 ;
30143 bool temp3 = false ;
30144 wxPoint temp4 ;
30145 wxSize temp5 ;
30146 long val6 ;
30147 int ecode6 = 0 ;
30148 bool temp7 = false ;
30149 PyObject * obj0 = 0 ;
30150 PyObject * obj1 = 0 ;
30151 PyObject * obj2 = 0 ;
30152 PyObject * obj3 = 0 ;
30153 PyObject * obj4 = 0 ;
30154 PyObject * obj5 = 0 ;
30155 PyObject * obj6 = 0 ;
30156 char * kwnames[] = {
30157 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30158 };
30159
30160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30162 if (!SWIG_IsOK(res1)) {
30163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30164 }
30165 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30167 if (!SWIG_IsOK(res2)) {
30168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30169 }
30170 arg2 = reinterpret_cast< wxFrame * >(argp2);
30171 {
30172 arg3 = wxString_in_helper(obj2);
30173 if (arg3 == NULL) SWIG_fail;
30174 temp3 = true;
30175 }
30176 if (obj3) {
d55e5bfc 30177 {
554f62e9
RD
30178 arg4 = &temp4;
30179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30180 }
554f62e9
RD
30181 }
30182 if (obj4) {
d55e5bfc 30183 {
554f62e9
RD
30184 arg5 = &temp5;
30185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30186 }
554f62e9
RD
30187 }
30188 if (obj5) {
30189 ecode6 = SWIG_AsVal_long(obj5, &val6);
30190 if (!SWIG_IsOK(ecode6)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30192 }
30193 arg6 = static_cast< long >(val6);
30194 }
30195 if (obj6) {
d55e5bfc 30196 {
554f62e9
RD
30197 arg7 = wxString_in_helper(obj6);
30198 if (arg7 == NULL) SWIG_fail;
30199 temp7 = true;
d55e5bfc 30200 }
554f62e9
RD
30201 }
30202 {
30203 if (!wxPyCheckForApp()) SWIG_fail;
30204 PyThreadState* __tstate = wxPyBeginAllowThreads();
30205 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30206 wxPyEndAllowThreads(__tstate);
30207 if (PyErr_Occurred()) SWIG_fail;
30208 }
30209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30210 {
30211 if (temp3)
30212 delete arg3;
30213 }
30214 {
30215 if (temp7)
30216 delete arg7;
30217 }
30218 return resultobj;
30219fail:
30220 {
30221 if (temp3)
30222 delete arg3;
30223 }
30224 {
30225 if (temp7)
30226 delete arg7;
30227 }
30228 return NULL;
30229}
30230
30231
30232SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30233 PyObject *resultobj = 0;
30234 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30235 PyObject *arg2 = (PyObject *) 0 ;
30236 PyObject *arg3 = (PyObject *) 0 ;
30237 void *argp1 = 0 ;
30238 int res1 = 0 ;
30239 PyObject * obj0 = 0 ;
30240 PyObject * obj1 = 0 ;
30241 PyObject * obj2 = 0 ;
30242 char * kwnames[] = {
30243 (char *) "self",(char *) "self",(char *) "_class", NULL
30244 };
30245
30246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30248 if (!SWIG_IsOK(res1)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30250 }
30251 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30252 arg2 = obj1;
30253 arg3 = obj2;
30254 {
30255 PyThreadState* __tstate = wxPyBeginAllowThreads();
30256 (arg1)->_setCallbackInfo(arg2,arg3);
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 resultobj = SWIG_Py_Void();
30261 return resultobj;
30262fail:
30263 return NULL;
30264}
30265
30266
30267SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30268 PyObject *resultobj = 0;
30269 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30270 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30271 void *argp1 = 0 ;
30272 int res1 = 0 ;
30273 void *argp2 = 0 ;
30274 int res2 = 0 ;
30275 PyObject * obj0 = 0 ;
30276 PyObject * obj1 = 0 ;
30277 char * kwnames[] = {
30278 (char *) "self",(char *) "canvas", NULL
30279 };
30280
30281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30283 if (!SWIG_IsOK(res1)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30285 }
30286 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30288 if (!SWIG_IsOK(res2)) {
30289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30290 }
30291 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 (arg1)->SetPreviewCanvas(arg2);
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 resultobj = SWIG_Py_Void();
30299 return resultobj;
30300fail:
30301 return NULL;
30302}
30303
30304
30305SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj = 0;
30307 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30308 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30309 void *argp1 = 0 ;
30310 int res1 = 0 ;
30311 void *argp2 = 0 ;
30312 int res2 = 0 ;
30313 PyObject * obj0 = 0 ;
30314 PyObject * obj1 = 0 ;
30315 char * kwnames[] = {
30316 (char *) "self",(char *) "bar", NULL
30317 };
30318
30319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30321 if (!SWIG_IsOK(res1)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30323 }
30324 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30325 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30326 if (!SWIG_IsOK(res2)) {
30327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30328 }
30329 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 (arg1)->SetControlBar(arg2);
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 resultobj = SWIG_Py_Void();
30337 return resultobj;
30338fail:
30339 return NULL;
d55e5bfc
RD
30340}
30341
30342
554f62e9
RD
30343SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30344 PyObject *resultobj = 0;
30345 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30346 void *argp1 = 0 ;
30347 int res1 = 0 ;
30348 PyObject *swig_obj[1] ;
30349
30350 if (!args) SWIG_fail;
30351 swig_obj[0] = args;
30352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30353 if (!SWIG_IsOK(res1)) {
30354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30355 }
30356 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->Initialize();
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 resultobj = SWIG_Py_Void();
30364 return resultobj;
30365fail:
30366 return NULL;
d55e5bfc
RD
30367}
30368
30369
554f62e9
RD
30370SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30371 PyObject *resultobj = 0;
30372 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30373 void *argp1 = 0 ;
30374 int res1 = 0 ;
30375 PyObject *swig_obj[1] ;
30376
30377 if (!args) SWIG_fail;
30378 swig_obj[0] = args;
30379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30380 if (!SWIG_IsOK(res1)) {
30381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30382 }
30383 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30384 {
30385 PyThreadState* __tstate = wxPyBeginAllowThreads();
30386 (arg1)->CreateCanvas();
30387 wxPyEndAllowThreads(__tstate);
30388 if (PyErr_Occurred()) SWIG_fail;
30389 }
30390 resultobj = SWIG_Py_Void();
30391 return resultobj;
30392fail:
30393 return NULL;
caef1a4d
RD
30394}
30395
30396
554f62e9
RD
30397SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30398 PyObject *resultobj = 0;
30399 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30400 void *argp1 = 0 ;
30401 int res1 = 0 ;
30402 PyObject *swig_obj[1] ;
30403
30404 if (!args) SWIG_fail;
30405 swig_obj[0] = args;
30406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30407 if (!SWIG_IsOK(res1)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30409 }
30410 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 (arg1)->CreateControlBar();
30414 wxPyEndAllowThreads(__tstate);
30415 if (PyErr_Occurred()) SWIG_fail;
30416 }
30417 resultobj = SWIG_Py_Void();
30418 return resultobj;
30419fail:
30420 return NULL;
30421}
30422
30423
30424SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30425 PyObject *obj;
30426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30427 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30428 return SWIG_Py_Void();
30429}
30430
30431SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30432 return SWIG_Python_InitShadowInstance(args);
30433}
30434
30435SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30436 PyObject *resultobj = 0;
30437 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30438 long arg2 ;
30439 wxWindow *arg3 = (wxWindow *) 0 ;
30440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30442 wxSize const &arg5_defvalue = wxDefaultSize ;
30443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30444 long arg6 = (long) 0 ;
30445 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30446 wxString *arg7 = (wxString *) &arg7_defvalue ;
30447 wxPyPreviewControlBar *result = 0 ;
30448 void *argp1 = 0 ;
30449 int res1 = 0 ;
30450 long val2 ;
30451 int ecode2 = 0 ;
30452 void *argp3 = 0 ;
30453 int res3 = 0 ;
30454 wxPoint temp4 ;
30455 wxSize temp5 ;
30456 long val6 ;
30457 int ecode6 = 0 ;
30458 bool temp7 = false ;
30459 PyObject * obj0 = 0 ;
30460 PyObject * obj1 = 0 ;
30461 PyObject * obj2 = 0 ;
30462 PyObject * obj3 = 0 ;
30463 PyObject * obj4 = 0 ;
30464 PyObject * obj5 = 0 ;
30465 PyObject * obj6 = 0 ;
30466 char * kwnames[] = {
30467 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30468 };
30469
30470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30472 if (!SWIG_IsOK(res1)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30474 }
30475 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30476 ecode2 = SWIG_AsVal_long(obj1, &val2);
30477 if (!SWIG_IsOK(ecode2)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30479 }
30480 arg2 = static_cast< long >(val2);
30481 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30482 if (!SWIG_IsOK(res3)) {
30483 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30484 }
30485 arg3 = reinterpret_cast< wxWindow * >(argp3);
30486 if (obj3) {
8d38bd1d 30487 {
554f62e9
RD
30488 arg4 = &temp4;
30489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30490 }
554f62e9
RD
30491 }
30492 if (obj4) {
d55e5bfc 30493 {
554f62e9
RD
30494 arg5 = &temp5;
30495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30496 }
554f62e9
RD
30497 }
30498 if (obj5) {
30499 ecode6 = SWIG_AsVal_long(obj5, &val6);
30500 if (!SWIG_IsOK(ecode6)) {
30501 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30502 }
30503 arg6 = static_cast< long >(val6);
30504 }
30505 if (obj6) {
d55e5bfc 30506 {
554f62e9
RD
30507 arg7 = wxString_in_helper(obj6);
30508 if (arg7 == NULL) SWIG_fail;
30509 temp7 = true;
d55e5bfc 30510 }
554f62e9
RD
30511 }
30512 {
30513 if (!wxPyCheckForApp()) SWIG_fail;
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30520 {
30521 if (temp7)
30522 delete arg7;
30523 }
30524 return resultobj;
30525fail:
30526 {
30527 if (temp7)
30528 delete arg7;
30529 }
30530 return NULL;
30531}
30532
30533
30534SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30535 PyObject *resultobj = 0;
30536 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30537 PyObject *arg2 = (PyObject *) 0 ;
30538 PyObject *arg3 = (PyObject *) 0 ;
30539 void *argp1 = 0 ;
30540 int res1 = 0 ;
30541 PyObject * obj0 = 0 ;
30542 PyObject * obj1 = 0 ;
30543 PyObject * obj2 = 0 ;
30544 char * kwnames[] = {
30545 (char *) "self",(char *) "self",(char *) "_class", NULL
30546 };
30547
30548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30550 if (!SWIG_IsOK(res1)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30552 }
30553 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30554 arg2 = obj1;
30555 arg3 = obj2;
30556 {
30557 PyThreadState* __tstate = wxPyBeginAllowThreads();
30558 (arg1)->_setCallbackInfo(arg2,arg3);
30559 wxPyEndAllowThreads(__tstate);
30560 if (PyErr_Occurred()) SWIG_fail;
30561 }
30562 resultobj = SWIG_Py_Void();
30563 return resultobj;
30564fail:
30565 return NULL;
30566}
30567
30568
30569SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30570 PyObject *resultobj = 0;
30571 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30572 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30573 void *argp1 = 0 ;
30574 int res1 = 0 ;
30575 void *argp2 = 0 ;
30576 int res2 = 0 ;
30577 PyObject * obj0 = 0 ;
30578 PyObject * obj1 = 0 ;
30579 char * kwnames[] = {
30580 (char *) "self",(char *) "preview", NULL
30581 };
30582
30583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30585 if (!SWIG_IsOK(res1)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30587 }
30588 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30589 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30590 if (!SWIG_IsOK(res2)) {
30591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30592 }
30593 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30594 {
30595 PyThreadState* __tstate = wxPyBeginAllowThreads();
30596 (arg1)->SetPrintPreview(arg2);
30597 wxPyEndAllowThreads(__tstate);
30598 if (PyErr_Occurred()) SWIG_fail;
30599 }
30600 resultobj = SWIG_Py_Void();
30601 return resultobj;
30602fail:
30603 return NULL;
d55e5bfc
RD
30604}
30605
30606
554f62e9
RD
30607SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30608 PyObject *resultobj = 0;
30609 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30610 void *argp1 = 0 ;
30611 int res1 = 0 ;
30612 PyObject *swig_obj[1] ;
30613
30614 if (!args) SWIG_fail;
30615 swig_obj[0] = args;
30616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30617 if (!SWIG_IsOK(res1)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30619 }
30620 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30621 {
30622 PyThreadState* __tstate = wxPyBeginAllowThreads();
30623 (arg1)->CreateButtons();
30624 wxPyEndAllowThreads(__tstate);
30625 if (PyErr_Occurred()) SWIG_fail;
30626 }
30627 resultobj = SWIG_Py_Void();
30628 return resultobj;
30629fail:
30630 return NULL;
30631}
30632
30633
30634SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30635 PyObject *resultobj = 0;
30636 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30637 int arg2 ;
30638 void *argp1 = 0 ;
30639 int res1 = 0 ;
30640 int val2 ;
30641 int ecode2 = 0 ;
30642 PyObject * obj0 = 0 ;
30643 PyObject * obj1 = 0 ;
30644 char * kwnames[] = {
30645 (char *) "self",(char *) "zoom", NULL
30646 };
30647
30648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30650 if (!SWIG_IsOK(res1)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30652 }
30653 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30654 ecode2 = SWIG_AsVal_int(obj1, &val2);
30655 if (!SWIG_IsOK(ecode2)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30657 }
30658 arg2 = static_cast< int >(val2);
30659 {
30660 PyThreadState* __tstate = wxPyBeginAllowThreads();
30661 (arg1)->SetZoomControl(arg2);
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 resultobj = SWIG_Py_Void();
30666 return resultobj;
30667fail:
30668 return NULL;
caef1a4d
RD
30669}
30670
30671
554f62e9
RD
30672SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30673 PyObject *obj;
30674 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30676 return SWIG_Py_Void();
60d5fcc1
RD
30677}
30678
554f62e9
RD
30679SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30680 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30681}
30682
d55e5bfc 30683static PyMethodDef SwigMethods[] = {
093d3ff1 30684 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30685 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 30686 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30687 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
30688 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
554f62e9 30690 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 30691 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30692 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30693 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30695 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30699 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 30700 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30701 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 30702 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30703 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30704 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
30705 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30706 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
554f62e9 30707 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
30708 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30709 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30710 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1 30711 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30712 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
093d3ff1
RD
30713 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30716 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30717 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30718 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 30719 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30720 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
f460c29d 30721 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
554f62e9
RD
30722 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30723 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
30724 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30727 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 30728 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30729 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
093d3ff1
RD
30730 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30732 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 30733 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30734 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30735 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30736 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30737 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30738 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 30739 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30740 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 30741 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30742 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
30743 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30745 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
30746 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30752 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 30753 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30754 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
30755 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30758 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
554f62e9 30760 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 30761 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30762 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
30763 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30765 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30766 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30767 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30768 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30769 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1
RD
30770 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 30772 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30773 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30774 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
30775 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
554f62e9 30778 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 30779 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30780 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
30781 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30782 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
554f62e9 30783 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30784 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30786 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 30787 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30788 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30789 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30790 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30791 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30792 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 30793 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
554f62e9 30794 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 30795 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30796 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
30797 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30799 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
30800 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30808 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30809 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
30810 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
554f62e9 30812 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 30813 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30814 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 30815 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30816 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30817 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 30818 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30819 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
30820 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30825 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30826 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
30827 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30829 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30830 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 30831 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30832 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 30833 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30834 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 30835 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30836 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 30837 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30838 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 30839 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30840 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
30841 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30843 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30844 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30846 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30847 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30848 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30849 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 30850 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30851 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30852 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30853 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
30854 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30861 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 30862 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30863 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
30864 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30866 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30867 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
30868 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30870 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30871 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 30872 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30873 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 30874 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30875 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30876 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30878 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 30879 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30880 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 30881 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30882 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 30883 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30884 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30885 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30887 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 30888 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30889 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 30890 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30891 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 30892 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30893 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 30894 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30895 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 30896 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30897 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30898 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30900 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 30901 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30902 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 30903 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30904 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30905 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30906 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 30907 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30908 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30909 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
30910 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30912 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
30914 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30915 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30916 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
30917 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
554f62e9 30921 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 30922 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30923 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
30924 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30926 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30927 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30928 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30929 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
30930 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30932 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 30933 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30934 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30935 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30937 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 30938 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30939 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30940 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30941 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30942 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30946 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30950 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30951 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30952 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30953 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 30954 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30955 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30956 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30957 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30959 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30960 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30961 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30962 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
30963 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30965 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30966 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30967 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
30968 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30970 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30971 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 30972 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30973 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30974 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 30975 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30976 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
30977 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30981 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30982 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
30983 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
30986 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30988 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
554f62e9 30989 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 30990 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30991 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
30992 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30994 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30995 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 30996 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30997 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
554f62e9
RD
30998 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30999 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31000 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 31001 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31002 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31003 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31004 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31005 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31006 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31007 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
554f62e9 31009 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31010 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31012 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31013 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31014 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31015 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31016 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31017 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
554f62e9 31022 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31023 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31024 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31025 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31026 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
7449af73 31027 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31028 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31029 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31030 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31031 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31034 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31035 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31041 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31042 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31043 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31044 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31045 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31046 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
554f62e9
RD
31047 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31048 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31049 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31050 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31051 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31052 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31054 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31055 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31056 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31057 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31058 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31059 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31060 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31062 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31063 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31064 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31065 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31067 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31068 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31070 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31071 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31072 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31073 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31074 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31075 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31076 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31077 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31078 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31079 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31080 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
554f62e9 31087 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31088 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31089 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31090 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31091 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
7449af73 31092 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31093 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31095 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31096 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31098 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31099 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31100 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31101 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31102 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31103 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31104 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31105 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31106 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31110 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31111 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31112 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31113 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31114 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31115 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31116 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
554f62e9 31120 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31121 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31122 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31123 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31124 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31125 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31127 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31128 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31129 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31130 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31131 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31132 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31133 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31134 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31135 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31136 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31137 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31138 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
093d3ff1 31139 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31140 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31142 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31143 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31144 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31145 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31146 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 31147 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31148 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31149 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31150 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31151 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31153 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31154 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31155 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1
RD
31156 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31158 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31159 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31163 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31164 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31165 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31166 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31167 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31168 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31169 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31170 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31171 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31172 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31173 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1
RD
31174 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31176 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31177 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31181 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31182 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31183 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31184 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31185 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31186 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31187 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 31188 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
554f62e9 31189 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 31190 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31191 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31192 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31194 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31195 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31199 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31200 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31201 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31202 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31203 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31204 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31205 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31206 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31207 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31208 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
554f62e9
RD
31209 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31210 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31211 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31212 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31213 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31214 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31215 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31216 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31217 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31218 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31219 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31220 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31221 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
093d3ff1
RD
31222 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31233 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 31234 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31235 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 31236 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31237 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
554f62e9 31238 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 31239 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
554f62e9 31240 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
31241 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31246 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31247 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31248 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31249 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31250 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31251 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31252 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31253 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31254 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31255 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31256 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31257 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31258 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31259 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31260 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
093d3ff1
RD
31261 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31270 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31271 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 31272 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31273 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31274 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31275 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
554f62e9
RD
31276 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31277 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31278 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 31279 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31280 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31281 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
554f62e9
RD
31282 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31283 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31284 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31285 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31286 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31287 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31288 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31289 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31290 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31291 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
31292 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31305 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31306 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31307 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31308 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31309 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31310 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
31311 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31313 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31314 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31315 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
554f62e9
RD
31316 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31317 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31318 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31319 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 31320 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31321 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31322 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31323 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
31324 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31329 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31330 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31331 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 31332 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
554f62e9 31333 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 31334 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31335 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 31336 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31337 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31338 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1
RD
31339 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31341 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 31342 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31343 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 31344 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31345 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 31346 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31347 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31348 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 31349 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 31350 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31351 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31352 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31353 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31354 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
b06b3e70 31355 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31356 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 31357 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
554f62e9 31358 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31359 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
554f62e9 31361 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 31362 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31363 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31364 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31365 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31366 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 31367 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31368 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31369 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31370 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 31371 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31372 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31373 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31374 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31375 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31376 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31377 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 31378 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31379 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31380 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
554f62e9 31381 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 31382 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31383 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 31384 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31385 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31386 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
31387 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31389 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31390 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
31391 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31395 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 31396 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31397 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31398 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31399 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31400 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
093d3ff1
RD
31401 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31403 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 31404 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31405 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31406 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31407 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31408 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31409 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31410 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31414 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31415 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31416 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 31417 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31418 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31419 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31422 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
b06b3e70 31423 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31424 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31425 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 31426 { NULL, NULL, 0, NULL }
d55e5bfc
RD
31427};
31428
31429
31430/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31431
31432static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31433 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31434}
31435static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31437}
31438static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31439 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31440}
31441static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31442 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31443}
31444static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31445 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31446}
31447static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31448 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31449}
31450static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31451 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31452}
31453static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31454 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31455}
31456static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31457 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31458}
31459static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31460 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31461}
31462static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31463 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31464}
d55e5bfc
RD
31465static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31467}
2131d850
RD
31468static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31469 return (void *)((wxEvent *) ((wxPyEvent *) x));
31470}
d55e5bfc
RD
31471static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31472 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31473}
31474static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31475 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31476}
31477static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31478 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31479}
31480static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31481 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31482}
31483static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31484 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31485}
31486static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31487 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31488}
31489static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31490 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31491}
31492static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31493 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31494}
31495static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31496 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31497}
53aa7709
RD
31498static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31500}
2131d850
RD
31501static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31502 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31503}
d55e5bfc
RD
31504static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31505 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31506}
31507static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31508 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31509}
31510static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31511 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31512}
31513static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31514 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31515}
31516static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31517 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31518}
31519static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31520 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31521}
31522static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31523 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31524}
31525static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31526 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31527}
31528static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31529 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31530}
31531static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31532 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31533}
31534static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31535 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31536}
31537static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31538 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31539}
31540static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31541 return (void *)((wxEvent *) ((wxShowEvent *) x));
31542}
31543static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31544 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31545}
31546static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31548}
31549static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31551}
31552static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31553 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31554}
31555static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31556 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31557}
31558static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31559 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31560}
31561static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31562 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31563}
31564static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31565 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31566}
c1cb24a4
RD
31567static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31568 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31569}
d55e5bfc
RD
31570static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31572}
31573static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31574 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31575}
31576static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31577 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31578}
31579static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31580 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31581}
31582static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31583 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31584}
31585static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31586 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31587}
31588static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31589 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31590}
c1cb24a4
RD
31591static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31592 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31593}
d55e5bfc
RD
31594static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31595 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31596}
31597static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31598 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31599}
31600static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31601 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31602}
31603static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31604 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31605}
31606static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31608}
31609static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31611}
31612static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31614}
31615static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31616 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31617}
31618static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31619 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31620}
31621static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31622 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31623}
31624static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31625 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31626}
31627static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31628 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31629}
31630static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31631 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31632}
31633static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31634 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31635}
31636static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31637 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31638}
31639static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31640 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31641}
31642static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31643 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31644}
31645static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31646 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31647}
31648static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31649 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31650}
31651static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31652 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31653}
31654static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31655 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31656}
31657static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31658 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31659}
31660static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31661 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31662}
31663static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31664 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31665}
31666static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31667 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31668}
31669static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31670 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31671}
31672static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31673 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31674}
31675static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31677}
31678static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31679 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31680}
31681static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31682 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31683}
31684static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31685 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31686}
31687static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31688 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31689}
31690static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31691 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31692}
31693static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31694 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31695}
5e483524
RD
31696static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31697 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31698}
31699static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31700 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31701}
d55e5bfc
RD
31702static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31703 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31704}
31705static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31706 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31707}
31708static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31709 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31710}
c1cb24a4
RD
31711static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31713}
d55e5bfc
RD
31714static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31715 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31716}
31717static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31718 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31719}
31720static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31721 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31722}
31723static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31724 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31725}
31726static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31727 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31728}
31729static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31730 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31731}
31732static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31733 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31734}
31735static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31736 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31737}
31738static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31739 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31740}
31741static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31742 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31743}
31744static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31745 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31746}
31747static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31749}
31750static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31752}
31753static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31754 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31755}
31756static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31757 return (void *)((wxObject *) ((wxSizerItem *) x));
31758}
31759static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31761}
31762static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31763 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31764}
31765static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31766 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31767}
31768static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31769 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31770}
31771static void *_p_wxSizerTo_p_wxObject(void *x) {
31772 return (void *)((wxObject *) ((wxSizer *) x));
31773}
31774static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31775 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31776}
31777static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31779}
31780static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31782}
31783static void *_p_wxEventTo_p_wxObject(void *x) {
31784 return (void *)((wxObject *) ((wxEvent *) x));
31785}
31786static void *_p_wxFontDataTo_p_wxObject(void *x) {
31787 return (void *)((wxObject *) ((wxFontData *) x));
31788}
31789static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31790 return (void *)((wxObject *) ((wxPrintData *) x));
31791}
31792static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31793 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31794}
31795static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31796 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31797}
31798static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31799 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31800}
31801static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31803}
5e483524
RD
31804static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31806}
31807static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31809}
2131d850
RD
31810static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31812}
d55e5bfc
RD
31813static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31815}
31816static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31818}
31819static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31821}
31822static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31824}
31825static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31827}
31828static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31830}
31831static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31833}
31834static void *_p_wxControlTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31836}
31837static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31839}
31840static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31842}
31843static void *_p_wxFSFileTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) ((wxFSFile *) x));
31845}
31846static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31848}
31849static void *_p_wxPySizerTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31851}
31852static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31854}
31855static void *_p_wxColourDataTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) ((wxColourData *) x));
31857}
31858static void *_p_wxPyEventTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31860}
31861static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31863}
31864static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31866}
31867static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31869}
31870static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31872}
31873static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31875}
31876static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31878}
31879static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31881}
c1cb24a4
RD
31882static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31884}
d55e5bfc
RD
31885static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31887}
31888static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31890}
31891static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31893}
31894static void *_p_wxShowEventTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31896}
31897static void *_p_wxPrinterTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) ((wxPrinter *) x));
31899}
31900static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) ((wxMenuItem *) x));
31902}
53aa7709
RD
31903static void *_p_wxDateEventTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31905}
d55e5bfc
RD
31906static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31908}
31909static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31911}
31912static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31914}
31915static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31917}
31918static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31920}
31921static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31923}
31924static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31926}
31927static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31929}
d55e5bfc
RD
31930static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31932}
31933static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31935}
31936static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31938}
31939static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31941}
31942static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31944}
31945static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31947}
31948static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31950}
31951static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31953}
31954static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31956}
9d7dfdff
RD
31957static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31959}
d55e5bfc
RD
31960static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) ((wxImageHandler *) x));
31962}
9d7dfdff
RD
31963static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31965}
d55e5bfc
RD
31966static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31968}
31969static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) ((wxEvtHandler *) x));
31971}
31972static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31974}
31975static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31977}
31978static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31980}
62d32a5f
RD
31981static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31983}
d55e5bfc
RD
31984static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31986}
31987static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31989}
31990static void *_p_wxImageTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) ((wxImage *) x));
31992}
31993static void *_p_wxFrameTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31995}
31996static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) ((wxPyPrintout *) x));
31998}
31999static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32001}
32002static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32004}
32005static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32007}
32008static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32010}
32011static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32013}
32014static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32016}
32017static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32019}
32020static void *_p_wxWindowTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32022}
32023static void *_p_wxMenuTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32025}
32026static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32028}
32029static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32031}
32032static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32034}
32035static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32037}
32038static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32040}
32041static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32043}
32044static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32046}
32047static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32049}
32050static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32052}
32053static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32055}
32056static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32058}
32059static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32061}
32062static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32064}
32065static void *_p_wxSashEventTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32067}
32068static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) ((wxPrintPreview *) x));
32070}
32071static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32073}
32074static void *_p_wxPanelTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32076}
32077static void *_p_wxDialogTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32079}
32080static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32082}
32083static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32085}
32086static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32088}
32089static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32090 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32091}
32092static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 32093 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32094}
32095static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) ((wxFileSystem *) x));
32097}
32098static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32100}
32101static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32103}
32104static void *_p_wxPyAppTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32106}
32107static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32109}
32110static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32112}
32113static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32115}
32116static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32118}
32119static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32121}
32122static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32124}
32125static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32127}
32128static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32130}
32131static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32133}
32134static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32136}
32137static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32139}
32140static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32142}
32143static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32145}
32146static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32148}
32149static void *_p_wxValidatorTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32151}
32152static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32153 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32154}
32155static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32156 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32157}
32158static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32159 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32160}
32161static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32162 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32163}
32164static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32165 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32166}
32167static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32168 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32169}
32170static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32171 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32172}
32173static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32174 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32175}
32176static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32177 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32178}
32179static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32180 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32181}
32182static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32183 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32184}
32185static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32186 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32187}
d55e5bfc
RD
32188static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32189 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32190}
32191static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32192 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32193}
32194static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32195 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32196}
d55e5bfc
RD
32197static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32198 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32199}
32200static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32201 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32202}
c1cb24a4
RD
32203static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32204 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32205}
d55e5bfc
RD
32206static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32207 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32208}
32209static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32210 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32211}
32212static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32213 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32214}
32215static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32216 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32217}
c1cb24a4
RD
32218static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32219 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32220}
d55e5bfc
RD
32221static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32222 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32223}
32224static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32225 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32226}
32227static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32228 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32229}
32230static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32231 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32232}
32233static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32234 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32235}
32236static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32237 return (void *)((wxWindow *) ((wxMenuBar *) x));
32238}
32239static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32240 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32241}
32242static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32243 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32244}
32245static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32246 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32247}
c1cb24a4
RD
32248static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32250}
d55e5bfc
RD
32251static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32253}
32254static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32256}
32257static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32258 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32259}
32260static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32262}
32263static void *_p_wxPanelTo_p_wxWindow(void *x) {
32264 return (void *)((wxWindow *) ((wxPanel *) x));
32265}
32266static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32267 return (void *)((wxWindow *) ((wxStatusBar *) x));
32268}
d55e5bfc
RD
32269static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32270 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32271}
32272static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32273 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32274}
32275static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32276 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32277}
32278static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32279 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32280}
32281static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32282 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32283}
32284static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32285 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32286}
32287static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32288 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32289}
32290static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32291 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32292}
32293static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32294 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32295}
32296static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32297 return (void *)((wxWindow *) ((wxSashWindow *) x));
32298}
c1cb24a4
RD
32299static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32300 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32301}
d55e5bfc
RD
32302static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32303 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32304}
32305static void *_p_wxControlTo_p_wxWindow(void *x) {
32306 return (void *)((wxWindow *) ((wxControl *) x));
32307}
32308static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32310}
32311static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32313}
32314static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32316}
32317static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32318 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32319}
32320static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32321 return (void *)((wxWindow *) ((wxPyWindow *) x));
32322}
32323static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32324 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32325}
32326static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32327 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32328}
32329static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32330 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32331}
32332static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32333 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32334}
32335static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32336 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32337}
32338static void *_p_wxFrameTo_p_wxWindow(void *x) {
32339 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32340}
32341static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32342 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32343}
32344static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32345 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32346}
32347static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32348 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32349}
32350static void *_p_wxDialogTo_p_wxWindow(void *x) {
32351 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32352}
d55e5bfc
RD
32353static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32354 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32355}
32356static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32357 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32358}
32359static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32360 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32361}
32362static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32363 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32364}
32365static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32366 return (void *)((wxDialog *) ((wxColourDialog *) x));
32367}
32368static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32369 return (void *)((wxDialog *) ((wxDirDialog *) x));
32370}
32371static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32372 return (void *)((wxDialog *) ((wxFontDialog *) x));
32373}
d55e5bfc
RD
32374static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32375 return (void *)((wxDialog *) ((wxFileDialog *) x));
32376}
32377static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32378 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32379}
32380static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32381 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32382}
32383static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32384 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32385}
c1cb24a4
RD
32386static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32387 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32388}
d55e5bfc
RD
32389static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32390 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32391}
32392static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32393 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32394}
32395static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32396 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32397}
32398static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32399 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32400}
32401static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32402 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32403}
32404static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32405 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32406}
32407static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32408 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32409}
32410static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32411 return (void *)((wxPanel *) ((wxPyPanel *) x));
32412}
32413static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32414 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32415}
32416static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32417 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32418}
32419static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32420 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32421}
32422static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32423 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32424}
32425static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32426 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32427}
32428static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32429 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32430}
53aa7709
RD
32431static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32432 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32433}
d55e5bfc
RD
32434static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32435 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32436}
2131d850
RD
32437static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32438 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32439}
d55e5bfc
RD
32440static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32441 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32442}
32443static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32444 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32445}
32446static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32447 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32448}
32449static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32450 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32451}
32452static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32453 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32454}
32455static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32456 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32457}
32458static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32459 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32460}
32461static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32462 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32463}
f460c29d 32464static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
554f62e9
RD
32465static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32466static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32467static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32468static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32469static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32470static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32471static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32472static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32473static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32474static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32475static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32476static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32477static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32478static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32479static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9 32480static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32481static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32482static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32483static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32484static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32485static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32486static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32487static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32488static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32489static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32490static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32491static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32492static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32493static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32494static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32495static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32496static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32497static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32498static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32499static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32500static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32501static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32502static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32503static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32504static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32505static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32506static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32507static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32508static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32509static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32510static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32511static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32512static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32513static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32514static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32515static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32516static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32517static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32518static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32519static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32520static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32521static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32522static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32523static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32524static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32525static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32526static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32527static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32528static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32529static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32530static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32531static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32532static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
554f62e9
RD
32533static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32534static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32535static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32536static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32537static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32538static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32539static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32540static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32541static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32542static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32543static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32544static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32545static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32546static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32547static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32548static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32549static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32550static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32551static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32552static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32553static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32554static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32555static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32556static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32557static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32558static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
32559static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32560static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32561static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32562static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32563static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32564static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32565static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32566static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32567static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32568static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
2131d850 32569static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
32570static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32571static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32572static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32573static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32574static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32575static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32576static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32577static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32578static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32579static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32580static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32581static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32582static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32583static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32584static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32585static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32586static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32587static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32588static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32589static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32590static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32591static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32592static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32593static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32594static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32595static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32596static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32597static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32598static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32599static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32600static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32601static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32602static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32603static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32604static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32605static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32606static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32607static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32608static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32609static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32610static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32611static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32612static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32613static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32614static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32615static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32616static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32617static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32618static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32619static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32620static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32621static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32622static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32623static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32624static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32625static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32626static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
32627
32628static swig_type_info *swig_type_initial[] = {
f460c29d 32629 &_swigt__p_bool,
7449af73
RD
32630 &_swigt__p_char,
32631 &_swigt__p_form_ops_t,
32632 &_swigt__p_int,
32633 &_swigt__p_unsigned_char,
32634 &_swigt__p_unsigned_int,
32635 &_swigt__p_unsigned_long,
32636 &_swigt__p_wxANIHandler,
32637 &_swigt__p_wxAcceleratorTable,
32638 &_swigt__p_wxActivateEvent,
32639 &_swigt__p_wxArrayInt,
32640 &_swigt__p_wxBMPHandler,
32641 &_swigt__p_wxBitmap,
32642 &_swigt__p_wxBoxSizer,
32643 &_swigt__p_wxCURHandler,
32644 &_swigt__p_wxCalculateLayoutEvent,
32645 &_swigt__p_wxChildFocusEvent,
2131d850 32646 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
32647 &_swigt__p_wxCloseEvent,
32648 &_swigt__p_wxColour,
32649 &_swigt__p_wxColourData,
32650 &_swigt__p_wxColourDialog,
32651 &_swigt__p_wxCommandEvent,
32652 &_swigt__p_wxContextMenuEvent,
32653 &_swigt__p_wxControl,
32654 &_swigt__p_wxControlWithItems,
32655 &_swigt__p_wxDC,
32656 &_swigt__p_wxDateEvent,
32657 &_swigt__p_wxDialog,
32658 &_swigt__p_wxDirDialog,
32659 &_swigt__p_wxDisplayChangedEvent,
32660 &_swigt__p_wxDropFilesEvent,
32661 &_swigt__p_wxDuplexMode,
32662 &_swigt__p_wxEraseEvent,
32663 &_swigt__p_wxEvent,
32664 &_swigt__p_wxEvtHandler,
32665 &_swigt__p_wxFSFile,
32666 &_swigt__p_wxFileDialog,
32667 &_swigt__p_wxFileSystem,
32668 &_swigt__p_wxFindDialogEvent,
32669 &_swigt__p_wxFindReplaceData,
32670 &_swigt__p_wxFindReplaceDialog,
32671 &_swigt__p_wxFlexGridSizer,
32672 &_swigt__p_wxFocusEvent,
32673 &_swigt__p_wxFont,
32674 &_swigt__p_wxFontData,
32675 &_swigt__p_wxFontDialog,
32676 &_swigt__p_wxFrame,
32677 &_swigt__p_wxGBSizerItem,
32678 &_swigt__p_wxGIFHandler,
32679 &_swigt__p_wxGridBagSizer,
32680 &_swigt__p_wxGridSizer,
e9d6f3a4 32681 &_swigt__p_wxHtmlLinkInfo,
7449af73
RD
32682 &_swigt__p_wxICOHandler,
32683 &_swigt__p_wxIcon,
32684 &_swigt__p_wxIconBundle,
32685 &_swigt__p_wxIconizeEvent,
32686 &_swigt__p_wxIdleEvent,
32687 &_swigt__p_wxImage,
32688 &_swigt__p_wxImageHandler,
32689 &_swigt__p_wxIndividualLayoutConstraint,
32690 &_swigt__p_wxInitDialogEvent,
32691 &_swigt__p_wxJPEGHandler,
32692 &_swigt__p_wxKeyEvent,
32693 &_swigt__p_wxLayoutAlgorithm,
32694 &_swigt__p_wxLayoutConstraints,
32695 &_swigt__p_wxMDIChildFrame,
32696 &_swigt__p_wxMDIClientWindow,
32697 &_swigt__p_wxMDIParentFrame,
32698 &_swigt__p_wxMaximizeEvent,
32699 &_swigt__p_wxMenu,
32700 &_swigt__p_wxMenuBar,
32701 &_swigt__p_wxMenuEvent,
32702 &_swigt__p_wxMenuItem,
32703 &_swigt__p_wxMessageDialog,
32704 &_swigt__p_wxMiniFrame,
32705 &_swigt__p_wxMouseCaptureChangedEvent,
32706 &_swigt__p_wxMouseEvent,
32707 &_swigt__p_wxMoveEvent,
32708 &_swigt__p_wxMultiChoiceDialog,
32709 &_swigt__p_wxNavigationKeyEvent,
32710 &_swigt__p_wxNcPaintEvent,
32711 &_swigt__p_wxNotifyEvent,
32712 &_swigt__p_wxObject,
32713 &_swigt__p_wxPCXHandler,
32714 &_swigt__p_wxPNGHandler,
32715 &_swigt__p_wxPNMHandler,
32716 &_swigt__p_wxPageSetupDialog,
32717 &_swigt__p_wxPageSetupDialogData,
32718 &_swigt__p_wxPaintEvent,
32719 &_swigt__p_wxPaletteChangedEvent,
32720 &_swigt__p_wxPanel,
32721 &_swigt__p_wxPaperSize,
32722 &_swigt__p_wxPasswordEntryDialog,
32723 &_swigt__p_wxPoint,
32724 &_swigt__p_wxPopupWindow,
32725 &_swigt__p_wxPreviewCanvas,
32726 &_swigt__p_wxPreviewControlBar,
32727 &_swigt__p_wxPreviewFrame,
32728 &_swigt__p_wxPrintData,
32729 &_swigt__p_wxPrintDialog,
32730 &_swigt__p_wxPrintDialogData,
32731 &_swigt__p_wxPrintPreview,
32732 &_swigt__p_wxPrinter,
32733 &_swigt__p_wxProgressDialog,
32734 &_swigt__p_wxPyApp,
32735 &_swigt__p_wxPyCommandEvent,
32736 &_swigt__p_wxPyEvent,
32737 &_swigt__p_wxPyHtmlListBox,
32738 &_swigt__p_wxPyImageHandler,
32739 &_swigt__p_wxPyPanel,
32740 &_swigt__p_wxPyPopupTransientWindow,
32741 &_swigt__p_wxPyPreviewControlBar,
32742 &_swigt__p_wxPyPreviewFrame,
32743 &_swigt__p_wxPyPrintPreview,
32744 &_swigt__p_wxPyPrintout,
32745 &_swigt__p_wxPyScrolledWindow,
32746 &_swigt__p_wxPySizer,
32747 &_swigt__p_wxPyTaskBarIcon,
32748 &_swigt__p_wxPyVListBox,
32749 &_swigt__p_wxPyVScrolledWindow,
32750 &_swigt__p_wxPyValidator,
32751 &_swigt__p_wxPyWindow,
32752 &_swigt__p_wxQueryLayoutInfoEvent,
32753 &_swigt__p_wxQueryNewPaletteEvent,
32754 &_swigt__p_wxRect,
32755 &_swigt__p_wxRegion,
32756 &_swigt__p_wxSashEvent,
32757 &_swigt__p_wxSashLayoutWindow,
32758 &_swigt__p_wxSashWindow,
32759 &_swigt__p_wxScrollEvent,
32760 &_swigt__p_wxScrollWinEvent,
32761 &_swigt__p_wxScrolledWindow,
32762 &_swigt__p_wxSetCursorEvent,
32763 &_swigt__p_wxShowEvent,
32764 &_swigt__p_wxSingleChoiceDialog,
32765 &_swigt__p_wxSize,
32766 &_swigt__p_wxSizeEvent,
32767 &_swigt__p_wxSizer,
32768 &_swigt__p_wxSizerItem,
32769 &_swigt__p_wxSplashScreen,
32770 &_swigt__p_wxSplashScreenWindow,
32771 &_swigt__p_wxSplitterEvent,
32772 &_swigt__p_wxSplitterWindow,
32773 &_swigt__p_wxStaticBoxSizer,
32774 &_swigt__p_wxStatusBar,
32775 &_swigt__p_wxStdDialogButtonSizer,
32776 &_swigt__p_wxString,
32777 &_swigt__p_wxSysColourChangedEvent,
32778 &_swigt__p_wxTIFFHandler,
32779 &_swigt__p_wxTaskBarIcon,
32780 &_swigt__p_wxTaskBarIconEvent,
32781 &_swigt__p_wxTextEntryDialog,
32782 &_swigt__p_wxTipWindow,
32783 &_swigt__p_wxToolBar,
32784 &_swigt__p_wxTopLevelWindow,
32785 &_swigt__p_wxUpdateUIEvent,
32786 &_swigt__p_wxValidator,
32787 &_swigt__p_wxVisualAttributes,
32788 &_swigt__p_wxWindow,
32789 &_swigt__p_wxWindowCreateEvent,
32790 &_swigt__p_wxWindowDestroyEvent,
32791 &_swigt__p_wxXPMHandler,
7449af73
RD
32792};
32793
f460c29d 32794static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32795static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32796static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32797static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32798static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32799static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32800static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32801static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32802static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32803static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32804static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32805static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32806static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32807static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32808static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 32809static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32810static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32811static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32812static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32813static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32814static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32815static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32816static 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}};
7449af73
RD
32817static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32818static 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32819static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32820static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32821static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32822static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32823static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32824static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32825static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32826static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32827static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32828static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32829static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32830static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32831static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32832static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32833static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32834static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32835static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32836static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32837static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32838static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32839static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32840static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32841static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32842static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32843static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32844static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32845static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32846static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32847static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32848static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32849static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32850static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32851static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32852static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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}};
32853static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32854static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32855static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32856static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32857static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32858static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32859static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32860static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32861static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 32862static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32863static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32864static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32865static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32866static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32867static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32868static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32869static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32870static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32871static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32872static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32873static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32874static 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}};
32875static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32876static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32877static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32878static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32879static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32880static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32881static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32882static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32883static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32884static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32885static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32886static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32887static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32888static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32889static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32890static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32891static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32892static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32893static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32894static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32895static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32896static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32897static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32898static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32899static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32900static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32901static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32902static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32903static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32904static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32905static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32906static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32907static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32908static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32909static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32910static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32911static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32912static 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}};
32913static 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}};
32914static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32915static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32916static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32917static 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}};
32918static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32919static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32920static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32921static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32922static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
32923static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32924static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32925static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32926static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32927static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32928static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32929static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
32930static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32931static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32932static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32933static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32934static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32935static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32936static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32937static 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}};
32938static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32939static 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}};
32940static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32941static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32942static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32943static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32944static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32945static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32946static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32947static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32948static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32949static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32950static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32951static 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}};
32952static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32953static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32954static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_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}};
32955static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32956static 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_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_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_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32957
32958static swig_cast_info *swig_cast_initial[] = {
f460c29d 32959 _swigc__p_bool,
7449af73
RD
32960 _swigc__p_char,
32961 _swigc__p_form_ops_t,
32962 _swigc__p_int,
32963 _swigc__p_unsigned_char,
32964 _swigc__p_unsigned_int,
32965 _swigc__p_unsigned_long,
32966 _swigc__p_wxANIHandler,
32967 _swigc__p_wxAcceleratorTable,
32968 _swigc__p_wxActivateEvent,
32969 _swigc__p_wxArrayInt,
32970 _swigc__p_wxBMPHandler,
32971 _swigc__p_wxBitmap,
32972 _swigc__p_wxBoxSizer,
32973 _swigc__p_wxCURHandler,
32974 _swigc__p_wxCalculateLayoutEvent,
32975 _swigc__p_wxChildFocusEvent,
2131d850 32976 _swigc__p_wxClipboardTextEvent,
7449af73
RD
32977 _swigc__p_wxCloseEvent,
32978 _swigc__p_wxColour,
32979 _swigc__p_wxColourData,
32980 _swigc__p_wxColourDialog,
32981 _swigc__p_wxCommandEvent,
32982 _swigc__p_wxContextMenuEvent,
32983 _swigc__p_wxControl,
32984 _swigc__p_wxControlWithItems,
32985 _swigc__p_wxDC,
32986 _swigc__p_wxDateEvent,
32987 _swigc__p_wxDialog,
32988 _swigc__p_wxDirDialog,
32989 _swigc__p_wxDisplayChangedEvent,
32990 _swigc__p_wxDropFilesEvent,
32991 _swigc__p_wxDuplexMode,
32992 _swigc__p_wxEraseEvent,
32993 _swigc__p_wxEvent,
32994 _swigc__p_wxEvtHandler,
32995 _swigc__p_wxFSFile,
32996 _swigc__p_wxFileDialog,
32997 _swigc__p_wxFileSystem,
32998 _swigc__p_wxFindDialogEvent,
32999 _swigc__p_wxFindReplaceData,
33000 _swigc__p_wxFindReplaceDialog,
33001 _swigc__p_wxFlexGridSizer,
33002 _swigc__p_wxFocusEvent,
33003 _swigc__p_wxFont,
33004 _swigc__p_wxFontData,
33005 _swigc__p_wxFontDialog,
33006 _swigc__p_wxFrame,
33007 _swigc__p_wxGBSizerItem,
33008 _swigc__p_wxGIFHandler,
33009 _swigc__p_wxGridBagSizer,
33010 _swigc__p_wxGridSizer,
e9d6f3a4 33011 _swigc__p_wxHtmlLinkInfo,
7449af73
RD
33012 _swigc__p_wxICOHandler,
33013 _swigc__p_wxIcon,
33014 _swigc__p_wxIconBundle,
33015 _swigc__p_wxIconizeEvent,
33016 _swigc__p_wxIdleEvent,
33017 _swigc__p_wxImage,
33018 _swigc__p_wxImageHandler,
33019 _swigc__p_wxIndividualLayoutConstraint,
33020 _swigc__p_wxInitDialogEvent,
33021 _swigc__p_wxJPEGHandler,
33022 _swigc__p_wxKeyEvent,
33023 _swigc__p_wxLayoutAlgorithm,
33024 _swigc__p_wxLayoutConstraints,
33025 _swigc__p_wxMDIChildFrame,
33026 _swigc__p_wxMDIClientWindow,
33027 _swigc__p_wxMDIParentFrame,
33028 _swigc__p_wxMaximizeEvent,
33029 _swigc__p_wxMenu,
33030 _swigc__p_wxMenuBar,
33031 _swigc__p_wxMenuEvent,
33032 _swigc__p_wxMenuItem,
33033 _swigc__p_wxMessageDialog,
33034 _swigc__p_wxMiniFrame,
33035 _swigc__p_wxMouseCaptureChangedEvent,
33036 _swigc__p_wxMouseEvent,
33037 _swigc__p_wxMoveEvent,
33038 _swigc__p_wxMultiChoiceDialog,
33039 _swigc__p_wxNavigationKeyEvent,
33040 _swigc__p_wxNcPaintEvent,
33041 _swigc__p_wxNotifyEvent,
33042 _swigc__p_wxObject,
33043 _swigc__p_wxPCXHandler,
33044 _swigc__p_wxPNGHandler,
33045 _swigc__p_wxPNMHandler,
33046 _swigc__p_wxPageSetupDialog,
33047 _swigc__p_wxPageSetupDialogData,
33048 _swigc__p_wxPaintEvent,
33049 _swigc__p_wxPaletteChangedEvent,
33050 _swigc__p_wxPanel,
33051 _swigc__p_wxPaperSize,
33052 _swigc__p_wxPasswordEntryDialog,
33053 _swigc__p_wxPoint,
33054 _swigc__p_wxPopupWindow,
33055 _swigc__p_wxPreviewCanvas,
33056 _swigc__p_wxPreviewControlBar,
33057 _swigc__p_wxPreviewFrame,
33058 _swigc__p_wxPrintData,
33059 _swigc__p_wxPrintDialog,
33060 _swigc__p_wxPrintDialogData,
33061 _swigc__p_wxPrintPreview,
33062 _swigc__p_wxPrinter,
33063 _swigc__p_wxProgressDialog,
33064 _swigc__p_wxPyApp,
33065 _swigc__p_wxPyCommandEvent,
33066 _swigc__p_wxPyEvent,
33067 _swigc__p_wxPyHtmlListBox,
33068 _swigc__p_wxPyImageHandler,
33069 _swigc__p_wxPyPanel,
33070 _swigc__p_wxPyPopupTransientWindow,
33071 _swigc__p_wxPyPreviewControlBar,
33072 _swigc__p_wxPyPreviewFrame,
33073 _swigc__p_wxPyPrintPreview,
33074 _swigc__p_wxPyPrintout,
33075 _swigc__p_wxPyScrolledWindow,
33076 _swigc__p_wxPySizer,
33077 _swigc__p_wxPyTaskBarIcon,
33078 _swigc__p_wxPyVListBox,
33079 _swigc__p_wxPyVScrolledWindow,
33080 _swigc__p_wxPyValidator,
33081 _swigc__p_wxPyWindow,
33082 _swigc__p_wxQueryLayoutInfoEvent,
33083 _swigc__p_wxQueryNewPaletteEvent,
33084 _swigc__p_wxRect,
33085 _swigc__p_wxRegion,
33086 _swigc__p_wxSashEvent,
33087 _swigc__p_wxSashLayoutWindow,
33088 _swigc__p_wxSashWindow,
33089 _swigc__p_wxScrollEvent,
33090 _swigc__p_wxScrollWinEvent,
33091 _swigc__p_wxScrolledWindow,
33092 _swigc__p_wxSetCursorEvent,
33093 _swigc__p_wxShowEvent,
33094 _swigc__p_wxSingleChoiceDialog,
33095 _swigc__p_wxSize,
554f62e9
RD
33096 _swigc__p_wxSizeEvent,
33097 _swigc__p_wxSizer,
33098 _swigc__p_wxSizerItem,
33099 _swigc__p_wxSplashScreen,
33100 _swigc__p_wxSplashScreenWindow,
33101 _swigc__p_wxSplitterEvent,
33102 _swigc__p_wxSplitterWindow,
33103 _swigc__p_wxStaticBoxSizer,
33104 _swigc__p_wxStatusBar,
33105 _swigc__p_wxStdDialogButtonSizer,
33106 _swigc__p_wxString,
33107 _swigc__p_wxSysColourChangedEvent,
33108 _swigc__p_wxTIFFHandler,
33109 _swigc__p_wxTaskBarIcon,
33110 _swigc__p_wxTaskBarIconEvent,
33111 _swigc__p_wxTextEntryDialog,
33112 _swigc__p_wxTipWindow,
33113 _swigc__p_wxToolBar,
33114 _swigc__p_wxTopLevelWindow,
33115 _swigc__p_wxUpdateUIEvent,
33116 _swigc__p_wxValidator,
33117 _swigc__p_wxVisualAttributes,
33118 _swigc__p_wxWindow,
33119 _swigc__p_wxWindowCreateEvent,
33120 _swigc__p_wxWindowDestroyEvent,
33121 _swigc__p_wxXPMHandler,
33122};
33123
33124
33125/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33126
33127static swig_const_info swig_const_table[] = {
33128{0, 0, 0, 0.0, 0, 0}};
33129
093d3ff1
RD
33130#ifdef __cplusplus
33131}
33132#endif
554f62e9
RD
33133/* -----------------------------------------------------------------------------
33134 * Type initialization:
33135 * This problem is tough by the requirement that no dynamic
33136 * memory is used. Also, since swig_type_info structures store pointers to
33137 * swig_cast_info structures and swig_cast_info structures store pointers back
33138 * to swig_type_info structures, we need some lookup code at initialization.
33139 * The idea is that swig generates all the structures that are needed.
33140 * The runtime then collects these partially filled structures.
33141 * The SWIG_InitializeModule function takes these initial arrays out of
33142 * swig_module, and does all the lookup, filling in the swig_module.types
33143 * array with the correct data and linking the correct swig_cast_info
33144 * structures together.
33145 *
33146 * The generated swig_type_info structures are assigned staticly to an initial
33147 * array. We just loop though that array, and handle each type individually.
33148 * First we lookup if this type has been already loaded, and if so, use the
33149 * loaded structure instead of the generated one. Then we have to fill in the
33150 * cast linked list. The cast data is initially stored in something like a
33151 * two-dimensional array. Each row corresponds to a type (there are the same
33152 * number of rows as there are in the swig_type_initial array). Each entry in
33153 * a column is one of the swig_cast_info structures for that type.
33154 * The cast_initial array is actually an array of arrays, because each row has
33155 * a variable number of columns. So to actually build the cast linked list,
33156 * we find the array of casts associated with the type, and loop through it
33157 * adding the casts to the list. The one last trick we need to do is making
33158 * sure the type pointer in the swig_cast_info struct is correct.
33159 *
33160 * First off, we lookup the cast->type name to see if it is already loaded.
33161 * There are three cases to handle:
33162 * 1) If the cast->type has already been loaded AND the type we are adding
33163 * casting info to has not been loaded (it is in this module), THEN we
33164 * replace the cast->type pointer with the type pointer that has already
33165 * been loaded.
33166 * 2) If BOTH types (the one we are adding casting info to, and the
33167 * cast->type) are loaded, THEN the cast info has already been loaded by
33168 * the previous module so we just ignore it.
33169 * 3) Finally, if cast->type has not already been loaded, then we add that
33170 * swig_cast_info to the linked list (because the cast->type) pointer will
33171 * be correct.
33172 * ----------------------------------------------------------------------------- */
093d3ff1 33173
093d3ff1 33174#ifdef __cplusplus
554f62e9
RD
33175extern "C" {
33176#if 0
33177} /* c-mode */
33178#endif
33179#endif
33180
33181#if 0
33182#define SWIGRUNTIME_DEBUG
33183#endif
33184
33185SWIGRUNTIME void
33186SWIG_InitializeModule(void *clientdata) {
33187 size_t i;
33188 swig_module_info *module_head;
33189 static int init_run = 0;
33190
33191 clientdata = clientdata;
33192
33193 if (init_run) return;
33194 init_run = 1;
33195
33196 /* Initialize the swig_module */
33197 swig_module.type_initial = swig_type_initial;
33198 swig_module.cast_initial = swig_cast_initial;
33199
33200 /* Try and load any already created modules */
33201 module_head = SWIG_GetModule(clientdata);
33202 if (module_head) {
33203 swig_module.next = module_head->next;
33204 module_head->next = &swig_module;
33205 } else {
33206 /* This is the first module loaded */
33207 swig_module.next = &swig_module;
33208 SWIG_SetModule(clientdata, &swig_module);
33209 }
33210
33211 /* Now work on filling in swig_module.types */
33212#ifdef SWIGRUNTIME_DEBUG
33213 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33214#endif
33215 for (i = 0; i < swig_module.size; ++i) {
33216 swig_type_info *type = 0;
33217 swig_type_info *ret;
33218 swig_cast_info *cast;
d55e5bfc 33219
554f62e9
RD
33220#ifdef SWIGRUNTIME_DEBUG
33221 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33222#endif
d55e5bfc 33223
554f62e9
RD
33224 /* if there is another module already loaded */
33225 if (swig_module.next != &swig_module) {
33226 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 33227 }
554f62e9
RD
33228 if (type) {
33229 /* Overwrite clientdata field */
33230#ifdef SWIGRUNTIME_DEBUG
33231 printf("SWIG_InitializeModule: found type %s\n", type->name);
33232#endif
33233 if (swig_module.type_initial[i]->clientdata) {
33234 type->clientdata = swig_module.type_initial[i]->clientdata;
33235#ifdef SWIGRUNTIME_DEBUG
33236 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33237#endif
33238 }
33239 } else {
33240 type = swig_module.type_initial[i];
093d3ff1 33241 }
554f62e9
RD
33242
33243 /* Insert casting types */
33244 cast = swig_module.cast_initial[i];
33245 while (cast->type) {
33246 /* Don't need to add information already in the list */
33247 ret = 0;
33248#ifdef SWIGRUNTIME_DEBUG
33249 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33250#endif
33251 if (swig_module.next != &swig_module) {
33252 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33253#ifdef SWIGRUNTIME_DEBUG
33254 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33255#endif
33256 }
33257 if (ret) {
33258 if (type == swig_module.type_initial[i]) {
33259#ifdef SWIGRUNTIME_DEBUG
33260 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33261#endif
33262 cast->type = ret;
33263 ret = 0;
33264 } else {
33265 /* Check for casting already in the list */
33266 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33267#ifdef SWIGRUNTIME_DEBUG
33268 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33269#endif
33270 if (!ocast) ret = 0;
33271 }
33272 }
33273
33274 if (!ret) {
33275#ifdef SWIGRUNTIME_DEBUG
33276 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33277#endif
33278 if (type->cast) {
33279 type->cast->prev = cast;
33280 cast->next = type->cast;
33281 }
33282 type->cast = cast;
33283 }
33284 cast++;
093d3ff1 33285 }
554f62e9
RD
33286 /* Set entry in modules->types array equal to the type */
33287 swig_module.types[i] = type;
33288 }
33289 swig_module.types[i] = 0;
33290
33291#ifdef SWIGRUNTIME_DEBUG
33292 printf("**** SWIG_InitializeModule: Cast List ******\n");
33293 for (i = 0; i < swig_module.size; ++i) {
33294 int j = 0;
33295 swig_cast_info *cast = swig_module.cast_initial[i];
33296 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33297 while (cast->type) {
33298 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33299 cast++;
33300 ++j;
33301 }
33302 printf("---- Total casts: %d\n",j);
33303 }
33304 printf("**** SWIG_InitializeModule: Cast List ******\n");
33305#endif
33306}
33307
33308/* This function will propagate the clientdata field of type to
33309* any new swig_type_info structures that have been added into the list
33310* of equivalent types. It is like calling
33311* SWIG_TypeClientData(type, clientdata) a second time.
33312*/
33313SWIGRUNTIME void
33314SWIG_PropagateClientData(void) {
33315 size_t i;
33316 swig_cast_info *equiv;
33317 static int init_run = 0;
33318
33319 if (init_run) return;
33320 init_run = 1;
33321
33322 for (i = 0; i < swig_module.size; i++) {
33323 if (swig_module.types[i]->clientdata) {
33324 equiv = swig_module.types[i]->cast;
33325 while (equiv) {
33326 if (!equiv->converter) {
33327 if (equiv->type && !equiv->type->clientdata)
33328 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33329 }
33330 equiv = equiv->next;
33331 }
093d3ff1 33332 }
554f62e9
RD
33333 }
33334}
33335
33336#ifdef __cplusplus
33337#if 0
33338{
33339 /* c-mode */
33340#endif
33341}
33342#endif
33343
33344
33345
33346#ifdef __cplusplus
33347extern "C" {
33348#endif
33349
33350 /* Python-specific SWIG API */
33351#define SWIG_newvarlink() SWIG_Python_newvarlink()
33352#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33353#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33354
33355 /* -----------------------------------------------------------------------------
33356 * global variable support code.
33357 * ----------------------------------------------------------------------------- */
33358
33359 typedef struct swig_globalvar {
33360 char *name; /* Name of global variable */
33361 PyObject *(*get_attr)(void); /* Return the current value */
33362 int (*set_attr)(PyObject *); /* Set the value */
33363 struct swig_globalvar *next;
33364 } swig_globalvar;
33365
33366 typedef struct swig_varlinkobject {
33367 PyObject_HEAD
33368 swig_globalvar *vars;
33369 } swig_varlinkobject;
33370
33371 SWIGINTERN PyObject *
33372 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33373 return PyString_FromString("<Swig global variables>");
33374 }
33375
33376 SWIGINTERN PyObject *
33377 swig_varlink_str(swig_varlinkobject *v) {
33378 PyObject *str = PyString_FromString("(");
33379 swig_globalvar *var;
33380 for (var = v->vars; var; var=var->next) {
33381 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33382 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33383 }
33384 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33385 return str;
33386 }
33387
33388 SWIGINTERN int
33389 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33390 PyObject *str = swig_varlink_str(v);
33391 fprintf(fp,"Swig global variables ");
33392 fprintf(fp,"%s\n", PyString_AsString(str));
33393 Py_DECREF(str);
33394 return 0;
33395 }
33396
33397 SWIGINTERN void
33398 swig_varlink_dealloc(swig_varlinkobject *v) {
33399 swig_globalvar *var = v->vars;
33400 while (var) {
33401 swig_globalvar *n = var->next;
33402 free(var->name);
33403 free(var);
33404 var = n;
093d3ff1 33405 }
554f62e9
RD
33406 }
33407
33408 SWIGINTERN PyObject *
33409 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33410 PyObject *res = NULL;
33411 swig_globalvar *var = v->vars;
33412 while (var) {
33413 if (strcmp(var->name,n) == 0) {
33414 res = (*var->get_attr)();
33415 break;
33416 }
33417 var = var->next;
093d3ff1 33418 }
554f62e9
RD
33419 if (res == NULL && !PyErr_Occurred()) {
33420 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33421 }
554f62e9
RD
33422 return res;
33423 }
33424
33425 SWIGINTERN int
33426 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33427 int res = 1;
33428 swig_globalvar *var = v->vars;
33429 while (var) {
33430 if (strcmp(var->name,n) == 0) {
33431 res = (*var->set_attr)(p);
33432 break;
33433 }
33434 var = var->next;
093d3ff1 33435 }
554f62e9
RD
33436 if (res == 1 && !PyErr_Occurred()) {
33437 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33438 }
554f62e9
RD
33439 return res;
33440 }
33441
33442 SWIGINTERN PyTypeObject*
33443 swig_varlink_type(void) {
33444 static char varlink__doc__[] = "Swig var link object";
33445 static PyTypeObject varlink_type;
33446 static int type_init = 0;
33447 if (!type_init) {
33448 const PyTypeObject tmp
33449 = {
33450 PyObject_HEAD_INIT(NULL)
33451 0, /* Number of items in variable part (ob_size) */
33452 (char *)"swigvarlink", /* Type name (tp_name) */
33453 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33454 0, /* Itemsize (tp_itemsize) */
33455 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33456 (printfunc) swig_varlink_print, /* Print (tp_print) */
33457 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33458 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33459 0, /* tp_compare */
33460 (reprfunc) swig_varlink_repr, /* tp_repr */
33461 0, /* tp_as_number */
33462 0, /* tp_as_sequence */
33463 0, /* tp_as_mapping */
33464 0, /* tp_hash */
33465 0, /* tp_call */
33466 (reprfunc)swig_varlink_str, /* tp_str */
33467 0, /* tp_getattro */
33468 0, /* tp_setattro */
33469 0, /* tp_as_buffer */
33470 0, /* tp_flags */
33471 varlink__doc__, /* tp_doc */
33472 0, /* tp_traverse */
33473 0, /* tp_clear */
33474 0, /* tp_richcompare */
33475 0, /* tp_weaklistoffset */
33476#if PY_VERSION_HEX >= 0x02020000
33477 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33478#endif
33479#if PY_VERSION_HEX >= 0x02030000
33480 0, /* tp_del */
33481#endif
33482#ifdef COUNT_ALLOCS
33483 0,0,0,0 /* tp_alloc -> tp_next */
33484#endif
33485 };
33486 varlink_type = tmp;
33487 varlink_type.ob_type = &PyType_Type;
33488 type_init = 1;
093d3ff1 33489 }
554f62e9
RD
33490 return &varlink_type;
33491 }
33492
33493 /* Create a variable linking object for use later */
33494 SWIGINTERN PyObject *
33495 SWIG_Python_newvarlink(void) {
33496 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33497 if (result) {
33498 result->vars = 0;
33499 }
33500 return ((PyObject*) result);
33501 }
33502
33503 SWIGINTERN void
33504 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33505 swig_varlinkobject *v = (swig_varlinkobject *) p;
33506 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33507 if (gv) {
33508 size_t size = strlen(name)+1;
33509 gv->name = (char *)malloc(size);
33510 if (gv->name) {
33511 strncpy(gv->name,name,size);
33512 gv->get_attr = get_attr;
33513 gv->set_attr = set_attr;
33514 gv->next = v->vars;
33515 }
093d3ff1 33516 }
554f62e9
RD
33517 v->vars = gv;
33518 }
33519
33520 SWIGINTERN PyObject *
33521 SWIG_globals() {
33522 static PyObject *_SWIG_globals = 0;
33523 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33524 return _SWIG_globals;
33525 }
33526
33527 /* -----------------------------------------------------------------------------
33528 * constants/methods manipulation
33529 * ----------------------------------------------------------------------------- */
33530
33531 /* Install Constants */
33532 SWIGINTERN void
33533 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33534 PyObject *obj = 0;
33535 size_t i;
33536 for (i = 0; constants[i].type; ++i) {
33537 switch(constants[i].type) {
33538 case SWIG_PY_POINTER:
33539 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33540 break;
33541 case SWIG_PY_BINARY:
33542 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33543 break;
33544 default:
33545 obj = 0;
33546 break;
33547 }
33548 if (obj) {
33549 PyDict_SetItemString(d, constants[i].name, obj);
33550 Py_DECREF(obj);
33551 }
093d3ff1 33552 }
554f62e9
RD
33553 }
33554
33555 /* -----------------------------------------------------------------------------*/
33556 /* Fix SwigMethods to carry the callback ptrs when needed */
33557 /* -----------------------------------------------------------------------------*/
33558
33559 SWIGINTERN void
33560 SWIG_Python_FixMethods(PyMethodDef *methods,
33561 swig_const_info *const_table,
33562 swig_type_info **types,
33563 swig_type_info **types_initial) {
33564 size_t i;
33565 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 33566 const char *c = methods[i].ml_doc;
554f62e9
RD
33567 if (c && (c = strstr(c, "swig_ptr: "))) {
33568 int j;
33569 swig_const_info *ci = 0;
453fb36b 33570 const char *name = c + 10;
554f62e9
RD
33571 for (j = 0; const_table[j].type; ++j) {
33572 if (strncmp(const_table[j].name, name,
33573 strlen(const_table[j].name)) == 0) {
33574 ci = &(const_table[j]);
33575 break;
33576 }
33577 }
33578 if (ci) {
33579 size_t shift = (ci->ptype) - types;
33580 swig_type_info *ty = types_initial[shift];
33581 size_t ldoc = (c - methods[i].ml_doc);
33582 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33583 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33584 if (ndoc) {
33585 char *buff = ndoc;
33586 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33587 if (ptr) {
33588 strncpy(buff, methods[i].ml_doc, ldoc);
33589 buff += ldoc;
33590 strncpy(buff, "swig_ptr: ", 10);
33591 buff += 10;
33592 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33593 methods[i].ml_doc = ndoc;
33594 }
33595 }
33596 }
33597 }
093d3ff1 33598 }
554f62e9
RD
33599 }
33600
33601#ifdef __cplusplus
33602}
33603#endif
33604
33605/* -----------------------------------------------------------------------------*
33606 * Partial Init method
33607 * -----------------------------------------------------------------------------*/
33608
33609#ifdef __cplusplus
33610extern "C"
33611#endif
33612SWIGEXPORT void SWIG_init(void) {
33613 PyObject *m, *d;
33614
33615 /* Fix SwigMethods to carry the callback ptrs when needed */
33616 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33617
33618 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33619 d = PyModule_GetDict(m);
33620
33621 SWIG_InitializeModule(0);
33622 SWIG_InstallConstants(d,swig_const_table);
33623
33624
33625 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33626 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33627 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33628 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33629 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33630 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33631 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33632 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33633 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33634 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33635 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33636 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33637 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33638 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33639 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33640 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33641 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33642 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33643 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33644 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33645 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33646 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33647 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33648 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33649 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33650 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33651 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33652 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33653 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33654 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33655 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33656 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33657 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33658 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33659 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33660 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33661 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33662 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33663 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33664 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33665 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33666 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33667 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33668 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33669 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33670 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33671 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33672 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33673 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33674 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33675 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33676 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33677 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33678 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33679 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33680 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33681 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33682 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33683 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33684 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33685 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33686 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33687 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33688 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33689 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33690 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33691 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33692 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33693 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33694 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33695 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33696 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33697 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33698 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33699 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33700 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33701 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33702 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33703 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33704 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33705 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33706 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33707 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33708 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33709 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33710 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33711 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33712 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33713 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33714 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33715 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33716 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33717 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33718 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33719 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33720 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33721 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33722 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33723 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33724 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33725 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33726 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33727
33728 // Map renamed classes back to their common name for OOR
33729 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33730 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33731 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33732
33733 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33734 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33735 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33736 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33737 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33738 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33739 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33740 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33741 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33742 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33743 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33744 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33745 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
33746 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33747 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33748 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33749 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33750 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33751 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33752 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33753 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33754 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 33755 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
33756 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33757 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33758 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33759 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33760 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33761 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33762 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
554f62e9
RD
33763 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33764 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33765 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33766 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33767 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33768 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33769 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33770 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33771 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33772 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33773 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33774 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33775 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33776 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33777 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33778 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33779 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33780 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33781 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33782 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33783 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33784 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33785 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33786 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33787 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33788 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33789 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33790 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33791 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33792 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33793 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33794 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33795 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33796 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33797 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33798 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33799 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33800 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33801 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33802 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33803 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33804 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33805 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33806 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33807 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33808 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33809 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33810 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33811 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33812 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33813 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33814 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33815 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33816 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33817 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33818 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33819 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33820 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33821 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33822 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33823 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33824 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33825 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33826 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33827 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33828
33829 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33830
d55e5bfc
RD
33831}
33832