]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
User lower case property names in wx.DateSpan and wx.TimeSpan in order
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
1bd55598 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
36ed4f51 46#endif
d55e5bfc 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
1bd55598
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
1bd55598
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
1bd55598
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
1bd55598
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
1bd55598
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
d55e5bfc 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d55e5bfc 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d55e5bfc 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
36ed4f51
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
36ed4f51
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
1bd55598
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
36ed4f51
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
36ed4f51
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
1bd55598 481 if (!type) return NULL;
36ed4f51
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
36ed4f51
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
36ed4f51
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
36ed4f51 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
36ed4f51
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
36ed4f51
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
1bd55598
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
1bd55598
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
36ed4f51 764#endif
1bd55598
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
1bd55598
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
1bd55598
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
36ed4f51 935#endif
d55e5bfc 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
1bd55598
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
36ed4f51 986/* Common SWIG API */
d55e5bfc 987
4f89b6b7
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
1bd55598
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
1bd55598
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
1bd55598
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
1bd55598
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
1bd55598
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d55e5bfc 1017
1bd55598 1018/* Runtime API */
d55e5bfc 1019
1bd55598
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
1bd55598
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
d55e5bfc 1030
1bd55598 1031/* Runtime API implementation */
d55e5bfc 1032
1bd55598 1033/* Error manipulation */
d55e5bfc 1034
1bd55598
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c370783e 1041}
d55e5bfc 1042
1bd55598
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1048}
1049
1bd55598 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
1bd55598 1052/* Set a constant value */
d55e5bfc 1053
1bd55598
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c370783e 1058}
d55e5bfc 1059
1bd55598 1060/* Append a value to the result obj */
d55e5bfc 1061
1bd55598
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
36ed4f51 1088 } else {
1bd55598
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c370783e 1100 }
1bd55598
RD
1101 return result;
1102#endif
c370783e
RD
1103}
1104
1bd55598 1105/* Unpack the argument tuple */
d55e5bfc 1106
1bd55598
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1613#endif
1614 };
1615
1bd55598 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
36ed4f51 1618 if (!type_init) {
1bd55598
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
36ed4f51 1632#endif
1bd55598
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
36ed4f51 1651#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
36ed4f51
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
1bd55598 1674 0, /* tp_del */
36ed4f51
RD
1675#endif
1676#ifdef COUNT_ALLOCS
1bd55598 1677 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1678#endif
1bd55598 1679 };
32fe5131 1680 pyswigobject_type = tmp;
1bd55598 1681 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
36ed4f51
RD
1685}
1686
1687SWIGRUNTIME PyObject *
1bd55598 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c370783e 1689{
1bd55598
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
1bd55598 1697 return (PyObject *)sobj;
36ed4f51 1698}
d55e5bfc 1699
36ed4f51
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
36ed4f51
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1bd55598 1707 swig_type_info *ty;
36ed4f51
RD
1708 size_t size;
1709} PySwigPacked;
c370783e 1710
36ed4f51 1711SWIGRUNTIME int
1bd55598 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
36ed4f51
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1bd55598 1720 fputs(v->ty->name,fp);
36ed4f51
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1731 } else {
1bd55598 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51 1733 }
d55e5bfc
RD
1734}
1735
36ed4f51
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1742 } else {
1bd55598 1743 return PyString_FromString(v->ty->name);
36ed4f51
RD
1744 }
1745}
d55e5bfc 1746
36ed4f51
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
1bd55598
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e
RD
1754}
1755
1bd55598 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
36ed4f51 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
1bd55598
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
36ed4f51
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1bd55598 1837 0, /* tp_del */
36ed4f51
RD
1838#endif
1839#ifdef COUNT_ALLOCS
1bd55598 1840 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1841#endif
1bd55598 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
1bd55598 1844 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
36ed4f51 1848}
d55e5bfc 1849
36ed4f51 1850SWIGRUNTIME PyObject *
1bd55598 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1852{
1bd55598
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
36ed4f51 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1bd55598
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
36ed4f51 1865 }
1bd55598 1866 return (PyObject *) sobj;
36ed4f51 1867}
d55e5bfc 1868
1bd55598 1869SWIGRUNTIME swig_type_info *
36ed4f51
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1bd55598
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
36ed4f51 1880}
d55e5bfc 1881
36ed4f51 1882/* -----------------------------------------------------------------------------
1bd55598 1883 * pointers/data manipulation
36ed4f51 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
1bd55598
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
1bd55598
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
1bd55598 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
1bd55598
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1903{
1bd55598
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
36ed4f51 1926 } else {
1bd55598
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
36ed4f51 1929 }
36ed4f51 1930 }
1bd55598
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
36ed4f51
RD
1947 }
1948}
d55e5bfc 1949
1bd55598
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
36ed4f51 1961 }
1bd55598 1962 return 0;
36ed4f51 1963}
d55e5bfc 1964
1bd55598
RD
1965/* Convert a pointer value */
1966
36ed4f51 1967SWIGRUNTIME int
1bd55598
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
36ed4f51 1992 } else {
1bd55598
RD
1993 if (ptr) *ptr = vptr;
1994 break;
36ed4f51 1995 }
36ed4f51 1996 }
1bd55598
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
36ed4f51
RD
2042 }
2043}
d55e5bfc 2044
1bd55598
RD
2045/* Convert a function ptr value */
2046
36ed4f51 2047SWIGRUNTIME int
1bd55598
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2051 } else {
1bd55598
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
4f89b6b7 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1bd55598
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
36ed4f51
RD
2069 }
2070}
d55e5bfc 2071
1bd55598 2072/* Convert a packed value value */
d55e5bfc 2073
36ed4f51 2074SWIGRUNTIME int
1bd55598
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
36ed4f51 2084 }
1bd55598
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
1bd55598
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
1bd55598
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
1bd55598
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
36ed4f51 2115 }
1bd55598
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
36ed4f51 2120 }
1bd55598
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
36ed4f51 2126 }
1bd55598
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
36ed4f51 2140 }
1bd55598
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
36ed4f51 2147 }
1bd55598
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
36ed4f51 2158}
d55e5bfc 2159
1bd55598
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
36ed4f51 2175#endif
1bd55598
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
1bd55598
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2191 } else {
1bd55598 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2193 }
1bd55598 2194 return SWIG_Py_Void();
36ed4f51 2195 }
1bd55598
RD
2196}
2197
2198/* Create a new pointer object */
36ed4f51 2199
36ed4f51 2200SWIGRUNTIME PyObject *
1bd55598 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2202 if (!ptr) {
1bd55598
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
36ed4f51 2213 }
36ed4f51 2214 }
1bd55598 2215 return robj;
36ed4f51 2216 }
36ed4f51
RD
2217}
2218
1bd55598
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
36ed4f51 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
36ed4f51
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
36ed4f51 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
36ed4f51
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
1bd55598 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
1bd55598 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
1bd55598 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
1bd55598 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
1bd55598 2281 return SWIG_OK;
36ed4f51 2282}
32fe5131 2283#endif
36ed4f51 2284
1bd55598
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
1bd55598 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
36ed4f51 2314
1bd55598
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
36ed4f51 2320}
36ed4f51 2321
1bd55598
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2131d850
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
f9bf356b
RD
2477#define SWIGTYPE_p_wxArrayString swig_types[11]
2478#define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479#define SWIGTYPE_p_wxBitmap swig_types[13]
2480#define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481#define SWIGTYPE_p_wxCURHandler swig_types[15]
2482#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486#define SWIGTYPE_p_wxColour swig_types[20]
2487#define SWIGTYPE_p_wxColourData swig_types[21]
2488#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxDC swig_types[27]
2494#define SWIGTYPE_p_wxDateEvent swig_types[28]
2495#define SWIGTYPE_p_wxDialog swig_types[29]
2496#define SWIGTYPE_p_wxDirDialog swig_types[30]
2497#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499#define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500#define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvent swig_types[35]
4976f996
RD
2502#define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503#define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504#define SWIGTYPE_p_wxFSFile swig_types[38]
2505#define SWIGTYPE_p_wxFileDialog swig_types[39]
2506#define SWIGTYPE_p_wxFileSystem swig_types[40]
2507#define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508#define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509#define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510#define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511#define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512#define SWIGTYPE_p_wxFont swig_types[46]
2513#define SWIGTYPE_p_wxFontData swig_types[47]
2514#define SWIGTYPE_p_wxFontDialog swig_types[48]
2515#define SWIGTYPE_p_wxFrame swig_types[49]
2516#define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517#define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518#define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519#define SWIGTYPE_p_wxGridSizer swig_types[53]
2520#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521#define SWIGTYPE_p_wxICOHandler swig_types[55]
2522#define SWIGTYPE_p_wxIcon swig_types[56]
2523#define SWIGTYPE_p_wxIconBundle swig_types[57]
2524#define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525#define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526#define SWIGTYPE_p_wxImage swig_types[60]
2527#define SWIGTYPE_p_wxImageHandler swig_types[61]
2528#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529#define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530#define SWIGTYPE_p_wxItemContainer swig_types[64]
2531#define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532#define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534#define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535#define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536#define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537#define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538#define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenu swig_types[73]
2540#define SWIGTYPE_p_wxMenuBar swig_types[74]
2541#define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542#define SWIGTYPE_p_wxMenuItem swig_types[76]
2543#define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544#define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547#define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548#define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551#define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552#define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553#define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554#define SWIGTYPE_p_wxObject swig_types[88]
2555#define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556#define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557#define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558#define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559#define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560#define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562#define SWIGTYPE_p_wxPanel swig_types[96]
2563#define SWIGTYPE_p_wxPaperSize swig_types[97]
2564#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565#define SWIGTYPE_p_wxPoint swig_types[99]
2566#define SWIGTYPE_p_wxPopupWindow swig_types[100]
8c3a7183
RD
2567#define SWIGTYPE_p_wxPosition swig_types[101]
2568#define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569#define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570#define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571#define SWIGTYPE_p_wxPrintData swig_types[105]
2572#define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573#define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574#define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575#define SWIGTYPE_p_wxPrinter swig_types[109]
2576#define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577#define SWIGTYPE_p_wxPyApp swig_types[111]
2578#define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579#define SWIGTYPE_p_wxPyEvent swig_types[113]
2580#define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581#define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582#define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583#define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584#define SWIGTYPE_p_wxPyPanel swig_types[118]
2585#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587#define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588#define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589#define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590#define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591#define SWIGTYPE_p_wxPySizer swig_types[125]
2592#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593#define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595#define SWIGTYPE_p_wxPyValidator swig_types[129]
2596#define SWIGTYPE_p_wxPyWindow swig_types[130]
2597#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599#define SWIGTYPE_p_wxRect swig_types[133]
2600#define SWIGTYPE_p_wxRegion swig_types[134]
2601#define SWIGTYPE_p_wxSashEvent swig_types[135]
2602#define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603#define SWIGTYPE_p_wxSashWindow swig_types[137]
2604#define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605#define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606#define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607#define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608#define SWIGTYPE_p_wxShowEvent swig_types[142]
2609#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611#define SWIGTYPE_p_wxSize swig_types[145]
2612#define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613#define SWIGTYPE_p_wxSizer swig_types[147]
2614#define SWIGTYPE_p_wxSizerItem swig_types[148]
2615#define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616#define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617#define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618#define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619#define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620#define SWIGTYPE_p_wxStatusBar swig_types[154]
2621#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622#define SWIGTYPE_p_wxString swig_types[156]
2623#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624#define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625#define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626#define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628#define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629#define SWIGTYPE_p_wxTipWindow swig_types[163]
2630#define SWIGTYPE_p_wxToolBar swig_types[164]
2631#define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633#define SWIGTYPE_p_wxValidator swig_types[167]
2634#define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635#define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636#define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637#define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638#define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639#define SWIGTYPE_p_wxWindow swig_types[173]
2640#define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642#define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643static swig_type_info *swig_types[178];
2644static swig_module_info swig_module = {swig_types, 177, 0, 0, 0, 0};
32fe5131
RD
2645#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2647
2648/* -------- TYPES TABLE (END) -------- */
2649
1bd55598
RD
2650#if (PY_VERSION_HEX <= 0x02000000)
2651# if !defined(SWIG_PYTHON_CLASSIC)
2652# error "This python version requires to use swig with the '-classic' option"
2653# endif
2654#endif
2655#if (PY_VERSION_HEX <= 0x02020000)
2656# error "This python version requires to use swig with the '-nomodern' option"
2657#endif
2658#if (PY_VERSION_HEX <= 0x02020000)
2659# error "This python version requires to use swig with the '-nomodernargs' option"
2660#endif
2661#ifndef METH_O
2662# error "This python version requires to use swig with the '-nofastunpack' option"
2663#endif
36ed4f51
RD
2664
2665/*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668#define SWIG_init init_windows_
2669
2670#define SWIG_name "_windows_"
2671
1bd55598 2672#define SWIGVERSION 0x010329
36ed4f51 2673
36ed4f51 2674
1bd55598
RD
2675#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2677
2678
1bd55598 2679#include <stdexcept>
36ed4f51
RD
2680
2681
1bd55598
RD
2682namespace swig {
2683 class PyObject_ptr {
2684 protected:
2685 PyObject *_obj;
36ed4f51 2686
1bd55598
RD
2687 public:
2688 PyObject_ptr() :_obj(0)
2689 {
2690 }
36ed4f51 2691
1bd55598
RD
2692 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2693 {
2694 Py_XINCREF(_obj);
36ed4f51 2695 }
1bd55598
RD
2696
2697 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2698 {
2699 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2700 }
1bd55598
RD
2701
2702 PyObject_ptr & operator=(const PyObject_ptr& item)
2703 {
2704 Py_XINCREF(item._obj);
2705 Py_XDECREF(_obj);
2706 _obj = item._obj;
2707 return *this;
2708 }
2709
2710 ~PyObject_ptr()
2711 {
2712 Py_XDECREF(_obj);
2713 }
2714
2715 operator PyObject *() const
2716 {
2717 return _obj;
2718 }
2719
2720 PyObject *operator->() const
2721 {
2722 return _obj;
2723 }
2724 };
36ed4f51
RD
2725}
2726
2727
1bd55598
RD
2728namespace swig {
2729 struct PyObject_var : PyObject_ptr {
2730 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2731
2732 PyObject_var & operator = (PyObject* obj)
2733 {
2734 Py_XDECREF(_obj);
2735 _obj = obj;
2736 return *this;
36ed4f51 2737 }
1bd55598 2738 };
36ed4f51 2739}
36ed4f51
RD
2740
2741
1bd55598
RD
2742#include "wx/wxPython/wxPython.h"
2743#include "wx/wxPython/pyclasses.h"
2744
36ed4f51 2745
1bd55598
RD
2746 static const wxString wxPyEmptyString(wxEmptyString);
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2748
36ed4f51 2749
1bd55598
RD
2750
2751#include <limits.h>
2752#ifndef LLONG_MIN
2753# define LLONG_MIN LONG_LONG_MIN
2754#endif
2755#ifndef LLONG_MAX
2756# define LLONG_MAX LONG_LONG_MAX
2757#endif
2758#ifndef ULLONG_MAX
2759# define ULLONG_MAX ULONG_LONG_MAX
2760#endif
2761
2762
2763SWIGINTERN int
2764SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2765{
1bd55598
RD
2766 if (PyNumber_Check(obj)) {
2767 if (val) *val = PyInt_AsLong(obj);
2768 return SWIG_OK;
2769 }
2770 return SWIG_TypeError;
36ed4f51
RD
2771}
2772
1bd55598
RD
2773
2774SWIGINTERN int
2775SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2776{
1bd55598
RD
2777 long v;
2778 int res = SWIG_AsVal_long (obj, &v);
2779 if (SWIG_IsOK(res)) {
2780 if ((v < INT_MIN || v > INT_MAX)) {
2781 return SWIG_OverflowError;
2782 } else {
2783 if (val) *val = static_cast< int >(v);
2784 }
2785 }
2786 return res;
36ed4f51
RD
2787}
2788
2789
2790SWIGINTERN int
1bd55598 2791SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2792{
2793 if (obj == Py_True) {
2794 if (val) *val = true;
1bd55598
RD
2795 return SWIG_OK;
2796 } else if (obj == Py_False) {
36ed4f51 2797 if (val) *val = false;
1bd55598 2798 return SWIG_OK;
36ed4f51 2799 } else {
1bd55598
RD
2800 long v = 0;
2801 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2802 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2803 return res;
36ed4f51 2804 }
36ed4f51
RD
2805}
2806
2807
1bd55598 2808 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2809
2810
1bd55598
RD
2811SWIGINTERNINLINE PyObject *
2812SWIG_From_int (int value)
2813{
2814 return SWIG_From_long (value);
2815}
36ed4f51
RD
2816
2817
2818SWIGINTERN int
1bd55598 2819SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2820{
2821 if (PyNumber_Check(obj)) {
2822 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2823 return SWIG_OK;
36ed4f51 2824 }
1bd55598 2825 return SWIG_TypeError;
36ed4f51
RD
2826}
2827
2828
1bd55598 2829 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2830
2831 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2832 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2833 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2834 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2835SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2836 int style = self->GetExtraStyle();
2837 if ( on )
2838 style |= wxFRAME_EX_METAL;
2839 else
2840 style &= ~wxFRAME_EX_METAL;
2841 self->SetExtraStyle(style);
2842 }
10044bf1 2843
5eb8189c
RD
2844#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2845
2846
36ed4f51 2847
1bd55598 2848SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2849 wxRect r;
2850 self->GetFieldRect(i, r);
2851 return r;
2852 }
2853 static const wxString wxPySplitterNameStr(wxT("splitter"));
2854 static const wxString wxPySashNameStr(wxT("sashWindow"));
2855 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2856
2857#include <wx/popupwin.h>
2858
2859
2860class wxPopupWindow : public wxWindow {
2861public:
2862 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2863 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2864};
2865
2866class wxPyPopupTransientWindow : public wxPopupWindow
2867{
2868public:
2869 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2870 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2871};
2872
2873
2874#include <wx/tipwin.h>
2875
1bd55598 2876SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2877 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2878 }
2879
2880#include <wx/tipwin.h>
8c3a7183 2881#include <wx/vscroll.h>
36ed4f51
RD
2882
2883
8c3a7183
RD
2884SWIGINTERNINLINE PyObject*
2885SWIG_From_unsigned_SS_long (unsigned long value)
2886{
2887 return (value > LONG_MAX) ?
2888 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2889}
2890
2891
2892SWIGINTERNINLINE PyObject *
2893SWIG_From_size_t (size_t value)
2894{
2895 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2896}
2897
2898
2899SWIGINTERN int
2900SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2901{
2902 long v = 0;
2903 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2904 return SWIG_TypeError;
2905 }
2906 else if (val)
2907 *val = (unsigned long)v;
2908 return SWIG_OK;
2909}
2910
2911
2912SWIGINTERNINLINE int
2913SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2914{
2915 unsigned long v;
2916 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2917 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2918 return res;
2919}
36ed4f51
RD
2920
2921
2922class wxPyVScrolledWindow : public wxVScrolledWindow
2923{
32fe5131 2924 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2925public:
2926 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2927
2928 wxPyVScrolledWindow(wxWindow *parent,
2929 wxWindowID id = wxID_ANY,
2930 const wxPoint& pos = wxDefaultPosition,
2931 const wxSize& size = wxDefaultSize,
2932 long style = 0,
2933 const wxString& name = wxPyPanelNameStr)
2934 : wxVScrolledWindow(parent, id, pos, size, style, name)
2935 {}
2936
2937 // Overridable virtuals
2938
2939 // this function must be overridden in the derived class and it should
2940 // return the height of the given line in pixels
8c3a7183
RD
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
2942 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name
36ed4f51
RD
2943
2944 // this function doesn't have to be overridden but it may be useful to do
2945 // it if calculating the lines heights is a relatively expensive operation
2946 // as it gives the user code a possibility to calculate several of them at
2947 // once
2948 //
8c3a7183 2949 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
36ed4f51 2950 // shouldn't rely on the latter being called for all lines in the interval
8c3a7183 2951 // specified here. It is also possible that OnGetRowHeight() will be
36ed4f51
RD
2952 // called for the lines outside of this interval, so this is really just a
2953 // hint, not a promise.
2954 //
2955 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2956 // usual
8c3a7183
RD
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
2958 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name
36ed4f51
RD
2959
2960 // when the number of lines changes, we try to estimate the total height
2961 // of all lines which is a rather expensive operation in terms of lines
2962 // access, so if the user code may estimate the average height
2963 // better/faster than we do, it should override this function to implement
2964 // its own logic
2965 //
2966 // this function should return the best guess for the total height it may
2967 // make
2968 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2969
2970
2971 // Also expose some other interesting protected methods
2972
2973
36ed4f51
RD
2974 // get the total height of the lines between lineMin (inclusive) and
2975 // lineMax (exclusive)
8c3a7183
RD
2976 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
2977 { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
2131d850 2978
36ed4f51
RD
2979
2980 PYPRIVATE;
2981};
2982
2983IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc 2984
8c3a7183 2985IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight);
d55e5bfc 2986IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
8c3a7183 2987IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint);
d55e5bfc 2988IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
8c3a7183 2989
d55e5bfc
RD
2990IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2991
2992
8c3a7183 2993class wxPyHScrolledWindow : public wxHScrolledWindow
fc46b7f3 2994{
8c3a7183
RD
2995 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
2996public:
2997 wxPyHScrolledWindow() : wxHScrolledWindow() {}
fc46b7f3 2998
8c3a7183
RD
2999 wxPyHScrolledWindow(wxWindow *parent,
3000 wxWindowID id = wxID_ANY,
3001 const wxPoint& pos = wxDefaultPosition,
3002 const wxSize& size = wxDefaultSize,
3003 long style = 0,
3004 const wxString& name = wxPyPanelNameStr)
3005 : wxHScrolledWindow(parent, id, pos, size, style, name)
3006 {}
fc46b7f3 3007
8c3a7183
RD
3008 // Overridable virtuals
3009 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3010 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3011 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
d55e5bfc 3012
8c3a7183
RD
3013 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3014 { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
d55e5bfc 3015
8c3a7183
RD
3016 PYPRIVATE;
3017};
3018
3019IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow);
3020
3021IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth);
3022IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint);
3023IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth);
3024
3025
3026
3027class wxPyHVScrolledWindow : public wxHVScrolledWindow
d55e5bfc 3028{
8c3a7183
RD
3029 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
3030public:
3031 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3032
3033 wxPyHVScrolledWindow(wxWindow *parent,
3034 wxWindowID id = wxID_ANY,
3035 const wxPoint& pos = wxDefaultPosition,
3036 const wxSize& size = wxDefaultSize,
3037 long style = 0,
3038 const wxString& name = wxPyPanelNameStr)
3039 : wxHVScrolledWindow(parent, id, pos, size, style, name)
3040 {}
1bd55598 3041
8c3a7183
RD
3042 // Overridable virtuals
3043 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
3044 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
3045 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
3046
3047 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3048 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3049 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3050
3051 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
3052 { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
3053
3054 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3055 { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3056
3057 PYPRIVATE;
3058};
3059
3060IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow);
3061
3062IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight);
3063IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint);
3064IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight);
3065
3066IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth);
3067IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint);
3068IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth);
1bd55598 3069
d55e5bfc
RD
3070
3071
3072#include <wx/vlbox.h>
3073
3074 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3075
3076class wxPyVListBox : public wxVListBox
3077{
32fe5131 3078 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
3079public:
3080 wxPyVListBox() : wxVListBox() {}
3081
3082 wxPyVListBox(wxWindow *parent,
3083 wxWindowID id = wxID_ANY,
3084 const wxPoint& pos = wxDefaultPosition,
3085 const wxSize& size = wxDefaultSize,
3086 long style = 0,
3087 const wxString& name = wxPyVListBoxNameStr)
3088 : wxVListBox(parent, id, pos, size, style, name)
3089 {}
3090
3091 // Overridable virtuals
3092
3093 // the derived class must implement this function to actually draw the item
3094 // with the given index on the provided DC
3095 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3096 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3097
3098
3099 // the derived class must implement this method to return the height of the
3100 // specified item
3101 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3102 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3103
3104
3105 // this method may be used to draw separators between the lines; note that
3106 // the rectangle may be modified, typically to deflate it a bit before
3107 // passing to OnDrawItem()
3108 //
3109 // the base class version doesn't do anything
3110 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3111 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3112
3113
3114 // this method is used to draw the items background and, maybe, a border
3115 // around it
3116 //
3117 // the base class version implements a reasonable default behaviour which
3118 // consists in drawing the selected item with the standard background
3119 // colour and drawing a border around the item if it is either selected or
3120 // current
3121 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3122 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3123
3124
3125 PYPRIVATE;
3126};
3127
3128IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3129
3130IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3131IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3132IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3133IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3134
3135
1bd55598 3136SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3137 unsigned long cookie = 0;
3138 int selected = self->GetFirstSelected(cookie);
5a446332 3139 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3140 PyObject* tup = PyTuple_New(2);
3141 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3142 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3143 wxPyEndBlockThreads(blocked);
3144 return tup;
3145 }
1bd55598 3146SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3147 int selected = self->GetNextSelected(cookie);
5a446332 3148 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3149 PyObject* tup = PyTuple_New(2);
3150 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3151 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3152 wxPyEndBlockThreads(blocked);
3153 return tup;
3154 }
d55e5bfc
RD
3155
3156#include <wx/htmllbox.h>
3157
3158
3159class wxPyHtmlListBox : public wxHtmlListBox
3160{
32fe5131 3161 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3162public:
3163 wxPyHtmlListBox() : wxHtmlListBox() {}
3164
3165 wxPyHtmlListBox(wxWindow *parent,
3166 wxWindowID id = wxID_ANY,
3167 const wxPoint& pos = wxDefaultPosition,
3168 const wxSize& size = wxDefaultSize,
3169 long style = 0,
3170 const wxString& name = wxPyVListBoxNameStr)
3171 : wxHtmlListBox(parent, id, pos, size, style, name)
3172 {}
3173
3174 // Overridable virtuals
3175
3176 // this method must be implemented in the derived class and should return
3177 // the body (i.e. without <html>) of the HTML for the given item
3178 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3179
3180 // this function may be overridden to decorate HTML returned by OnGetItem()
3181 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3182
1c71765a
RD
3183 // These are from wxVListBox
3184 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3185 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3186
d55e5bfc
RD
3187// TODO:
3188// // this method allows to customize the selection appearance: it may be used
3189// // to specify the colour of the text which normally has the given colour
3190// // colFg when it is inside the selection
3191// //
3192// // by default, the original colour is not used at all and all text has the
3193// // same (default for this system) colour inside selection
3194// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3195
3196// // this is the same as GetSelectedTextColour() but allows to customize the
3197// // background colour -- this is even more rarely used as you can change it
3198// // globally using SetSelectionBackground()
3199// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3200
e9d6f3a4
RD
3201
3202 // This method may be overriden to handle clicking on a link in
3203 // the listbox. By default, clicking links is ignored.
3204 virtual void OnLinkClicked(size_t n,
3205 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3206
3207 PYPRIVATE;
3208};
3209
3210
3211IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3212
3213IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3214IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3215IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3216IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3217
3218
e9d6f3a4
RD
3219void wxPyHtmlListBox::OnLinkClicked(size_t n,
3220 const wxHtmlLinkInfo& link) {
3221 bool found;
3222 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3223 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3224 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3225 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3226 Py_DECREF(obj);
3227 }
3228 wxPyEndBlockThreads(blocked);
3229 if (! found)
3230 wxPyHtmlListBox::OnLinkClicked(n, link);
3231}
3232
3233
d55e5bfc 3234
f9bf356b
RD
3235 const wxArrayString wxPyEmptyStringArray;
3236
3237 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3238
d55e5bfc
RD
3239
3240
b411df4a
RD
3241#ifndef wxHAS_TASK_BAR_ICON
3242// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3243
3244class wxTaskBarIcon : public wxEvtHandler
3245{
3246public:
3247 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3248};
09c21d3b 3249
d55e5bfc
RD
3250
3251class wxTaskBarIconEvent : public wxEvent
3252{
3253public:
3254 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3255 { wxPyRaiseNotImplemented(); }
3256 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3257 bool IsOk() const { return false; }
3258 bool IsIconInstalled() const { return false; }
3259 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3260 bool RemoveIcon() { return false; }
3261 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3262};
3263
3264enum {
3265 wxEVT_TASKBAR_MOVE = 0,
3266 wxEVT_TASKBAR_LEFT_DOWN = 0,
3267 wxEVT_TASKBAR_LEFT_UP = 0,
3268 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3269 wxEVT_TASKBAR_RIGHT_UP = 0,
3270 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3271 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3272};
09c21d3b
RD
3273
3274
3275#else
5e483524
RD
3276// Otherwise make a class that can virtualize CreatePopupMenu
3277class wxPyTaskBarIcon : public wxTaskBarIcon
3278{
32fe5131 3279 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3280public:
3281 wxPyTaskBarIcon() : wxTaskBarIcon()
3282 {}
09c21d3b 3283
5e483524
RD
3284 wxMenu* CreatePopupMenu() {
3285 wxMenu *rval = NULL;
3286 bool found;
5a446332 3287 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3288 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3289 PyObject* ro;
3290 wxMenu* ptr;
3291 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3292 if (ro) {
3293 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3294 rval = ptr;
3295 Py_DECREF(ro);
3296 }
3297 }
3298 wxPyEndBlockThreads(blocked);
3299 if (! found)
3300 rval = wxTaskBarIcon::CreatePopupMenu();
3301 return rval;
3302 }
d55e5bfc 3303
5e483524
RD
3304 PYPRIVATE;
3305};
d55e5bfc 3306
5e483524 3307IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3308
5e483524
RD
3309#endif
3310
1bd55598 3311SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3312 self->RemoveIcon();
3313 delete self;
d55e5bfc
RD
3314 }
3315 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3316 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3317 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3318 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3319 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3320 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3321
3322// for compatibility only
3323#define wxHIDE_READONLY 0
3324
1bd55598 3325SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3326 wxArrayString arr;
3327 self->GetFilenames(arr);
3328 return wxArrayString2PyList_helper(arr);
3329 }
1bd55598 3330SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3331 wxArrayString arr;
3332 self->GetPaths(arr);
3333 return wxArrayString2PyList_helper(arr);
3334 }
1bd55598 3335SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3336 return wxArrayInt2PyList_helper(self->GetSelections());
3337 }
1bd55598 3338SWIGINTERN 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
3339 return new wxSingleChoiceDialog(parent, message, caption,
3340 choices, choices_array, NULL, style, pos);
3341 }
070c48b4 3342 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3343
2131d850
RD
3344SWIGINTERNINLINE PyObject*
3345 SWIG_From_bool (bool value)
3346{
3347 return PyBool_FromLong(value ? 1 : 0);
3348}
3349
3350
d55e5bfc
RD
3351#include <wx/mdi.h>
3352
3353 // C++ version of Python aware wxWindow
3354class wxPyWindow : public wxWindow
3355{
3356 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3357public:
3358 wxPyWindow() : wxWindow() {}
3359 wxPyWindow(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 : wxWindow(parent, id, pos, size, style, name) {}
3365
3366
976dbff5
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 }
3376
d55e5bfc
RD
3377 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3378 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3381
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3385
3386 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3387 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3388
3389 DEC_PYCALLBACK__(InitDialog);
3390 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3391 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3392 DEC_PYCALLBACK_BOOL_(Validate);
3393
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3396 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3397
3398 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3399 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3400
a5ee0656 3401 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3402 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3403
51b83b37
RD
3404 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3405
8d38bd1d
RD
3406 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3407
d55e5bfc
RD
3408 PYPRIVATE;
3409};
3410
3411IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3412
3413IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3414IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3415IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3416IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3417
3418IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3419IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3420IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3421
3422IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3423IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3424
3425IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3426IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3427IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3428IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3429
3430IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3431IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3432IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3433
3434IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3435IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3436
a5ee0656 3437IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3438IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3439
3440IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3441
8d38bd1d
RD
3442IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3443
d55e5bfc
RD
3444 // C++ version of Python aware wxPanel
3445class wxPyPanel : public wxPanel
3446{
3447 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3448public:
3449 wxPyPanel() : wxPanel() {}
3450 wxPyPanel(wxWindow* parent, const wxWindowID id,
3451 const wxPoint& pos = wxDefaultPosition,
3452 const wxSize& size = wxDefaultSize,
3453 long style = 0,
3454 const wxString& name = wxPyPanelNameStr)
3455 : wxPanel(parent, id, pos, size, style, name) {}
3456
976dbff5
RD
3457 bool DoEraseBackground(wxDC* dc) {
3458#ifdef __WXMSW__
3459 return wxWindow::DoEraseBackground(dc->GetHDC());
3460#else
3461 dc->SetBackground(wxBrush(GetBackgroundColour()));
3462 dc->Clear();
3463 return true;
3464#endif
3465 }
a5ee0656 3466
d55e5bfc
RD
3467
3468 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3469 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3472
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3476
3477 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3478 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3479
3480 DEC_PYCALLBACK__(InitDialog);
3481 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3482 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3483 DEC_PYCALLBACK_BOOL_(Validate);
3484
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3487 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3488
3489 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3491
a5ee0656 3492 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3493 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3494
51b83b37
RD
3495 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3496
8d38bd1d
RD
3497 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3498
d55e5bfc
RD
3499 PYPRIVATE;
3500};
3501
3502IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3503
3504IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3505IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3506IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3507IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3508
3509IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3510IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3511IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3512
3513IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3514IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3515
3516IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3517IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3518IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3519IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3520
3521IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3522IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3523IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3524
3525IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3526IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3527
a5ee0656 3528IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3529IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3530
51b83b37
RD
3531IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3532
8d38bd1d
RD
3533IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3534
d55e5bfc
RD
3535 // C++ version of Python aware wxScrolledWindow
3536class wxPyScrolledWindow : public wxScrolledWindow
3537{
3538 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3539public:
3540 wxPyScrolledWindow() : wxScrolledWindow() {}
3541 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3542 const wxPoint& pos = wxDefaultPosition,
3543 const wxSize& size = wxDefaultSize,
3544 long style = 0,
3545 const wxString& name = wxPyPanelNameStr)
3546 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3547
976dbff5
RD
3548 bool DoEraseBackground(wxDC* dc) {
3549#ifdef __WXMSW__
3550 return wxWindow::DoEraseBackground(dc->GetHDC());
3551#else
3552 dc->SetBackground(wxBrush(GetBackgroundColour()));
3553 dc->Clear();
3554 return true;
3555#endif
3556 }
d55e5bfc
RD
3557
3558 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3559 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3561 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3562
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3565 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3566
3567 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3568 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3569
3570 DEC_PYCALLBACK__(InitDialog);
3571 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3572 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3573 DEC_PYCALLBACK_BOOL_(Validate);
3574
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3576 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3577 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3578
3579 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3580 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3581
a5ee0656 3582 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3583 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3584
51b83b37
RD
3585 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3586
8d38bd1d
RD
3587 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3588
d55e5bfc
RD
3589 PYPRIVATE;
3590};
3591
3592IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3593
3594IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3595IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3596IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3597IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3598
3599IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3600IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3601IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3602
3603IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3604IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3605
3606IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3607IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3608IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3609IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3610
3611IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3612IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3613IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3614
3615IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3616IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3617
a5ee0656 3618IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3619IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3620
51b83b37 3621IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3622
8d38bd1d
RD
3623IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3624
d55e5bfc
RD
3625
3626#include "wx/wxPython/printfw.h"
3627
3628
3629 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3630 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3631SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3632 PyObject* data;
5a446332 3633 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3634 data = PyString_FromStringAndSize(self->GetPrivData(),
3635 self->GetPrivDataLen());
3636 wxPyEndBlockThreads(blocked);
3637 return data;
3638 }
1bd55598 3639SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3640 if (! PyString_Check(data)) {
3641 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3642 "Expected string object"));
3643 return /* NULL */ ;
3644 }
3645
5a446332 3646 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3647 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3648 wxPyEndBlockThreads(blocked);
3649 }
d55e5bfc
RD
3650
3651
070c48b4 3652IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3653
3654// Since this one would be tough and ugly to do with the Macros...
3655void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3656 bool hadErr = false;
d55e5bfc
RD
3657 bool found;
3658
5a446332 3659 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3660 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3661 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3662 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3663 PyObject* val;
3664
3665 val = PyTuple_GetItem(result, 0);
3666 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3667 else hadErr = true;
d55e5bfc
RD
3668
3669 val = PyTuple_GetItem(result, 1);
3670 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3671 else hadErr = true;
d55e5bfc
RD
3672
3673 val = PyTuple_GetItem(result, 2);
3674 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3675 else hadErr = true;
d55e5bfc
RD
3676
3677 val = PyTuple_GetItem(result, 3);
3678 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3679 else hadErr = true;
d55e5bfc
RD
3680 }
3681 else
b411df4a 3682 hadErr = true;
d55e5bfc
RD
3683
3684 if (hadErr) {
3685 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3686 PyErr_Print();
3687 }
3688 Py_DECREF(result);
3689 }
3690 wxPyEndBlockThreads(blocked);
3691 if (! found)
3692 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3693}
3694
d55e5bfc
RD
3695
3696
3697IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3698IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3699IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3700IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3701IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3702IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3703IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3704
3705
3706
3707
3708
b411df4a 3709#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3710 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3711
3712
b411df4a
RD
3713#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3714 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3715 bool rval=false; \
3716 bool found; \
32fe5131 3717 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3719 PyObject* win = wxPyMake_wxObject(a,false); \
3720 PyObject* dc = wxPyMake_wxObject(&b,false); \
3721 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3722 Py_DECREF(win); \
3723 Py_DECREF(dc); \
3724 } \
3725 wxPyEndBlockThreads(blocked); \
3726 if (! found) \
3727 rval = PCLASS::CBNAME(a, b); \
3728 return rval; \
7f7aa166 3729 }
d55e5bfc
RD
3730
3731
3732
3733
3734class wxPyPrintPreview : public wxPrintPreview
3735{
3736 DECLARE_CLASS(wxPyPrintPreview)
3737public:
3738 wxPyPrintPreview(wxPyPrintout* printout,
3739 wxPyPrintout* printoutForPrinting,
3740 wxPrintDialogData* data=NULL)
3741 : wxPrintPreview(printout, printoutForPrinting, data)
3742 {}
3743 wxPyPrintPreview(wxPyPrintout* printout,
3744 wxPyPrintout* printoutForPrinting,
32fe5131 3745 wxPrintData* data)
d55e5bfc
RD
3746 : wxPrintPreview(printout, printoutForPrinting, data)
3747 {}
3748
3749 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3751 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3752 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3753 DEC_PYCALLBACK_VOID_INT(SetZoom);
3754 DEC_PYCALLBACK_BOOL_BOOL(Print);
3755 DEC_PYCALLBACK_VOID_(DetermineScaling);
3756
3757 PYPRIVATE;
3758};
3759
3760// Stupid renamed classes... Fix this in 2.5...
3761#if defined(__WXMSW__)
3762IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3763#elif defined(__WXMAC__)
3764IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3765#else
3766IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3767#endif
3768
3769IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3770IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3771IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3772IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3773IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3774IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3775IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3776
3777
3778class wxPyPreviewFrame : public wxPreviewFrame
3779{
32fe5131 3780 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3781public:
3782 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3783 const wxString& title,
3784 const wxPoint& pos = wxDefaultPosition,
3785 const wxSize& size = wxDefaultSize,
3786 long style = wxDEFAULT_FRAME_STYLE,
3787 const wxString& name = wxPyFrameNameStr)
3788 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3789 {}
3790
3791 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3792 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3793
3794 DEC_PYCALLBACK_VOID_(Initialize);
3795 DEC_PYCALLBACK_VOID_(CreateCanvas);
3796 DEC_PYCALLBACK_VOID_(CreateControlBar);
3797
3798 PYPRIVATE;
3799};
3800
3801IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3802
3803IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3804IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3805IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3806
3807
3808class wxPyPreviewControlBar : public wxPreviewControlBar
3809{
32fe5131 3810 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3811public:
3812 wxPyPreviewControlBar(wxPrintPreview *preview,
3813 long buttons,
3814 wxWindow *parent,
3815 const wxPoint& pos = wxDefaultPosition,
3816 const wxSize& size = wxDefaultSize,
3817 long style = 0,
3818 const wxString& name = wxPyPanelNameStr)
3819 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3820 {}
3821
3822 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3823
3824 DEC_PYCALLBACK_VOID_(CreateButtons);
3825 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3826
3827 PYPRIVATE;
3828};
3829
3830IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3831IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3832IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3833
3834#ifdef __cplusplus
3835extern "C" {
3836#endif
1bd55598
RD
3837SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj = 0;
3839 wxWindow *arg1 = (wxWindow *) 0 ;
3840 int arg2 = (int) (int)-1 ;
3841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3843 wxSize const &arg4_defvalue = wxDefaultSize ;
3844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3845 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3846 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3847 wxString *arg6 = (wxString *) &arg6_defvalue ;
3848 wxPanel *result = 0 ;
3849 void *argp1 = 0 ;
3850 int res1 = 0 ;
3851 int val2 ;
3852 int ecode2 = 0 ;
3853 wxPoint temp3 ;
3854 wxSize temp4 ;
3855 long val5 ;
3856 int ecode5 = 0 ;
3857 bool temp6 = false ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 PyObject * obj2 = 0 ;
3861 PyObject * obj3 = 0 ;
3862 PyObject * obj4 = 0 ;
3863 PyObject * obj5 = 0 ;
3864 char * kwnames[] = {
3865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3866 };
3867
3868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3870 if (!SWIG_IsOK(res1)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3872 }
3873 arg1 = reinterpret_cast< wxWindow * >(argp1);
3874 if (obj1) {
3875 ecode2 = SWIG_AsVal_int(obj1, &val2);
3876 if (!SWIG_IsOK(ecode2)) {
3877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3878 }
3879 arg2 = static_cast< int >(val2);
3880 }
3881 if (obj2) {
d55e5bfc 3882 {
1bd55598
RD
3883 arg3 = &temp3;
3884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3885 }
1bd55598
RD
3886 }
3887 if (obj3) {
d55e5bfc 3888 {
1bd55598
RD
3889 arg4 = &temp4;
3890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3891 }
1bd55598
RD
3892 }
3893 if (obj4) {
3894 ecode5 = SWIG_AsVal_long(obj4, &val5);
3895 if (!SWIG_IsOK(ecode5)) {
3896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3897 }
3898 arg5 = static_cast< long >(val5);
3899 }
3900 if (obj5) {
d55e5bfc 3901 {
1bd55598
RD
3902 arg6 = wxString_in_helper(obj5);
3903 if (arg6 == NULL) SWIG_fail;
3904 temp6 = true;
3905 }
3906 }
3907 {
3908 if (!wxPyCheckForApp()) SWIG_fail;
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3915 {
3916 if (temp6)
3917 delete arg6;
3918 }
3919 return resultobj;
3920fail:
3921 {
3922 if (temp6)
3923 delete arg6;
3924 }
3925 return NULL;
d55e5bfc
RD
3926}
3927
3928
1bd55598
RD
3929SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3930 PyObject *resultobj = 0;
3931 wxPanel *result = 0 ;
3932
3933 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3934 {
3935 if (!wxPyCheckForApp()) SWIG_fail;
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 result = (wxPanel *)new wxPanel();
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
3941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3942 return resultobj;
3943fail:
3944 return NULL;
3945}
3946
3947
3948SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj = 0;
3950 wxPanel *arg1 = (wxPanel *) 0 ;
3951 wxWindow *arg2 = (wxWindow *) 0 ;
3952 int arg3 = (int) (int)-1 ;
3953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3955 wxSize const &arg5_defvalue = wxDefaultSize ;
3956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3957 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3958 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3959 wxString *arg7 = (wxString *) &arg7_defvalue ;
3960 bool result;
3961 void *argp1 = 0 ;
3962 int res1 = 0 ;
3963 void *argp2 = 0 ;
3964 int res2 = 0 ;
3965 int val3 ;
3966 int ecode3 = 0 ;
3967 wxPoint temp4 ;
3968 wxSize temp5 ;
3969 long val6 ;
3970 int ecode6 = 0 ;
3971 bool temp7 = false ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3974 PyObject * obj2 = 0 ;
3975 PyObject * obj3 = 0 ;
3976 PyObject * obj4 = 0 ;
3977 PyObject * obj5 = 0 ;
3978 PyObject * obj6 = 0 ;
3979 char * kwnames[] = {
3980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3981 };
3982
3983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3985 if (!SWIG_IsOK(res1)) {
3986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3987 }
3988 arg1 = reinterpret_cast< wxPanel * >(argp1);
3989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3990 if (!SWIG_IsOK(res2)) {
3991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3992 }
3993 arg2 = reinterpret_cast< wxWindow * >(argp2);
3994 if (obj2) {
3995 ecode3 = SWIG_AsVal_int(obj2, &val3);
3996 if (!SWIG_IsOK(ecode3)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3998 }
3999 arg3 = static_cast< int >(val3);
4000 }
4001 if (obj3) {
d55e5bfc 4002 {
1bd55598
RD
4003 arg4 = &temp4;
4004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4005 }
1bd55598
RD
4006 }
4007 if (obj4) {
d55e5bfc 4008 {
1bd55598
RD
4009 arg5 = &temp5;
4010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4011 }
1bd55598
RD
4012 }
4013 if (obj5) {
4014 ecode6 = SWIG_AsVal_long(obj5, &val6);
4015 if (!SWIG_IsOK(ecode6)) {
4016 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4017 }
4018 arg6 = static_cast< long >(val6);
4019 }
4020 if (obj6) {
d55e5bfc 4021 {
1bd55598
RD
4022 arg7 = wxString_in_helper(obj6);
4023 if (arg7 == NULL) SWIG_fail;
4024 temp7 = true;
d55e5bfc 4025 }
1bd55598
RD
4026 }
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 {
4034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4035 }
4036 {
4037 if (temp7)
4038 delete arg7;
4039 }
4040 return resultobj;
4041fail:
4042 {
4043 if (temp7)
4044 delete arg7;
4045 }
4046 return NULL;
5cbf236d
RD
4047}
4048
4049
1bd55598
RD
4050SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4051 PyObject *resultobj = 0;
4052 wxPanel *arg1 = (wxPanel *) 0 ;
4053 void *argp1 = 0 ;
4054 int res1 = 0 ;
4055 PyObject *swig_obj[1] ;
4056
4057 if (!args) SWIG_fail;
4058 swig_obj[0] = args;
4059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
4060 if (!SWIG_IsOK(res1)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4062 }
4063 arg1 = reinterpret_cast< wxPanel * >(argp1);
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetFocusIgnoringChildren();
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 resultobj = SWIG_Py_Void();
4071 return resultobj;
4072fail:
4073 return NULL;
4074}
4075
4076
4077SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj = 0;
4079 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4080 SwigValueWrapper<wxVisualAttributes > result;
4081 int val1 ;
4082 int ecode1 = 0 ;
4083 PyObject * obj0 = 0 ;
4084 char * kwnames[] = {
4085 (char *) "variant", NULL
4086 };
4087
4088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4089 if (obj0) {
4090 ecode1 = SWIG_AsVal_int(obj0, &val1);
4091 if (!SWIG_IsOK(ecode1)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4093 }
4094 arg1 = static_cast< wxWindowVariant >(val1);
4095 }
4096 {
4097 if (!wxPyCheckForApp()) SWIG_fail;
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = wxPanel::GetClassDefaultAttributes(arg1);
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4104 return resultobj;
4105fail:
4106 return NULL;
4107}
4108
4109
4110SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4111 PyObject *obj;
4112 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4114 return SWIG_Py_Void();
4115}
4116
4117SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4118 return SWIG_Python_InitShadowInstance(args);
4119}
4120
4121SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj = 0;
4123 wxWindow *arg1 = (wxWindow *) 0 ;
4124 int arg2 = (int) (int)-1 ;
4125 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4126 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4127 wxSize const &arg4_defvalue = wxDefaultSize ;
4128 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4129 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4130 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4131 wxString *arg6 = (wxString *) &arg6_defvalue ;
4132 wxScrolledWindow *result = 0 ;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 int val2 ;
4136 int ecode2 = 0 ;
4137 wxPoint temp3 ;
4138 wxSize temp4 ;
4139 long val5 ;
4140 int ecode5 = 0 ;
4141 bool temp6 = false ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144 PyObject * obj2 = 0 ;
4145 PyObject * obj3 = 0 ;
4146 PyObject * obj4 = 0 ;
4147 PyObject * obj5 = 0 ;
4148 char * kwnames[] = {
4149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4150 };
4151
4152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4154 if (!SWIG_IsOK(res1)) {
4155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4156 }
4157 arg1 = reinterpret_cast< wxWindow * >(argp1);
4158 if (obj1) {
4159 ecode2 = SWIG_AsVal_int(obj1, &val2);
4160 if (!SWIG_IsOK(ecode2)) {
4161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4162 }
4163 arg2 = static_cast< int >(val2);
4164 }
4165 if (obj2) {
5cbf236d 4166 {
1bd55598
RD
4167 arg3 = &temp3;
4168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4169 }
1bd55598
RD
4170 }
4171 if (obj3) {
f20a2e1f 4172 {
1bd55598
RD
4173 arg4 = &temp4;
4174 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4175 }
1bd55598
RD
4176 }
4177 if (obj4) {
4178 ecode5 = SWIG_AsVal_long(obj4, &val5);
4179 if (!SWIG_IsOK(ecode5)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4181 }
4182 arg5 = static_cast< long >(val5);
4183 }
4184 if (obj5) {
f20a2e1f 4185 {
1bd55598
RD
4186 arg6 = wxString_in_helper(obj5);
4187 if (arg6 == NULL) SWIG_fail;
4188 temp6 = true;
f20a2e1f 4189 }
1bd55598
RD
4190 }
4191 {
4192 if (!wxPyCheckForApp()) SWIG_fail;
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4199 {
4200 if (temp6)
4201 delete arg6;
4202 }
4203 return resultobj;
4204fail:
4205 {
4206 if (temp6)
4207 delete arg6;
4208 }
4209 return NULL;
f20a2e1f
RD
4210}
4211
4212
1bd55598
RD
4213SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4214 PyObject *resultobj = 0;
4215 wxScrolledWindow *result = 0 ;
4216
4217 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4218 {
4219 if (!wxPyCheckForApp()) SWIG_fail;
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (wxScrolledWindow *)new wxScrolledWindow();
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4226 return resultobj;
4227fail:
4228 return NULL;
4229}
4230
4231
4232SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj = 0;
4234 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4235 wxWindow *arg2 = (wxWindow *) 0 ;
4236 int arg3 = (int) (int)-1 ;
4237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4239 wxSize const &arg5_defvalue = wxDefaultSize ;
4240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4241 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4242 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4243 wxString *arg7 = (wxString *) &arg7_defvalue ;
4244 bool result;
4245 void *argp1 = 0 ;
4246 int res1 = 0 ;
4247 void *argp2 = 0 ;
4248 int res2 = 0 ;
4249 int val3 ;
4250 int ecode3 = 0 ;
4251 wxPoint temp4 ;
4252 wxSize temp5 ;
4253 long val6 ;
4254 int ecode6 = 0 ;
4255 bool temp7 = false ;
4256 PyObject * obj0 = 0 ;
4257 PyObject * obj1 = 0 ;
4258 PyObject * obj2 = 0 ;
4259 PyObject * obj3 = 0 ;
4260 PyObject * obj4 = 0 ;
4261 PyObject * obj5 = 0 ;
4262 PyObject * obj6 = 0 ;
4263 char * kwnames[] = {
4264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4265 };
4266
4267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4269 if (!SWIG_IsOK(res1)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4271 }
4272 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4274 if (!SWIG_IsOK(res2)) {
4275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4276 }
4277 arg2 = reinterpret_cast< wxWindow * >(argp2);
4278 if (obj2) {
4279 ecode3 = SWIG_AsVal_int(obj2, &val3);
4280 if (!SWIG_IsOK(ecode3)) {
4281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4282 }
4283 arg3 = static_cast< int >(val3);
4284 }
4285 if (obj3) {
d55e5bfc 4286 {
1bd55598
RD
4287 arg4 = &temp4;
4288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4289 }
1bd55598
RD
4290 }
4291 if (obj4) {
d55e5bfc 4292 {
1bd55598
RD
4293 arg5 = &temp5;
4294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4295 }
1bd55598
RD
4296 }
4297 if (obj5) {
4298 ecode6 = SWIG_AsVal_long(obj5, &val6);
4299 if (!SWIG_IsOK(ecode6)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4301 }
4302 arg6 = static_cast< long >(val6);
4303 }
4304 if (obj6) {
d55e5bfc 4305 {
1bd55598
RD
4306 arg7 = wxString_in_helper(obj6);
4307 if (arg7 == NULL) SWIG_fail;
4308 temp7 = true;
4309 }
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4319 }
4320 {
4321 if (temp7)
4322 delete arg7;
4323 }
4324 return resultobj;
4325fail:
4326 {
4327 if (temp7)
4328 delete arg7;
4329 }
4330 return NULL;
4331}
4332
4333
4334SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj = 0;
4336 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4337 int arg2 ;
4338 int arg3 ;
4339 int arg4 ;
4340 int arg5 ;
4341 int arg6 = (int) 0 ;
4342 int arg7 = (int) 0 ;
4343 bool arg8 = (bool) false ;
4344 void *argp1 = 0 ;
4345 int res1 = 0 ;
4346 int val2 ;
4347 int ecode2 = 0 ;
4348 int val3 ;
4349 int ecode3 = 0 ;
4350 int val4 ;
4351 int ecode4 = 0 ;
4352 int val5 ;
4353 int ecode5 = 0 ;
4354 int val6 ;
4355 int ecode6 = 0 ;
4356 int val7 ;
4357 int ecode7 = 0 ;
4358 bool val8 ;
4359 int ecode8 = 0 ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 PyObject * obj2 = 0 ;
4363 PyObject * obj3 = 0 ;
4364 PyObject * obj4 = 0 ;
4365 PyObject * obj5 = 0 ;
4366 PyObject * obj6 = 0 ;
4367 PyObject * obj7 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 ecode4 = SWIG_AsVal_int(obj3, &val4);
4389 if (!SWIG_IsOK(ecode4)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4391 }
4392 arg4 = static_cast< int >(val4);
4393 ecode5 = SWIG_AsVal_int(obj4, &val5);
4394 if (!SWIG_IsOK(ecode5)) {
4395 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4396 }
4397 arg5 = static_cast< int >(val5);
4398 if (obj5) {
4399 ecode6 = SWIG_AsVal_int(obj5, &val6);
4400 if (!SWIG_IsOK(ecode6)) {
4401 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4402 }
4403 arg6 = static_cast< int >(val6);
4404 }
4405 if (obj6) {
4406 ecode7 = SWIG_AsVal_int(obj6, &val7);
4407 if (!SWIG_IsOK(ecode7)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4409 }
4410 arg7 = static_cast< int >(val7);
4411 }
4412 if (obj7) {
4413 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4414 if (!SWIG_IsOK(ecode8)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4416 }
4417 arg8 = static_cast< bool >(val8);
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_Py_Void();
4426 return resultobj;
4427fail:
4428 return NULL;
4429}
4430
4431
4432SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "x",(char *) "y", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->Scroll(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474fail:
4475 return NULL;
4476}
4477
4478
4479SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int result;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 char * kwnames[] = {
4491 (char *) "self",(char *) "orient", NULL
4492 };
4493
4494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) 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_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
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_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4503 }
4504 arg2 = static_cast< int >(val2);
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 resultobj = SWIG_From_int(static_cast< int >(result));
4512 return resultobj;
4513fail:
4514 return NULL;
4515}
4516
4517
4518SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj = 0;
4520 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4521 int arg2 ;
4522 int arg3 ;
4523 void *argp1 = 0 ;
4524 int res1 = 0 ;
4525 int val2 ;
4526 int ecode2 = 0 ;
4527 int val3 ;
4528 int ecode3 = 0 ;
4529 PyObject * obj0 = 0 ;
4530 PyObject * obj1 = 0 ;
4531 PyObject * obj2 = 0 ;
4532 char * kwnames[] = {
4533 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4534 };
4535
4536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4538 if (!SWIG_IsOK(res1)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4540 }
4541 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4542 ecode2 = SWIG_AsVal_int(obj1, &val2);
4543 if (!SWIG_IsOK(ecode2)) {
4544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4545 }
4546 arg2 = static_cast< int >(val2);
4547 ecode3 = SWIG_AsVal_int(obj2, &val3);
4548 if (!SWIG_IsOK(ecode3)) {
4549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4550 }
4551 arg3 = static_cast< int >(val3);
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 (arg1)->SetScrollPageSize(arg2,arg3);
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 resultobj = SWIG_Py_Void();
4559 return resultobj;
4560fail:
4561 return NULL;
4562}
4563
4564
4565SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj = 0;
4567 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4568 int arg2 ;
4569 int arg3 ;
4570 void *argp1 = 0 ;
4571 int res1 = 0 ;
4572 int val2 ;
4573 int ecode2 = 0 ;
4574 int val3 ;
4575 int ecode3 = 0 ;
4576 PyObject * obj0 = 0 ;
4577 PyObject * obj1 = 0 ;
4578 PyObject * obj2 = 0 ;
4579 char * kwnames[] = {
4580 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4581 };
4582
4583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4585 if (!SWIG_IsOK(res1)) {
4586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4587 }
4588 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4589 ecode2 = SWIG_AsVal_int(obj1, &val2);
4590 if (!SWIG_IsOK(ecode2)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4592 }
4593 arg2 = static_cast< int >(val2);
4594 ecode3 = SWIG_AsVal_int(obj2, &val3);
4595 if (!SWIG_IsOK(ecode3)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4597 }
4598 arg3 = static_cast< int >(val3);
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetScrollRate(arg2,arg3);
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = SWIG_Py_Void();
4606 return resultobj;
4607fail:
4608 return NULL;
4609}
4610
4611
4612SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4613 PyObject *resultobj = 0;
4614 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4615 int *arg2 = (int *) 0 ;
4616 int *arg3 = (int *) 0 ;
4617 void *argp1 = 0 ;
4618 int res1 = 0 ;
4619 int temp2 ;
4620 int res2 = SWIG_TMPOBJ ;
4621 int temp3 ;
4622 int res3 = SWIG_TMPOBJ ;
4623 PyObject *swig_obj[1] ;
4624
4625 arg2 = &temp2;
4626 arg3 = &temp3;
4627 if (!args) SWIG_fail;
4628 swig_obj[0] = args;
4629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4630 if (!SWIG_IsOK(res1)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4632 }
4633 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4634 {
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 resultobj = SWIG_Py_Void();
4641 if (SWIG_IsTmpObj(res2)) {
4642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4643 } else {
4644 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4646 }
4647 if (SWIG_IsTmpObj(res3)) {
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4649 } else {
4650 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4652 }
4653 return resultobj;
4654fail:
4655 return NULL;
4656}
4657
4658
4659SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj = 0;
4661 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4662 bool arg2 ;
4663 bool arg3 ;
4664 void *argp1 = 0 ;
4665 int res1 = 0 ;
4666 bool val2 ;
4667 int ecode2 = 0 ;
4668 bool val3 ;
4669 int ecode3 = 0 ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 PyObject * obj2 = 0 ;
4673 char * kwnames[] = {
4674 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4675 };
4676
4677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4679 if (!SWIG_IsOK(res1)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4681 }
4682 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4683 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4684 if (!SWIG_IsOK(ecode2)) {
4685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4686 }
4687 arg2 = static_cast< bool >(val2);
4688 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4689 if (!SWIG_IsOK(ecode3)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4691 }
4692 arg3 = static_cast< bool >(val3);
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->EnableScrolling(arg2,arg3);
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 resultobj = SWIG_Py_Void();
4700 return resultobj;
4701fail:
4702 return NULL;
4703}
4704
4705
4706SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4707 PyObject *resultobj = 0;
4708 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4709 int *arg2 = (int *) 0 ;
4710 int *arg3 = (int *) 0 ;
4711 void *argp1 = 0 ;
4712 int res1 = 0 ;
4713 int temp2 ;
4714 int res2 = SWIG_TMPOBJ ;
4715 int temp3 ;
4716 int res3 = SWIG_TMPOBJ ;
4717 PyObject *swig_obj[1] ;
4718
4719 arg2 = &temp2;
4720 arg3 = &temp3;
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_Py_Void();
4735 if (SWIG_IsTmpObj(res2)) {
4736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4737 } else {
4738 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4740 }
4741 if (SWIG_IsTmpObj(res3)) {
4742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4743 } else {
4744 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4746 }
4747 return resultobj;
4748fail:
4749 return NULL;
4750}
4751
4752
4753SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj = 0;
4755 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4756 double arg2 ;
4757 double arg3 ;
4758 void *argp1 = 0 ;
4759 int res1 = 0 ;
4760 double val2 ;
4761 int ecode2 = 0 ;
4762 double val3 ;
4763 int ecode3 = 0 ;
4764 PyObject * obj0 = 0 ;
4765 PyObject * obj1 = 0 ;
4766 PyObject * obj2 = 0 ;
4767 char * kwnames[] = {
4768 (char *) "self",(char *) "xs",(char *) "ys", NULL
4769 };
4770
4771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4773 if (!SWIG_IsOK(res1)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4775 }
4776 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4777 ecode2 = SWIG_AsVal_double(obj1, &val2);
4778 if (!SWIG_IsOK(ecode2)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4780 }
4781 arg2 = static_cast< double >(val2);
4782 ecode3 = SWIG_AsVal_double(obj2, &val3);
4783 if (!SWIG_IsOK(ecode3)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4785 }
4786 arg3 = static_cast< double >(val3);
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 (arg1)->SetScale(arg2,arg3);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_Py_Void();
4794 return resultobj;
4795fail:
4796 return NULL;
d55e5bfc
RD
4797}
4798
4799
1bd55598
RD
4800SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4801 PyObject *resultobj = 0;
4802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4803 double result;
4804 void *argp1 = 0 ;
4805 int res1 = 0 ;
4806 PyObject *swig_obj[1] ;
4807
4808 if (!args) SWIG_fail;
4809 swig_obj[0] = args;
4810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4811 if (!SWIG_IsOK(res1)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4813 }
4814 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 resultobj = SWIG_From_double(static_cast< double >(result));
4822 return resultobj;
4823fail:
4824 return NULL;
d55e5bfc
RD
4825}
4826
4827
1bd55598
RD
4828SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4829 PyObject *resultobj = 0;
4830 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4831 double result;
4832 void *argp1 = 0 ;
4833 int res1 = 0 ;
4834 PyObject *swig_obj[1] ;
4835
4836 if (!args) SWIG_fail;
4837 swig_obj[0] = args;
4838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4839 if (!SWIG_IsOK(res1)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 }
4842 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 resultobj = SWIG_From_double(static_cast< double >(result));
4850 return resultobj;
4851fail:
4852 return NULL;
d55e5bfc
RD
4853}
4854
4855
1bd55598
RD
4856SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4857 PyObject *resultobj = 0;
4858 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4859 wxPoint *arg2 = 0 ;
4860 wxPoint result;
4861 void *argp1 = 0 ;
4862 int res1 = 0 ;
4863 wxPoint temp2 ;
4864
4865 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4867 if (!SWIG_IsOK(res1)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4869 }
4870 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4871 {
4872 arg2 = &temp2;
4873 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4882 return resultobj;
4883fail:
4884 return NULL;
4885}
4886
4887
4888SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4889 PyObject *resultobj = 0;
4890 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4891 int arg2 ;
4892 int arg3 ;
4893 int *arg4 = (int *) 0 ;
4894 int *arg5 = (int *) 0 ;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 int val2 ;
4898 int ecode2 = 0 ;
4899 int val3 ;
4900 int ecode3 = 0 ;
4901 int temp4 ;
4902 int res4 = SWIG_TMPOBJ ;
4903 int temp5 ;
4904 int res5 = SWIG_TMPOBJ ;
4905
4906 arg4 = &temp4;
4907 arg5 = &temp5;
4908 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4914 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4915 if (!SWIG_IsOK(ecode2)) {
4916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4917 }
4918 arg2 = static_cast< int >(val2);
4919 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4920 if (!SWIG_IsOK(ecode3)) {
4921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4922 }
4923 arg3 = static_cast< int >(val3);
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 resultobj = SWIG_Py_Void();
4931 if (SWIG_IsTmpObj(res4)) {
4932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4933 } else {
4934 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4936 }
4937 if (SWIG_IsTmpObj(res5)) {
4938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4939 } else {
4940 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4941 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4942 }
4943 return resultobj;
4944fail:
4945 return NULL;
d55e5bfc
RD
4946}
4947
4948
1bd55598
RD
4949SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4950 int argc;
4951 PyObject *argv[4];
4952
4953 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4954 --argc;
4955 if (argc == 2) {
4956 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4957 }
4958 if (argc == 3) {
4959 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4960 }
4961
4962fail:
4963 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4964 return NULL;
d55e5bfc
RD
4965}
4966
4967
1bd55598
RD
4968SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4969 PyObject *resultobj = 0;
4970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4971 wxPoint *arg2 = 0 ;
4972 wxPoint result;
4973 void *argp1 = 0 ;
4974 int res1 = 0 ;
4975 wxPoint temp2 ;
4976
4977 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4979 if (!SWIG_IsOK(res1)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4981 }
4982 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4983 {
4984 arg2 = &temp2;
4985 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4994 return resultobj;
4995fail:
4996 return NULL;
4997}
4998
4999
5000SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
5001 PyObject *resultobj = 0;
5002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5003 int arg2 ;
5004 int arg3 ;
5005 int *arg4 = (int *) 0 ;
5006 int *arg5 = (int *) 0 ;
5007 void *argp1 = 0 ;
5008 int res1 = 0 ;
5009 int val2 ;
5010 int ecode2 = 0 ;
5011 int val3 ;
5012 int ecode3 = 0 ;
5013 int temp4 ;
5014 int res4 = SWIG_TMPOBJ ;
5015 int temp5 ;
5016 int res5 = SWIG_TMPOBJ ;
5017
5018 arg4 = &temp4;
5019 arg5 = &temp5;
5020 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
5021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5022 if (!SWIG_IsOK(res1)) {
5023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5024 }
5025 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5026 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5027 if (!SWIG_IsOK(ecode2)) {
5028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5029 }
5030 arg2 = static_cast< int >(val2);
5031 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5032 if (!SWIG_IsOK(ecode3)) {
5033 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5034 }
5035 arg3 = static_cast< int >(val3);
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = SWIG_Py_Void();
5043 if (SWIG_IsTmpObj(res4)) {
5044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
5045 } else {
5046 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
5048 }
5049 if (SWIG_IsTmpObj(res5)) {
5050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
5051 } else {
5052 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
5054 }
5055 return resultobj;
5056fail:
5057 return NULL;
d55e5bfc
RD
5058}
5059
5060
1bd55598
RD
5061SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
5062 int argc;
5063 PyObject *argv[4];
5064
5065 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
5066 --argc;
5067 if (argc == 2) {
5068 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5069 }
5070 if (argc == 3) {
5071 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5072 }
5073
5074fail:
5075 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5076 return NULL;
d55e5bfc
RD
5077}
5078
5079
1bd55598
RD
5080SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5081 PyObject *resultobj = 0;
5082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5083 void *argp1 = 0 ;
5084 int res1 = 0 ;
5085 PyObject *swig_obj[1] ;
5086
5087 if (!args) SWIG_fail;
5088 swig_obj[0] = args;
5089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5090 if (!SWIG_IsOK(res1)) {
5091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5092 }
5093 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->AdjustScrollbars();
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 resultobj = SWIG_Py_Void();
5101 return resultobj;
5102fail:
5103 return NULL;
5104}
5105
5106
5107SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj = 0;
5109 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5110 wxScrollWinEvent *arg2 = 0 ;
5111 int result;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 void *argp2 = 0 ;
5115 int res2 = 0 ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 char * kwnames[] = {
5119 (char *) "self",(char *) "event", NULL
5120 };
5121
5122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5124 if (!SWIG_IsOK(res1)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5126 }
5127 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5128 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5129 if (!SWIG_IsOK(res2)) {
5130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5131 }
5132 if (!argp2) {
5133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5134 }
5135 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = (int)(arg1)->CalcScrollInc(*arg2);
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = SWIG_From_int(static_cast< int >(result));
5143 return resultobj;
5144fail:
5145 return NULL;
5146}
5147
5148
5149SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj = 0;
5151 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5152 wxWindow *arg2 = (wxWindow *) 0 ;
5153 void *argp1 = 0 ;
5154 int res1 = 0 ;
5155 void *argp2 = 0 ;
5156 int res2 = 0 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 char * kwnames[] = {
5160 (char *) "self",(char *) "target", NULL
5161 };
5162
5163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5165 if (!SWIG_IsOK(res1)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5167 }
5168 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5170 if (!SWIG_IsOK(res2)) {
5171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5172 }
5173 arg2 = reinterpret_cast< wxWindow * >(argp2);
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->SetTargetWindow(arg2);
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 resultobj = SWIG_Py_Void();
5181 return resultobj;
5182fail:
5183 return NULL;
d55e5bfc
RD
5184}
5185
5186
1bd55598
RD
5187SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5188 PyObject *resultobj = 0;
5189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5190 wxWindow *result = 0 ;
5191 void *argp1 = 0 ;
5192 int res1 = 0 ;
5193 PyObject *swig_obj[1] ;
5194
5195 if (!args) SWIG_fail;
5196 swig_obj[0] = args;
5197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5198 if (!SWIG_IsOK(res1)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5200 }
5201 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 resultobj = wxPyMake_wxObject(result, 0);
5210 }
5211 return resultobj;
5212fail:
5213 return NULL;
5214}
5215
5216
5217SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj = 0;
5219 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5220 wxRect *arg2 = 0 ;
5221 void *argp1 = 0 ;
5222 int res1 = 0 ;
5223 wxRect temp2 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char * kwnames[] = {
5227 (char *) "self",(char *) "rect", NULL
5228 };
5229
5230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5234 }
5235 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5236 {
5237 arg2 = &temp2;
5238 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5239 }
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 (arg1)->SetTargetRect((wxRect const &)*arg2);
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 }
5246 resultobj = SWIG_Py_Void();
5247 return resultobj;
5248fail:
5249 return NULL;
d55e5bfc
RD
5250}
5251
5252
1bd55598
RD
5253SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5254 PyObject *resultobj = 0;
5255 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5256 wxRect result;
5257 void *argp1 = 0 ;
5258 int res1 = 0 ;
5259 PyObject *swig_obj[1] ;
5260
5261 if (!args) SWIG_fail;
5262 swig_obj[0] = args;
5263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5264 if (!SWIG_IsOK(res1)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5266 }
5267 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5275 return resultobj;
5276fail:
5277 return NULL;
5278}
5279
5280
5281SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj = 0;
5283 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5284 wxDC *arg2 = 0 ;
5285 void *argp1 = 0 ;
5286 int res1 = 0 ;
5287 void *argp2 = 0 ;
5288 int res2 = 0 ;
5289 PyObject * obj0 = 0 ;
5290 PyObject * obj1 = 0 ;
5291 char * kwnames[] = {
5292 (char *) "self",(char *) "dc", NULL
5293 };
5294
5295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5297 if (!SWIG_IsOK(res1)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5299 }
5300 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5302 if (!SWIG_IsOK(res2)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5304 }
5305 if (!argp2) {
5306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5307 }
5308 arg2 = reinterpret_cast< wxDC * >(argp2);
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 (arg1)->DoPrepareDC(*arg2);
5312 wxPyEndAllowThreads(__tstate);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 resultobj = SWIG_Py_Void();
5316 return resultobj;
5317fail:
5318 return NULL;
5319}
5320
5321
5322SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj = 0;
5324 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5325 SwigValueWrapper<wxVisualAttributes > result;
5326 int val1 ;
5327 int ecode1 = 0 ;
5328 PyObject * obj0 = 0 ;
5329 char * kwnames[] = {
5330 (char *) "variant", NULL
5331 };
5332
5333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5334 if (obj0) {
5335 ecode1 = SWIG_AsVal_int(obj0, &val1);
5336 if (!SWIG_IsOK(ecode1)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5338 }
5339 arg1 = static_cast< wxWindowVariant >(val1);
5340 }
5341 {
5342 if (!wxPyCheckForApp()) SWIG_fail;
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5349 return resultobj;
5350fail:
5351 return NULL;
d55e5bfc
RD
5352}
5353
5354
1bd55598
RD
5355SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5356 PyObject *obj;
5357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5358 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5359 return SWIG_Py_Void();
d55e5bfc
RD
5360}
5361
1bd55598
RD
5362SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5363 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5364}
5365
1bd55598
RD
5366SWIGINTERN int FrameNameStr_set(PyObject *) {
5367 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5368 return 1;
d55e5bfc
RD
5369}
5370
5371
1bd55598
RD
5372SWIGINTERN PyObject *FrameNameStr_get(void) {
5373 PyObject *pyobj = 0;
5374
5375 {
5376#if wxUSE_UNICODE
5377 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5378#else
5379 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5380#endif
5381 }
5382 return pyobj;
d55e5bfc
RD
5383}
5384
5385
1bd55598
RD
5386SWIGINTERN int DialogNameStr_set(PyObject *) {
5387 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5388 return 1;
d55e5bfc
RD
5389}
5390
5391
1bd55598
RD
5392SWIGINTERN PyObject *DialogNameStr_get(void) {
5393 PyObject *pyobj = 0;
5394
5395 {
5396#if wxUSE_UNICODE
5397 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5398#else
5399 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5400#endif
5401 }
5402 return pyobj;
d55e5bfc
RD
5403}
5404
5405
1bd55598
RD
5406SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5407 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5408 return 1;
d55e5bfc
RD
5409}
5410
5411
1bd55598
RD
5412SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5413 PyObject *pyobj = 0;
5414
5415 {
5416#if wxUSE_UNICODE
5417 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5418#else
5419 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5420#endif
5421 }
5422 return pyobj;
d55e5bfc
RD
5423}
5424
5425
1bd55598
RD
5426SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5427 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5428 return 1;
d55e5bfc
RD
5429}
5430
5431
1bd55598
RD
5432SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5433 PyObject *pyobj = 0;
5434
5435 {
5436#if wxUSE_UNICODE
5437 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5438#else
5439 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5440#endif
5441 }
5442 return pyobj;
5443}
5444
5445
5446SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj = 0;
5448 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5449 bool arg2 = (bool) true ;
5450 void *argp1 = 0 ;
5451 int res1 = 0 ;
5452 bool val2 ;
5453 int ecode2 = 0 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char * kwnames[] = {
5457 (char *) "self",(char *) "maximize", NULL
5458 };
5459
5460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5462 if (!SWIG_IsOK(res1)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5464 }
5465 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5466 if (obj1) {
5467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5468 if (!SWIG_IsOK(ecode2)) {
5469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5470 }
5471 arg2 = static_cast< bool >(val2);
5472 }
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->Maximize(arg2);
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_Py_Void();
5480 return resultobj;
5481fail:
5482 return NULL;
d55e5bfc
RD
5483}
5484
5485
1bd55598
RD
5486SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487 PyObject *resultobj = 0;
5488 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5489 void *argp1 = 0 ;
5490 int res1 = 0 ;
5491 PyObject *swig_obj[1] ;
5492
5493 if (!args) SWIG_fail;
5494 swig_obj[0] = args;
5495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5496 if (!SWIG_IsOK(res1)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5498 }
5499 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 (arg1)->Restore();
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 resultobj = SWIG_Py_Void();
5507 return resultobj;
5508fail:
5509 return NULL;
5510}
5511
5512
5513SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj = 0;
5515 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5516 bool arg2 = (bool) true ;
5517 void *argp1 = 0 ;
5518 int res1 = 0 ;
5519 bool val2 ;
5520 int ecode2 = 0 ;
5521 PyObject * obj0 = 0 ;
5522 PyObject * obj1 = 0 ;
5523 char * kwnames[] = {
5524 (char *) "self",(char *) "iconize", NULL
5525 };
5526
5527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5529 if (!SWIG_IsOK(res1)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5531 }
5532 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5533 if (obj1) {
5534 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5535 if (!SWIG_IsOK(ecode2)) {
5536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5537 }
5538 arg2 = static_cast< bool >(val2);
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->Iconize(arg2);
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 resultobj = SWIG_Py_Void();
5547 return resultobj;
5548fail:
5549 return NULL;
d55e5bfc
RD
5550}
5551
5552
1bd55598
RD
5553SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5554 PyObject *resultobj = 0;
5555 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5556 bool result;
5557 void *argp1 = 0 ;
5558 int res1 = 0 ;
5559 PyObject *swig_obj[1] ;
5560
5561 if (!args) SWIG_fail;
5562 swig_obj[0] = args;
5563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5564 if (!SWIG_IsOK(res1)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5566 }
5567 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 {
5575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5576 }
5577 return resultobj;
5578fail:
5579 return NULL;
d55e5bfc
RD
5580}
5581
5582
2131d850
RD
5583SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5584 PyObject *resultobj = 0;
5585 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5586 bool result;
5587 void *argp1 = 0 ;
5588 int res1 = 0 ;
5589 PyObject *swig_obj[1] ;
5590
5591 if (!args) SWIG_fail;
5592 swig_obj[0] = args;
5593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5594 if (!SWIG_IsOK(res1)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5596 }
5597 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 {
5605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5606 }
5607 return resultobj;
5608fail:
5609 return NULL;
5610}
5611
5612
1bd55598
RD
5613SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5614 PyObject *resultobj = 0;
5615 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5616 bool result;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 PyObject *swig_obj[1] ;
5620
5621 if (!args) SWIG_fail;
5622 swig_obj[0] = args;
5623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5636 }
5637 return resultobj;
5638fail:
5639 return NULL;
f5b96ee1
RD
5640}
5641
5642
1bd55598
RD
5643SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5644 PyObject *resultobj = 0;
5645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5646 wxIcon result;
5647 void *argp1 = 0 ;
5648 int res1 = 0 ;
5649 PyObject *swig_obj[1] ;
5650
5651 if (!args) SWIG_fail;
5652 swig_obj[0] = args;
5653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5654 if (!SWIG_IsOK(res1)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5656 }
5657 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5665 return resultobj;
5666fail:
5667 return NULL;
5668}
5669
5670
5671SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj = 0;
5673 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5674 wxIcon *arg2 = 0 ;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 void *argp2 = 0 ;
5678 int res2 = 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "icon", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 }
5690 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5692 if (!SWIG_IsOK(res2)) {
5693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5694 }
5695 if (!argp2) {
5696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5697 }
5698 arg2 = reinterpret_cast< wxIcon * >(argp2);
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 (arg1)->SetIcon((wxIcon const &)*arg2);
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 resultobj = SWIG_Py_Void();
5706 return resultobj;
5707fail:
5708 return NULL;
5709}
5710
5711
5712SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj = 0;
5714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5715 wxIconBundle *arg2 = 0 ;
5716 void *argp1 = 0 ;
5717 int res1 = 0 ;
5718 void *argp2 = 0 ;
5719 int res2 = 0 ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char * kwnames[] = {
5723 (char *) "self",(char *) "icons", NULL
5724 };
5725
5726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5728 if (!SWIG_IsOK(res1)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5730 }
5731 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5732 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5733 if (!SWIG_IsOK(res2)) {
5734 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5735 }
5736 if (!argp2) {
5737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5738 }
5739 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 resultobj = SWIG_Py_Void();
5747 return resultobj;
5748fail:
5749 return NULL;
5750}
5751
5752
5753SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj = 0;
5755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5756 bool arg2 ;
5757 long arg3 = (long) wxFULLSCREEN_ALL ;
5758 bool result;
5759 void *argp1 = 0 ;
5760 int res1 = 0 ;
5761 bool val2 ;
5762 int ecode2 = 0 ;
5763 long val3 ;
5764 int ecode3 = 0 ;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 PyObject * obj2 = 0 ;
5768 char * kwnames[] = {
5769 (char *) "self",(char *) "show",(char *) "style", NULL
5770 };
5771
5772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5774 if (!SWIG_IsOK(res1)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5776 }
5777 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5778 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5779 if (!SWIG_IsOK(ecode2)) {
5780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5781 }
5782 arg2 = static_cast< bool >(val2);
5783 if (obj2) {
5784 ecode3 = SWIG_AsVal_long(obj2, &val3);
5785 if (!SWIG_IsOK(ecode3)) {
5786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5787 }
5788 arg3 = static_cast< long >(val3);
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5798 }
5799 return resultobj;
5800fail:
5801 return NULL;
f20a2e1f
RD
5802}
5803
5804
1bd55598
RD
5805SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5806 PyObject *resultobj = 0;
5807 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5808 bool result;
5809 void *argp1 = 0 ;
5810 int res1 = 0 ;
5811 PyObject *swig_obj[1] ;
5812
5813 if (!args) SWIG_fail;
5814 swig_obj[0] = args;
5815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5816 if (!SWIG_IsOK(res1)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5818 }
5819 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 {
5827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5828 }
5829 return resultobj;
5830fail:
5831 return NULL;
5832}
5833
5834
5835SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj = 0;
5837 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5838 wxString *arg2 = 0 ;
5839 void *argp1 = 0 ;
5840 int res1 = 0 ;
5841 bool temp2 = false ;
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 char * kwnames[] = {
5845 (char *) "self",(char *) "title", NULL
5846 };
5847
5848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5850 if (!SWIG_IsOK(res1)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5852 }
5853 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5854 {
5855 arg2 = wxString_in_helper(obj1);
5856 if (arg2 == NULL) SWIG_fail;
5857 temp2 = true;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->SetTitle((wxString const &)*arg2);
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 resultobj = SWIG_Py_Void();
5866 {
5867 if (temp2)
5868 delete arg2;
5869 }
5870 return resultobj;
5871fail:
5872 {
5873 if (temp2)
5874 delete arg2;
5875 }
5876 return NULL;
d55e5bfc
RD
5877}
5878
5879
1bd55598
RD
5880SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5881 PyObject *resultobj = 0;
5882 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5883 wxString result;
5884 void *argp1 = 0 ;
5885 int res1 = 0 ;
5886 PyObject *swig_obj[1] ;
5887
5888 if (!args) SWIG_fail;
5889 swig_obj[0] = args;
5890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5891 if (!SWIG_IsOK(res1)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5893 }
5894 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 {
d55e5bfc 5902#if wxUSE_UNICODE
1bd55598 5903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5904#else
1bd55598 5905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5906#endif
1bd55598
RD
5907 }
5908 return resultobj;
5909fail:
5910 return NULL;
5911}
5912
5913
70d7cb34
RD
5914SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj = 0;
5916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5917 bool arg2 ;
5918 bool result;
5919 void *argp1 = 0 ;
5920 int res1 = 0 ;
5921 bool val2 ;
5922 int ecode2 = 0 ;
5923 PyObject * obj0 = 0 ;
5924 PyObject * obj1 = 0 ;
5925 char * kwnames[] = {
5926 (char *) "self",(char *) "enable", NULL
5927 };
5928
5929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5931 if (!SWIG_IsOK(res1)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5933 }
5934 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5935 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5936 if (!SWIG_IsOK(ecode2)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5938 }
5939 arg2 = static_cast< bool >(val2);
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (bool)(arg1)->EnableCloseButton(arg2);
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 {
5947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5948 }
5949 return resultobj;
5950fail:
5951 return NULL;
5952}
5953
5954
1bd55598
RD
5955SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj = 0;
5957 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5958 wxRegion *arg2 = 0 ;
5959 bool result;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 void *argp2 = 0 ;
5963 int res2 = 0 ;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 char * kwnames[] = {
5967 (char *) "self",(char *) "region", NULL
5968 };
5969
5970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5977 if (!SWIG_IsOK(res2)) {
5978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5979 }
5980 if (!argp2) {
5981 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5982 }
5983 arg2 = reinterpret_cast< wxRegion * >(argp2);
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 {
5991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5992 }
5993 return resultobj;
5994fail:
5995 return NULL;
5996}
5997
5998
5999SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj = 0;
6001 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6002 int arg2 = (int) wxUSER_ATTENTION_INFO ;
6003 void *argp1 = 0 ;
6004 int res1 = 0 ;
6005 int val2 ;
6006 int ecode2 = 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 char * kwnames[] = {
6010 (char *) "self",(char *) "flags", NULL
6011 };
6012
6013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
6014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6015 if (!SWIG_IsOK(res1)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6017 }
6018 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6019 if (obj1) {
6020 ecode2 = SWIG_AsVal_int(obj1, &val2);
6021 if (!SWIG_IsOK(ecode2)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
6023 }
6024 arg2 = static_cast< int >(val2);
6025 }
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 (arg1)->RequestUserAttention(arg2);
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 resultobj = SWIG_Py_Void();
6033 return resultobj;
6034fail:
6035 return NULL;
d55e5bfc
RD
6036}
6037
6038
1bd55598
RD
6039SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6040 PyObject *resultobj = 0;
6041 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6042 bool result;
6043 void *argp1 = 0 ;
6044 int res1 = 0 ;
6045 PyObject *swig_obj[1] ;
6046
6047 if (!args) SWIG_fail;
6048 swig_obj[0] = args;
6049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6050 if (!SWIG_IsOK(res1)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6052 }
6053 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (bool)(arg1)->IsActive();
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 {
6061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6062 }
6063 return resultobj;
6064fail:
6065 return NULL;
6066}
6067
6068
6069SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj = 0;
6071 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6072 bool arg2 ;
6073 void *argp1 = 0 ;
6074 int res1 = 0 ;
6075 bool val2 ;
6076 int ecode2 = 0 ;
6077 PyObject * obj0 = 0 ;
6078 PyObject * obj1 = 0 ;
6079 char * kwnames[] = {
6080 (char *) "self",(char *) "on", NULL
6081 };
6082
6083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6085 if (!SWIG_IsOK(res1)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6087 }
6088 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6090 if (!SWIG_IsOK(ecode2)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6092 }
6093 arg2 = static_cast< bool >(val2);
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = SWIG_Py_Void();
6101 return resultobj;
6102fail:
6103 return NULL;
d55e5bfc
RD
6104}
6105
6106
1bd55598
RD
6107SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6108 PyObject *resultobj = 0;
6109 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6110 bool result;
6111 void *argp1 = 0 ;
6112 int res1 = 0 ;
6113 PyObject *swig_obj[1] ;
6114
6115 if (!args) SWIG_fail;
6116 swig_obj[0] = args;
6117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6118 if (!SWIG_IsOK(res1)) {
6119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6120 }
6121 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
6129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6130 }
6131 return resultobj;
6132fail:
6133 return NULL;
6134}
6135
6136
6137SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj = 0;
6139 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6140 int arg2 = (int) wxBOTH ;
6141 void *argp1 = 0 ;
6142 int res1 = 0 ;
6143 int val2 ;
6144 int ecode2 = 0 ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 char * kwnames[] = {
6148 (char *) "self",(char *) "dir", NULL
6149 };
6150
6151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6153 if (!SWIG_IsOK(res1)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6155 }
6156 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6157 if (obj1) {
6158 ecode2 = SWIG_AsVal_int(obj1, &val2);
6159 if (!SWIG_IsOK(ecode2)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6161 }
6162 arg2 = static_cast< int >(val2);
6163 }
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->CenterOnScreen(arg2);
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_Py_Void();
6171 return resultobj;
6172fail:
6173 return NULL;
6174}
6175
6176
1eeb270e
RD
6177SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6178 PyObject *resultobj = 0;
6179 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6180 wxWindow *result = 0 ;
6181 void *argp1 = 0 ;
6182 int res1 = 0 ;
6183 PyObject *swig_obj[1] ;
6184
6185 if (!args) SWIG_fail;
6186 swig_obj[0] = args;
6187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6188 if (!SWIG_IsOK(res1)) {
6189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6190 }
6191 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 {
6199 resultobj = wxPyMake_wxObject(result, 0);
6200 }
6201 return resultobj;
6202fail:
6203 return NULL;
6204}
6205
6206
6207SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj = 0;
6209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6210 wxWindow *arg2 = (wxWindow *) 0 ;
6211 wxWindow *result = 0 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 void *argp2 = 0 ;
6215 int res2 = 0 ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char * kwnames[] = {
6219 (char *) "self",(char *) "child", NULL
6220 };
6221
6222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6224 if (!SWIG_IsOK(res1)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6226 }
6227 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6228 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6229 if (!SWIG_IsOK(res2)) {
6230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6231 }
6232 arg2 = reinterpret_cast< wxWindow * >(argp2);
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 resultobj = wxPyMake_wxObject(result, 0);
6241 }
6242 return resultobj;
6243fail:
6244 return NULL;
6245}
6246
6247
6248SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj = 0;
6250 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6251 wxWindow *arg2 = (wxWindow *) 0 ;
6252 void *argp1 = 0 ;
6253 int res1 = 0 ;
6254 void *argp2 = 0 ;
6255 int res2 = 0 ;
6256 PyObject * obj0 = 0 ;
6257 PyObject * obj1 = 0 ;
6258 char * kwnames[] = {
6259 (char *) "self",(char *) "win", NULL
6260 };
6261
6262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6264 if (!SWIG_IsOK(res1)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6266 }
6267 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6269 if (!SWIG_IsOK(res2)) {
6270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6271 }
6272 arg2 = reinterpret_cast< wxWindow * >(argp2);
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->SetTmpDefaultItem(arg2);
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 resultobj = SWIG_Py_Void();
6280 return resultobj;
6281fail:
6282 return NULL;
6283}
6284
6285
6286SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6287 PyObject *resultobj = 0;
6288 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6289 wxWindow *result = 0 ;
6290 void *argp1 = 0 ;
6291 int res1 = 0 ;
6292 PyObject *swig_obj[1] ;
6293
6294 if (!args) SWIG_fail;
6295 swig_obj[0] = args;
6296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6297 if (!SWIG_IsOK(res1)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6299 }
6300 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 {
6308 resultobj = wxPyMake_wxObject(result, 0);
6309 }
6310 return resultobj;
6311fail:
6312 return NULL;
6313}
6314
6315
1bd55598
RD
6316SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6317 PyObject *obj;
6318 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6319 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6320 return SWIG_Py_Void();
6321}
6322
6323SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj = 0;
6325 wxWindow *arg1 = (wxWindow *) 0 ;
6326 int arg2 = (int) (int)-1 ;
6327 wxString const &arg3_defvalue = wxPyEmptyString ;
6328 wxString *arg3 = (wxString *) &arg3_defvalue ;
6329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6331 wxSize const &arg5_defvalue = wxDefaultSize ;
6332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6333 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6334 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6335 wxString *arg7 = (wxString *) &arg7_defvalue ;
6336 wxFrame *result = 0 ;
6337 void *argp1 = 0 ;
6338 int res1 = 0 ;
6339 int val2 ;
6340 int ecode2 = 0 ;
6341 bool temp3 = false ;
6342 wxPoint temp4 ;
6343 wxSize temp5 ;
6344 long val6 ;
6345 int ecode6 = 0 ;
6346 bool temp7 = false ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 PyObject * obj2 = 0 ;
6350 PyObject * obj3 = 0 ;
6351 PyObject * obj4 = 0 ;
6352 PyObject * obj5 = 0 ;
6353 PyObject * obj6 = 0 ;
6354 char * kwnames[] = {
6355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6356 };
6357
6358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6360 if (!SWIG_IsOK(res1)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6362 }
6363 arg1 = reinterpret_cast< wxWindow * >(argp1);
6364 if (obj1) {
6365 ecode2 = SWIG_AsVal_int(obj1, &val2);
6366 if (!SWIG_IsOK(ecode2)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6368 }
6369 arg2 = static_cast< int >(val2);
6370 }
6371 if (obj2) {
d55e5bfc 6372 {
1bd55598
RD
6373 arg3 = wxString_in_helper(obj2);
6374 if (arg3 == NULL) SWIG_fail;
6375 temp3 = true;
d55e5bfc 6376 }
1bd55598
RD
6377 }
6378 if (obj3) {
d55e5bfc 6379 {
1bd55598
RD
6380 arg4 = &temp4;
6381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6382 }
1bd55598
RD
6383 }
6384 if (obj4) {
d55e5bfc 6385 {
1bd55598
RD
6386 arg5 = &temp5;
6387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6388 }
1bd55598
RD
6389 }
6390 if (obj5) {
6391 ecode6 = SWIG_AsVal_long(obj5, &val6);
6392 if (!SWIG_IsOK(ecode6)) {
6393 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6394 }
6395 arg6 = static_cast< long >(val6);
6396 }
6397 if (obj6) {
d55e5bfc 6398 {
1bd55598
RD
6399 arg7 = wxString_in_helper(obj6);
6400 if (arg7 == NULL) SWIG_fail;
6401 temp7 = true;
6402 }
6403 }
6404 {
6405 if (!wxPyCheckForApp()) SWIG_fail;
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6412 {
6413 if (temp3)
6414 delete arg3;
6415 }
6416 {
6417 if (temp7)
6418 delete arg7;
6419 }
6420 return resultobj;
6421fail:
6422 {
6423 if (temp3)
6424 delete arg3;
6425 }
6426 {
6427 if (temp7)
6428 delete arg7;
6429 }
6430 return NULL;
d55e5bfc
RD
6431}
6432
6433
1bd55598
RD
6434SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6435 PyObject *resultobj = 0;
6436 wxFrame *result = 0 ;
6437
6438 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6439 {
6440 if (!wxPyCheckForApp()) SWIG_fail;
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (wxFrame *)new wxFrame();
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6447 return resultobj;
6448fail:
6449 return NULL;
6450}
6451
6452
6453SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj = 0;
6455 wxFrame *arg1 = (wxFrame *) 0 ;
6456 wxWindow *arg2 = (wxWindow *) 0 ;
6457 int arg3 = (int) (int)-1 ;
6458 wxString const &arg4_defvalue = wxPyEmptyString ;
6459 wxString *arg4 = (wxString *) &arg4_defvalue ;
6460 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6461 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6462 wxSize const &arg6_defvalue = wxDefaultSize ;
6463 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6464 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6465 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6466 wxString *arg8 = (wxString *) &arg8_defvalue ;
6467 bool result;
6468 void *argp1 = 0 ;
6469 int res1 = 0 ;
6470 void *argp2 = 0 ;
6471 int res2 = 0 ;
6472 int val3 ;
6473 int ecode3 = 0 ;
6474 bool temp4 = false ;
6475 wxPoint temp5 ;
6476 wxSize temp6 ;
6477 long val7 ;
6478 int ecode7 = 0 ;
6479 bool temp8 = false ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 PyObject * obj2 = 0 ;
6483 PyObject * obj3 = 0 ;
6484 PyObject * obj4 = 0 ;
6485 PyObject * obj5 = 0 ;
6486 PyObject * obj6 = 0 ;
6487 PyObject * obj7 = 0 ;
6488 char * kwnames[] = {
6489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6490 };
6491
6492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6494 if (!SWIG_IsOK(res1)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6496 }
6497 arg1 = reinterpret_cast< wxFrame * >(argp1);
6498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6499 if (!SWIG_IsOK(res2)) {
6500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6501 }
6502 arg2 = reinterpret_cast< wxWindow * >(argp2);
6503 if (obj2) {
6504 ecode3 = SWIG_AsVal_int(obj2, &val3);
6505 if (!SWIG_IsOK(ecode3)) {
6506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6507 }
6508 arg3 = static_cast< int >(val3);
6509 }
6510 if (obj3) {
d55e5bfc 6511 {
1bd55598
RD
6512 arg4 = wxString_in_helper(obj3);
6513 if (arg4 == NULL) SWIG_fail;
6514 temp4 = true;
d55e5bfc 6515 }
1bd55598
RD
6516 }
6517 if (obj4) {
d55e5bfc 6518 {
1bd55598
RD
6519 arg5 = &temp5;
6520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6521 }
6522 }
6523 if (obj5) {
d55e5bfc 6524 {
1bd55598
RD
6525 arg6 = &temp6;
6526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6527 }
1bd55598
RD
6528 }
6529 if (obj6) {
6530 ecode7 = SWIG_AsVal_long(obj6, &val7);
6531 if (!SWIG_IsOK(ecode7)) {
6532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6533 }
6534 arg7 = static_cast< long >(val7);
6535 }
6536 if (obj7) {
d55e5bfc 6537 {
1bd55598
RD
6538 arg8 = wxString_in_helper(obj7);
6539 if (arg8 == NULL) SWIG_fail;
6540 temp8 = true;
d55e5bfc 6541 }
1bd55598
RD
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 {
6550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6551 }
6552 {
6553 if (temp4)
6554 delete arg4;
6555 }
6556 {
6557 if (temp8)
6558 delete arg8;
6559 }
6560 return resultobj;
6561fail:
6562 {
6563 if (temp4)
6564 delete arg4;
6565 }
6566 {
6567 if (temp8)
6568 delete arg8;
6569 }
6570 return NULL;
d55e5bfc
RD
6571}
6572
6573
1bd55598
RD
6574SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *resultobj = 0;
6576 wxFrame *arg1 = (wxFrame *) 0 ;
6577 void *argp1 = 0 ;
6578 int res1 = 0 ;
6579 PyObject *swig_obj[1] ;
6580
6581 if (!args) SWIG_fail;
6582 swig_obj[0] = args;
6583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6584 if (!SWIG_IsOK(res1)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6586 }
6587 arg1 = reinterpret_cast< wxFrame * >(argp1);
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 (arg1)->SendSizeEvent();
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 resultobj = SWIG_Py_Void();
6595 return resultobj;
6596fail:
6597 return NULL;
6598}
6599
6600
6601SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj = 0;
6603 wxFrame *arg1 = (wxFrame *) 0 ;
6604 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6605 void *argp1 = 0 ;
6606 int res1 = 0 ;
6607 void *argp2 = 0 ;
6608 int res2 = 0 ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 char * kwnames[] = {
6612 (char *) "self",(char *) "menubar", NULL
6613 };
6614
6615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6617 if (!SWIG_IsOK(res1)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6619 }
6620 arg1 = reinterpret_cast< wxFrame * >(argp1);
6621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6622 if (!SWIG_IsOK(res2)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6624 }
6625 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 (arg1)->SetMenuBar(arg2);
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 resultobj = SWIG_Py_Void();
6633 return resultobj;
6634fail:
6635 return NULL;
d55e5bfc
RD
6636}
6637
6638
1bd55598
RD
6639SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6640 PyObject *resultobj = 0;
6641 wxFrame *arg1 = (wxFrame *) 0 ;
6642 wxMenuBar *result = 0 ;
6643 void *argp1 = 0 ;
6644 int res1 = 0 ;
6645 PyObject *swig_obj[1] ;
6646
6647 if (!args) SWIG_fail;
6648 swig_obj[0] = args;
6649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6650 if (!SWIG_IsOK(res1)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6652 }
6653 arg1 = reinterpret_cast< wxFrame * >(argp1);
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661 resultobj = wxPyMake_wxObject(result, 0);
6662 }
6663 return resultobj;
6664fail:
6665 return NULL;
6666}
6667
6668
6669SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj = 0;
6671 wxFrame *arg1 = (wxFrame *) 0 ;
6672 int arg2 ;
6673 bool result;
6674 void *argp1 = 0 ;
6675 int res1 = 0 ;
6676 int val2 ;
6677 int ecode2 = 0 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 char * kwnames[] = {
6681 (char *) "self",(char *) "winid", NULL
6682 };
6683
6684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6688 }
6689 arg1 = reinterpret_cast< wxFrame * >(argp1);
6690 ecode2 = SWIG_AsVal_int(obj1, &val2);
6691 if (!SWIG_IsOK(ecode2)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6693 }
6694 arg2 = static_cast< int >(val2);
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = (bool)(arg1)->ProcessCommand(arg2);
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6703 }
6704 return resultobj;
6705fail:
6706 return NULL;
6707}
6708
6709
6710SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj = 0;
6712 wxFrame *arg1 = (wxFrame *) 0 ;
6713 int arg2 = (int) 1 ;
6714 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6715 int arg4 = (int) 0 ;
6716 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6717 wxString *arg5 = (wxString *) &arg5_defvalue ;
6718 wxStatusBar *result = 0 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 int val2 ;
6722 int ecode2 = 0 ;
6723 long val3 ;
6724 int ecode3 = 0 ;
6725 int val4 ;
6726 int ecode4 = 0 ;
6727 bool temp5 = false ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 PyObject * obj2 = 0 ;
6731 PyObject * obj3 = 0 ;
6732 PyObject * obj4 = 0 ;
6733 char * kwnames[] = {
6734 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6735 };
6736
6737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6739 if (!SWIG_IsOK(res1)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 }
6742 arg1 = reinterpret_cast< wxFrame * >(argp1);
6743 if (obj1) {
6744 ecode2 = SWIG_AsVal_int(obj1, &val2);
6745 if (!SWIG_IsOK(ecode2)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6747 }
6748 arg2 = static_cast< int >(val2);
6749 }
6750 if (obj2) {
6751 ecode3 = SWIG_AsVal_long(obj2, &val3);
6752 if (!SWIG_IsOK(ecode3)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6754 }
6755 arg3 = static_cast< long >(val3);
6756 }
6757 if (obj3) {
6758 ecode4 = SWIG_AsVal_int(obj3, &val4);
6759 if (!SWIG_IsOK(ecode4)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6761 }
6762 arg4 = static_cast< int >(val4);
6763 }
6764 if (obj4) {
d55e5bfc 6765 {
1bd55598
RD
6766 arg5 = wxString_in_helper(obj4);
6767 if (arg5 == NULL) SWIG_fail;
6768 temp5 = true;
d55e5bfc 6769 }
1bd55598
RD
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 {
6778 resultobj = wxPyMake_wxObject(result, (bool)0);
6779 }
6780 {
6781 if (temp5)
6782 delete arg5;
6783 }
6784 return resultobj;
6785fail:
6786 {
6787 if (temp5)
6788 delete arg5;
6789 }
6790 return NULL;
d55e5bfc
RD
6791}
6792
6793
1bd55598
RD
6794SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6795 PyObject *resultobj = 0;
6796 wxFrame *arg1 = (wxFrame *) 0 ;
6797 wxStatusBar *result = 0 ;
6798 void *argp1 = 0 ;
6799 int res1 = 0 ;
6800 PyObject *swig_obj[1] ;
6801
6802 if (!args) SWIG_fail;
6803 swig_obj[0] = args;
6804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6807 }
6808 arg1 = reinterpret_cast< wxFrame * >(argp1);
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 resultobj = wxPyMake_wxObject(result, (bool)0);
6817 }
6818 return resultobj;
6819fail:
6820 return NULL;
6821}
6822
6823
6824SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6825 PyObject *resultobj = 0;
6826 wxFrame *arg1 = (wxFrame *) 0 ;
6827 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6828 void *argp1 = 0 ;
6829 int res1 = 0 ;
6830 void *argp2 = 0 ;
6831 int res2 = 0 ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 char * kwnames[] = {
6835 (char *) "self",(char *) "statBar", NULL
6836 };
6837
6838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6840 if (!SWIG_IsOK(res1)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6842 }
6843 arg1 = reinterpret_cast< wxFrame * >(argp1);
6844 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6845 if (!SWIG_IsOK(res2)) {
6846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6847 }
6848 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 (arg1)->SetStatusBar(arg2);
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = SWIG_Py_Void();
6856 return resultobj;
6857fail:
6858 return NULL;
6859}
6860
6861
6862SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj = 0;
6864 wxFrame *arg1 = (wxFrame *) 0 ;
6865 wxString *arg2 = 0 ;
6866 int arg3 = (int) 0 ;
6867 void *argp1 = 0 ;
6868 int res1 = 0 ;
6869 bool temp2 = false ;
6870 int val3 ;
6871 int ecode3 = 0 ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 PyObject * obj2 = 0 ;
6875 char * kwnames[] = {
6876 (char *) "self",(char *) "text",(char *) "number", NULL
6877 };
6878
6879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6881 if (!SWIG_IsOK(res1)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6883 }
6884 arg1 = reinterpret_cast< wxFrame * >(argp1);
6885 {
6886 arg2 = wxString_in_helper(obj1);
6887 if (arg2 == NULL) SWIG_fail;
6888 temp2 = true;
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_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6894 }
6895 arg3 = static_cast< int >(val3);
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = SWIG_Py_Void();
6904 {
6905 if (temp2)
6906 delete arg2;
6907 }
6908 return resultobj;
6909fail:
6910 {
6911 if (temp2)
6912 delete arg2;
6913 }
6914 return NULL;
d55e5bfc
RD
6915}
6916
6917
1bd55598
RD
6918SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj = 0;
6920 wxFrame *arg1 = (wxFrame *) 0 ;
6921 int arg2 ;
6922 int *arg3 = (int *) 0 ;
6923 void *argp1 = 0 ;
6924 int res1 = 0 ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 char * kwnames[] = {
6928 (char *) "self",(char *) "widths", NULL
6929 };
6930
6931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6933 if (!SWIG_IsOK(res1)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6935 }
6936 arg1 = reinterpret_cast< wxFrame * >(argp1);
6937 {
6938 arg2 = PyList_Size(obj1);
6939 arg3 = int_LIST_helper(obj1);
6940 if (arg3 == NULL) SWIG_fail;
6941 }
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 resultobj = SWIG_Py_Void();
6949 {
6950 if (arg3) delete [] arg3;
6951 }
6952 return resultobj;
6953fail:
6954 {
6955 if (arg3) delete [] arg3;
6956 }
6957 return NULL;
6958}
6959
6960
6961SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj = 0;
6963 wxFrame *arg1 = (wxFrame *) 0 ;
6964 wxString *arg2 = 0 ;
6965 int arg3 = (int) 0 ;
6966 void *argp1 = 0 ;
6967 int res1 = 0 ;
6968 bool temp2 = false ;
6969 int val3 ;
6970 int ecode3 = 0 ;
6971 PyObject * obj0 = 0 ;
6972 PyObject * obj1 = 0 ;
6973 PyObject * obj2 = 0 ;
6974 char * kwnames[] = {
6975 (char *) "self",(char *) "text",(char *) "number", NULL
6976 };
6977
6978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6980 if (!SWIG_IsOK(res1)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6982 }
6983 arg1 = reinterpret_cast< wxFrame * >(argp1);
6984 {
6985 arg2 = wxString_in_helper(obj1);
6986 if (arg2 == NULL) SWIG_fail;
6987 temp2 = true;
6988 }
6989 if (obj2) {
6990 ecode3 = SWIG_AsVal_int(obj2, &val3);
6991 if (!SWIG_IsOK(ecode3)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6993 }
6994 arg3 = static_cast< int >(val3);
6995 }
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_Py_Void();
7003 {
7004 if (temp2)
7005 delete arg2;
7006 }
7007 return resultobj;
7008fail:
7009 {
7010 if (temp2)
7011 delete arg2;
7012 }
7013 return NULL;
7014}
7015
7016
7017SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxFrame *arg1 = (wxFrame *) 0 ;
7020 int arg2 = (int) 0 ;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 int val2 ;
7024 int ecode2 = 0 ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char * kwnames[] = {
7028 (char *) "self",(char *) "number", NULL
7029 };
7030
7031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7035 }
7036 arg1 = reinterpret_cast< wxFrame * >(argp1);
7037 if (obj1) {
7038 ecode2 = SWIG_AsVal_int(obj1, &val2);
7039 if (!SWIG_IsOK(ecode2)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7041 }
7042 arg2 = static_cast< int >(val2);
7043 }
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->PopStatusText(arg2);
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 resultobj = SWIG_Py_Void();
7051 return resultobj;
7052fail:
7053 return NULL;
7054}
7055
7056
7057SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj = 0;
7059 wxFrame *arg1 = (wxFrame *) 0 ;
7060 int arg2 ;
7061 void *argp1 = 0 ;
7062 int res1 = 0 ;
7063 int val2 ;
7064 int ecode2 = 0 ;
7065 PyObject * obj0 = 0 ;
7066 PyObject * obj1 = 0 ;
7067 char * kwnames[] = {
7068 (char *) "self",(char *) "n", NULL
7069 };
7070
7071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7073 if (!SWIG_IsOK(res1)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7075 }
7076 arg1 = reinterpret_cast< wxFrame * >(argp1);
7077 ecode2 = SWIG_AsVal_int(obj1, &val2);
7078 if (!SWIG_IsOK(ecode2)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7080 }
7081 arg2 = static_cast< int >(val2);
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 (arg1)->SetStatusBarPane(arg2);
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 resultobj = SWIG_Py_Void();
7089 return resultobj;
7090fail:
7091 return NULL;
d55e5bfc
RD
7092}
7093
7094
1bd55598
RD
7095SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7096 PyObject *resultobj = 0;
7097 wxFrame *arg1 = (wxFrame *) 0 ;
7098 int result;
7099 void *argp1 = 0 ;
7100 int res1 = 0 ;
7101 PyObject *swig_obj[1] ;
7102
7103 if (!args) SWIG_fail;
7104 swig_obj[0] = args;
7105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7106 if (!SWIG_IsOK(res1)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7108 }
7109 arg1 = reinterpret_cast< wxFrame * >(argp1);
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 resultobj = SWIG_From_int(static_cast< int >(result));
7117 return resultobj;
7118fail:
7119 return NULL;
7120}
7121
7122
7123SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj = 0;
7125 wxFrame *arg1 = (wxFrame *) 0 ;
7126 long arg2 = (long) -1 ;
7127 int arg3 = (int) -1 ;
7128 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7129 wxString *arg4 = (wxString *) &arg4_defvalue ;
7130 wxToolBar *result = 0 ;
7131 void *argp1 = 0 ;
7132 int res1 = 0 ;
7133 long val2 ;
7134 int ecode2 = 0 ;
7135 int val3 ;
7136 int ecode3 = 0 ;
7137 bool temp4 = false ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 PyObject * obj2 = 0 ;
7141 PyObject * obj3 = 0 ;
7142 char * kwnames[] = {
7143 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7144 };
7145
7146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7148 if (!SWIG_IsOK(res1)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7150 }
7151 arg1 = reinterpret_cast< wxFrame * >(argp1);
7152 if (obj1) {
7153 ecode2 = SWIG_AsVal_long(obj1, &val2);
7154 if (!SWIG_IsOK(ecode2)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7156 }
7157 arg2 = static_cast< long >(val2);
7158 }
7159 if (obj2) {
7160 ecode3 = SWIG_AsVal_int(obj2, &val3);
7161 if (!SWIG_IsOK(ecode3)) {
7162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7163 }
7164 arg3 = static_cast< int >(val3);
7165 }
7166 if (obj3) {
d55e5bfc 7167 {
1bd55598
RD
7168 arg4 = wxString_in_helper(obj3);
7169 if (arg4 == NULL) SWIG_fail;
7170 temp4 = true;
d55e5bfc 7171 }
1bd55598
RD
7172 }
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 {
7180 resultobj = wxPyMake_wxObject(result, (bool)0);
7181 }
7182 {
7183 if (temp4)
7184 delete arg4;
7185 }
7186 return resultobj;
7187fail:
7188 {
7189 if (temp4)
7190 delete arg4;
7191 }
7192 return NULL;
d55e5bfc
RD
7193}
7194
7195
1bd55598
RD
7196SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxFrame *arg1 = (wxFrame *) 0 ;
7199 wxToolBar *result = 0 ;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 PyObject *swig_obj[1] ;
7203
7204 if (!args) SWIG_fail;
7205 swig_obj[0] = args;
7206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7207 if (!SWIG_IsOK(res1)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7209 }
7210 arg1 = reinterpret_cast< wxFrame * >(argp1);
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 {
7218 resultobj = wxPyMake_wxObject(result, (bool)0);
7219 }
7220 return resultobj;
7221fail:
7222 return NULL;
7223}
7224
7225
7226SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj = 0;
7228 wxFrame *arg1 = (wxFrame *) 0 ;
7229 wxToolBar *arg2 = (wxToolBar *) 0 ;
7230 void *argp1 = 0 ;
7231 int res1 = 0 ;
7232 void *argp2 = 0 ;
7233 int res2 = 0 ;
7234 PyObject * obj0 = 0 ;
7235 PyObject * obj1 = 0 ;
7236 char * kwnames[] = {
7237 (char *) "self",(char *) "toolbar", NULL
7238 };
7239
7240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7242 if (!SWIG_IsOK(res1)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7244 }
7245 arg1 = reinterpret_cast< wxFrame * >(argp1);
7246 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7247 if (!SWIG_IsOK(res2)) {
7248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7249 }
7250 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 (arg1)->SetToolBar(arg2);
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 resultobj = SWIG_Py_Void();
7258 return resultobj;
7259fail:
7260 return NULL;
7261}
7262
7263
7264SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj = 0;
7266 wxFrame *arg1 = (wxFrame *) 0 ;
7267 wxString *arg2 = 0 ;
7268 bool arg3 ;
7269 void *argp1 = 0 ;
7270 int res1 = 0 ;
7271 bool temp2 = false ;
7272 bool val3 ;
7273 int ecode3 = 0 ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 char * kwnames[] = {
7278 (char *) "self",(char *) "text",(char *) "show", NULL
7279 };
7280
7281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7283 if (!SWIG_IsOK(res1)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7285 }
7286 arg1 = reinterpret_cast< wxFrame * >(argp1);
7287 {
7288 arg2 = wxString_in_helper(obj1);
7289 if (arg2 == NULL) SWIG_fail;
7290 temp2 = true;
7291 }
7292 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7293 if (!SWIG_IsOK(ecode3)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7295 }
7296 arg3 = static_cast< bool >(val3);
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_Py_Void();
7304 {
7305 if (temp2)
7306 delete arg2;
7307 }
7308 return resultobj;
7309fail:
7310 {
7311 if (temp2)
7312 delete arg2;
7313 }
7314 return NULL;
7315}
7316
7317
7318SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj = 0;
7320 wxFrame *arg1 = (wxFrame *) 0 ;
7321 wxMenu *arg2 = (wxMenu *) NULL ;
7322 void *argp1 = 0 ;
7323 int res1 = 0 ;
7324 void *argp2 = 0 ;
7325 int res2 = 0 ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 char * kwnames[] = {
7329 (char *) "self",(char *) "menu", NULL
7330 };
7331
7332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7334 if (!SWIG_IsOK(res1)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7336 }
7337 arg1 = reinterpret_cast< wxFrame * >(argp1);
7338 if (obj1) {
7339 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7340 if (!SWIG_IsOK(res2)) {
7341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7342 }
1bd55598
RD
7343 arg2 = reinterpret_cast< wxMenu * >(argp2);
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 (arg1)->DoMenuUpdates(arg2);
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = SWIG_Py_Void();
7352 return resultobj;
7353fail:
7354 return NULL;
7355}
7356
7357
7358SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj = 0;
7360 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7361 SwigValueWrapper<wxVisualAttributes > result;
7362 int val1 ;
7363 int ecode1 = 0 ;
7364 PyObject * obj0 = 0 ;
7365 char * kwnames[] = {
7366 (char *) "variant", NULL
7367 };
7368
7369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7370 if (obj0) {
7371 ecode1 = SWIG_AsVal_int(obj0, &val1);
7372 if (!SWIG_IsOK(ecode1)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7374 }
7375 arg1 = static_cast< wxWindowVariant >(val1);
7376 }
7377 {
7378 if (!wxPyCheckForApp()) SWIG_fail;
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = wxFrame::GetClassDefaultAttributes(arg1);
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7385 return resultobj;
7386fail:
7387 return NULL;
7388}
7389
7390
7391SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7392 PyObject *obj;
7393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7395 return SWIG_Py_Void();
7396}
7397
7398SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7399 return SWIG_Python_InitShadowInstance(args);
7400}
7401
7402SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj = 0;
7404 wxWindow *arg1 = (wxWindow *) 0 ;
7405 int arg2 = (int) (int)-1 ;
7406 wxString const &arg3_defvalue = wxPyEmptyString ;
7407 wxString *arg3 = (wxString *) &arg3_defvalue ;
7408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7410 wxSize const &arg5_defvalue = wxDefaultSize ;
7411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7412 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7413 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7414 wxString *arg7 = (wxString *) &arg7_defvalue ;
7415 wxDialog *result = 0 ;
7416 void *argp1 = 0 ;
7417 int res1 = 0 ;
7418 int val2 ;
7419 int ecode2 = 0 ;
7420 bool temp3 = false ;
7421 wxPoint temp4 ;
7422 wxSize temp5 ;
7423 long val6 ;
7424 int ecode6 = 0 ;
7425 bool temp7 = false ;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 PyObject * obj2 = 0 ;
7429 PyObject * obj3 = 0 ;
7430 PyObject * obj4 = 0 ;
7431 PyObject * obj5 = 0 ;
7432 PyObject * obj6 = 0 ;
7433 char * kwnames[] = {
7434 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7435 };
7436
7437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7439 if (!SWIG_IsOK(res1)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7441 }
7442 arg1 = reinterpret_cast< wxWindow * >(argp1);
7443 if (obj1) {
7444 ecode2 = SWIG_AsVal_int(obj1, &val2);
7445 if (!SWIG_IsOK(ecode2)) {
7446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7447 }
7448 arg2 = static_cast< int >(val2);
7449 }
7450 if (obj2) {
d55e5bfc 7451 {
1bd55598
RD
7452 arg3 = wxString_in_helper(obj2);
7453 if (arg3 == NULL) SWIG_fail;
7454 temp3 = true;
d55e5bfc 7455 }
1bd55598
RD
7456 }
7457 if (obj3) {
d55e5bfc 7458 {
1bd55598
RD
7459 arg4 = &temp4;
7460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7461 }
1bd55598
RD
7462 }
7463 if (obj4) {
d55e5bfc 7464 {
1bd55598
RD
7465 arg5 = &temp5;
7466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7467 }
1bd55598
RD
7468 }
7469 if (obj5) {
7470 ecode6 = SWIG_AsVal_long(obj5, &val6);
7471 if (!SWIG_IsOK(ecode6)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7473 }
7474 arg6 = static_cast< long >(val6);
7475 }
7476 if (obj6) {
d55e5bfc 7477 {
1bd55598
RD
7478 arg7 = wxString_in_helper(obj6);
7479 if (arg7 == NULL) SWIG_fail;
7480 temp7 = true;
d55e5bfc 7481 }
1bd55598
RD
7482 }
7483 {
7484 if (!wxPyCheckForApp()) SWIG_fail;
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7491 {
7492 if (temp3)
7493 delete arg3;
7494 }
7495 {
7496 if (temp7)
7497 delete arg7;
7498 }
7499 return resultobj;
7500fail:
7501 {
7502 if (temp3)
7503 delete arg3;
7504 }
7505 {
7506 if (temp7)
7507 delete arg7;
7508 }
7509 return NULL;
d55e5bfc
RD
7510}
7511
7512
1bd55598
RD
7513SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7514 PyObject *resultobj = 0;
7515 wxDialog *result = 0 ;
7516
7517 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7518 {
7519 if (!wxPyCheckForApp()) SWIG_fail;
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (wxDialog *)new wxDialog();
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7526 return resultobj;
7527fail:
7528 return NULL;
7529}
7530
7531
7532SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj = 0;
7534 wxDialog *arg1 = (wxDialog *) 0 ;
7535 wxWindow *arg2 = (wxWindow *) 0 ;
7536 int arg3 = (int) (int)-1 ;
7537 wxString const &arg4_defvalue = wxPyEmptyString ;
7538 wxString *arg4 = (wxString *) &arg4_defvalue ;
7539 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7540 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7541 wxSize const &arg6_defvalue = wxDefaultSize ;
7542 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7543 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7544 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7545 wxString *arg8 = (wxString *) &arg8_defvalue ;
7546 bool result;
7547 void *argp1 = 0 ;
7548 int res1 = 0 ;
7549 void *argp2 = 0 ;
7550 int res2 = 0 ;
7551 int val3 ;
7552 int ecode3 = 0 ;
7553 bool temp4 = false ;
7554 wxPoint temp5 ;
7555 wxSize temp6 ;
7556 long val7 ;
7557 int ecode7 = 0 ;
7558 bool temp8 = false ;
7559 PyObject * obj0 = 0 ;
7560 PyObject * obj1 = 0 ;
7561 PyObject * obj2 = 0 ;
7562 PyObject * obj3 = 0 ;
7563 PyObject * obj4 = 0 ;
7564 PyObject * obj5 = 0 ;
7565 PyObject * obj6 = 0 ;
7566 PyObject * obj7 = 0 ;
7567 char * kwnames[] = {
7568 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7569 };
7570
7571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7573 if (!SWIG_IsOK(res1)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7575 }
7576 arg1 = reinterpret_cast< wxDialog * >(argp1);
7577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7578 if (!SWIG_IsOK(res2)) {
7579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7580 }
7581 arg2 = reinterpret_cast< wxWindow * >(argp2);
7582 if (obj2) {
7583 ecode3 = SWIG_AsVal_int(obj2, &val3);
7584 if (!SWIG_IsOK(ecode3)) {
7585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7586 }
7587 arg3 = static_cast< int >(val3);
7588 }
7589 if (obj3) {
d55e5bfc 7590 {
1bd55598
RD
7591 arg4 = wxString_in_helper(obj3);
7592 if (arg4 == NULL) SWIG_fail;
7593 temp4 = true;
d55e5bfc 7594 }
1bd55598
RD
7595 }
7596 if (obj4) {
36ed4f51 7597 {
1bd55598
RD
7598 arg5 = &temp5;
7599 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7600 }
1bd55598
RD
7601 }
7602 if (obj5) {
d55e5bfc 7603 {
1bd55598
RD
7604 arg6 = &temp6;
7605 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7606 }
1bd55598
RD
7607 }
7608 if (obj6) {
7609 ecode7 = SWIG_AsVal_long(obj6, &val7);
7610 if (!SWIG_IsOK(ecode7)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7612 }
7613 arg7 = static_cast< long >(val7);
7614 }
7615 if (obj7) {
d55e5bfc 7616 {
1bd55598
RD
7617 arg8 = wxString_in_helper(obj7);
7618 if (arg8 == NULL) SWIG_fail;
7619 temp8 = true;
d55e5bfc 7620 }
1bd55598
RD
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 {
7629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7630 }
7631 {
7632 if (temp4)
7633 delete arg4;
7634 }
7635 {
7636 if (temp8)
7637 delete arg8;
7638 }
7639 return resultobj;
7640fail:
7641 {
7642 if (temp4)
7643 delete arg4;
7644 }
7645 {
7646 if (temp8)
7647 delete arg8;
7648 }
7649 return NULL;
7650}
7651
7652
7653SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj = 0;
7655 wxDialog *arg1 = (wxDialog *) 0 ;
7656 int arg2 ;
7657 void *argp1 = 0 ;
7658 int res1 = 0 ;
7659 int val2 ;
7660 int ecode2 = 0 ;
7661 PyObject * obj0 = 0 ;
7662 PyObject * obj1 = 0 ;
7663 char * kwnames[] = {
7664 (char *) "self",(char *) "returnCode", NULL
7665 };
7666
7667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7669 if (!SWIG_IsOK(res1)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7671 }
7672 arg1 = reinterpret_cast< wxDialog * >(argp1);
7673 ecode2 = SWIG_AsVal_int(obj1, &val2);
7674 if (!SWIG_IsOK(ecode2)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7676 }
7677 arg2 = static_cast< int >(val2);
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 (arg1)->SetReturnCode(arg2);
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_Py_Void();
7685 return resultobj;
7686fail:
7687 return NULL;
c370783e
RD
7688}
7689
7690
1bd55598
RD
7691SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7692 PyObject *resultobj = 0;
7693 wxDialog *arg1 = (wxDialog *) 0 ;
7694 int result;
7695 void *argp1 = 0 ;
7696 int res1 = 0 ;
7697 PyObject *swig_obj[1] ;
7698
7699 if (!args) SWIG_fail;
7700 swig_obj[0] = args;
7701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7702 if (!SWIG_IsOK(res1)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7704 }
7705 arg1 = reinterpret_cast< wxDialog * >(argp1);
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 resultobj = SWIG_From_int(static_cast< int >(result));
7713 return resultobj;
7714fail:
7715 return NULL;
7716}
7717
7718
7719SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj = 0;
7721 wxDialog *arg1 = (wxDialog *) 0 ;
7722 int arg2 ;
7723 void *argp1 = 0 ;
7724 int res1 = 0 ;
7725 int val2 ;
7726 int ecode2 = 0 ;
7727 PyObject * obj0 = 0 ;
7728 PyObject * obj1 = 0 ;
7729 char * kwnames[] = {
7730 (char *) "self",(char *) "affirmativeId", NULL
7731 };
7732
7733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7735 if (!SWIG_IsOK(res1)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7737 }
7738 arg1 = reinterpret_cast< wxDialog * >(argp1);
7739 ecode2 = SWIG_AsVal_int(obj1, &val2);
7740 if (!SWIG_IsOK(ecode2)) {
7741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7742 }
7743 arg2 = static_cast< int >(val2);
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->SetAffirmativeId(arg2);
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 resultobj = SWIG_Py_Void();
7751 return resultobj;
7752fail:
7753 return NULL;
5e483524
RD
7754}
7755
7756
1bd55598
RD
7757SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7758 PyObject *resultobj = 0;
7759 wxDialog *arg1 = (wxDialog *) 0 ;
7760 int result;
7761 void *argp1 = 0 ;
7762 int res1 = 0 ;
7763 PyObject *swig_obj[1] ;
7764
7765 if (!args) SWIG_fail;
7766 swig_obj[0] = args;
7767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7768 if (!SWIG_IsOK(res1)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7770 }
7771 arg1 = reinterpret_cast< wxDialog * >(argp1);
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 resultobj = SWIG_From_int(static_cast< int >(result));
7779 return resultobj;
7780fail:
7781 return NULL;
7782}
7783
7784
7785SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj = 0;
7787 wxDialog *arg1 = (wxDialog *) 0 ;
7788 int arg2 ;
7789 void *argp1 = 0 ;
7790 int res1 = 0 ;
7791 int val2 ;
7792 int ecode2 = 0 ;
7793 PyObject * obj0 = 0 ;
7794 PyObject * obj1 = 0 ;
7795 char * kwnames[] = {
7796 (char *) "self",(char *) "escapeId", NULL
7797 };
7798
7799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7801 if (!SWIG_IsOK(res1)) {
7802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7803 }
7804 arg1 = reinterpret_cast< wxDialog * >(argp1);
7805 ecode2 = SWIG_AsVal_int(obj1, &val2);
7806 if (!SWIG_IsOK(ecode2)) {
7807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7808 }
7809 arg2 = static_cast< int >(val2);
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->SetEscapeId(arg2);
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 resultobj = SWIG_Py_Void();
7817 return resultobj;
7818fail:
7819 return NULL;
d55e5bfc
RD
7820}
7821
7822
1bd55598
RD
7823SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7824 PyObject *resultobj = 0;
7825 wxDialog *arg1 = (wxDialog *) 0 ;
7826 int result;
7827 void *argp1 = 0 ;
7828 int res1 = 0 ;
7829 PyObject *swig_obj[1] ;
7830
7831 if (!args) SWIG_fail;
7832 swig_obj[0] = args;
7833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7834 if (!SWIG_IsOK(res1)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7836 }
7837 arg1 = reinterpret_cast< wxDialog * >(argp1);
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_From_int(static_cast< int >(result));
7845 return resultobj;
7846fail:
7847 return NULL;
7848}
7849
7850
7851SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj = 0;
7853 wxDialog *arg1 = (wxDialog *) 0 ;
7854 wxString *arg2 = 0 ;
7855 wxSizer *result = 0 ;
7856 void *argp1 = 0 ;
7857 int res1 = 0 ;
7858 bool temp2 = false ;
7859 PyObject * obj0 = 0 ;
7860 PyObject * obj1 = 0 ;
7861 char * kwnames[] = {
7862 (char *) "self",(char *) "message", NULL
7863 };
7864
7865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7867 if (!SWIG_IsOK(res1)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7869 }
7870 arg1 = reinterpret_cast< wxDialog * >(argp1);
7871 {
7872 arg2 = wxString_in_helper(obj1);
7873 if (arg2 == NULL) SWIG_fail;
7874 temp2 = true;
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 {
7883 resultobj = wxPyMake_wxObject(result, (bool)0);
7884 }
7885 {
7886 if (temp2)
7887 delete arg2;
7888 }
7889 return resultobj;
7890fail:
7891 {
7892 if (temp2)
7893 delete arg2;
7894 }
7895 return NULL;
7896}
7897
7898
b39fe951 7899SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598
RD
7900 PyObject *resultobj = 0;
7901 wxDialog *arg1 = (wxDialog *) 0 ;
7902 long arg2 ;
1bd55598
RD
7903 wxSizer *result = 0 ;
7904 void *argp1 = 0 ;
7905 int res1 = 0 ;
7906 long val2 ;
7907 int ecode2 = 0 ;
1bd55598
RD
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
1bd55598 7910 char * kwnames[] = {
b39fe951 7911 (char *) "self",(char *) "flags", NULL
1bd55598
RD
7912 };
7913
b39fe951 7914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
1bd55598
RD
7915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7916 if (!SWIG_IsOK(res1)) {
b39fe951 7917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
1bd55598
RD
7918 }
7919 arg1 = reinterpret_cast< wxDialog * >(argp1);
7920 ecode2 = SWIG_AsVal_long(obj1, &val2);
7921 if (!SWIG_IsOK(ecode2)) {
b39fe951 7922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
1bd55598
RD
7923 }
7924 arg2 = static_cast< long >(val2);
b39fe951
RD
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
1bd55598 7930 }
b39fe951
RD
7931 {
7932 resultobj = wxPyMake_wxObject(result, (bool)0);
1bd55598 7933 }
b39fe951
RD
7934 return resultobj;
7935fail:
7936 return NULL;
7937}
7938
7939
7940SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj = 0;
7942 wxDialog *arg1 = (wxDialog *) 0 ;
7943 long arg2 ;
7944 wxSizer *result = 0 ;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 long val2 ;
7948 int ecode2 = 0 ;
7949 PyObject * obj0 = 0 ;
7950 PyObject * obj1 = 0 ;
7951 char * kwnames[] = {
7952 (char *) "self",(char *) "flags", NULL
7953 };
7954
7955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7957 if (!SWIG_IsOK(res1)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7959 }
7960 arg1 = reinterpret_cast< wxDialog * >(argp1);
7961 ecode2 = SWIG_AsVal_long(obj1, &val2);
7962 if (!SWIG_IsOK(ecode2)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7964 }
7965 arg2 = static_cast< long >(val2);
1bd55598
RD
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7968 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
1bd55598
RD
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 {
7973 resultobj = wxPyMake_wxObject(result, (bool)0);
7974 }
7975 return resultobj;
7976fail:
7977 return NULL;
7978}
7979
7980
7981SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj = 0;
7983 wxDialog *arg1 = (wxDialog *) 0 ;
7984 long arg2 ;
7985 wxStdDialogButtonSizer *result = 0 ;
7986 void *argp1 = 0 ;
7987 int res1 = 0 ;
7988 long val2 ;
7989 int ecode2 = 0 ;
7990 PyObject * obj0 = 0 ;
7991 PyObject * obj1 = 0 ;
7992 char * kwnames[] = {
7993 (char *) "self",(char *) "flags", NULL
7994 };
7995
7996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7998 if (!SWIG_IsOK(res1)) {
7999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8000 }
8001 arg1 = reinterpret_cast< wxDialog * >(argp1);
8002 ecode2 = SWIG_AsVal_long(obj1, &val2);
8003 if (!SWIG_IsOK(ecode2)) {
8004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8005 }
8006 arg2 = static_cast< long >(val2);
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
8014 return resultobj;
8015fail:
8016 return NULL;
d55e5bfc
RD
8017}
8018
8019
1bd55598
RD
8020SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8021 PyObject *resultobj = 0;
8022 wxDialog *arg1 = (wxDialog *) 0 ;
8023 bool result;
8024 void *argp1 = 0 ;
8025 int res1 = 0 ;
8026 PyObject *swig_obj[1] ;
8027
8028 if (!args) SWIG_fail;
8029 swig_obj[0] = args;
8030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8031 if (!SWIG_IsOK(res1)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8033 }
8034 arg1 = reinterpret_cast< wxDialog * >(argp1);
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (bool)((wxDialog const *)arg1)->IsModal();
8038 wxPyEndAllowThreads(__tstate);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 {
8042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8043 }
8044 return resultobj;
8045fail:
8046 return NULL;
b1fcee84
RD
8047}
8048
8049
1bd55598
RD
8050SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *resultobj = 0;
8052 wxDialog *arg1 = (wxDialog *) 0 ;
8053 int result;
8054 void *argp1 = 0 ;
8055 int res1 = 0 ;
8056 PyObject *swig_obj[1] ;
8057
8058 if (!args) SWIG_fail;
8059 swig_obj[0] = args;
8060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8061 if (!SWIG_IsOK(res1)) {
8062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8063 }
8064 arg1 = reinterpret_cast< wxDialog * >(argp1);
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = (int)(arg1)->ShowModal();
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = SWIG_From_int(static_cast< int >(result));
8072 return resultobj;
8073fail:
8074 return NULL;
8075}
8076
8077
8078SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj = 0;
8080 wxDialog *arg1 = (wxDialog *) 0 ;
8081 int arg2 ;
8082 void *argp1 = 0 ;
8083 int res1 = 0 ;
8084 int val2 ;
8085 int ecode2 = 0 ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 char * kwnames[] = {
8089 (char *) "self",(char *) "retCode", NULL
8090 };
8091
8092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8094 if (!SWIG_IsOK(res1)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8096 }
8097 arg1 = reinterpret_cast< wxDialog * >(argp1);
8098 ecode2 = SWIG_AsVal_int(obj1, &val2);
8099 if (!SWIG_IsOK(ecode2)) {
8100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8101 }
8102 arg2 = static_cast< int >(val2);
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->EndModal(arg2);
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 resultobj = SWIG_Py_Void();
8110 return resultobj;
8111fail:
8112 return NULL;
8113}
8114
8115
8116SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj = 0;
8118 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8119 SwigValueWrapper<wxVisualAttributes > result;
8120 int val1 ;
8121 int ecode1 = 0 ;
8122 PyObject * obj0 = 0 ;
8123 char * kwnames[] = {
8124 (char *) "variant", NULL
8125 };
8126
8127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8128 if (obj0) {
8129 ecode1 = SWIG_AsVal_int(obj0, &val1);
8130 if (!SWIG_IsOK(ecode1)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8132 }
8133 arg1 = static_cast< wxWindowVariant >(val1);
8134 }
8135 {
8136 if (!wxPyCheckForApp()) SWIG_fail;
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = wxDialog::GetClassDefaultAttributes(arg1);
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8143 return resultobj;
8144fail:
8145 return NULL;
8146}
8147
8148
8149SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8150 PyObject *obj;
8151 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8152 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8153 return SWIG_Py_Void();
8154}
8155
8156SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8157 return SWIG_Python_InitShadowInstance(args);
8158}
8159
8160SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj = 0;
8162 wxWindow *arg1 = (wxWindow *) 0 ;
8163 int arg2 = (int) (int)-1 ;
8164 wxString const &arg3_defvalue = wxPyEmptyString ;
8165 wxString *arg3 = (wxString *) &arg3_defvalue ;
8166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8168 wxSize const &arg5_defvalue = wxDefaultSize ;
8169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8170 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8171 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8172 wxString *arg7 = (wxString *) &arg7_defvalue ;
8173 wxMiniFrame *result = 0 ;
8174 void *argp1 = 0 ;
8175 int res1 = 0 ;
8176 int val2 ;
8177 int ecode2 = 0 ;
8178 bool temp3 = false ;
8179 wxPoint temp4 ;
8180 wxSize temp5 ;
8181 long val6 ;
8182 int ecode6 = 0 ;
8183 bool temp7 = false ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186 PyObject * obj2 = 0 ;
8187 PyObject * obj3 = 0 ;
8188 PyObject * obj4 = 0 ;
8189 PyObject * obj5 = 0 ;
8190 PyObject * obj6 = 0 ;
8191 char * kwnames[] = {
8192 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8193 };
8194
8195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8197 if (!SWIG_IsOK(res1)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8199 }
8200 arg1 = reinterpret_cast< wxWindow * >(argp1);
8201 if (obj1) {
8202 ecode2 = SWIG_AsVal_int(obj1, &val2);
8203 if (!SWIG_IsOK(ecode2)) {
8204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8205 }
8206 arg2 = static_cast< int >(val2);
8207 }
8208 if (obj2) {
d55e5bfc 8209 {
1bd55598
RD
8210 arg3 = wxString_in_helper(obj2);
8211 if (arg3 == NULL) SWIG_fail;
8212 temp3 = true;
d55e5bfc 8213 }
1bd55598
RD
8214 }
8215 if (obj3) {
d55e5bfc 8216 {
1bd55598
RD
8217 arg4 = &temp4;
8218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8219 }
1bd55598
RD
8220 }
8221 if (obj4) {
d55e5bfc 8222 {
1bd55598
RD
8223 arg5 = &temp5;
8224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8225 }
1bd55598
RD
8226 }
8227 if (obj5) {
8228 ecode6 = SWIG_AsVal_long(obj5, &val6);
8229 if (!SWIG_IsOK(ecode6)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8231 }
8232 arg6 = static_cast< long >(val6);
8233 }
8234 if (obj6) {
d55e5bfc 8235 {
1bd55598
RD
8236 arg7 = wxString_in_helper(obj6);
8237 if (arg7 == NULL) SWIG_fail;
8238 temp7 = true;
d55e5bfc 8239 }
1bd55598
RD
8240 }
8241 {
8242 if (!wxPyCheckForApp()) SWIG_fail;
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8245 wxPyEndAllowThreads(__tstate);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
8248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8249 {
8250 if (temp3)
8251 delete arg3;
8252 }
8253 {
8254 if (temp7)
8255 delete arg7;
8256 }
8257 return resultobj;
8258fail:
8259 {
8260 if (temp3)
8261 delete arg3;
8262 }
8263 {
8264 if (temp7)
8265 delete arg7;
8266 }
8267 return NULL;
d55e5bfc
RD
8268}
8269
8270
1bd55598
RD
8271SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8272 PyObject *resultobj = 0;
8273 wxMiniFrame *result = 0 ;
8274
8275 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8276 {
8277 if (!wxPyCheckForApp()) SWIG_fail;
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (wxMiniFrame *)new wxMiniFrame();
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8284 return resultobj;
8285fail:
8286 return NULL;
8287}
8288
8289
8290SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj = 0;
8292 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8293 wxWindow *arg2 = (wxWindow *) 0 ;
8294 int arg3 = (int) (int)-1 ;
8295 wxString const &arg4_defvalue = wxPyEmptyString ;
8296 wxString *arg4 = (wxString *) &arg4_defvalue ;
8297 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8298 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8299 wxSize const &arg6_defvalue = wxDefaultSize ;
8300 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8301 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8302 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8303 wxString *arg8 = (wxString *) &arg8_defvalue ;
8304 bool result;
8305 void *argp1 = 0 ;
8306 int res1 = 0 ;
8307 void *argp2 = 0 ;
8308 int res2 = 0 ;
8309 int val3 ;
8310 int ecode3 = 0 ;
8311 bool temp4 = false ;
8312 wxPoint temp5 ;
8313 wxSize temp6 ;
8314 long val7 ;
8315 int ecode7 = 0 ;
8316 bool temp8 = false ;
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 PyObject * obj2 = 0 ;
8320 PyObject * obj3 = 0 ;
8321 PyObject * obj4 = 0 ;
8322 PyObject * obj5 = 0 ;
8323 PyObject * obj6 = 0 ;
8324 PyObject * obj7 = 0 ;
8325 char * kwnames[] = {
8326 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8327 };
8328
8329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8331 if (!SWIG_IsOK(res1)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8333 }
8334 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8335 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8336 if (!SWIG_IsOK(res2)) {
8337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8338 }
8339 arg2 = reinterpret_cast< wxWindow * >(argp2);
8340 if (obj2) {
8341 ecode3 = SWIG_AsVal_int(obj2, &val3);
8342 if (!SWIG_IsOK(ecode3)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8344 }
8345 arg3 = static_cast< int >(val3);
8346 }
8347 if (obj3) {
d55e5bfc 8348 {
1bd55598
RD
8349 arg4 = wxString_in_helper(obj3);
8350 if (arg4 == NULL) SWIG_fail;
8351 temp4 = true;
d55e5bfc 8352 }
1bd55598
RD
8353 }
8354 if (obj4) {
d55e5bfc 8355 {
1bd55598
RD
8356 arg5 = &temp5;
8357 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8358 }
1bd55598
RD
8359 }
8360 if (obj5) {
d55e5bfc 8361 {
1bd55598
RD
8362 arg6 = &temp6;
8363 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8364 }
1bd55598
RD
8365 }
8366 if (obj6) {
8367 ecode7 = SWIG_AsVal_long(obj6, &val7);
8368 if (!SWIG_IsOK(ecode7)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8370 }
8371 arg7 = static_cast< long >(val7);
8372 }
8373 if (obj7) {
d55e5bfc 8374 {
1bd55598
RD
8375 arg8 = wxString_in_helper(obj7);
8376 if (arg8 == NULL) SWIG_fail;
8377 temp8 = true;
d55e5bfc 8378 }
1bd55598
RD
8379 }
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 {
8387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8388 }
8389 {
8390 if (temp4)
8391 delete arg4;
8392 }
8393 {
8394 if (temp8)
8395 delete arg8;
8396 }
8397 return resultobj;
8398fail:
8399 {
8400 if (temp4)
8401 delete arg4;
8402 }
8403 {
8404 if (temp8)
8405 delete arg8;
8406 }
8407 return NULL;
8408}
8409
8410
8411SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8412 PyObject *obj;
8413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8415 return SWIG_Py_Void();
8416}
8417
8418SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 return SWIG_Python_InitShadowInstance(args);
8420}
8421
8422SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxBitmap *arg1 = 0 ;
8425 wxWindow *arg2 = (wxWindow *) 0 ;
8426 int arg3 ;
8427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8429 wxSize const &arg5_defvalue = wxDefaultSize ;
8430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8431 long arg6 = (long) wxNO_BORDER ;
8432 wxSplashScreenWindow *result = 0 ;
8433 void *argp1 = 0 ;
8434 int res1 = 0 ;
8435 void *argp2 = 0 ;
8436 int res2 = 0 ;
8437 int val3 ;
8438 int ecode3 = 0 ;
8439 wxPoint temp4 ;
8440 wxSize temp5 ;
8441 long val6 ;
8442 int ecode6 = 0 ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 PyObject * obj2 = 0 ;
8446 PyObject * obj3 = 0 ;
8447 PyObject * obj4 = 0 ;
8448 PyObject * obj5 = 0 ;
8449 char * kwnames[] = {
8450 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8451 };
8452
8453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8454 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8455 if (!SWIG_IsOK(res1)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8457 }
8458 if (!argp1) {
8459 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8460 }
8461 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8462 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8463 if (!SWIG_IsOK(res2)) {
8464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8465 }
8466 arg2 = reinterpret_cast< wxWindow * >(argp2);
8467 ecode3 = SWIG_AsVal_int(obj2, &val3);
8468 if (!SWIG_IsOK(ecode3)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8470 }
8471 arg3 = static_cast< int >(val3);
8472 if (obj3) {
d55e5bfc 8473 {
1bd55598
RD
8474 arg4 = &temp4;
8475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8476 }
1bd55598
RD
8477 }
8478 if (obj4) {
d55e5bfc 8479 {
1bd55598
RD
8480 arg5 = &temp5;
8481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8482 }
1bd55598
RD
8483 }
8484 if (obj5) {
8485 ecode6 = SWIG_AsVal_long(obj5, &val6);
8486 if (!SWIG_IsOK(ecode6)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8488 }
8489 arg6 = static_cast< long >(val6);
8490 }
8491 {
8492 if (!wxPyCheckForApp()) SWIG_fail;
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8499 return resultobj;
8500fail:
8501 return NULL;
8502}
8503
8504
8505SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj = 0;
8507 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8508 wxBitmap *arg2 = 0 ;
8509 void *argp1 = 0 ;
8510 int res1 = 0 ;
8511 void *argp2 = 0 ;
8512 int res2 = 0 ;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char * kwnames[] = {
8516 (char *) "self",(char *) "bitmap", NULL
8517 };
8518
8519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8521 if (!SWIG_IsOK(res1)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8523 }
8524 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8526 if (!SWIG_IsOK(res2)) {
8527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8528 }
8529 if (!argp2) {
8530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8531 }
8532 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_Py_Void();
8540 return resultobj;
8541fail:
8542 return NULL;
d55e5bfc
RD
8543}
8544
8545
1bd55598
RD
8546SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8547 PyObject *resultobj = 0;
8548 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8549 wxBitmap *result = 0 ;
8550 void *argp1 = 0 ;
8551 int res1 = 0 ;
8552 PyObject *swig_obj[1] ;
8553
8554 if (!args) SWIG_fail;
8555 swig_obj[0] = args;
8556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8557 if (!SWIG_IsOK(res1)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8559 }
8560 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 {
8564 wxBitmap &_result_ref = (arg1)->GetBitmap();
8565 result = (wxBitmap *) &_result_ref;
8566 }
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 {
8571 wxBitmap* resultptr = new wxBitmap(*result);
8572 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8573 }
8574 return resultobj;
8575fail:
8576 return NULL;
8577}
8578
8579
8580SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8581 PyObject *obj;
8582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8583 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8584 return SWIG_Py_Void();
8585}
8586
8587SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8588 return SWIG_Python_InitShadowInstance(args);
8589}
8590
8591SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj = 0;
8593 wxBitmap *arg1 = 0 ;
8594 long arg2 ;
8595 int arg3 ;
8596 wxWindow *arg4 = (wxWindow *) 0 ;
8597 int arg5 = (int) -1 ;
8598 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8599 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8600 wxSize const &arg7_defvalue = wxDefaultSize ;
8601 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8602 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8603 wxSplashScreen *result = 0 ;
8604 void *argp1 = 0 ;
8605 int res1 = 0 ;
8606 long val2 ;
8607 int ecode2 = 0 ;
8608 int val3 ;
8609 int ecode3 = 0 ;
8610 void *argp4 = 0 ;
8611 int res4 = 0 ;
8612 int val5 ;
8613 int ecode5 = 0 ;
8614 wxPoint temp6 ;
8615 wxSize temp7 ;
8616 long val8 ;
8617 int ecode8 = 0 ;
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 PyObject * obj2 = 0 ;
8621 PyObject * obj3 = 0 ;
8622 PyObject * obj4 = 0 ;
8623 PyObject * obj5 = 0 ;
8624 PyObject * obj6 = 0 ;
8625 PyObject * obj7 = 0 ;
8626 char * kwnames[] = {
8627 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8628 };
8629
8630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8631 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8632 if (!SWIG_IsOK(res1)) {
8633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8634 }
8635 if (!argp1) {
8636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8637 }
8638 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8639 ecode2 = SWIG_AsVal_long(obj1, &val2);
8640 if (!SWIG_IsOK(ecode2)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8642 }
8643 arg2 = static_cast< long >(val2);
8644 ecode3 = SWIG_AsVal_int(obj2, &val3);
8645 if (!SWIG_IsOK(ecode3)) {
8646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8647 }
8648 arg3 = static_cast< int >(val3);
8649 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8650 if (!SWIG_IsOK(res4)) {
8651 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8652 }
8653 arg4 = reinterpret_cast< wxWindow * >(argp4);
8654 if (obj4) {
8655 ecode5 = SWIG_AsVal_int(obj4, &val5);
8656 if (!SWIG_IsOK(ecode5)) {
8657 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8658 }
8659 arg5 = static_cast< int >(val5);
8660 }
8661 if (obj5) {
d55e5bfc 8662 {
1bd55598
RD
8663 arg6 = &temp6;
8664 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8665 }
1bd55598
RD
8666 }
8667 if (obj6) {
d55e5bfc 8668 {
1bd55598
RD
8669 arg7 = &temp7;
8670 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8671 }
1bd55598
RD
8672 }
8673 if (obj7) {
8674 ecode8 = SWIG_AsVal_long(obj7, &val8);
8675 if (!SWIG_IsOK(ecode8)) {
8676 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8677 }
8678 arg8 = static_cast< long >(val8);
8679 }
8680 {
8681 if (!wxPyCheckForApp()) SWIG_fail;
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8688 return resultobj;
8689fail:
8690 return NULL;
d55e5bfc
RD
8691}
8692
8693
1bd55598
RD
8694SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8695 PyObject *resultobj = 0;
8696 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8697 long result;
8698 void *argp1 = 0 ;
8699 int res1 = 0 ;
8700 PyObject *swig_obj[1] ;
8701
8702 if (!args) SWIG_fail;
8703 swig_obj[0] = args;
8704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8705 if (!SWIG_IsOK(res1)) {
8706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8707 }
8708 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = SWIG_From_long(static_cast< long >(result));
8716 return resultobj;
8717fail:
8718 return NULL;
d55e5bfc
RD
8719}
8720
8721
1bd55598
RD
8722SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8723 PyObject *resultobj = 0;
8724 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8725 wxSplashScreenWindow *result = 0 ;
8726 void *argp1 = 0 ;
8727 int res1 = 0 ;
8728 PyObject *swig_obj[1] ;
8729
8730 if (!args) SWIG_fail;
8731 swig_obj[0] = args;
8732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8733 if (!SWIG_IsOK(res1)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8735 }
8736 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8744 return resultobj;
8745fail:
8746 return NULL;
d55e5bfc
RD
8747}
8748
8749
1bd55598
RD
8750SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8751 PyObject *resultobj = 0;
8752 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8753 int result;
8754 void *argp1 = 0 ;
8755 int res1 = 0 ;
8756 PyObject *swig_obj[1] ;
8757
8758 if (!args) SWIG_fail;
8759 swig_obj[0] = args;
8760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8761 if (!SWIG_IsOK(res1)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8763 }
8764 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = SWIG_From_int(static_cast< int >(result));
8772 return resultobj;
8773fail:
8774 return NULL;
8775}
8776
8777
8778SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8779 PyObject *obj;
8780 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8781 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8782 return SWIG_Py_Void();
8783}
8784
8785SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8786 return SWIG_Python_InitShadowInstance(args);
8787}
8788
8789SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj = 0;
8791 wxWindow *arg1 = (wxWindow *) 0 ;
8792 int arg2 = (int) -1 ;
8793 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8794 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8795 wxString *arg4 = (wxString *) &arg4_defvalue ;
8796 wxStatusBar *result = 0 ;
8797 void *argp1 = 0 ;
8798 int res1 = 0 ;
8799 int val2 ;
8800 int ecode2 = 0 ;
8801 long val3 ;
8802 int ecode3 = 0 ;
8803 bool temp4 = false ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 PyObject * obj2 = 0 ;
8807 PyObject * obj3 = 0 ;
8808 char * kwnames[] = {
8809 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8810 };
8811
8812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8814 if (!SWIG_IsOK(res1)) {
8815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8816 }
8817 arg1 = reinterpret_cast< wxWindow * >(argp1);
8818 if (obj1) {
8819 ecode2 = SWIG_AsVal_int(obj1, &val2);
8820 if (!SWIG_IsOK(ecode2)) {
8821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8822 }
8823 arg2 = static_cast< int >(val2);
8824 }
8825 if (obj2) {
8826 ecode3 = SWIG_AsVal_long(obj2, &val3);
8827 if (!SWIG_IsOK(ecode3)) {
8828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8829 }
8830 arg3 = static_cast< long >(val3);
8831 }
8832 if (obj3) {
d55e5bfc 8833 {
1bd55598
RD
8834 arg4 = wxString_in_helper(obj3);
8835 if (arg4 == NULL) SWIG_fail;
8836 temp4 = true;
d55e5bfc 8837 }
1bd55598
RD
8838 }
8839 {
8840 if (!wxPyCheckForApp()) SWIG_fail;
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8847 {
8848 if (temp4)
8849 delete arg4;
8850 }
8851 return resultobj;
8852fail:
8853 {
8854 if (temp4)
8855 delete arg4;
8856 }
8857 return NULL;
d55e5bfc
RD
8858}
8859
8860
1bd55598
RD
8861SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8862 PyObject *resultobj = 0;
8863 wxStatusBar *result = 0 ;
8864
8865 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8866 {
8867 if (!wxPyCheckForApp()) SWIG_fail;
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (wxStatusBar *)new wxStatusBar();
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8874 return resultobj;
8875fail:
8876 return NULL;
8877}
8878
8879
8880SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj = 0;
8882 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8883 wxWindow *arg2 = (wxWindow *) 0 ;
8884 int arg3 = (int) -1 ;
8885 long arg4 = (long) wxST_SIZEGRIP ;
8886 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8887 wxString *arg5 = (wxString *) &arg5_defvalue ;
8888 bool result;
8889 void *argp1 = 0 ;
8890 int res1 = 0 ;
8891 void *argp2 = 0 ;
8892 int res2 = 0 ;
8893 int val3 ;
8894 int ecode3 = 0 ;
8895 long val4 ;
8896 int ecode4 = 0 ;
8897 bool temp5 = false ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 PyObject * obj2 = 0 ;
8901 PyObject * obj3 = 0 ;
8902 PyObject * obj4 = 0 ;
8903 char * kwnames[] = {
8904 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8905 };
8906
8907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8909 if (!SWIG_IsOK(res1)) {
8910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8911 }
8912 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8913 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8914 if (!SWIG_IsOK(res2)) {
8915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8916 }
8917 arg2 = reinterpret_cast< wxWindow * >(argp2);
8918 if (obj2) {
8919 ecode3 = SWIG_AsVal_int(obj2, &val3);
8920 if (!SWIG_IsOK(ecode3)) {
8921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8922 }
8923 arg3 = static_cast< int >(val3);
8924 }
8925 if (obj3) {
8926 ecode4 = SWIG_AsVal_long(obj3, &val4);
8927 if (!SWIG_IsOK(ecode4)) {
8928 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8929 }
8930 arg4 = static_cast< long >(val4);
8931 }
8932 if (obj4) {
d55e5bfc 8933 {
1bd55598
RD
8934 arg5 = wxString_in_helper(obj4);
8935 if (arg5 == NULL) SWIG_fail;
8936 temp5 = true;
d55e5bfc 8937 }
1bd55598
RD
8938 }
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 {
8946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8947 }
8948 {
8949 if (temp5)
8950 delete arg5;
8951 }
8952 return resultobj;
8953fail:
8954 {
8955 if (temp5)
8956 delete arg5;
8957 }
8958 return NULL;
8959}
8960
8961
8962SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8963 PyObject *resultobj = 0;
8964 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8965 int arg2 = (int) 1 ;
8966 void *argp1 = 0 ;
8967 int res1 = 0 ;
8968 int val2 ;
8969 int ecode2 = 0 ;
8970 PyObject * obj0 = 0 ;
8971 PyObject * obj1 = 0 ;
8972 char * kwnames[] = {
8973 (char *) "self",(char *) "number", NULL
8974 };
8975
8976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8978 if (!SWIG_IsOK(res1)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8980 }
8981 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8982 if (obj1) {
8983 ecode2 = SWIG_AsVal_int(obj1, &val2);
8984 if (!SWIG_IsOK(ecode2)) {
8985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8986 }
8987 arg2 = static_cast< int >(val2);
8988 }
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 (arg1)->SetFieldsCount(arg2);
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 resultobj = SWIG_Py_Void();
8996 return resultobj;
8997fail:
8998 return NULL;
d55e5bfc
RD
8999}
9000
9001
1bd55598
RD
9002SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9003 PyObject *resultobj = 0;
9004 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9005 int result;
9006 void *argp1 = 0 ;
9007 int res1 = 0 ;
9008 PyObject *swig_obj[1] ;
9009
9010 if (!args) SWIG_fail;
9011 swig_obj[0] = args;
9012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9013 if (!SWIG_IsOK(res1)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9015 }
9016 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = SWIG_From_int(static_cast< int >(result));
9024 return resultobj;
9025fail:
9026 return NULL;
9027}
9028
9029
9030SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj = 0;
9032 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9033 wxString *arg2 = 0 ;
9034 int arg3 = (int) 0 ;
9035 void *argp1 = 0 ;
9036 int res1 = 0 ;
9037 bool temp2 = false ;
9038 int val3 ;
9039 int ecode3 = 0 ;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 PyObject * obj2 = 0 ;
9043 char * kwnames[] = {
9044 (char *) "self",(char *) "text",(char *) "number", NULL
9045 };
9046
9047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9049 if (!SWIG_IsOK(res1)) {
9050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9051 }
9052 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9053 {
9054 arg2 = wxString_in_helper(obj1);
9055 if (arg2 == NULL) SWIG_fail;
9056 temp2 = true;
9057 }
9058 if (obj2) {
9059 ecode3 = SWIG_AsVal_int(obj2, &val3);
9060 if (!SWIG_IsOK(ecode3)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9062 }
9063 arg3 = static_cast< int >(val3);
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = SWIG_Py_Void();
9072 {
9073 if (temp2)
9074 delete arg2;
9075 }
9076 return resultobj;
9077fail:
9078 {
9079 if (temp2)
9080 delete arg2;
9081 }
9082 return NULL;
9083}
9084
9085
9086SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj = 0;
9088 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9089 int arg2 = (int) 0 ;
9090 wxString result;
9091 void *argp1 = 0 ;
9092 int res1 = 0 ;
9093 int val2 ;
9094 int ecode2 = 0 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char * kwnames[] = {
9098 (char *) "self",(char *) "number", NULL
9099 };
9100
9101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9103 if (!SWIG_IsOK(res1)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9105 }
9106 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9107 if (obj1) {
9108 ecode2 = SWIG_AsVal_int(obj1, &val2);
9109 if (!SWIG_IsOK(ecode2)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9111 }
9112 arg2 = static_cast< int >(val2);
9113 }
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 {
9121#if wxUSE_UNICODE
9122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9123#else
9124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9125#endif
9126 }
9127 return resultobj;
9128fail:
9129 return NULL;
9130}
9131
9132
9133SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9134 PyObject *resultobj = 0;
9135 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9136 wxString *arg2 = 0 ;
9137 int arg3 = (int) 0 ;
9138 void *argp1 = 0 ;
9139 int res1 = 0 ;
9140 bool temp2 = false ;
9141 int val3 ;
9142 int ecode3 = 0 ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj1 = 0 ;
9145 PyObject * obj2 = 0 ;
9146 char * kwnames[] = {
9147 (char *) "self",(char *) "text",(char *) "number", NULL
9148 };
9149
9150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9152 if (!SWIG_IsOK(res1)) {
9153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9154 }
9155 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9156 {
9157 arg2 = wxString_in_helper(obj1);
9158 if (arg2 == NULL) SWIG_fail;
9159 temp2 = true;
9160 }
9161 if (obj2) {
9162 ecode3 = SWIG_AsVal_int(obj2, &val3);
9163 if (!SWIG_IsOK(ecode3)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9165 }
9166 arg3 = static_cast< int >(val3);
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = SWIG_Py_Void();
9175 {
9176 if (temp2)
9177 delete arg2;
9178 }
9179 return resultobj;
9180fail:
9181 {
9182 if (temp2)
9183 delete arg2;
9184 }
9185 return NULL;
9186}
9187
9188
9189SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj = 0;
9191 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9192 int arg2 = (int) 0 ;
9193 void *argp1 = 0 ;
9194 int res1 = 0 ;
9195 int val2 ;
9196 int ecode2 = 0 ;
9197 PyObject * obj0 = 0 ;
9198 PyObject * obj1 = 0 ;
9199 char * kwnames[] = {
9200 (char *) "self",(char *) "number", NULL
9201 };
9202
9203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9205 if (!SWIG_IsOK(res1)) {
9206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9207 }
9208 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9209 if (obj1) {
9210 ecode2 = SWIG_AsVal_int(obj1, &val2);
9211 if (!SWIG_IsOK(ecode2)) {
9212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9213 }
9214 arg2 = static_cast< int >(val2);
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->PopStatusText(arg2);
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = SWIG_Py_Void();
9223 return resultobj;
9224fail:
9225 return NULL;
9226}
9227
9228
9229SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj = 0;
9231 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9232 int arg2 ;
9233 int *arg3 = (int *) 0 ;
9234 void *argp1 = 0 ;
9235 int res1 = 0 ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char * kwnames[] = {
9239 (char *) "self",(char *) "widths", NULL
9240 };
9241
9242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9244 if (!SWIG_IsOK(res1)) {
9245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9246 }
9247 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9248 {
9249 arg2 = PyList_Size(obj1);
9250 arg3 = int_LIST_helper(obj1);
9251 if (arg3 == NULL) SWIG_fail;
9252 }
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 resultobj = SWIG_Py_Void();
9260 {
9261 if (arg3) delete [] arg3;
9262 }
9263 return resultobj;
9264fail:
9265 {
9266 if (arg3) delete [] arg3;
9267 }
9268 return NULL;
d55e5bfc
RD
9269}
9270
9271
1bd55598
RD
9272SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj = 0;
9274 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9275 int arg2 ;
9276 int *arg3 = (int *) 0 ;
9277 void *argp1 = 0 ;
9278 int res1 = 0 ;
9279 PyObject * obj0 = 0 ;
9280 PyObject * obj1 = 0 ;
9281 char * kwnames[] = {
9282 (char *) "self",(char *) "styles", NULL
9283 };
9284
9285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9287 if (!SWIG_IsOK(res1)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9289 }
9290 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9291 {
9292 arg2 = PyList_Size(obj1);
9293 arg3 = int_LIST_helper(obj1);
9294 if (arg3 == NULL) SWIG_fail;
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_Py_Void();
9303 {
9304 if (arg3) delete [] arg3;
9305 }
9306 return resultobj;
9307fail:
9308 {
9309 if (arg3) delete [] arg3;
9310 }
9311 return NULL;
9312}
9313
9314
9315SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj = 0;
9317 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9318 int arg2 ;
9319 wxRect result;
9320 void *argp1 = 0 ;
9321 int res1 = 0 ;
9322 int val2 ;
9323 int ecode2 = 0 ;
9324 PyObject * obj0 = 0 ;
9325 PyObject * obj1 = 0 ;
9326 char * kwnames[] = {
9327 (char *) "self",(char *) "i", NULL
9328 };
9329
9330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9332 if (!SWIG_IsOK(res1)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9334 }
9335 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9336 ecode2 = SWIG_AsVal_int(obj1, &val2);
9337 if (!SWIG_IsOK(ecode2)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9339 }
9340 arg2 = static_cast< int >(val2);
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = wxStatusBar_GetFieldRect(arg1,arg2);
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9348 return resultobj;
9349fail:
9350 return NULL;
9351}
9352
9353
9354SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj = 0;
9356 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9357 int arg2 ;
9358 void *argp1 = 0 ;
9359 int res1 = 0 ;
9360 int val2 ;
9361 int ecode2 = 0 ;
9362 PyObject * obj0 = 0 ;
9363 PyObject * obj1 = 0 ;
9364 char * kwnames[] = {
9365 (char *) "self",(char *) "height", NULL
9366 };
9367
9368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9370 if (!SWIG_IsOK(res1)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9372 }
9373 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9374 ecode2 = SWIG_AsVal_int(obj1, &val2);
9375 if (!SWIG_IsOK(ecode2)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9377 }
9378 arg2 = static_cast< int >(val2);
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 (arg1)->SetMinHeight(arg2);
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 resultobj = SWIG_Py_Void();
9386 return resultobj;
9387fail:
9388 return NULL;
d55e5bfc
RD
9389}
9390
9391
1bd55598
RD
9392SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9393 PyObject *resultobj = 0;
9394 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9395 int result;
9396 void *argp1 = 0 ;
9397 int res1 = 0 ;
9398 PyObject *swig_obj[1] ;
9399
9400 if (!args) SWIG_fail;
9401 swig_obj[0] = args;
9402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9403 if (!SWIG_IsOK(res1)) {
9404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9405 }
9406 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_From_int(static_cast< int >(result));
9414 return resultobj;
9415fail:
9416 return NULL;
d55e5bfc
RD
9417}
9418
9419
1bd55598
RD
9420SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9421 PyObject *resultobj = 0;
9422 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9423 int result;
9424 void *argp1 = 0 ;
9425 int res1 = 0 ;
9426 PyObject *swig_obj[1] ;
9427
9428 if (!args) SWIG_fail;
9429 swig_obj[0] = args;
9430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9431 if (!SWIG_IsOK(res1)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9433 }
9434 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 resultobj = SWIG_From_int(static_cast< int >(result));
9442 return resultobj;
9443fail:
9444 return NULL;
9445}
9446
9447
9448SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj = 0;
9450 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9451 SwigValueWrapper<wxVisualAttributes > result;
9452 int val1 ;
9453 int ecode1 = 0 ;
9454 PyObject * obj0 = 0 ;
9455 char * kwnames[] = {
9456 (char *) "variant", NULL
9457 };
9458
9459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9460 if (obj0) {
9461 ecode1 = SWIG_AsVal_int(obj0, &val1);
9462 if (!SWIG_IsOK(ecode1)) {
9463 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9464 }
9465 arg1 = static_cast< wxWindowVariant >(val1);
9466 }
9467 {
9468 if (!wxPyCheckForApp()) SWIG_fail;
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9475 return resultobj;
9476fail:
9477 return NULL;
d55e5bfc
RD
9478}
9479
9480
1bd55598
RD
9481SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9482 PyObject *obj;
9483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9484 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9485 return SWIG_Py_Void();
d55e5bfc
RD
9486}
9487
1bd55598
RD
9488SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9489 return SWIG_Python_InitShadowInstance(args);
9490}
d55e5bfc 9491
1bd55598
RD
9492SWIGINTERN int SplitterNameStr_set(PyObject *) {
9493 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9494 return 1;
d55e5bfc
RD
9495}
9496
9497
1bd55598
RD
9498SWIGINTERN PyObject *SplitterNameStr_get(void) {
9499 PyObject *pyobj = 0;
9500
9501 {
9502#if wxUSE_UNICODE
9503 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9504#else
9505 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9506#endif
9507 }
9508 return pyobj;
9509}
9510
9511
9512SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj = 0;
9514 wxWindow *arg1 = (wxWindow *) 0 ;
9515 int arg2 = (int) -1 ;
9516 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9517 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9518 wxSize const &arg4_defvalue = wxDefaultSize ;
9519 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9520 long arg5 = (long) wxSP_3D ;
9521 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9522 wxString *arg6 = (wxString *) &arg6_defvalue ;
9523 wxSplitterWindow *result = 0 ;
9524 void *argp1 = 0 ;
9525 int res1 = 0 ;
9526 int val2 ;
9527 int ecode2 = 0 ;
9528 wxPoint temp3 ;
9529 wxSize temp4 ;
9530 long val5 ;
9531 int ecode5 = 0 ;
9532 bool temp6 = false ;
9533 PyObject * obj0 = 0 ;
9534 PyObject * obj1 = 0 ;
9535 PyObject * obj2 = 0 ;
9536 PyObject * obj3 = 0 ;
9537 PyObject * obj4 = 0 ;
9538 PyObject * obj5 = 0 ;
9539 char * kwnames[] = {
9540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9541 };
9542
9543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9545 if (!SWIG_IsOK(res1)) {
9546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9547 }
9548 arg1 = reinterpret_cast< wxWindow * >(argp1);
9549 if (obj1) {
9550 ecode2 = SWIG_AsVal_int(obj1, &val2);
9551 if (!SWIG_IsOK(ecode2)) {
9552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9553 }
9554 arg2 = static_cast< int >(val2);
9555 }
9556 if (obj2) {
36ed4f51 9557 {
1bd55598
RD
9558 arg3 = &temp3;
9559 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9560 }
1bd55598
RD
9561 }
9562 if (obj3) {
d55e5bfc 9563 {
1bd55598
RD
9564 arg4 = &temp4;
9565 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9566 }
1bd55598
RD
9567 }
9568 if (obj4) {
9569 ecode5 = SWIG_AsVal_long(obj4, &val5);
9570 if (!SWIG_IsOK(ecode5)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9572 }
9573 arg5 = static_cast< long >(val5);
9574 }
9575 if (obj5) {
36ed4f51 9576 {
1bd55598
RD
9577 arg6 = wxString_in_helper(obj5);
9578 if (arg6 == NULL) SWIG_fail;
9579 temp6 = true;
36ed4f51 9580 }
1bd55598
RD
9581 }
9582 {
9583 if (!wxPyCheckForApp()) SWIG_fail;
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9590 {
9591 if (temp6)
9592 delete arg6;
9593 }
9594 return resultobj;
9595fail:
9596 {
9597 if (temp6)
9598 delete arg6;
9599 }
9600 return NULL;
d55e5bfc
RD
9601}
9602
9603
1bd55598
RD
9604SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9605 PyObject *resultobj = 0;
9606 wxSplitterWindow *result = 0 ;
9607
9608 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9609 {
9610 if (!wxPyCheckForApp()) SWIG_fail;
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (wxSplitterWindow *)new wxSplitterWindow();
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9617 return resultobj;
9618fail:
9619 return NULL;
9620}
9621
9622
9623SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj = 0;
9625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9626 wxWindow *arg2 = (wxWindow *) 0 ;
9627 int arg3 = (int) -1 ;
9628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9630 wxSize const &arg5_defvalue = wxDefaultSize ;
9631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9632 long arg6 = (long) wxSP_3D ;
9633 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9634 wxString *arg7 = (wxString *) &arg7_defvalue ;
9635 bool result;
9636 void *argp1 = 0 ;
9637 int res1 = 0 ;
9638 void *argp2 = 0 ;
9639 int res2 = 0 ;
9640 int val3 ;
9641 int ecode3 = 0 ;
9642 wxPoint temp4 ;
9643 wxSize temp5 ;
9644 long val6 ;
9645 int ecode6 = 0 ;
9646 bool temp7 = false ;
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj1 = 0 ;
9649 PyObject * obj2 = 0 ;
9650 PyObject * obj3 = 0 ;
9651 PyObject * obj4 = 0 ;
9652 PyObject * obj5 = 0 ;
9653 PyObject * obj6 = 0 ;
9654 char * kwnames[] = {
9655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9656 };
9657
9658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9660 if (!SWIG_IsOK(res1)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9662 }
9663 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9665 if (!SWIG_IsOK(res2)) {
9666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9667 }
9668 arg2 = reinterpret_cast< wxWindow * >(argp2);
9669 if (obj2) {
9670 ecode3 = SWIG_AsVal_int(obj2, &val3);
9671 if (!SWIG_IsOK(ecode3)) {
9672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9673 }
9674 arg3 = static_cast< int >(val3);
9675 }
9676 if (obj3) {
d55e5bfc 9677 {
1bd55598
RD
9678 arg4 = &temp4;
9679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9680 }
1bd55598
RD
9681 }
9682 if (obj4) {
d55e5bfc 9683 {
1bd55598
RD
9684 arg5 = &temp5;
9685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9686 }
1bd55598
RD
9687 }
9688 if (obj5) {
9689 ecode6 = SWIG_AsVal_long(obj5, &val6);
9690 if (!SWIG_IsOK(ecode6)) {
9691 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9692 }
9693 arg6 = static_cast< long >(val6);
9694 }
9695 if (obj6) {
d55e5bfc 9696 {
1bd55598
RD
9697 arg7 = wxString_in_helper(obj6);
9698 if (arg7 == NULL) SWIG_fail;
9699 temp7 = true;
d55e5bfc 9700 }
1bd55598
RD
9701 }
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 {
9709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9710 }
9711 {
9712 if (temp7)
9713 delete arg7;
9714 }
9715 return resultobj;
9716fail:
9717 {
9718 if (temp7)
9719 delete arg7;
9720 }
9721 return NULL;
d55e5bfc
RD
9722}
9723
9724
1bd55598
RD
9725SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9726 PyObject *resultobj = 0;
9727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9728 wxWindow *result = 0 ;
9729 void *argp1 = 0 ;
9730 int res1 = 0 ;
9731 PyObject *swig_obj[1] ;
9732
9733 if (!args) SWIG_fail;
9734 swig_obj[0] = args;
9735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9736 if (!SWIG_IsOK(res1)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9738 }
9739 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 {
9747 resultobj = wxPyMake_wxObject(result, 0);
9748 }
9749 return resultobj;
9750fail:
9751 return NULL;
d55e5bfc
RD
9752}
9753
9754
1bd55598
RD
9755SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9756 PyObject *resultobj = 0;
9757 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9758 wxWindow *result = 0 ;
9759 void *argp1 = 0 ;
9760 int res1 = 0 ;
9761 PyObject *swig_obj[1] ;
9762
9763 if (!args) SWIG_fail;
9764 swig_obj[0] = args;
9765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9766 if (!SWIG_IsOK(res1)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9768 }
9769 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 {
9777 resultobj = wxPyMake_wxObject(result, 0);
9778 }
9779 return resultobj;
9780fail:
9781 return NULL;
9782}
9783
9784
9785SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj = 0;
9787 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9788 int arg2 ;
9789 void *argp1 = 0 ;
9790 int res1 = 0 ;
9791 int val2 ;
9792 int ecode2 = 0 ;
9793 PyObject * obj0 = 0 ;
9794 PyObject * obj1 = 0 ;
9795 char * kwnames[] = {
9796 (char *) "self",(char *) "mode", NULL
9797 };
9798
9799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9801 if (!SWIG_IsOK(res1)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9803 }
9804 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9805 ecode2 = SWIG_AsVal_int(obj1, &val2);
9806 if (!SWIG_IsOK(ecode2)) {
9807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9808 }
9809 arg2 = static_cast< int >(val2);
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 (arg1)->SetSplitMode(arg2);
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 resultobj = SWIG_Py_Void();
9817 return resultobj;
9818fail:
9819 return NULL;
d55e5bfc
RD
9820}
9821
9822
1bd55598
RD
9823SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9824 PyObject *resultobj = 0;
9825 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9826 wxSplitMode result;
9827 void *argp1 = 0 ;
9828 int res1 = 0 ;
9829 PyObject *swig_obj[1] ;
9830
9831 if (!args) SWIG_fail;
9832 swig_obj[0] = args;
9833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9834 if (!SWIG_IsOK(res1)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9836 }
9837 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 resultobj = SWIG_From_int(static_cast< int >(result));
9845 return resultobj;
9846fail:
9847 return NULL;
9848}
9849
9850
9851SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj = 0;
9853 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9854 wxWindow *arg2 = (wxWindow *) 0 ;
9855 void *argp1 = 0 ;
9856 int res1 = 0 ;
9857 void *argp2 = 0 ;
9858 int res2 = 0 ;
9859 PyObject * obj0 = 0 ;
9860 PyObject * obj1 = 0 ;
9861 char * kwnames[] = {
9862 (char *) "self",(char *) "window", NULL
9863 };
9864
9865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9867 if (!SWIG_IsOK(res1)) {
9868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9869 }
9870 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9871 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9872 if (!SWIG_IsOK(res2)) {
9873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9874 }
9875 arg2 = reinterpret_cast< wxWindow * >(argp2);
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 (arg1)->Initialize(arg2);
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_Py_Void();
9883 return resultobj;
9884fail:
9885 return NULL;
9886}
9887
9888
9889SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = 0;
9891 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9892 wxWindow *arg2 = (wxWindow *) 0 ;
9893 wxWindow *arg3 = (wxWindow *) 0 ;
9894 int arg4 = (int) 0 ;
9895 bool result;
9896 void *argp1 = 0 ;
9897 int res1 = 0 ;
9898 void *argp2 = 0 ;
9899 int res2 = 0 ;
9900 void *argp3 = 0 ;
9901 int res3 = 0 ;
9902 int val4 ;
9903 int ecode4 = 0 ;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 PyObject * obj2 = 0 ;
9907 PyObject * obj3 = 0 ;
9908 char * kwnames[] = {
9909 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9910 };
9911
9912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9914 if (!SWIG_IsOK(res1)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9916 }
9917 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9919 if (!SWIG_IsOK(res2)) {
9920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9921 }
9922 arg2 = reinterpret_cast< wxWindow * >(argp2);
9923 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9924 if (!SWIG_IsOK(res3)) {
9925 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9926 }
9927 arg3 = reinterpret_cast< wxWindow * >(argp3);
9928 if (obj3) {
9929 ecode4 = SWIG_AsVal_int(obj3, &val4);
9930 if (!SWIG_IsOK(ecode4)) {
9931 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9932 }
9933 arg4 = static_cast< int >(val4);
9934 }
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 {
9942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9943 }
9944 return resultobj;
9945fail:
9946 return NULL;
9947}
9948
9949
9950SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9951 PyObject *resultobj = 0;
9952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9953 wxWindow *arg2 = (wxWindow *) 0 ;
9954 wxWindow *arg3 = (wxWindow *) 0 ;
9955 int arg4 = (int) 0 ;
9956 bool result;
9957 void *argp1 = 0 ;
9958 int res1 = 0 ;
9959 void *argp2 = 0 ;
9960 int res2 = 0 ;
9961 void *argp3 = 0 ;
9962 int res3 = 0 ;
9963 int val4 ;
9964 int ecode4 = 0 ;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 PyObject * obj2 = 0 ;
9968 PyObject * obj3 = 0 ;
9969 char * kwnames[] = {
9970 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9971 };
9972
9973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9975 if (!SWIG_IsOK(res1)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9977 }
9978 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9979 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9980 if (!SWIG_IsOK(res2)) {
9981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9982 }
9983 arg2 = reinterpret_cast< wxWindow * >(argp2);
9984 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9985 if (!SWIG_IsOK(res3)) {
9986 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9987 }
9988 arg3 = reinterpret_cast< wxWindow * >(argp3);
9989 if (obj3) {
9990 ecode4 = SWIG_AsVal_int(obj3, &val4);
9991 if (!SWIG_IsOK(ecode4)) {
9992 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9993 }
9994 arg4 = static_cast< int >(val4);
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 {
10003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10004 }
10005 return resultobj;
10006fail:
10007 return NULL;
10008}
10009
10010
10011SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj = 0;
10013 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10014 wxWindow *arg2 = (wxWindow *) NULL ;
10015 bool result;
10016 void *argp1 = 0 ;
10017 int res1 = 0 ;
10018 void *argp2 = 0 ;
10019 int res2 = 0 ;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
10022 char * kwnames[] = {
10023 (char *) "self",(char *) "toRemove", NULL
10024 };
10025
10026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10028 if (!SWIG_IsOK(res1)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 }
10031 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10032 if (obj1) {
10033 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10034 if (!SWIG_IsOK(res2)) {
10035 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 10036 }
1bd55598
RD
10037 arg2 = reinterpret_cast< wxWindow * >(argp2);
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (bool)(arg1)->Unsplit(arg2);
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 {
10046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10047 }
10048 return resultobj;
10049fail:
10050 return NULL;
10051}
10052
10053
10054SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10055 PyObject *resultobj = 0;
10056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10057 wxWindow *arg2 = (wxWindow *) 0 ;
10058 wxWindow *arg3 = (wxWindow *) 0 ;
10059 bool result;
10060 void *argp1 = 0 ;
10061 int res1 = 0 ;
10062 void *argp2 = 0 ;
10063 int res2 = 0 ;
10064 void *argp3 = 0 ;
10065 int res3 = 0 ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068 PyObject * obj2 = 0 ;
10069 char * kwnames[] = {
10070 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10071 };
10072
10073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10075 if (!SWIG_IsOK(res1)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10077 }
10078 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10079 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10080 if (!SWIG_IsOK(res2)) {
10081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10082 }
10083 arg2 = reinterpret_cast< wxWindow * >(argp2);
10084 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10085 if (!SWIG_IsOK(res3)) {
10086 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10087 }
10088 arg3 = reinterpret_cast< wxWindow * >(argp3);
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 {
10096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10097 }
10098 return resultobj;
10099fail:
10100 return NULL;
f20a2e1f
RD
10101}
10102
10103
1bd55598
RD
10104SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10105 PyObject *resultobj = 0;
10106 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10107 void *argp1 = 0 ;
10108 int res1 = 0 ;
10109 PyObject *swig_obj[1] ;
10110
10111 if (!args) SWIG_fail;
10112 swig_obj[0] = args;
10113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10114 if (!SWIG_IsOK(res1)) {
10115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10116 }
10117 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10118 {
10119 PyThreadState* __tstate = wxPyBeginAllowThreads();
10120 (arg1)->UpdateSize();
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 resultobj = SWIG_Py_Void();
10125 return resultobj;
10126fail:
10127 return NULL;
d55e5bfc
RD
10128}
10129
10130
1bd55598
RD
10131SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10132 PyObject *resultobj = 0;
10133 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10134 bool result;
10135 void *argp1 = 0 ;
10136 int res1 = 0 ;
10137 PyObject *swig_obj[1] ;
10138
10139 if (!args) SWIG_fail;
10140 swig_obj[0] = args;
10141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10142 if (!SWIG_IsOK(res1)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10144 }
10145 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 {
10153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10154 }
10155 return resultobj;
10156fail:
10157 return NULL;
10158}
10159
10160
10161SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj = 0;
10163 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10164 int arg2 ;
10165 void *argp1 = 0 ;
10166 int res1 = 0 ;
10167 int val2 ;
10168 int ecode2 = 0 ;
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 char * kwnames[] = {
10172 (char *) "self",(char *) "width", NULL
10173 };
10174
10175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10177 if (!SWIG_IsOK(res1)) {
10178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10179 }
10180 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10181 ecode2 = SWIG_AsVal_int(obj1, &val2);
10182 if (!SWIG_IsOK(ecode2)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10184 }
10185 arg2 = static_cast< int >(val2);
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 (arg1)->SetSashSize(arg2);
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 resultobj = SWIG_Py_Void();
10193 return resultobj;
10194fail:
10195 return NULL;
10196}
10197
10198
10199SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10200 PyObject *resultobj = 0;
10201 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10202 int arg2 ;
10203 void *argp1 = 0 ;
10204 int res1 = 0 ;
10205 int val2 ;
10206 int ecode2 = 0 ;
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10209 char * kwnames[] = {
10210 (char *) "self",(char *) "width", NULL
10211 };
10212
10213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10215 if (!SWIG_IsOK(res1)) {
10216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10217 }
10218 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10219 ecode2 = SWIG_AsVal_int(obj1, &val2);
10220 if (!SWIG_IsOK(ecode2)) {
10221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10222 }
10223 arg2 = static_cast< int >(val2);
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->SetBorderSize(arg2);
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 resultobj = SWIG_Py_Void();
10231 return resultobj;
10232fail:
10233 return NULL;
d55e5bfc
RD
10234}
10235
10236
1bd55598
RD
10237SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10238 PyObject *resultobj = 0;
10239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10240 int result;
10241 void *argp1 = 0 ;
10242 int res1 = 0 ;
10243 PyObject *swig_obj[1] ;
10244
10245 if (!args) SWIG_fail;
10246 swig_obj[0] = args;
10247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10248 if (!SWIG_IsOK(res1)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10250 }
10251 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = SWIG_From_int(static_cast< int >(result));
10259 return resultobj;
10260fail:
10261 return NULL;
d55e5bfc
RD
10262}
10263
10264
1bd55598
RD
10265SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10266 PyObject *resultobj = 0;
10267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10268 int result;
10269 void *argp1 = 0 ;
10270 int res1 = 0 ;
10271 PyObject *swig_obj[1] ;
10272
10273 if (!args) SWIG_fail;
10274 swig_obj[0] = args;
10275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10276 if (!SWIG_IsOK(res1)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 }
10279 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_From_int(static_cast< int >(result));
10287 return resultobj;
10288fail:
10289 return NULL;
10290}
10291
10292
10293SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj = 0;
10295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10296 int arg2 ;
10297 bool arg3 = (bool) true ;
10298 void *argp1 = 0 ;
10299 int res1 = 0 ;
10300 int val2 ;
10301 int ecode2 = 0 ;
10302 bool val3 ;
10303 int ecode3 = 0 ;
10304 PyObject * obj0 = 0 ;
10305 PyObject * obj1 = 0 ;
10306 PyObject * obj2 = 0 ;
10307 char * kwnames[] = {
10308 (char *) "self",(char *) "position",(char *) "redraw", NULL
10309 };
10310
10311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10313 if (!SWIG_IsOK(res1)) {
10314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10315 }
10316 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10317 ecode2 = SWIG_AsVal_int(obj1, &val2);
10318 if (!SWIG_IsOK(ecode2)) {
10319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10320 }
10321 arg2 = static_cast< int >(val2);
10322 if (obj2) {
10323 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10324 if (!SWIG_IsOK(ecode3)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10326 }
10327 arg3 = static_cast< bool >(val3);
10328 }
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 (arg1)->SetSashPosition(arg2,arg3);
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 resultobj = SWIG_Py_Void();
10336 return resultobj;
10337fail:
10338 return NULL;
d55e5bfc
RD
10339}
10340
10341
1bd55598
RD
10342SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10343 PyObject *resultobj = 0;
10344 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10345 int result;
10346 void *argp1 = 0 ;
10347 int res1 = 0 ;
10348 PyObject *swig_obj[1] ;
10349
10350 if (!args) SWIG_fail;
10351 swig_obj[0] = args;
10352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10353 if (!SWIG_IsOK(res1)) {
10354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10355 }
10356 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 resultobj = SWIG_From_int(static_cast< int >(result));
10364 return resultobj;
10365fail:
10366 return NULL;
10367}
10368
10369
10370SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10373 double arg2 ;
10374 void *argp1 = 0 ;
10375 int res1 = 0 ;
10376 double val2 ;
10377 int ecode2 = 0 ;
10378 PyObject * obj0 = 0 ;
10379 PyObject * obj1 = 0 ;
10380 char * kwnames[] = {
10381 (char *) "self",(char *) "gravity", NULL
10382 };
10383
10384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10386 if (!SWIG_IsOK(res1)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10388 }
10389 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10390 ecode2 = SWIG_AsVal_double(obj1, &val2);
10391 if (!SWIG_IsOK(ecode2)) {
10392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10393 }
10394 arg2 = static_cast< double >(val2);
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->SetSashGravity(arg2);
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 resultobj = SWIG_Py_Void();
10402 return resultobj;
10403fail:
10404 return NULL;
d55e5bfc
RD
10405}
10406
10407
1bd55598
RD
10408SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10409 PyObject *resultobj = 0;
10410 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10411 double result;
10412 void *argp1 = 0 ;
10413 int res1 = 0 ;
10414 PyObject *swig_obj[1] ;
10415
10416 if (!args) SWIG_fail;
10417 swig_obj[0] = args;
10418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10419 if (!SWIG_IsOK(res1)) {
10420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10421 }
10422 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 resultobj = SWIG_From_double(static_cast< double >(result));
10430 return resultobj;
10431fail:
10432 return NULL;
10433}
10434
10435
10436SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj = 0;
10438 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10439 int arg2 ;
10440 void *argp1 = 0 ;
10441 int res1 = 0 ;
10442 int val2 ;
10443 int ecode2 = 0 ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 char * kwnames[] = {
10447 (char *) "self",(char *) "min", NULL
10448 };
10449
10450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10452 if (!SWIG_IsOK(res1)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10454 }
10455 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10456 ecode2 = SWIG_AsVal_int(obj1, &val2);
10457 if (!SWIG_IsOK(ecode2)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10459 }
10460 arg2 = static_cast< int >(val2);
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 (arg1)->SetMinimumPaneSize(arg2);
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 resultobj = SWIG_Py_Void();
10468 return resultobj;
10469fail:
10470 return NULL;
b1fcee84
RD
10471}
10472
10473
1bd55598
RD
10474SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10475 PyObject *resultobj = 0;
10476 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10477 int result;
10478 void *argp1 = 0 ;
10479 int res1 = 0 ;
10480 PyObject *swig_obj[1] ;
10481
10482 if (!args) SWIG_fail;
10483 swig_obj[0] = args;
10484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10485 if (!SWIG_IsOK(res1)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10487 }
10488 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 resultobj = SWIG_From_int(static_cast< int >(result));
10496 return resultobj;
10497fail:
10498 return NULL;
10499}
10500
10501
10502SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj = 0;
10504 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10505 int arg2 ;
10506 int arg3 ;
10507 int arg4 = (int) 5 ;
10508 bool result;
10509 void *argp1 = 0 ;
10510 int res1 = 0 ;
10511 int val2 ;
10512 int ecode2 = 0 ;
10513 int val3 ;
10514 int ecode3 = 0 ;
10515 int val4 ;
10516 int ecode4 = 0 ;
10517 PyObject * obj0 = 0 ;
10518 PyObject * obj1 = 0 ;
10519 PyObject * obj2 = 0 ;
10520 PyObject * obj3 = 0 ;
10521 char * kwnames[] = {
10522 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10523 };
10524
10525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10529 }
10530 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10531 ecode2 = SWIG_AsVal_int(obj1, &val2);
10532 if (!SWIG_IsOK(ecode2)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10534 }
10535 arg2 = static_cast< int >(val2);
10536 ecode3 = SWIG_AsVal_int(obj2, &val3);
10537 if (!SWIG_IsOK(ecode3)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10539 }
10540 arg3 = static_cast< int >(val3);
10541 if (obj3) {
10542 ecode4 = SWIG_AsVal_int(obj3, &val4);
10543 if (!SWIG_IsOK(ecode4)) {
10544 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10545 }
10546 arg4 = static_cast< int >(val4);
10547 }
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 {
10555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10556 }
10557 return resultobj;
10558fail:
10559 return NULL;
b1fcee84
RD
10560}
10561
10562
1bd55598
RD
10563SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10564 PyObject *resultobj = 0;
10565 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10566 void *argp1 = 0 ;
10567 int res1 = 0 ;
10568 PyObject *swig_obj[1] ;
10569
10570 if (!args) SWIG_fail;
10571 swig_obj[0] = args;
10572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10573 if (!SWIG_IsOK(res1)) {
10574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10575 }
10576 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 (arg1)->SizeWindows();
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = SWIG_Py_Void();
10584 return resultobj;
10585fail:
10586 return NULL;
10587}
10588
10589
10590SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj = 0;
10592 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10593 bool arg2 ;
10594 void *argp1 = 0 ;
10595 int res1 = 0 ;
10596 bool val2 ;
10597 int ecode2 = 0 ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10600 char * kwnames[] = {
10601 (char *) "self",(char *) "needUpdating", NULL
10602 };
10603
10604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10606 if (!SWIG_IsOK(res1)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10608 }
10609 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10610 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10611 if (!SWIG_IsOK(ecode2)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10613 }
10614 arg2 = static_cast< bool >(val2);
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 (arg1)->SetNeedUpdating(arg2);
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 resultobj = SWIG_Py_Void();
10622 return resultobj;
10623fail:
10624 return NULL;
b1fcee84
RD
10625}
10626
10627
1bd55598
RD
10628SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10629 PyObject *resultobj = 0;
10630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10631 bool result;
10632 void *argp1 = 0 ;
10633 int res1 = 0 ;
10634 PyObject *swig_obj[1] ;
10635
10636 if (!args) SWIG_fail;
10637 swig_obj[0] = args;
10638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10639 if (!SWIG_IsOK(res1)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10641 }
10642 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 {
10650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10651 }
10652 return resultobj;
10653fail:
10654 return NULL;
b1fcee84
RD
10655}
10656
10657
1bd55598
RD
10658SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj = 0;
10660 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10661 SwigValueWrapper<wxVisualAttributes > result;
10662 int val1 ;
10663 int ecode1 = 0 ;
10664 PyObject * obj0 = 0 ;
10665 char * kwnames[] = {
10666 (char *) "variant", NULL
10667 };
10668
10669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10670 if (obj0) {
10671 ecode1 = SWIG_AsVal_int(obj0, &val1);
10672 if (!SWIG_IsOK(ecode1)) {
10673 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10674 }
10675 arg1 = static_cast< wxWindowVariant >(val1);
10676 }
10677 {
10678 if (!wxPyCheckForApp()) SWIG_fail;
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10685 return resultobj;
10686fail:
10687 return NULL;
d55e5bfc
RD
10688}
10689
10690
1bd55598
RD
10691SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10692 PyObject *obj;
10693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10695 return SWIG_Py_Void();
d55e5bfc
RD
10696}
10697
1bd55598
RD
10698SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10699 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10700}
10701
1bd55598
RD
10702SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj = 0;
10704 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10705 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10706 wxSplitterEvent *result = 0 ;
10707 int val1 ;
10708 int ecode1 = 0 ;
10709 void *argp2 = 0 ;
10710 int res2 = 0 ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 char * kwnames[] = {
10714 (char *) "type",(char *) "splitter", NULL
10715 };
10716
10717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10718 if (obj0) {
10719 ecode1 = SWIG_AsVal_int(obj0, &val1);
10720 if (!SWIG_IsOK(ecode1)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10722 }
10723 arg1 = static_cast< wxEventType >(val1);
10724 }
10725 if (obj1) {
10726 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10727 if (!SWIG_IsOK(res2)) {
10728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10729 }
1bd55598
RD
10730 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10731 }
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10739 return resultobj;
10740fail:
10741 return NULL;
10742}
10743
10744
10745SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj = 0;
10747 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10748 int arg2 ;
10749 void *argp1 = 0 ;
10750 int res1 = 0 ;
10751 int val2 ;
10752 int ecode2 = 0 ;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 char * kwnames[] = {
10756 (char *) "self",(char *) "pos", NULL
10757 };
10758
10759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10761 if (!SWIG_IsOK(res1)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10763 }
10764 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10765 ecode2 = SWIG_AsVal_int(obj1, &val2);
10766 if (!SWIG_IsOK(ecode2)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10768 }
10769 arg2 = static_cast< int >(val2);
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->SetSashPosition(arg2);
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_Py_Void();
10777 return resultobj;
10778fail:
10779 return NULL;
d55e5bfc
RD
10780}
10781
10782
1bd55598
RD
10783SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10784 PyObject *resultobj = 0;
10785 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10786 int result;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 PyObject *swig_obj[1] ;
10790
10791 if (!args) SWIG_fail;
10792 swig_obj[0] = args;
10793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10796 }
10797 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 resultobj = SWIG_From_int(static_cast< int >(result));
10805 return resultobj;
10806fail:
10807 return NULL;
d55e5bfc
RD
10808}
10809
10810
1bd55598
RD
10811SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10812 PyObject *resultobj = 0;
10813 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10814 wxWindow *result = 0 ;
10815 void *argp1 = 0 ;
10816 int res1 = 0 ;
10817 PyObject *swig_obj[1] ;
10818
10819 if (!args) SWIG_fail;
10820 swig_obj[0] = args;
10821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10822 if (!SWIG_IsOK(res1)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10824 }
10825 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 resultobj = wxPyMake_wxObject(result, 0);
10834 }
10835 return resultobj;
10836fail:
10837 return NULL;
d55e5bfc
RD
10838}
10839
10840
1bd55598
RD
10841SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10842 PyObject *resultobj = 0;
10843 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10844 int result;
10845 void *argp1 = 0 ;
10846 int res1 = 0 ;
10847 PyObject *swig_obj[1] ;
10848
10849 if (!args) SWIG_fail;
10850 swig_obj[0] = args;
10851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10852 if (!SWIG_IsOK(res1)) {
10853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10854 }
10855 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 resultobj = SWIG_From_int(static_cast< int >(result));
10863 return resultobj;
10864fail:
10865 return NULL;
f20a2e1f
RD
10866}
10867
10868
1bd55598
RD
10869SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10870 PyObject *resultobj = 0;
10871 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10872 int result;
10873 void *argp1 = 0 ;
10874 int res1 = 0 ;
10875 PyObject *swig_obj[1] ;
10876
10877 if (!args) SWIG_fail;
10878 swig_obj[0] = args;
10879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10880 if (!SWIG_IsOK(res1)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10882 }
10883 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 resultobj = SWIG_From_int(static_cast< int >(result));
10891 return resultobj;
10892fail:
10893 return NULL;
d55e5bfc
RD
10894}
10895
10896
1bd55598
RD
10897SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10898 PyObject *obj;
10899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10900 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10901 return SWIG_Py_Void();
d55e5bfc
RD
10902}
10903
1bd55598
RD
10904SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10905 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10906}
10907
1bd55598
RD
10908SWIGINTERN int SashNameStr_set(PyObject *) {
10909 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10910 return 1;
d55e5bfc
RD
10911}
10912
10913
1bd55598
RD
10914SWIGINTERN PyObject *SashNameStr_get(void) {
10915 PyObject *pyobj = 0;
10916
10917 {
10918#if wxUSE_UNICODE
10919 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10920#else
10921 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10922#endif
10923 }
10924 return pyobj;
d55e5bfc
RD
10925}
10926
10927
1bd55598
RD
10928SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10929 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10930 return 1;
d55e5bfc
RD
10931}
10932
10933
1bd55598
RD
10934SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10935 PyObject *pyobj = 0;
10936
10937 {
10938#if wxUSE_UNICODE
10939 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10940#else
10941 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10942#endif
10943 }
10944 return pyobj;
10945}
10946
10947
10948SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj = 0;
10950 wxWindow *arg1 = (wxWindow *) 0 ;
10951 int arg2 = (int) -1 ;
10952 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10953 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10954 wxSize const &arg4_defvalue = wxDefaultSize ;
10955 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10956 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10957 wxString const &arg6_defvalue = wxPySashNameStr ;
10958 wxString *arg6 = (wxString *) &arg6_defvalue ;
10959 wxSashWindow *result = 0 ;
10960 void *argp1 = 0 ;
10961 int res1 = 0 ;
10962 int val2 ;
10963 int ecode2 = 0 ;
10964 wxPoint temp3 ;
10965 wxSize temp4 ;
10966 long val5 ;
10967 int ecode5 = 0 ;
10968 bool temp6 = false ;
10969 PyObject * obj0 = 0 ;
10970 PyObject * obj1 = 0 ;
10971 PyObject * obj2 = 0 ;
10972 PyObject * obj3 = 0 ;
10973 PyObject * obj4 = 0 ;
10974 PyObject * obj5 = 0 ;
10975 char * kwnames[] = {
10976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10977 };
10978
10979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10981 if (!SWIG_IsOK(res1)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10983 }
10984 arg1 = reinterpret_cast< wxWindow * >(argp1);
10985 if (obj1) {
10986 ecode2 = SWIG_AsVal_int(obj1, &val2);
10987 if (!SWIG_IsOK(ecode2)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10989 }
10990 arg2 = static_cast< int >(val2);
10991 }
10992 if (obj2) {
36ed4f51 10993 {
1bd55598
RD
10994 arg3 = &temp3;
10995 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10996 }
1bd55598
RD
10997 }
10998 if (obj3) {
36ed4f51 10999 {
1bd55598
RD
11000 arg4 = &temp4;
11001 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 11002 }
1bd55598
RD
11003 }
11004 if (obj4) {
11005 ecode5 = SWIG_AsVal_long(obj4, &val5);
11006 if (!SWIG_IsOK(ecode5)) {
11007 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11008 }
11009 arg5 = static_cast< long >(val5);
11010 }
11011 if (obj5) {
36ed4f51 11012 {
1bd55598
RD
11013 arg6 = wxString_in_helper(obj5);
11014 if (arg6 == NULL) SWIG_fail;
11015 temp6 = true;
d55e5bfc 11016 }
1bd55598
RD
11017 }
11018 {
11019 if (!wxPyCheckForApp()) SWIG_fail;
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11026 {
11027 if (temp6)
11028 delete arg6;
11029 }
11030 return resultobj;
11031fail:
11032 {
11033 if (temp6)
11034 delete arg6;
11035 }
11036 return NULL;
d55e5bfc
RD
11037}
11038
11039
1bd55598
RD
11040SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11041 PyObject *resultobj = 0;
11042 wxSashWindow *result = 0 ;
11043
11044 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11045 {
11046 if (!wxPyCheckForApp()) SWIG_fail;
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 result = (wxSashWindow *)new wxSashWindow();
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11053 return resultobj;
11054fail:
11055 return NULL;
11056}
11057
11058
11059SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj = 0;
11061 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11062 wxWindow *arg2 = (wxWindow *) 0 ;
11063 int arg3 = (int) -1 ;
11064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11066 wxSize const &arg5_defvalue = wxDefaultSize ;
11067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11068 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11069 wxString const &arg7_defvalue = wxPySashNameStr ;
11070 wxString *arg7 = (wxString *) &arg7_defvalue ;
11071 bool result;
11072 void *argp1 = 0 ;
11073 int res1 = 0 ;
11074 void *argp2 = 0 ;
11075 int res2 = 0 ;
11076 int val3 ;
11077 int ecode3 = 0 ;
11078 wxPoint temp4 ;
11079 wxSize temp5 ;
11080 long val6 ;
11081 int ecode6 = 0 ;
11082 bool temp7 = false ;
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
11085 PyObject * obj2 = 0 ;
11086 PyObject * obj3 = 0 ;
11087 PyObject * obj4 = 0 ;
11088 PyObject * obj5 = 0 ;
11089 PyObject * obj6 = 0 ;
11090 char * kwnames[] = {
11091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11092 };
11093
11094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11096 if (!SWIG_IsOK(res1)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 }
11099 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11100 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11101 if (!SWIG_IsOK(res2)) {
11102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11103 }
11104 arg2 = reinterpret_cast< wxWindow * >(argp2);
11105 if (obj2) {
11106 ecode3 = SWIG_AsVal_int(obj2, &val3);
11107 if (!SWIG_IsOK(ecode3)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11109 }
11110 arg3 = static_cast< int >(val3);
11111 }
11112 if (obj3) {
d55e5bfc 11113 {
1bd55598
RD
11114 arg4 = &temp4;
11115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11116 }
1bd55598
RD
11117 }
11118 if (obj4) {
36ed4f51 11119 {
1bd55598
RD
11120 arg5 = &temp5;
11121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 11122 }
1bd55598
RD
11123 }
11124 if (obj5) {
11125 ecode6 = SWIG_AsVal_long(obj5, &val6);
11126 if (!SWIG_IsOK(ecode6)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11128 }
11129 arg6 = static_cast< long >(val6);
11130 }
11131 if (obj6) {
d55e5bfc 11132 {
1bd55598
RD
11133 arg7 = wxString_in_helper(obj6);
11134 if (arg7 == NULL) SWIG_fail;
11135 temp7 = true;
36ed4f51 11136 }
1bd55598
RD
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 {
11145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11146 }
11147 {
11148 if (temp7)
11149 delete arg7;
11150 }
11151 return resultobj;
11152fail:
11153 {
11154 if (temp7)
11155 delete arg7;
11156 }
11157 return NULL;
11158}
11159
11160
11161SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj = 0;
11163 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11164 wxSashEdgePosition arg2 ;
11165 bool arg3 ;
11166 void *argp1 = 0 ;
11167 int res1 = 0 ;
11168 int val2 ;
11169 int ecode2 = 0 ;
11170 bool val3 ;
11171 int ecode3 = 0 ;
11172 PyObject * obj0 = 0 ;
11173 PyObject * obj1 = 0 ;
11174 PyObject * obj2 = 0 ;
11175 char * kwnames[] = {
11176 (char *) "self",(char *) "edge",(char *) "sash", NULL
11177 };
11178
11179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11181 if (!SWIG_IsOK(res1)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11183 }
11184 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11185 ecode2 = SWIG_AsVal_int(obj1, &val2);
11186 if (!SWIG_IsOK(ecode2)) {
11187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11188 }
11189 arg2 = static_cast< wxSashEdgePosition >(val2);
11190 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11191 if (!SWIG_IsOK(ecode3)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11193 }
11194 arg3 = static_cast< bool >(val3);
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 (arg1)->SetSashVisible(arg2,arg3);
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 resultobj = SWIG_Py_Void();
11202 return resultobj;
11203fail:
11204 return NULL;
11205}
11206
11207
11208SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj = 0;
11210 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11211 wxSashEdgePosition arg2 ;
11212 bool result;
11213 void *argp1 = 0 ;
11214 int res1 = 0 ;
11215 int val2 ;
11216 int ecode2 = 0 ;
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 char * kwnames[] = {
11220 (char *) "self",(char *) "edge", NULL
11221 };
11222
11223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11225 if (!SWIG_IsOK(res1)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11227 }
11228 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11229 ecode2 = SWIG_AsVal_int(obj1, &val2);
11230 if (!SWIG_IsOK(ecode2)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11232 }
11233 arg2 = static_cast< wxSashEdgePosition >(val2);
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 {
11241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11242 }
11243 return resultobj;
11244fail:
11245 return NULL;
11246}
11247
11248
1bd55598
RD
11249SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj = 0;
11251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11252 wxSashEdgePosition arg2 ;
11253 int result;
11254 void *argp1 = 0 ;
11255 int res1 = 0 ;
11256 int val2 ;
11257 int ecode2 = 0 ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 char * kwnames[] = {
11261 (char *) "self",(char *) "edge", NULL
11262 };
11263
11264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11266 if (!SWIG_IsOK(res1)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11268 }
11269 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11270 ecode2 = SWIG_AsVal_int(obj1, &val2);
11271 if (!SWIG_IsOK(ecode2)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11273 }
11274 arg2 = static_cast< wxSashEdgePosition >(val2);
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 resultobj = SWIG_From_int(static_cast< int >(result));
11282 return resultobj;
11283fail:
11284 return NULL;
11285}
11286
11287
11288SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj = 0;
11290 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11291 int arg2 ;
11292 void *argp1 = 0 ;
11293 int res1 = 0 ;
11294 int val2 ;
11295 int ecode2 = 0 ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char * kwnames[] = {
11299 (char *) "self",(char *) "width", NULL
11300 };
11301
11302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11304 if (!SWIG_IsOK(res1)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11306 }
11307 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11308 ecode2 = SWIG_AsVal_int(obj1, &val2);
11309 if (!SWIG_IsOK(ecode2)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11311 }
11312 arg2 = static_cast< int >(val2);
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 (arg1)->SetDefaultBorderSize(arg2);
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 resultobj = SWIG_Py_Void();
11320 return resultobj;
11321fail:
11322 return NULL;
d55e5bfc
RD
11323}
11324
11325
1bd55598
RD
11326SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11327 PyObject *resultobj = 0;
11328 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11329 int result;
11330 void *argp1 = 0 ;
11331 int res1 = 0 ;
11332 PyObject *swig_obj[1] ;
11333
11334 if (!args) SWIG_fail;
11335 swig_obj[0] = args;
11336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11337 if (!SWIG_IsOK(res1)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 }
11340 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 resultobj = SWIG_From_int(static_cast< int >(result));
11348 return resultobj;
11349fail:
11350 return NULL;
11351}
11352
11353
11354SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj = 0;
11356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11357 int arg2 ;
11358 void *argp1 = 0 ;
11359 int res1 = 0 ;
11360 int val2 ;
11361 int ecode2 = 0 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char * kwnames[] = {
11365 (char *) "self",(char *) "width", NULL
11366 };
11367
11368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11370 if (!SWIG_IsOK(res1)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 }
11373 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11374 ecode2 = SWIG_AsVal_int(obj1, &val2);
11375 if (!SWIG_IsOK(ecode2)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11377 }
11378 arg2 = static_cast< int >(val2);
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 (arg1)->SetExtraBorderSize(arg2);
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 resultobj = SWIG_Py_Void();
11386 return resultobj;
11387fail:
11388 return NULL;
d55e5bfc
RD
11389}
11390
11391
1bd55598
RD
11392SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11393 PyObject *resultobj = 0;
11394 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11395 int result;
11396 void *argp1 = 0 ;
11397 int res1 = 0 ;
11398 PyObject *swig_obj[1] ;
11399
11400 if (!args) SWIG_fail;
11401 swig_obj[0] = args;
11402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11403 if (!SWIG_IsOK(res1)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11405 }
11406 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = SWIG_From_int(static_cast< int >(result));
11414 return resultobj;
11415fail:
11416 return NULL;
11417}
11418
11419
11420SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj = 0;
11422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11423 int arg2 ;
11424 void *argp1 = 0 ;
11425 int res1 = 0 ;
11426 int val2 ;
11427 int ecode2 = 0 ;
11428 PyObject * obj0 = 0 ;
11429 PyObject * obj1 = 0 ;
11430 char * kwnames[] = {
11431 (char *) "self",(char *) "min", NULL
11432 };
11433
11434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11436 if (!SWIG_IsOK(res1)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11438 }
11439 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11440 ecode2 = SWIG_AsVal_int(obj1, &val2);
11441 if (!SWIG_IsOK(ecode2)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11443 }
11444 arg2 = static_cast< int >(val2);
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 (arg1)->SetMinimumSizeX(arg2);
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = SWIG_Py_Void();
11452 return resultobj;
11453fail:
11454 return NULL;
11455}
11456
11457
11458SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj = 0;
11460 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11461 int arg2 ;
11462 void *argp1 = 0 ;
11463 int res1 = 0 ;
11464 int val2 ;
11465 int ecode2 = 0 ;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468 char * kwnames[] = {
11469 (char *) "self",(char *) "min", NULL
11470 };
11471
11472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11474 if (!SWIG_IsOK(res1)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11476 }
11477 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11478 ecode2 = SWIG_AsVal_int(obj1, &val2);
11479 if (!SWIG_IsOK(ecode2)) {
11480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11481 }
11482 arg2 = static_cast< int >(val2);
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 (arg1)->SetMinimumSizeY(arg2);
11486 wxPyEndAllowThreads(__tstate);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 resultobj = SWIG_Py_Void();
11490 return resultobj;
11491fail:
11492 return NULL;
d55e5bfc
RD
11493}
11494
11495
1bd55598
RD
11496SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11497 PyObject *resultobj = 0;
11498 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11499 int result;
11500 void *argp1 = 0 ;
11501 int res1 = 0 ;
11502 PyObject *swig_obj[1] ;
11503
11504 if (!args) SWIG_fail;
11505 swig_obj[0] = args;
11506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11507 if (!SWIG_IsOK(res1)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11509 }
11510 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = SWIG_From_int(static_cast< int >(result));
11518 return resultobj;
11519fail:
11520 return NULL;
d55e5bfc
RD
11521}
11522
11523
1bd55598
RD
11524SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11525 PyObject *resultobj = 0;
11526 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11527 int result;
11528 void *argp1 = 0 ;
11529 int res1 = 0 ;
11530 PyObject *swig_obj[1] ;
11531
11532 if (!args) SWIG_fail;
11533 swig_obj[0] = args;
11534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11535 if (!SWIG_IsOK(res1)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11537 }
11538 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 resultobj = SWIG_From_int(static_cast< int >(result));
11546 return resultobj;
11547fail:
11548 return NULL;
11549}
11550
11551
11552SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj = 0;
11554 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11555 int arg2 ;
11556 void *argp1 = 0 ;
11557 int res1 = 0 ;
11558 int val2 ;
11559 int ecode2 = 0 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char * kwnames[] = {
11563 (char *) "self",(char *) "max", NULL
11564 };
11565
11566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11568 if (!SWIG_IsOK(res1)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11570 }
11571 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11572 ecode2 = SWIG_AsVal_int(obj1, &val2);
11573 if (!SWIG_IsOK(ecode2)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11575 }
11576 arg2 = static_cast< int >(val2);
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->SetMaximumSizeX(arg2);
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_Py_Void();
11584 return resultobj;
11585fail:
11586 return NULL;
11587}
11588
11589
11590SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11591 PyObject *resultobj = 0;
11592 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11593 int arg2 ;
11594 void *argp1 = 0 ;
11595 int res1 = 0 ;
11596 int val2 ;
11597 int ecode2 = 0 ;
11598 PyObject * obj0 = 0 ;
11599 PyObject * obj1 = 0 ;
11600 char * kwnames[] = {
11601 (char *) "self",(char *) "max", NULL
11602 };
11603
11604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11606 if (!SWIG_IsOK(res1)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11608 }
11609 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11610 ecode2 = SWIG_AsVal_int(obj1, &val2);
11611 if (!SWIG_IsOK(ecode2)) {
11612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11613 }
11614 arg2 = static_cast< int >(val2);
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetMaximumSizeY(arg2);
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 resultobj = SWIG_Py_Void();
11622 return resultobj;
11623fail:
11624 return NULL;
d55e5bfc
RD
11625}
11626
11627
1bd55598
RD
11628SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11629 PyObject *resultobj = 0;
11630 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11631 int result;
11632 void *argp1 = 0 ;
11633 int res1 = 0 ;
11634 PyObject *swig_obj[1] ;
11635
11636 if (!args) SWIG_fail;
11637 swig_obj[0] = args;
11638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11639 if (!SWIG_IsOK(res1)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11641 }
11642 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11643 {
11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
11645 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 resultobj = SWIG_From_int(static_cast< int >(result));
11650 return resultobj;
11651fail:
11652 return NULL;
d55e5bfc
RD
11653}
11654
11655
1bd55598
RD
11656SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11657 PyObject *resultobj = 0;
11658 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11659 int result;
11660 void *argp1 = 0 ;
11661 int res1 = 0 ;
11662 PyObject *swig_obj[1] ;
11663
11664 if (!args) SWIG_fail;
11665 swig_obj[0] = args;
11666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11667 if (!SWIG_IsOK(res1)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11669 }
11670 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 resultobj = SWIG_From_int(static_cast< int >(result));
11678 return resultobj;
11679fail:
11680 return NULL;
11681}
11682
11683
11684SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj = 0;
11686 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11687 int arg2 ;
11688 int arg3 ;
11689 int arg4 = (int) 2 ;
11690 wxSashEdgePosition result;
11691 void *argp1 = 0 ;
11692 int res1 = 0 ;
11693 int val2 ;
11694 int ecode2 = 0 ;
11695 int val3 ;
11696 int ecode3 = 0 ;
11697 int val4 ;
11698 int ecode4 = 0 ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 PyObject * obj2 = 0 ;
11702 PyObject * obj3 = 0 ;
11703 char * kwnames[] = {
11704 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11705 };
11706
11707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11709 if (!SWIG_IsOK(res1)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11711 }
11712 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11713 ecode2 = SWIG_AsVal_int(obj1, &val2);
11714 if (!SWIG_IsOK(ecode2)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11716 }
11717 arg2 = static_cast< int >(val2);
11718 ecode3 = SWIG_AsVal_int(obj2, &val3);
11719 if (!SWIG_IsOK(ecode3)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11721 }
11722 arg3 = static_cast< int >(val3);
11723 if (obj3) {
11724 ecode4 = SWIG_AsVal_int(obj3, &val4);
11725 if (!SWIG_IsOK(ecode4)) {
11726 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11727 }
11728 arg4 = static_cast< int >(val4);
11729 }
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 resultobj = SWIG_From_int(static_cast< int >(result));
11737 return resultobj;
11738fail:
11739 return NULL;
d55e5bfc
RD
11740}
11741
11742
1bd55598
RD
11743SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11744 PyObject *resultobj = 0;
11745 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11746 void *argp1 = 0 ;
11747 int res1 = 0 ;
11748 PyObject *swig_obj[1] ;
11749
11750 if (!args) SWIG_fail;
11751 swig_obj[0] = args;
11752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11753 if (!SWIG_IsOK(res1)) {
11754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11755 }
11756 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 (arg1)->SizeWindows();
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 resultobj = SWIG_Py_Void();
11764 return resultobj;
11765fail:
11766 return NULL;
d55e5bfc
RD
11767}
11768
11769
1bd55598
RD
11770SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11771 PyObject *obj;
11772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11773 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11774 return SWIG_Py_Void();
d55e5bfc
RD
11775}
11776
1bd55598
RD
11777SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11778 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11779}
11780
1bd55598
RD
11781SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj = 0;
11783 int arg1 = (int) 0 ;
11784 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11785 wxSashEvent *result = 0 ;
11786 int val1 ;
11787 int ecode1 = 0 ;
11788 int val2 ;
11789 int ecode2 = 0 ;
11790 PyObject * obj0 = 0 ;
11791 PyObject * obj1 = 0 ;
11792 char * kwnames[] = {
11793 (char *) "id",(char *) "edge", NULL
11794 };
11795
11796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11797 if (obj0) {
11798 ecode1 = SWIG_AsVal_int(obj0, &val1);
11799 if (!SWIG_IsOK(ecode1)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11801 }
11802 arg1 = static_cast< int >(val1);
11803 }
11804 if (obj1) {
11805 ecode2 = SWIG_AsVal_int(obj1, &val2);
11806 if (!SWIG_IsOK(ecode2)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11808 }
11809 arg2 = static_cast< wxSashEdgePosition >(val2);
11810 }
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11818 return resultobj;
11819fail:
11820 return NULL;
11821}
11822
11823
11824SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj = 0;
11826 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11827 wxSashEdgePosition arg2 ;
11828 void *argp1 = 0 ;
11829 int res1 = 0 ;
11830 int val2 ;
11831 int ecode2 = 0 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char * kwnames[] = {
11835 (char *) "self",(char *) "edge", NULL
11836 };
11837
11838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11840 if (!SWIG_IsOK(res1)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11842 }
11843 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11844 ecode2 = SWIG_AsVal_int(obj1, &val2);
11845 if (!SWIG_IsOK(ecode2)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11847 }
11848 arg2 = static_cast< wxSashEdgePosition >(val2);
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 (arg1)->SetEdge(arg2);
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 resultobj = SWIG_Py_Void();
11856 return resultobj;
11857fail:
11858 return NULL;
d55e5bfc
RD
11859}
11860
11861
1bd55598
RD
11862SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11863 PyObject *resultobj = 0;
11864 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11865 wxSashEdgePosition result;
11866 void *argp1 = 0 ;
11867 int res1 = 0 ;
11868 PyObject *swig_obj[1] ;
11869
11870 if (!args) SWIG_fail;
11871 swig_obj[0] = args;
11872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11873 if (!SWIG_IsOK(res1)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11875 }
11876 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = SWIG_From_int(static_cast< int >(result));
11884 return resultobj;
11885fail:
11886 return NULL;
11887}
11888
11889
11890SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj = 0;
11892 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11893 wxRect *arg2 = 0 ;
11894 void *argp1 = 0 ;
11895 int res1 = 0 ;
11896 wxRect temp2 ;
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj1 = 0 ;
11899 char * kwnames[] = {
11900 (char *) "self",(char *) "rect", NULL
11901 };
11902
11903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11907 }
11908 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11909 {
11910 arg2 = &temp2;
11911 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11912 }
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 (arg1)->SetDragRect((wxRect const &)*arg2);
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 resultobj = SWIG_Py_Void();
11920 return resultobj;
11921fail:
11922 return NULL;
03837c5c
RD
11923}
11924
11925
1bd55598
RD
11926SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11927 PyObject *resultobj = 0;
11928 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11929 wxRect result;
11930 void *argp1 = 0 ;
11931 int res1 = 0 ;
11932 PyObject *swig_obj[1] ;
11933
11934 if (!args) SWIG_fail;
11935 swig_obj[0] = args;
11936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11939 }
11940 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = ((wxSashEvent const *)arg1)->GetDragRect();
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11948 return resultobj;
11949fail:
11950 return NULL;
11951}
11952
11953
11954SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj = 0;
11956 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11957 wxSashDragStatus arg2 ;
11958 void *argp1 = 0 ;
11959 int res1 = 0 ;
11960 int val2 ;
11961 int ecode2 = 0 ;
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
11964 char * kwnames[] = {
11965 (char *) "self",(char *) "status", NULL
11966 };
11967
11968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11972 }
11973 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11974 ecode2 = SWIG_AsVal_int(obj1, &val2);
11975 if (!SWIG_IsOK(ecode2)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11977 }
11978 arg2 = static_cast< wxSashDragStatus >(val2);
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 (arg1)->SetDragStatus(arg2);
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 resultobj = SWIG_Py_Void();
11986 return resultobj;
11987fail:
11988 return NULL;
d55e5bfc
RD
11989}
11990
11991
1bd55598
RD
11992SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11993 PyObject *resultobj = 0;
11994 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11995 wxSashDragStatus result;
11996 void *argp1 = 0 ;
11997 int res1 = 0 ;
11998 PyObject *swig_obj[1] ;
11999
12000 if (!args) SWIG_fail;
12001 swig_obj[0] = args;
12002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12005 }
12006 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 resultobj = SWIG_From_int(static_cast< int >(result));
12014 return resultobj;
12015fail:
12016 return NULL;
d55e5bfc
RD
12017}
12018
12019
1bd55598
RD
12020SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12021 PyObject *obj;
12022 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12023 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12024 return SWIG_Py_Void();
d55e5bfc
RD
12025}
12026
1bd55598
RD
12027SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12028 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12029}
12030
1bd55598
RD
12031SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj = 0;
12033 int arg1 = (int) 0 ;
12034 wxQueryLayoutInfoEvent *result = 0 ;
12035 int val1 ;
12036 int ecode1 = 0 ;
12037 PyObject * obj0 = 0 ;
12038 char * kwnames[] = {
12039 (char *) "id", NULL
12040 };
12041
12042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12043 if (obj0) {
12044 ecode1 = SWIG_AsVal_int(obj0, &val1);
12045 if (!SWIG_IsOK(ecode1)) {
12046 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12047 }
12048 arg1 = static_cast< int >(val1);
12049 }
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12057 return resultobj;
12058fail:
12059 return NULL;
12060}
12061
12062
12063SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj = 0;
12065 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12066 int arg2 ;
12067 void *argp1 = 0 ;
12068 int res1 = 0 ;
12069 int val2 ;
12070 int ecode2 = 0 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 char * kwnames[] = {
12074 (char *) "self",(char *) "length", NULL
12075 };
12076
12077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12079 if (!SWIG_IsOK(res1)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12081 }
12082 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12083 ecode2 = SWIG_AsVal_int(obj1, &val2);
12084 if (!SWIG_IsOK(ecode2)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12086 }
12087 arg2 = static_cast< int >(val2);
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 (arg1)->SetRequestedLength(arg2);
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 resultobj = SWIG_Py_Void();
12095 return resultobj;
12096fail:
12097 return NULL;
f20a2e1f
RD
12098}
12099
12100
1bd55598
RD
12101SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12102 PyObject *resultobj = 0;
12103 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12104 int result;
12105 void *argp1 = 0 ;
12106 int res1 = 0 ;
12107 PyObject *swig_obj[1] ;
12108
12109 if (!args) SWIG_fail;
12110 swig_obj[0] = args;
12111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12112 if (!SWIG_IsOK(res1)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12114 }
12115 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = SWIG_From_int(static_cast< int >(result));
12123 return resultobj;
12124fail:
12125 return NULL;
12126}
12127
12128
12129SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj = 0;
12131 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12132 int arg2 ;
12133 void *argp1 = 0 ;
12134 int res1 = 0 ;
12135 int val2 ;
12136 int ecode2 = 0 ;
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char * kwnames[] = {
12140 (char *) "self",(char *) "flags", NULL
12141 };
12142
12143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12145 if (!SWIG_IsOK(res1)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12147 }
12148 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12149 ecode2 = SWIG_AsVal_int(obj1, &val2);
12150 if (!SWIG_IsOK(ecode2)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12152 }
12153 arg2 = static_cast< int >(val2);
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->SetFlags(arg2);
12157 wxPyEndAllowThreads(__tstate);
12158 if (PyErr_Occurred()) SWIG_fail;
12159 }
12160 resultobj = SWIG_Py_Void();
12161 return resultobj;
12162fail:
12163 return NULL;
d55e5bfc
RD
12164}
12165
12166
1bd55598
RD
12167SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12168 PyObject *resultobj = 0;
12169 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12170 int result;
12171 void *argp1 = 0 ;
12172 int res1 = 0 ;
12173 PyObject *swig_obj[1] ;
12174
12175 if (!args) SWIG_fail;
12176 swig_obj[0] = args;
12177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12180 }
12181 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 resultobj = SWIG_From_int(static_cast< int >(result));
12189 return resultobj;
12190fail:
12191 return NULL;
12192}
12193
12194
12195SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj = 0;
12197 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12198 wxSize *arg2 = 0 ;
12199 void *argp1 = 0 ;
12200 int res1 = 0 ;
12201 wxSize temp2 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char * kwnames[] = {
12205 (char *) "self",(char *) "size", NULL
12206 };
12207
12208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12212 }
12213 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12214 {
12215 arg2 = &temp2;
12216 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12217 }
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->SetSize((wxSize const &)*arg2);
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = SWIG_Py_Void();
12225 return resultobj;
12226fail:
12227 return NULL;
d55e5bfc
RD
12228}
12229
12230
1bd55598
RD
12231SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12232 PyObject *resultobj = 0;
12233 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12234 wxSize result;
12235 void *argp1 = 0 ;
12236 int res1 = 0 ;
12237 PyObject *swig_obj[1] ;
12238
12239 if (!args) SWIG_fail;
12240 swig_obj[0] = args;
12241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12242 if (!SWIG_IsOK(res1)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12244 }
12245 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12253 return resultobj;
12254fail:
12255 return NULL;
12256}
12257
12258
12259SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj = 0;
12261 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12262 wxLayoutOrientation arg2 ;
12263 void *argp1 = 0 ;
12264 int res1 = 0 ;
12265 int val2 ;
12266 int ecode2 = 0 ;
12267 PyObject * obj0 = 0 ;
12268 PyObject * obj1 = 0 ;
12269 char * kwnames[] = {
12270 (char *) "self",(char *) "orient", NULL
12271 };
12272
12273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12277 }
12278 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12279 ecode2 = SWIG_AsVal_int(obj1, &val2);
12280 if (!SWIG_IsOK(ecode2)) {
12281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12282 }
12283 arg2 = static_cast< wxLayoutOrientation >(val2);
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 (arg1)->SetOrientation(arg2);
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 resultobj = SWIG_Py_Void();
12291 return resultobj;
12292fail:
12293 return NULL;
d55e5bfc
RD
12294}
12295
12296
1bd55598
RD
12297SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12298 PyObject *resultobj = 0;
12299 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12300 wxLayoutOrientation result;
12301 void *argp1 = 0 ;
12302 int res1 = 0 ;
12303 PyObject *swig_obj[1] ;
12304
12305 if (!args) SWIG_fail;
12306 swig_obj[0] = args;
12307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12308 if (!SWIG_IsOK(res1)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12310 }
12311 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 resultobj = SWIG_From_int(static_cast< int >(result));
12319 return resultobj;
12320fail:
12321 return NULL;
12322}
12323
12324
12325SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj = 0;
12327 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12328 wxLayoutAlignment arg2 ;
12329 void *argp1 = 0 ;
12330 int res1 = 0 ;
12331 int val2 ;
12332 int ecode2 = 0 ;
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj1 = 0 ;
12335 char * kwnames[] = {
12336 (char *) "self",(char *) "align", NULL
12337 };
12338
12339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12341 if (!SWIG_IsOK(res1)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12343 }
12344 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12345 ecode2 = SWIG_AsVal_int(obj1, &val2);
12346 if (!SWIG_IsOK(ecode2)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12348 }
12349 arg2 = static_cast< wxLayoutAlignment >(val2);
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 (arg1)->SetAlignment(arg2);
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 resultobj = SWIG_Py_Void();
12357 return resultobj;
12358fail:
12359 return NULL;
d55e5bfc
RD
12360}
12361
12362
1bd55598
RD
12363SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12364 PyObject *resultobj = 0;
12365 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12366 wxLayoutAlignment result;
12367 void *argp1 = 0 ;
12368 int res1 = 0 ;
12369 PyObject *swig_obj[1] ;
12370
12371 if (!args) SWIG_fail;
12372 swig_obj[0] = args;
12373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12374 if (!SWIG_IsOK(res1)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12376 }
12377 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 resultobj = SWIG_From_int(static_cast< int >(result));
12385 return resultobj;
12386fail:
12387 return NULL;
d55e5bfc
RD
12388}
12389
12390
1bd55598
RD
12391SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12392 PyObject *obj;
12393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12394 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12395 return SWIG_Py_Void();
d55e5bfc
RD
12396}
12397
1bd55598
RD
12398SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12399 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12400}
12401
1bd55598
RD
12402SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj = 0;
12404 int arg1 = (int) 0 ;
12405 wxCalculateLayoutEvent *result = 0 ;
12406 int val1 ;
12407 int ecode1 = 0 ;
12408 PyObject * obj0 = 0 ;
12409 char * kwnames[] = {
12410 (char *) "id", NULL
12411 };
12412
12413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12414 if (obj0) {
12415 ecode1 = SWIG_AsVal_int(obj0, &val1);
12416 if (!SWIG_IsOK(ecode1)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12418 }
12419 arg1 = static_cast< int >(val1);
12420 }
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12428 return resultobj;
12429fail:
12430 return NULL;
12431}
12432
12433
12434SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj = 0;
12436 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12437 int arg2 ;
12438 void *argp1 = 0 ;
12439 int res1 = 0 ;
12440 int val2 ;
12441 int ecode2 = 0 ;
12442 PyObject * obj0 = 0 ;
12443 PyObject * obj1 = 0 ;
12444 char * kwnames[] = {
12445 (char *) "self",(char *) "flags", NULL
12446 };
12447
12448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12452 }
12453 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12454 ecode2 = SWIG_AsVal_int(obj1, &val2);
12455 if (!SWIG_IsOK(ecode2)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12457 }
12458 arg2 = static_cast< int >(val2);
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 (arg1)->SetFlags(arg2);
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 resultobj = SWIG_Py_Void();
12466 return resultobj;
12467fail:
12468 return NULL;
d55e5bfc
RD
12469}
12470
12471
1bd55598
RD
12472SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12473 PyObject *resultobj = 0;
12474 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12475 int result;
12476 void *argp1 = 0 ;
12477 int res1 = 0 ;
12478 PyObject *swig_obj[1] ;
12479
12480 if (!args) SWIG_fail;
12481 swig_obj[0] = args;
12482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12483 if (!SWIG_IsOK(res1)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12485 }
12486 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = SWIG_From_int(static_cast< int >(result));
12494 return resultobj;
12495fail:
12496 return NULL;
12497}
12498
12499
12500SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj = 0;
12502 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12503 wxRect *arg2 = 0 ;
12504 void *argp1 = 0 ;
12505 int res1 = 0 ;
12506 wxRect temp2 ;
12507 PyObject * obj0 = 0 ;
12508 PyObject * obj1 = 0 ;
12509 char * kwnames[] = {
12510 (char *) "self",(char *) "rect", NULL
12511 };
12512
12513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12515 if (!SWIG_IsOK(res1)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12517 }
12518 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12519 {
12520 arg2 = &temp2;
12521 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12522 }
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->SetRect((wxRect const &)*arg2);
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 resultobj = SWIG_Py_Void();
12530 return resultobj;
12531fail:
12532 return NULL;
d55e5bfc
RD
12533}
12534
12535
1bd55598
RD
12536SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12537 PyObject *resultobj = 0;
12538 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12539 wxRect result;
12540 void *argp1 = 0 ;
12541 int res1 = 0 ;
12542 PyObject *swig_obj[1] ;
12543
12544 if (!args) SWIG_fail;
12545 swig_obj[0] = args;
12546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12547 if (!SWIG_IsOK(res1)) {
12548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12549 }
12550 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12558 return resultobj;
12559fail:
12560 return NULL;
12561}
12562
12563
12564SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12565 PyObject *obj;
12566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12567 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12568 return SWIG_Py_Void();
12569}
12570
12571SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12572 return SWIG_Python_InitShadowInstance(args);
12573}
12574
12575SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj = 0;
12577 wxWindow *arg1 = (wxWindow *) 0 ;
12578 int arg2 = (int) -1 ;
12579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12581 wxSize const &arg4_defvalue = wxDefaultSize ;
12582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12583 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12584 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12585 wxString *arg6 = (wxString *) &arg6_defvalue ;
12586 wxSashLayoutWindow *result = 0 ;
12587 void *argp1 = 0 ;
12588 int res1 = 0 ;
12589 int val2 ;
12590 int ecode2 = 0 ;
12591 wxPoint temp3 ;
12592 wxSize temp4 ;
12593 long val5 ;
12594 int ecode5 = 0 ;
12595 bool temp6 = false ;
12596 PyObject * obj0 = 0 ;
12597 PyObject * obj1 = 0 ;
12598 PyObject * obj2 = 0 ;
12599 PyObject * obj3 = 0 ;
12600 PyObject * obj4 = 0 ;
12601 PyObject * obj5 = 0 ;
12602 char * kwnames[] = {
12603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12604 };
12605
12606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12608 if (!SWIG_IsOK(res1)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12610 }
12611 arg1 = reinterpret_cast< wxWindow * >(argp1);
12612 if (obj1) {
12613 ecode2 = SWIG_AsVal_int(obj1, &val2);
12614 if (!SWIG_IsOK(ecode2)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12616 }
12617 arg2 = static_cast< int >(val2);
12618 }
12619 if (obj2) {
12620 {
12621 arg3 = &temp3;
12622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12623 }
1bd55598
RD
12624 }
12625 if (obj3) {
d55e5bfc 12626 {
1bd55598
RD
12627 arg4 = &temp4;
12628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12629 }
1bd55598
RD
12630 }
12631 if (obj4) {
12632 ecode5 = SWIG_AsVal_long(obj4, &val5);
12633 if (!SWIG_IsOK(ecode5)) {
12634 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12635 }
12636 arg5 = static_cast< long >(val5);
12637 }
12638 if (obj5) {
d55e5bfc 12639 {
1bd55598
RD
12640 arg6 = wxString_in_helper(obj5);
12641 if (arg6 == NULL) SWIG_fail;
12642 temp6 = true;
d55e5bfc 12643 }
1bd55598
RD
12644 }
12645 {
12646 if (!wxPyCheckForApp()) SWIG_fail;
12647 PyThreadState* __tstate = wxPyBeginAllowThreads();
12648 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12653 {
12654 if (temp6)
12655 delete arg6;
12656 }
12657 return resultobj;
12658fail:
12659 {
12660 if (temp6)
12661 delete arg6;
12662 }
12663 return NULL;
d55e5bfc
RD
12664}
12665
12666
1bd55598
RD
12667SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12668 PyObject *resultobj = 0;
12669 wxSashLayoutWindow *result = 0 ;
12670
12671 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12672 {
12673 if (!wxPyCheckForApp()) SWIG_fail;
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12680 return resultobj;
12681fail:
12682 return NULL;
12683}
12684
12685
12686SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj = 0;
12688 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12689 wxWindow *arg2 = (wxWindow *) 0 ;
12690 int arg3 = (int) -1 ;
12691 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12692 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12693 wxSize const &arg5_defvalue = wxDefaultSize ;
12694 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12695 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12696 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12697 wxString *arg7 = (wxString *) &arg7_defvalue ;
12698 bool result;
12699 void *argp1 = 0 ;
12700 int res1 = 0 ;
12701 void *argp2 = 0 ;
12702 int res2 = 0 ;
12703 int val3 ;
12704 int ecode3 = 0 ;
12705 wxPoint temp4 ;
12706 wxSize temp5 ;
12707 long val6 ;
12708 int ecode6 = 0 ;
12709 bool temp7 = false ;
12710 PyObject * obj0 = 0 ;
12711 PyObject * obj1 = 0 ;
12712 PyObject * obj2 = 0 ;
12713 PyObject * obj3 = 0 ;
12714 PyObject * obj4 = 0 ;
12715 PyObject * obj5 = 0 ;
12716 PyObject * obj6 = 0 ;
12717 char * kwnames[] = {
12718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12719 };
12720
12721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12723 if (!SWIG_IsOK(res1)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12725 }
12726 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12728 if (!SWIG_IsOK(res2)) {
12729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12730 }
12731 arg2 = reinterpret_cast< wxWindow * >(argp2);
12732 if (obj2) {
12733 ecode3 = SWIG_AsVal_int(obj2, &val3);
12734 if (!SWIG_IsOK(ecode3)) {
12735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12736 }
12737 arg3 = static_cast< int >(val3);
12738 }
12739 if (obj3) {
12740 {
12741 arg4 = &temp4;
12742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12743 }
1bd55598
RD
12744 }
12745 if (obj4) {
d55e5bfc 12746 {
1bd55598
RD
12747 arg5 = &temp5;
12748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12749 }
1bd55598
RD
12750 }
12751 if (obj5) {
12752 ecode6 = SWIG_AsVal_long(obj5, &val6);
12753 if (!SWIG_IsOK(ecode6)) {
12754 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12755 }
12756 arg6 = static_cast< long >(val6);
12757 }
12758 if (obj6) {
d55e5bfc 12759 {
1bd55598
RD
12760 arg7 = wxString_in_helper(obj6);
12761 if (arg7 == NULL) SWIG_fail;
12762 temp7 = true;
d55e5bfc 12763 }
1bd55598
RD
12764 }
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 {
12772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12773 }
12774 {
12775 if (temp7)
12776 delete arg7;
12777 }
12778 return resultobj;
12779fail:
12780 {
12781 if (temp7)
12782 delete arg7;
12783 }
12784 return NULL;
d55e5bfc
RD
12785}
12786
12787
1bd55598
RD
12788SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12789 PyObject *resultobj = 0;
12790 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12791 wxLayoutAlignment result;
12792 void *argp1 = 0 ;
12793 int res1 = 0 ;
12794 PyObject *swig_obj[1] ;
12795
12796 if (!args) SWIG_fail;
12797 swig_obj[0] = args;
12798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12799 if (!SWIG_IsOK(res1)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 }
12802 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 resultobj = SWIG_From_int(static_cast< int >(result));
12810 return resultobj;
12811fail:
12812 return NULL;
d55e5bfc
RD
12813}
12814
12815
1bd55598
RD
12816SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12817 PyObject *resultobj = 0;
12818 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12819 wxLayoutOrientation result;
12820 void *argp1 = 0 ;
12821 int res1 = 0 ;
12822 PyObject *swig_obj[1] ;
12823
12824 if (!args) SWIG_fail;
12825 swig_obj[0] = args;
12826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12827 if (!SWIG_IsOK(res1)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12829 }
12830 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 resultobj = SWIG_From_int(static_cast< int >(result));
12838 return resultobj;
12839fail:
12840 return NULL;
12841}
12842
12843
12844SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj = 0;
12846 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12847 wxLayoutAlignment arg2 ;
12848 void *argp1 = 0 ;
12849 int res1 = 0 ;
12850 int val2 ;
12851 int ecode2 = 0 ;
12852 PyObject * obj0 = 0 ;
12853 PyObject * obj1 = 0 ;
12854 char * kwnames[] = {
12855 (char *) "self",(char *) "alignment", NULL
12856 };
12857
12858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12860 if (!SWIG_IsOK(res1)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12862 }
12863 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12864 ecode2 = SWIG_AsVal_int(obj1, &val2);
12865 if (!SWIG_IsOK(ecode2)) {
12866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12867 }
12868 arg2 = static_cast< wxLayoutAlignment >(val2);
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 (arg1)->SetAlignment(arg2);
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 resultobj = SWIG_Py_Void();
12876 return resultobj;
12877fail:
12878 return NULL;
12879}
12880
12881
12882SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj = 0;
12884 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12885 wxSize *arg2 = 0 ;
12886 void *argp1 = 0 ;
12887 int res1 = 0 ;
12888 wxSize temp2 ;
12889 PyObject * obj0 = 0 ;
12890 PyObject * obj1 = 0 ;
12891 char * kwnames[] = {
12892 (char *) "self",(char *) "size", NULL
12893 };
12894
12895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12897 if (!SWIG_IsOK(res1)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12899 }
12900 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12901 {
12902 arg2 = &temp2;
12903 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12904 }
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_Py_Void();
12912 return resultobj;
12913fail:
12914 return NULL;
12915}
12916
12917
12918SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj = 0;
12920 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12921 wxLayoutOrientation arg2 ;
12922 void *argp1 = 0 ;
12923 int res1 = 0 ;
12924 int val2 ;
12925 int ecode2 = 0 ;
12926 PyObject * obj0 = 0 ;
12927 PyObject * obj1 = 0 ;
12928 char * kwnames[] = {
12929 (char *) "self",(char *) "orientation", NULL
12930 };
12931
12932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12934 if (!SWIG_IsOK(res1)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12936 }
12937 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12938 ecode2 = SWIG_AsVal_int(obj1, &val2);
12939 if (!SWIG_IsOK(ecode2)) {
12940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12941 }
12942 arg2 = static_cast< wxLayoutOrientation >(val2);
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 (arg1)->SetOrientation(arg2);
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 resultobj = SWIG_Py_Void();
12950 return resultobj;
12951fail:
12952 return NULL;
d55e5bfc
RD
12953}
12954
12955
1bd55598
RD
12956SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12957 PyObject *obj;
12958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12959 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12960 return SWIG_Py_Void();
d55e5bfc
RD
12961}
12962
1bd55598
RD
12963SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12964 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12965}
12966
1bd55598
RD
12967SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12968 PyObject *resultobj = 0;
12969 wxLayoutAlgorithm *result = 0 ;
12970
12971 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12979 return resultobj;
12980fail:
12981 return NULL;
d55e5bfc
RD
12982}
12983
12984
1bd55598
RD
12985SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12986 PyObject *resultobj = 0;
12987 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12988 void *argp1 = 0 ;
12989 int res1 = 0 ;
12990 PyObject *swig_obj[1] ;
12991
12992 if (!args) SWIG_fail;
12993 swig_obj[0] = args;
12994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12995 if (!SWIG_IsOK(res1)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12997 }
12998 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 delete arg1;
d55e5bfc 13002
1bd55598
RD
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = SWIG_Py_Void();
13007 return resultobj;
13008fail:
13009 return NULL;
13010}
13011
13012
13013SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj = 0;
13015 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13016 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13017 wxRect *arg3 = (wxRect *) NULL ;
13018 bool result;
13019 void *argp1 = 0 ;
13020 int res1 = 0 ;
13021 void *argp2 = 0 ;
13022 int res2 = 0 ;
13023 void *argp3 = 0 ;
13024 int res3 = 0 ;
13025 PyObject * obj0 = 0 ;
13026 PyObject * obj1 = 0 ;
13027 PyObject * obj2 = 0 ;
13028 char * kwnames[] = {
13029 (char *) "self",(char *) "frame",(char *) "rect", NULL
13030 };
13031
13032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13034 if (!SWIG_IsOK(res1)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13036 }
13037 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13039 if (!SWIG_IsOK(res2)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13041 }
13042 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13043 if (obj2) {
13044 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13045 if (!SWIG_IsOK(res3)) {
13046 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 13047 }
1bd55598
RD
13048 arg3 = reinterpret_cast< wxRect * >(argp3);
13049 }
13050 {
13051 PyThreadState* __tstate = wxPyBeginAllowThreads();
13052 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 {
13057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13058 }
13059 return resultobj;
13060fail:
13061 return NULL;
13062}
13063
13064
13065SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj = 0;
13067 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13068 wxFrame *arg2 = (wxFrame *) 0 ;
13069 wxWindow *arg3 = (wxWindow *) NULL ;
13070 bool result;
13071 void *argp1 = 0 ;
13072 int res1 = 0 ;
13073 void *argp2 = 0 ;
13074 int res2 = 0 ;
13075 void *argp3 = 0 ;
13076 int res3 = 0 ;
13077 PyObject * obj0 = 0 ;
13078 PyObject * obj1 = 0 ;
13079 PyObject * obj2 = 0 ;
13080 char * kwnames[] = {
13081 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13082 };
13083
13084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13086 if (!SWIG_IsOK(res1)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13088 }
13089 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13091 if (!SWIG_IsOK(res2)) {
13092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13093 }
13094 arg2 = reinterpret_cast< wxFrame * >(argp2);
13095 if (obj2) {
13096 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13097 if (!SWIG_IsOK(res3)) {
13098 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 13099 }
1bd55598
RD
13100 arg3 = reinterpret_cast< wxWindow * >(argp3);
13101 }
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13110 }
13111 return resultobj;
13112fail:
13113 return NULL;
13114}
13115
13116
13117SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj = 0;
13119 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13120 wxWindow *arg2 = (wxWindow *) 0 ;
13121 wxWindow *arg3 = (wxWindow *) NULL ;
13122 bool result;
13123 void *argp1 = 0 ;
13124 int res1 = 0 ;
13125 void *argp2 = 0 ;
13126 int res2 = 0 ;
13127 void *argp3 = 0 ;
13128 int res3 = 0 ;
13129 PyObject * obj0 = 0 ;
13130 PyObject * obj1 = 0 ;
13131 PyObject * obj2 = 0 ;
13132 char * kwnames[] = {
13133 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13134 };
13135
13136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13138 if (!SWIG_IsOK(res1)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13140 }
13141 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13143 if (!SWIG_IsOK(res2)) {
13144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13145 }
13146 arg2 = reinterpret_cast< wxWindow * >(argp2);
13147 if (obj2) {
13148 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13149 if (!SWIG_IsOK(res3)) {
13150 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13151 }
1bd55598
RD
13152 arg3 = reinterpret_cast< wxWindow * >(argp3);
13153 }
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 {
13161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13162 }
13163 return resultobj;
13164fail:
13165 return NULL;
d55e5bfc
RD
13166}
13167
13168
1bd55598
RD
13169SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13170 PyObject *obj;
13171 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13172 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13173 return SWIG_Py_Void();
d55e5bfc
RD
13174}
13175
1bd55598
RD
13176SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13177 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
13178}
13179
1bd55598
RD
13180SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13181 PyObject *resultobj = 0;
13182 wxWindow *arg1 = (wxWindow *) 0 ;
13183 int arg2 = (int) wxBORDER_NONE ;
13184 wxPopupWindow *result = 0 ;
13185 void *argp1 = 0 ;
13186 int res1 = 0 ;
13187 int val2 ;
13188 int ecode2 = 0 ;
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
13191 char * kwnames[] = {
13192 (char *) "parent",(char *) "flags", NULL
13193 };
13194
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13199 }
13200 arg1 = reinterpret_cast< wxWindow * >(argp1);
13201 if (obj1) {
13202 ecode2 = SWIG_AsVal_int(obj1, &val2);
13203 if (!SWIG_IsOK(ecode2)) {
13204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13205 }
13206 arg2 = static_cast< int >(val2);
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13215 return resultobj;
13216fail:
13217 return NULL;
5cbf236d
RD
13218}
13219
13220
1bd55598
RD
13221SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13222 PyObject *resultobj = 0;
13223 wxPopupWindow *result = 0 ;
13224
13225 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (wxPopupWindow *)new wxPopupWindow();
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13233 return resultobj;
13234fail:
13235 return NULL;
d55e5bfc
RD
13236}
13237
13238
1bd55598
RD
13239SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13240 PyObject *obj;
13241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13242 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13243 return SWIG_Py_Void();
d55e5bfc
RD
13244}
13245
1bd55598
RD
13246SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13247 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13248}
13249
1bd55598
RD
13250SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj = 0;
13252 wxWindow *arg1 = (wxWindow *) 0 ;
13253 int arg2 = (int) wxBORDER_NONE ;
13254 wxPyPopupTransientWindow *result = 0 ;
13255 void *argp1 = 0 ;
13256 int res1 = 0 ;
13257 int val2 ;
13258 int ecode2 = 0 ;
13259 PyObject * obj0 = 0 ;
13260 PyObject * obj1 = 0 ;
13261 char * kwnames[] = {
13262 (char *) "parent",(char *) "style", NULL
13263 };
13264
13265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13267 if (!SWIG_IsOK(res1)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13269 }
13270 arg1 = reinterpret_cast< wxWindow * >(argp1);
13271 if (obj1) {
13272 ecode2 = SWIG_AsVal_int(obj1, &val2);
13273 if (!SWIG_IsOK(ecode2)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13275 }
13276 arg2 = static_cast< int >(val2);
13277 }
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13285 return resultobj;
13286fail:
13287 return NULL;
d55e5bfc
RD
13288}
13289
13290
1bd55598
RD
13291SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13292 PyObject *resultobj = 0;
13293 wxPyPopupTransientWindow *result = 0 ;
13294
13295 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13303 return resultobj;
13304fail:
13305 return NULL;
13306}
13307
13308
13309SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13310 PyObject *obj;
13311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13313 return SWIG_Py_Void();
13314}
13315
13316SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13317 return SWIG_Python_InitShadowInstance(args);
13318}
13319
13320SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj = 0;
13322 wxWindow *arg1 = (wxWindow *) 0 ;
13323 wxString *arg2 = 0 ;
13324 int arg3 = (int) 100 ;
13325 wxRect *arg4 = (wxRect *) NULL ;
13326 wxTipWindow *result = 0 ;
13327 void *argp1 = 0 ;
13328 int res1 = 0 ;
13329 bool temp2 = false ;
13330 int val3 ;
13331 int ecode3 = 0 ;
13332 void *argp4 = 0 ;
13333 int res4 = 0 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 PyObject * obj2 = 0 ;
13337 PyObject * obj3 = 0 ;
13338 char * kwnames[] = {
13339 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13340 };
13341
13342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13344 if (!SWIG_IsOK(res1)) {
13345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13346 }
13347 arg1 = reinterpret_cast< wxWindow * >(argp1);
13348 {
13349 arg2 = wxString_in_helper(obj1);
13350 if (arg2 == NULL) SWIG_fail;
13351 temp2 = true;
13352 }
13353 if (obj2) {
13354 ecode3 = SWIG_AsVal_int(obj2, &val3);
13355 if (!SWIG_IsOK(ecode3)) {
13356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13357 }
13358 arg3 = static_cast< int >(val3);
13359 }
13360 if (obj3) {
13361 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13362 if (!SWIG_IsOK(res4)) {
13363 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13364 }
1bd55598
RD
13365 arg4 = reinterpret_cast< wxRect * >(argp4);
13366 }
13367 {
13368 if (!wxPyCheckForApp()) SWIG_fail;
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13375 {
13376 if (temp2)
13377 delete arg2;
13378 }
13379 return resultobj;
13380fail:
13381 {
13382 if (temp2)
13383 delete arg2;
13384 }
13385 return NULL;
d55e5bfc
RD
13386}
13387
13388
1bd55598
RD
13389SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj = 0;
13391 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13392 wxRect *arg2 = 0 ;
13393 void *argp1 = 0 ;
13394 int res1 = 0 ;
13395 wxRect temp2 ;
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
13398 char * kwnames[] = {
13399 (char *) "self",(char *) "rectBound", NULL
13400 };
13401
13402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13404 if (!SWIG_IsOK(res1)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13406 }
13407 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13408 {
13409 arg2 = &temp2;
13410 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 resultobj = SWIG_Py_Void();
13419 return resultobj;
13420fail:
13421 return NULL;
d55e5bfc
RD
13422}
13423
13424
1bd55598
RD
13425SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13426 PyObject *resultobj = 0;
13427 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13428 void *argp1 = 0 ;
13429 int res1 = 0 ;
13430 PyObject *swig_obj[1] ;
13431
13432 if (!args) SWIG_fail;
13433 swig_obj[0] = args;
13434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13435 if (!SWIG_IsOK(res1)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13437 }
13438 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->Close();
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_Py_Void();
13446 return resultobj;
13447fail:
13448 return NULL;
13449}
13450
13451
13452SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13453 PyObject *obj;
13454 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13455 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13456 return SWIG_Py_Void();
13457}
13458
13459SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13460 return SWIG_Python_InitShadowInstance(args);
13461}
13462
8c3a7183 13463SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 13464 PyObject *resultobj = 0;
8c3a7183
RD
13465 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13466 bool arg2 = (bool) true ;
1bd55598
RD
13467 void *argp1 = 0 ;
13468 int res1 = 0 ;
8c3a7183 13469 bool val2 ;
1bd55598 13470 int ecode2 = 0 ;
1bd55598
RD
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj1 = 0 ;
1bd55598 13473 char * kwnames[] = {
8c3a7183 13474 (char *) "self",(char *) "scrolling", NULL
1bd55598
RD
13475 };
13476
8c3a7183
RD
13477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail;
13478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13479 if (!SWIG_IsOK(res1)) {
8c3a7183 13480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
1bd55598 13481 }
8c3a7183 13482 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598 13483 if (obj1) {
8c3a7183 13484 ecode2 = SWIG_AsVal_bool(obj1, &val2);
1bd55598 13485 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
1bd55598 13487 }
8c3a7183 13488 arg2 = static_cast< bool >(val2);
1bd55598
RD
13489 }
13490 {
1bd55598 13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13492 (arg1)->EnablePhysicalScrolling(arg2);
1bd55598
RD
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
8c3a7183 13496 resultobj = SWIG_Py_Void();
1bd55598
RD
13497 return resultobj;
13498fail:
1bd55598 13499 return NULL;
d55e5bfc
RD
13500}
13501
13502
8c3a7183 13503SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 13504 PyObject *resultobj = 0;
8c3a7183
RD
13505 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13506 int arg2 ;
13507 int result;
13508 void *argp1 = 0 ;
13509 int res1 = 0 ;
13510 int val2 ;
13511 int ecode2 = 0 ;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char * kwnames[] = {
13515 (char *) "self",(char *) "coord", NULL
13516 };
1bd55598 13517
8c3a7183
RD
13518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13522 }
13523 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13524 ecode2 = SWIG_AsVal_int(obj1, &val2);
13525 if (!SWIG_IsOK(ecode2)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13527 }
13528 arg2 = static_cast< int >(val2);
1bd55598 13529 {
1bd55598 13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13531 result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2);
1bd55598
RD
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
8c3a7183 13535 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
13536 return resultobj;
13537fail:
13538 return NULL;
13539}
13540
13541
8c3a7183 13542SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13543 PyObject *resultobj = 0;
8c3a7183 13544 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
1bd55598
RD
13545 void *argp1 = 0 ;
13546 int res1 = 0 ;
8c3a7183 13547 PyObject *swig_obj[1] ;
1bd55598 13548
8c3a7183
RD
13549 if (!args) SWIG_fail;
13550 swig_obj[0] = args;
13551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13552 if (!SWIG_IsOK(res1)) {
8c3a7183 13553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
1bd55598 13554 }
8c3a7183 13555 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13558 (arg1)->RefreshAll();
1bd55598
RD
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 resultobj = SWIG_Py_Void();
13563 return resultobj;
13564fail:
13565 return NULL;
13566}
13567
13568
8c3a7183 13569SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13570 PyObject *resultobj = 0;
8c3a7183
RD
13571 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13572 size_t result;
1bd55598
RD
13573 void *argp1 = 0 ;
13574 int res1 = 0 ;
8c3a7183 13575 PyObject *swig_obj[1] ;
1bd55598 13576
8c3a7183
RD
13577 if (!args) SWIG_fail;
13578 swig_obj[0] = args;
13579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13580 if (!SWIG_IsOK(res1)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13582 }
8c3a7183 13583 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13586 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin();
1bd55598
RD
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
8c3a7183 13590 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
1bd55598
RD
13591 return resultobj;
13592fail:
1bd55598
RD
13593 return NULL;
13594}
13595
13596
8c3a7183 13597SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13598 PyObject *resultobj = 0;
8c3a7183
RD
13599 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13600 size_t result;
1bd55598
RD
13601 void *argp1 = 0 ;
13602 int res1 = 0 ;
8c3a7183 13603 PyObject *swig_obj[1] ;
1bd55598 13604
8c3a7183
RD
13605 if (!args) SWIG_fail;
13606 swig_obj[0] = args;
13607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13608 if (!SWIG_IsOK(res1)) {
8c3a7183 13609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13610 }
8c3a7183 13611 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13614 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd();
1bd55598
RD
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
8c3a7183 13618 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
1bd55598
RD
13619 return resultobj;
13620fail:
13621 return NULL;
13622}
13623
13624
8c3a7183 13625SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 13626 PyObject *resultobj = 0;
8c3a7183 13627 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
1bd55598
RD
13628 size_t arg2 ;
13629 bool result;
13630 void *argp1 = 0 ;
13631 int res1 = 0 ;
13632 size_t val2 ;
13633 int ecode2 = 0 ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 char * kwnames[] = {
8c3a7183 13637 (char *) "self",(char *) "unit", NULL
1bd55598
RD
13638 };
13639
8c3a7183
RD
13640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13642 if (!SWIG_IsOK(res1)) {
8c3a7183 13643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13644 }
8c3a7183 13645 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13646 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13647 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
1bd55598
RD
13649 }
13650 arg2 = static_cast< size_t >(val2);
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13653 result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2);
1bd55598
RD
13654 wxPyEndAllowThreads(__tstate);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 {
13658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13659 }
13660 return resultobj;
13661fail:
13662 return NULL;
13663}
13664
13665
8c3a7183 13666SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 13667 PyObject *resultobj = 0;
8c3a7183
RD
13668 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13669 int arg2 ;
13670 int result;
1bd55598
RD
13671 void *argp1 = 0 ;
13672 int res1 = 0 ;
8c3a7183 13673 int val2 ;
1bd55598
RD
13674 int ecode2 = 0 ;
13675 PyObject * obj0 = 0 ;
13676 PyObject * obj1 = 0 ;
13677 char * kwnames[] = {
8c3a7183 13678 (char *) "self",(char *) "coord", NULL
1bd55598
RD
13679 };
13680
8c3a7183
RD
13681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13683 if (!SWIG_IsOK(res1)) {
8c3a7183 13684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13685 }
8c3a7183
RD
13686 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13687 ecode2 = SWIG_AsVal_int(obj1, &val2);
1bd55598 13688 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
1bd55598 13690 }
8c3a7183 13691 arg2 = static_cast< int >(val2);
1bd55598
RD
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13694 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2);
1bd55598
RD
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
8c3a7183 13698 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
13699 return resultobj;
13700fail:
13701 return NULL;
13702}
13703
13704
8c3a7183 13705SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 13706 PyObject *resultobj = 0;
8c3a7183
RD
13707 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13708 int arg2 ;
13709 int result;
1bd55598
RD
13710 void *argp1 = 0 ;
13711 int res1 = 0 ;
8c3a7183 13712 int val2 ;
1bd55598 13713 int ecode2 = 0 ;
1bd55598
RD
13714 PyObject * obj0 = 0 ;
13715 PyObject * obj1 = 0 ;
1bd55598 13716 char * kwnames[] = {
8c3a7183 13717 (char *) "self",(char *) "coord", NULL
1bd55598
RD
13718 };
13719
8c3a7183
RD
13720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13722 if (!SWIG_IsOK(res1)) {
8c3a7183 13723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13724 }
8c3a7183
RD
13725 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13726 ecode2 = SWIG_AsVal_int(obj1, &val2);
1bd55598 13727 if (!SWIG_IsOK(ecode2)) {
8c3a7183 13728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
1bd55598 13729 }
8c3a7183
RD
13730 arg2 = static_cast< int >(val2);
13731 {
13732 PyThreadState* __tstate = wxPyBeginAllowThreads();
13733 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2);
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 resultobj = SWIG_From_int(static_cast< int >(result));
13738 return resultobj;
13739fail:
13740 return NULL;
13741}
13742
13743
13744SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13745 PyObject *resultobj = 0;
13746 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13747 void *argp1 = 0 ;
13748 int res1 = 0 ;
13749 PyObject *swig_obj[1] ;
13750
13751 if (!args) SWIG_fail;
13752 swig_obj[0] = args;
13753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13754 if (!SWIG_IsOK(res1)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13756 }
13757 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13760 (arg1)->UpdateScrollbar();
1bd55598
RD
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 resultobj = SWIG_Py_Void();
13765 return resultobj;
13766fail:
13767 return NULL;
13768}
13769
13770
8c3a7183 13771SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13772 PyObject *resultobj = 0;
8c3a7183 13773 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
1bd55598
RD
13774 void *argp1 = 0 ;
13775 int res1 = 0 ;
8c3a7183 13776 PyObject *swig_obj[1] ;
1bd55598 13777
8c3a7183
RD
13778 if (!args) SWIG_fail;
13779 swig_obj[0] = args;
13780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13781 if (!SWIG_IsOK(res1)) {
8c3a7183 13782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
1bd55598 13783 }
8c3a7183 13784 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13787 (arg1)->RemoveScrollbar();
1bd55598
RD
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
8c3a7183 13791 resultobj = SWIG_Py_Void();
1bd55598
RD
13792 return resultobj;
13793fail:
13794 return NULL;
13795}
13796
13797
8c3a7183 13798SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 13799 PyObject *resultobj = 0;
8c3a7183
RD
13800 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13801 wxWindow *arg2 = (wxWindow *) 0 ;
1bd55598
RD
13802 void *argp1 = 0 ;
13803 int res1 = 0 ;
8c3a7183
RD
13804 void *argp2 = 0 ;
13805 int res2 = 0 ;
1bd55598
RD
13806 PyObject * obj0 = 0 ;
13807 PyObject * obj1 = 0 ;
13808 char * kwnames[] = {
8c3a7183 13809 (char *) "self",(char *) "target", NULL
1bd55598
RD
13810 };
13811
8c3a7183
RD
13812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13814 if (!SWIG_IsOK(res1)) {
8c3a7183 13815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
1bd55598 13816 }
8c3a7183
RD
13817 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13819 if (!SWIG_IsOK(res2)) {
13820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13821 }
13822 arg2 = reinterpret_cast< wxWindow * >(argp2);
1bd55598 13823 {
8c3a7183
RD
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 (arg1)->SetTargetWindow(arg2);
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 resultobj = SWIG_Py_Void();
13830 return resultobj;
13831fail:
13832 return NULL;
13833}
13834
13835
13836SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13837 PyObject *resultobj = 0;
13838 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13839 wxWindow *result = 0 ;
13840 void *argp1 = 0 ;
13841 int res1 = 0 ;
13842 PyObject *swig_obj[1] ;
13843
13844 if (!args) SWIG_fail;
13845 swig_obj[0] = args;
13846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13847 if (!SWIG_IsOK(res1)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13849 }
8c3a7183 13850 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13853 result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow();
1bd55598
RD
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
8c3a7183
RD
13857 {
13858 resultobj = wxPyMake_wxObject(result, 0);
13859 }
1bd55598
RD
13860 return resultobj;
13861fail:
13862 return NULL;
d55e5bfc
RD
13863}
13864
13865
8c3a7183 13866SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13867 PyObject *resultobj = 0;
8c3a7183
RD
13868 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13869 int result;
1bd55598
RD
13870 void *argp1 = 0 ;
13871 int res1 = 0 ;
13872 PyObject *swig_obj[1] ;
13873
13874 if (!args) SWIG_fail;
13875 swig_obj[0] = args;
8c3a7183 13876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13877 if (!SWIG_IsOK(res1)) {
8c3a7183 13878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13879 }
8c3a7183 13880 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13881 {
13882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13883 result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize();
1bd55598
RD
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
8c3a7183 13887 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
13888 return resultobj;
13889fail:
13890 return NULL;
d55e5bfc
RD
13891}
13892
13893
8c3a7183 13894SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13895 PyObject *resultobj = 0;
8c3a7183
RD
13896 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13897 int result;
1bd55598
RD
13898 void *argp1 = 0 ;
13899 int res1 = 0 ;
13900 PyObject *swig_obj[1] ;
13901
13902 if (!args) SWIG_fail;
13903 swig_obj[0] = args;
8c3a7183 13904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13905 if (!SWIG_IsOK(res1)) {
8c3a7183 13906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13907 }
8c3a7183 13908 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13909 {
13910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 13911 result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize();
1bd55598
RD
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
8c3a7183 13915 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
13916 return resultobj;
13917fail:
13918 return NULL;
d55e5bfc
RD
13919}
13920
13921
8c3a7183 13922SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 13923 PyObject *resultobj = 0;
8c3a7183
RD
13924 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13925 wxOrientation result;
1bd55598
RD
13926 void *argp1 = 0 ;
13927 int res1 = 0 ;
13928 PyObject *swig_obj[1] ;
13929
13930 if (!args) SWIG_fail;
13931 swig_obj[0] = args;
8c3a7183 13932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
1bd55598 13933 if (!SWIG_IsOK(res1)) {
8c3a7183 13934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
1bd55598 13935 }
8c3a7183 13936 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
1bd55598
RD
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183
RD
13939 result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation();
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 resultobj = SWIG_From_int(static_cast< int >(result));
13944 return resultobj;
13945fail:
13946 return NULL;
13947}
13948
13949
13950SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13951 PyObject *obj;
13952 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13953 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj));
13954 return SWIG_Py_Void();
13955}
13956
13957SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj = 0;
13959 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
13960 size_t arg2 ;
13961 void *argp1 = 0 ;
13962 int res1 = 0 ;
13963 size_t val2 ;
13964 int ecode2 = 0 ;
13965 PyObject * obj0 = 0 ;
13966 PyObject * obj1 = 0 ;
13967 char * kwnames[] = {
13968 (char *) "self",(char *) "rowCount", NULL
13969 };
13970
13971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail;
13972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
13973 if (!SWIG_IsOK(res1)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
13975 }
13976 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
13977 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13978 if (!SWIG_IsOK(ecode2)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
13980 }
13981 arg2 = static_cast< size_t >(val2);
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 (arg1)->SetRowCount(arg2);
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 resultobj = SWIG_Py_Void();
13989 return resultobj;
13990fail:
13991 return NULL;
13992}
13993
13994
13995SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj = 0;
13997 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
13998 size_t arg2 ;
13999 bool result;
14000 void *argp1 = 0 ;
14001 int res1 = 0 ;
14002 size_t val2 ;
14003 int ecode2 = 0 ;
14004 PyObject * obj0 = 0 ;
14005 PyObject * obj1 = 0 ;
14006 char * kwnames[] = {
14007 (char *) "self",(char *) "row", NULL
14008 };
14009
14010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail;
14011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14012 if (!SWIG_IsOK(res1)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14014 }
14015 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14016 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14017 if (!SWIG_IsOK(ecode2)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14019 }
14020 arg2 = static_cast< size_t >(val2);
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 result = (bool)(arg1)->ScrollToRow(arg2);
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 {
14028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14029 }
14030 return resultobj;
14031fail:
14032 return NULL;
14033}
14034
14035
14036SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj = 0;
14038 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14039 int arg2 ;
14040 bool result;
14041 void *argp1 = 0 ;
14042 int res1 = 0 ;
14043 int val2 ;
14044 int ecode2 = 0 ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 char * kwnames[] = {
14048 (char *) "self",(char *) "rows", NULL
14049 };
14050
14051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail;
14052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14053 if (!SWIG_IsOK(res1)) {
14054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14055 }
14056 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14057 ecode2 = SWIG_AsVal_int(obj1, &val2);
14058 if (!SWIG_IsOK(ecode2)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14060 }
14061 arg2 = static_cast< int >(val2);
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = (bool)(arg1)->ScrollRows(arg2);
14065 wxPyEndAllowThreads(__tstate);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 {
14069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14070 }
14071 return resultobj;
14072fail:
14073 return NULL;
14074}
14075
14076
14077SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj = 0;
14079 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14080 int arg2 ;
14081 bool result;
14082 void *argp1 = 0 ;
14083 int res1 = 0 ;
14084 int val2 ;
14085 int ecode2 = 0 ;
14086 PyObject * obj0 = 0 ;
14087 PyObject * obj1 = 0 ;
14088 char * kwnames[] = {
14089 (char *) "self",(char *) "pages", NULL
14090 };
14091
14092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail;
14093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14094 if (!SWIG_IsOK(res1)) {
14095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14096 }
14097 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14098 ecode2 = SWIG_AsVal_int(obj1, &val2);
14099 if (!SWIG_IsOK(ecode2)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14101 }
14102 arg2 = static_cast< int >(val2);
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 result = (bool)(arg1)->ScrollRowPages(arg2);
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 {
14110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14111 }
14112 return resultobj;
14113fail:
14114 return NULL;
14115}
14116
14117
14118SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj = 0;
14120 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14121 size_t arg2 ;
14122 void *argp1 = 0 ;
14123 int res1 = 0 ;
14124 size_t val2 ;
14125 int ecode2 = 0 ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char * kwnames[] = {
14129 (char *) "self",(char *) "row", NULL
14130 };
14131
14132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail;
14133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14134 if (!SWIG_IsOK(res1)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14136 }
14137 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14138 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14139 if (!SWIG_IsOK(ecode2)) {
14140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14141 }
14142 arg2 = static_cast< size_t >(val2);
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 (arg1)->RefreshRow(arg2);
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 resultobj = SWIG_Py_Void();
14150 return resultobj;
14151fail:
14152 return NULL;
14153}
14154
14155
14156SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj = 0;
14158 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14159 size_t arg2 ;
14160 size_t arg3 ;
14161 void *argp1 = 0 ;
14162 int res1 = 0 ;
14163 size_t val2 ;
14164 int ecode2 = 0 ;
14165 size_t val3 ;
14166 int ecode3 = 0 ;
14167 PyObject * obj0 = 0 ;
14168 PyObject * obj1 = 0 ;
14169 PyObject * obj2 = 0 ;
14170 char * kwnames[] = {
14171 (char *) "self",(char *) "from",(char *) "to", NULL
14172 };
14173
14174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14176 if (!SWIG_IsOK(res1)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14178 }
14179 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14180 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14181 if (!SWIG_IsOK(ecode2)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14183 }
14184 arg2 = static_cast< size_t >(val2);
14185 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14186 if (!SWIG_IsOK(ecode3)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14188 }
14189 arg3 = static_cast< size_t >(val3);
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 (arg1)->RefreshRows(arg2,arg3);
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 resultobj = SWIG_Py_Void();
14197 return resultobj;
14198fail:
14199 return NULL;
14200}
14201
14202
14203SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14204 PyObject *resultobj = 0;
14205 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14206 size_t result;
14207 void *argp1 = 0 ;
14208 int res1 = 0 ;
14209 PyObject *swig_obj[1] ;
14210
14211 if (!args) SWIG_fail;
14212 swig_obj[0] = args;
14213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14214 if (!SWIG_IsOK(res1)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14216 }
14217 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount();
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14225 return resultobj;
14226fail:
14227 return NULL;
14228}
14229
14230
14231SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14232 PyObject *resultobj = 0;
14233 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14234 size_t result;
14235 void *argp1 = 0 ;
14236 int res1 = 0 ;
14237 PyObject *swig_obj[1] ;
14238
14239 if (!args) SWIG_fail;
14240 swig_obj[0] = args;
14241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14242 if (!SWIG_IsOK(res1)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14244 }
14245 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin();
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14253 return resultobj;
14254fail:
14255 return NULL;
14256}
14257
14258
14259SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 PyObject *resultobj = 0;
14261 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14262 size_t result;
14263 void *argp1 = 0 ;
14264 int res1 = 0 ;
14265 PyObject *swig_obj[1] ;
14266
14267 if (!args) SWIG_fail;
14268 swig_obj[0] = args;
14269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14270 if (!SWIG_IsOK(res1)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14272 }
14273 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd();
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14281 return resultobj;
14282fail:
14283 return NULL;
14284}
14285
14286
14287SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj = 0;
14289 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14290 size_t arg2 ;
14291 bool result;
14292 void *argp1 = 0 ;
14293 int res1 = 0 ;
14294 size_t val2 ;
14295 int ecode2 = 0 ;
14296 PyObject * obj0 = 0 ;
14297 PyObject * obj1 = 0 ;
14298 char * kwnames[] = {
14299 (char *) "self",(char *) "row", NULL
14300 };
14301
14302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14304 if (!SWIG_IsOK(res1)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14306 }
14307 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14308 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14309 if (!SWIG_IsOK(ecode2)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14311 }
14312 arg2 = static_cast< size_t >(val2);
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2);
14316 wxPyEndAllowThreads(__tstate);
14317 if (PyErr_Occurred()) SWIG_fail;
14318 }
14319 {
14320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14321 }
14322 return resultobj;
14323fail:
14324 return NULL;
14325}
14326
14327
14328SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14329 PyObject *obj;
14330 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14331 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj));
14332 return SWIG_Py_Void();
14333}
14334
14335SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj = 0;
14337 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14338 size_t arg2 ;
14339 void *argp1 = 0 ;
14340 int res1 = 0 ;
14341 size_t val2 ;
14342 int ecode2 = 0 ;
14343 PyObject * obj0 = 0 ;
14344 PyObject * obj1 = 0 ;
14345 char * kwnames[] = {
14346 (char *) "self",(char *) "columnCount", NULL
14347 };
14348
14349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail;
14350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14351 if (!SWIG_IsOK(res1)) {
14352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14353 }
14354 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14355 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14356 if (!SWIG_IsOK(ecode2)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14358 }
14359 arg2 = static_cast< size_t >(val2);
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 (arg1)->SetColumnCount(arg2);
14363 wxPyEndAllowThreads(__tstate);
14364 if (PyErr_Occurred()) SWIG_fail;
14365 }
14366 resultobj = SWIG_Py_Void();
14367 return resultobj;
14368fail:
14369 return NULL;
14370}
14371
14372
14373SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj = 0;
14375 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14376 size_t arg2 ;
14377 bool result;
14378 void *argp1 = 0 ;
14379 int res1 = 0 ;
14380 size_t val2 ;
14381 int ecode2 = 0 ;
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 char * kwnames[] = {
14385 (char *) "self",(char *) "column", NULL
14386 };
14387
14388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14390 if (!SWIG_IsOK(res1)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14392 }
14393 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14394 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14395 if (!SWIG_IsOK(ecode2)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14397 }
14398 arg2 = static_cast< size_t >(val2);
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (bool)(arg1)->ScrollToColumn(arg2);
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 {
14406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14407 }
14408 return resultobj;
14409fail:
14410 return NULL;
14411}
14412
14413
14414SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj = 0;
14416 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14417 int arg2 ;
14418 bool result;
14419 void *argp1 = 0 ;
14420 int res1 = 0 ;
14421 int val2 ;
14422 int ecode2 = 0 ;
14423 PyObject * obj0 = 0 ;
14424 PyObject * obj1 = 0 ;
14425 char * kwnames[] = {
14426 (char *) "self",(char *) "columns", NULL
14427 };
14428
14429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail;
14430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14431 if (!SWIG_IsOK(res1)) {
14432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14433 }
14434 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14435 ecode2 = SWIG_AsVal_int(obj1, &val2);
14436 if (!SWIG_IsOK(ecode2)) {
14437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14438 }
14439 arg2 = static_cast< int >(val2);
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 result = (bool)(arg1)->ScrollColumns(arg2);
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 {
14447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14448 }
14449 return resultobj;
14450fail:
14451 return NULL;
14452}
14453
14454
14455SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj = 0;
14457 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14458 int arg2 ;
14459 bool result;
14460 void *argp1 = 0 ;
14461 int res1 = 0 ;
14462 int val2 ;
14463 int ecode2 = 0 ;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 char * kwnames[] = {
14467 (char *) "self",(char *) "pages", NULL
14468 };
14469
14470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail;
14471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14472 if (!SWIG_IsOK(res1)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14474 }
14475 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14476 ecode2 = SWIG_AsVal_int(obj1, &val2);
14477 if (!SWIG_IsOK(ecode2)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14479 }
14480 arg2 = static_cast< int >(val2);
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = (bool)(arg1)->ScrollColumnPages(arg2);
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 {
14488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14489 }
14490 return resultobj;
14491fail:
14492 return NULL;
14493}
14494
14495
14496SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj = 0;
14498 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14499 size_t arg2 ;
14500 void *argp1 = 0 ;
14501 int res1 = 0 ;
14502 size_t val2 ;
14503 int ecode2 = 0 ;
14504 PyObject * obj0 = 0 ;
14505 PyObject * obj1 = 0 ;
14506 char * kwnames[] = {
14507 (char *) "self",(char *) "column", NULL
14508 };
14509
14510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14512 if (!SWIG_IsOK(res1)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14514 }
14515 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14516 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14517 if (!SWIG_IsOK(ecode2)) {
14518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14519 }
14520 arg2 = static_cast< size_t >(val2);
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 (arg1)->RefreshColumn(arg2);
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 resultobj = SWIG_Py_Void();
14528 return resultobj;
14529fail:
14530 return NULL;
14531}
14532
14533
14534SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj = 0;
14536 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14537 size_t arg2 ;
14538 size_t arg3 ;
14539 void *argp1 = 0 ;
14540 int res1 = 0 ;
14541 size_t val2 ;
14542 int ecode2 = 0 ;
14543 size_t val3 ;
14544 int ecode3 = 0 ;
14545 PyObject * obj0 = 0 ;
14546 PyObject * obj1 = 0 ;
14547 PyObject * obj2 = 0 ;
14548 char * kwnames[] = {
14549 (char *) "self",(char *) "from",(char *) "to", NULL
14550 };
14551
14552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14554 if (!SWIG_IsOK(res1)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14556 }
14557 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14558 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14559 if (!SWIG_IsOK(ecode2)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14561 }
14562 arg2 = static_cast< size_t >(val2);
14563 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14564 if (!SWIG_IsOK(ecode3)) {
14565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14566 }
14567 arg3 = static_cast< size_t >(val3);
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 (arg1)->RefreshColumns(arg2,arg3);
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 resultobj = SWIG_Py_Void();
14575 return resultobj;
14576fail:
14577 return NULL;
14578}
14579
14580
14581SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14582 PyObject *resultobj = 0;
14583 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14584 size_t result;
14585 void *argp1 = 0 ;
14586 int res1 = 0 ;
14587 PyObject *swig_obj[1] ;
14588
14589 if (!args) SWIG_fail;
14590 swig_obj[0] = args;
14591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14592 if (!SWIG_IsOK(res1)) {
14593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14594 }
14595 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount();
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14603 return resultobj;
14604fail:
14605 return NULL;
14606}
14607
14608
14609SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14610 PyObject *resultobj = 0;
14611 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14612 size_t result;
14613 void *argp1 = 0 ;
14614 int res1 = 0 ;
14615 PyObject *swig_obj[1] ;
14616
14617 if (!args) SWIG_fail;
14618 swig_obj[0] = args;
14619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14620 if (!SWIG_IsOK(res1)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14622 }
14623 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin();
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14631 return resultobj;
14632fail:
14633 return NULL;
14634}
14635
14636
14637SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14638 PyObject *resultobj = 0;
14639 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14640 size_t result;
14641 void *argp1 = 0 ;
14642 int res1 = 0 ;
14643 PyObject *swig_obj[1] ;
14644
14645 if (!args) SWIG_fail;
14646 swig_obj[0] = args;
14647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14648 if (!SWIG_IsOK(res1)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14650 }
14651 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd();
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14659 return resultobj;
14660fail:
14661 return NULL;
14662}
14663
14664
14665SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14666 PyObject *resultobj = 0;
14667 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14668 size_t arg2 ;
14669 bool result;
14670 void *argp1 = 0 ;
14671 int res1 = 0 ;
14672 size_t val2 ;
14673 int ecode2 = 0 ;
14674 PyObject * obj0 = 0 ;
14675 PyObject * obj1 = 0 ;
14676 char * kwnames[] = {
14677 (char *) "self",(char *) "column", NULL
14678 };
14679
14680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14682 if (!SWIG_IsOK(res1)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14684 }
14685 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14686 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14687 if (!SWIG_IsOK(ecode2)) {
14688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14689 }
14690 arg2 = static_cast< size_t >(val2);
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2);
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 {
14698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14699 }
14700 return resultobj;
14701fail:
14702 return NULL;
14703}
14704
14705
14706SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14707 PyObject *obj;
14708 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14709 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj));
14710 return SWIG_Py_Void();
14711}
14712
14713SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj = 0;
14715 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14716 size_t arg2 ;
14717 size_t arg3 ;
14718 void *argp1 = 0 ;
14719 int res1 = 0 ;
14720 size_t val2 ;
14721 int ecode2 = 0 ;
14722 size_t val3 ;
14723 int ecode3 = 0 ;
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 PyObject * obj2 = 0 ;
14727 char * kwnames[] = {
14728 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14729 };
14730
14731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14733 if (!SWIG_IsOK(res1)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14735 }
14736 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14737 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14738 if (!SWIG_IsOK(ecode2)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14740 }
14741 arg2 = static_cast< size_t >(val2);
14742 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14743 if (!SWIG_IsOK(ecode3)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14745 }
14746 arg3 = static_cast< size_t >(val3);
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->SetRowColumnCount(arg2,arg3);
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 resultobj = SWIG_Py_Void();
14754 return resultobj;
14755fail:
14756 return NULL;
14757}
14758
14759
14760SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj = 0;
14762 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14763 bool arg2 = (bool) true ;
14764 bool arg3 = (bool) true ;
14765 void *argp1 = 0 ;
14766 int res1 = 0 ;
14767 bool val2 ;
14768 int ecode2 = 0 ;
14769 bool val3 ;
14770 int ecode3 = 0 ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 PyObject * obj2 = 0 ;
14774 char * kwnames[] = {
14775 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14776 };
14777
14778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14780 if (!SWIG_IsOK(res1)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14782 }
14783 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14784 if (obj1) {
14785 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14786 if (!SWIG_IsOK(ecode2)) {
14787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14788 }
14789 arg2 = static_cast< bool >(val2);
14790 }
14791 if (obj2) {
14792 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14793 if (!SWIG_IsOK(ecode3)) {
14794 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14795 }
14796 arg3 = static_cast< bool >(val3);
14797 }
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 (arg1)->EnablePhysicalScrolling(arg2,arg3);
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 resultobj = SWIG_Py_Void();
14805 return resultobj;
14806fail:
14807 return NULL;
14808}
14809
14810
14811SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj = 0;
14813 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14814 wxPosition *arg2 = 0 ;
14815 bool result;
14816 void *argp1 = 0 ;
14817 int res1 = 0 ;
14818 void *argp2 = 0 ;
14819 int res2 = 0 ;
14820 PyObject * obj0 = 0 ;
14821 PyObject * obj1 = 0 ;
14822 char * kwnames[] = {
14823 (char *) "self",(char *) "pos", NULL
14824 };
14825
14826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14830 }
14831 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14832 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14833 if (!SWIG_IsOK(res2)) {
14834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14835 }
14836 if (!argp2) {
14837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14838 }
14839 arg2 = reinterpret_cast< wxPosition * >(argp2);
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2);
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 {
14847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14848 }
14849 return resultobj;
14850fail:
14851 return NULL;
14852}
14853
14854
14855SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14856 PyObject *resultobj = 0;
14857 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14858 wxPosition *arg2 = 0 ;
14859 void *argp1 = 0 ;
14860 int res1 = 0 ;
14861 void *argp2 = 0 ;
14862 int res2 = 0 ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char * kwnames[] = {
14866 (char *) "self",(char *) "pos", NULL
14867 };
14868
14869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14871 if (!SWIG_IsOK(res1)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14873 }
14874 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14875 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14876 if (!SWIG_IsOK(res2)) {
14877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14878 }
14879 if (!argp2) {
14880 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14881 }
14882 arg2 = reinterpret_cast< wxPosition * >(argp2);
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 (arg1)->RefreshRowColumn((wxPosition const &)*arg2);
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 resultobj = SWIG_Py_Void();
14890 return resultobj;
14891fail:
14892 return NULL;
14893}
14894
14895
14896SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14897 PyObject *resultobj = 0;
14898 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14899 wxPosition *arg2 = 0 ;
14900 wxPosition *arg3 = 0 ;
14901 void *argp1 = 0 ;
14902 int res1 = 0 ;
14903 void *argp2 = 0 ;
14904 int res2 = 0 ;
14905 void *argp3 = 0 ;
14906 int res3 = 0 ;
14907 PyObject * obj0 = 0 ;
14908 PyObject * obj1 = 0 ;
14909 PyObject * obj2 = 0 ;
14910 char * kwnames[] = {
14911 (char *) "self",(char *) "from",(char *) "to", NULL
14912 };
14913
14914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14916 if (!SWIG_IsOK(res1)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14918 }
14919 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14920 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14921 if (!SWIG_IsOK(res2)) {
14922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
14923 }
14924 if (!argp2) {
14925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
14926 }
14927 arg2 = reinterpret_cast< wxPosition * >(argp2);
14928 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0);
14929 if (!SWIG_IsOK(res3)) {
14930 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
14931 }
14932 if (!argp3) {
14933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
14934 }
14935 arg3 = reinterpret_cast< wxPosition * >(argp3);
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3);
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = SWIG_Py_Void();
14943 return resultobj;
14944fail:
14945 return NULL;
14946}
14947
14948
14949SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj = 0;
14951 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14952 wxPoint *arg2 = 0 ;
14953 wxPosition result;
14954 void *argp1 = 0 ;
14955 int res1 = 0 ;
14956 wxPoint temp2 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 char * kwnames[] = {
14960 (char *) "self",(char *) "pos", NULL
14961 };
14962
14963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14965 if (!SWIG_IsOK(res1)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
14967 }
14968 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14969 {
14970 arg2 = &temp2;
14971 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14972 }
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2);
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
14980 return resultobj;
14981fail:
14982 return NULL;
14983}
14984
14985
14986SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14987 PyObject *resultobj = 0;
14988 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14989 bool result;
14990 void *argp1 = 0 ;
14991 int res1 = 0 ;
14992 PyObject *swig_obj[1] ;
14993
14994 if (!args) SWIG_fail;
14995 swig_obj[0] = args;
14996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14997 if (!SWIG_IsOK(res1)) {
14998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14999 }
15000 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (bool)(arg1)->ScrollLayout();
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 {
15008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15009 }
15010 return resultobj;
15011fail:
15012 return NULL;
15013}
15014
15015
15016SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15017 PyObject *resultobj = 0;
15018 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15019 wxSize result;
15020 void *argp1 = 0 ;
15021 int res1 = 0 ;
15022 PyObject *swig_obj[1] ;
15023
15024 if (!args) SWIG_fail;
15025 swig_obj[0] = args;
15026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15027 if (!SWIG_IsOK(res1)) {
15028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15029 }
15030 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount();
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
15038 return resultobj;
15039fail:
15040 return NULL;
15041}
15042
15043
15044SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15045 PyObject *resultobj = 0;
15046 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15047 wxPosition result;
15048 void *argp1 = 0 ;
15049 int res1 = 0 ;
15050 PyObject *swig_obj[1] ;
15051
15052 if (!args) SWIG_fail;
15053 swig_obj[0] = args;
15054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15055 if (!SWIG_IsOK(res1)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15057 }
15058 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin();
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15066 return resultobj;
15067fail:
15068 return NULL;
15069}
15070
15071
15072SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15073 PyObject *resultobj = 0;
15074 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15075 wxPosition result;
15076 void *argp1 = 0 ;
15077 int res1 = 0 ;
15078 PyObject *swig_obj[1] ;
15079
15080 if (!args) SWIG_fail;
15081 swig_obj[0] = args;
15082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15083 if (!SWIG_IsOK(res1)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15085 }
15086 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd();
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15094 return resultobj;
15095fail:
15096 return NULL;
15097}
15098
15099
15100SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj = 0;
15102 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15103 wxPosition *arg2 = 0 ;
15104 bool result;
15105 void *argp1 = 0 ;
15106 int res1 = 0 ;
15107 void *argp2 = 0 ;
15108 int res2 = 0 ;
15109 PyObject * obj0 = 0 ;
15110 PyObject * obj1 = 0 ;
15111 char * kwnames[] = {
15112 (char *) "self",(char *) "pos", NULL
15113 };
15114
15115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
15116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15117 if (!SWIG_IsOK(res1)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15119 }
15120 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15121 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15122 if (!SWIG_IsOK(res2)) {
15123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15124 }
15125 if (!argp2) {
15126 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15127 }
15128 arg2 = reinterpret_cast< wxPosition * >(argp2);
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2);
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 {
15136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15137 }
15138 return resultobj;
15139fail:
15140 return NULL;
15141}
15142
15143
15144SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15145 PyObject *obj;
15146 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15147 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj));
15148 return SWIG_Py_Void();
15149}
15150
15151SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj = 0;
15153 wxWindow *arg1 = (wxWindow *) 0 ;
15154 int arg2 = (int) wxID_ANY ;
15155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15157 wxSize const &arg4_defvalue = wxDefaultSize ;
15158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15159 long arg5 = (long) 0 ;
15160 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15161 wxString *arg6 = (wxString *) &arg6_defvalue ;
15162 wxPyVScrolledWindow *result = 0 ;
15163 void *argp1 = 0 ;
15164 int res1 = 0 ;
15165 int val2 ;
15166 int ecode2 = 0 ;
15167 wxPoint temp3 ;
15168 wxSize temp4 ;
15169 long val5 ;
15170 int ecode5 = 0 ;
15171 bool temp6 = false ;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 PyObject * obj2 = 0 ;
15175 PyObject * obj3 = 0 ;
15176 PyObject * obj4 = 0 ;
15177 PyObject * obj5 = 0 ;
15178 char * kwnames[] = {
15179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15180 };
15181
15182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15184 if (!SWIG_IsOK(res1)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15186 }
15187 arg1 = reinterpret_cast< wxWindow * >(argp1);
15188 if (obj1) {
15189 ecode2 = SWIG_AsVal_int(obj1, &val2);
15190 if (!SWIG_IsOK(ecode2)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15192 }
15193 arg2 = static_cast< int >(val2);
15194 }
15195 if (obj2) {
15196 {
15197 arg3 = &temp3;
15198 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15199 }
15200 }
15201 if (obj3) {
15202 {
15203 arg4 = &temp4;
15204 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15205 }
15206 }
15207 if (obj4) {
15208 ecode5 = SWIG_AsVal_long(obj4, &val5);
15209 if (!SWIG_IsOK(ecode5)) {
15210 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15211 }
15212 arg5 = static_cast< long >(val5);
15213 }
15214 if (obj5) {
15215 {
15216 arg6 = wxString_in_helper(obj5);
15217 if (arg6 == NULL) SWIG_fail;
15218 temp6 = true;
15219 }
15220 }
15221 {
15222 if (!wxPyCheckForApp()) SWIG_fail;
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
15229 {
15230 if (temp6)
15231 delete arg6;
15232 }
15233 return resultobj;
15234fail:
15235 {
15236 if (temp6)
15237 delete arg6;
15238 }
15239 return NULL;
15240}
15241
15242
15243SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15244 PyObject *resultobj = 0;
15245 wxPyVScrolledWindow *result = 0 ;
15246
15247 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
15248 {
15249 if (!wxPyCheckForApp()) SWIG_fail;
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
15256 return resultobj;
15257fail:
15258 return NULL;
15259}
15260
15261
15262SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj = 0;
15264 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15265 PyObject *arg2 = (PyObject *) 0 ;
15266 PyObject *arg3 = (PyObject *) 0 ;
15267 void *argp1 = 0 ;
15268 int res1 = 0 ;
15269 PyObject * obj0 = 0 ;
15270 PyObject * obj1 = 0 ;
15271 PyObject * obj2 = 0 ;
15272 char * kwnames[] = {
15273 (char *) "self",(char *) "self",(char *) "_class", NULL
15274 };
15275
15276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15278 if (!SWIG_IsOK(res1)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15280 }
15281 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15282 arg2 = obj1;
15283 arg3 = obj2;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 (arg1)->_setCallbackInfo(arg2,arg3);
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 resultobj = SWIG_Py_Void();
15291 return resultobj;
15292fail:
15293 return NULL;
15294}
15295
15296
15297SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj = 0;
15299 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15300 wxWindow *arg2 = (wxWindow *) 0 ;
15301 int arg3 = (int) wxID_ANY ;
15302 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15303 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15304 wxSize const &arg5_defvalue = wxDefaultSize ;
15305 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15306 long arg6 = (long) 0 ;
15307 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15308 wxString *arg7 = (wxString *) &arg7_defvalue ;
15309 bool result;
15310 void *argp1 = 0 ;
15311 int res1 = 0 ;
15312 void *argp2 = 0 ;
15313 int res2 = 0 ;
15314 int val3 ;
15315 int ecode3 = 0 ;
15316 wxPoint temp4 ;
15317 wxSize temp5 ;
15318 long val6 ;
15319 int ecode6 = 0 ;
15320 bool temp7 = false ;
15321 PyObject * obj0 = 0 ;
15322 PyObject * obj1 = 0 ;
15323 PyObject * obj2 = 0 ;
15324 PyObject * obj3 = 0 ;
15325 PyObject * obj4 = 0 ;
15326 PyObject * obj5 = 0 ;
15327 PyObject * obj6 = 0 ;
15328 char * kwnames[] = {
15329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15330 };
15331
15332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15334 if (!SWIG_IsOK(res1)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15336 }
15337 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15339 if (!SWIG_IsOK(res2)) {
15340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15341 }
15342 arg2 = reinterpret_cast< wxWindow * >(argp2);
15343 if (obj2) {
15344 ecode3 = SWIG_AsVal_int(obj2, &val3);
15345 if (!SWIG_IsOK(ecode3)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15347 }
15348 arg3 = static_cast< int >(val3);
15349 }
15350 if (obj3) {
15351 {
15352 arg4 = &temp4;
15353 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15354 }
15355 }
15356 if (obj4) {
15357 {
15358 arg5 = &temp5;
15359 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15360 }
15361 }
15362 if (obj5) {
15363 ecode6 = SWIG_AsVal_long(obj5, &val6);
15364 if (!SWIG_IsOK(ecode6)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15366 }
15367 arg6 = static_cast< long >(val6);
15368 }
15369 if (obj6) {
15370 {
15371 arg7 = wxString_in_helper(obj6);
15372 if (arg7 == NULL) SWIG_fail;
15373 temp7 = true;
15374 }
15375 }
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 {
15383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15384 }
15385 {
15386 if (temp7)
15387 delete arg7;
15388 }
15389 return resultobj;
15390fail:
15391 {
15392 if (temp7)
15393 delete arg7;
15394 }
15395 return NULL;
15396}
15397
15398
15399SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj = 0;
15401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15402 size_t arg2 ;
15403 size_t arg3 ;
15404 int result;
15405 void *argp1 = 0 ;
15406 int res1 = 0 ;
15407 size_t val2 ;
15408 int ecode2 = 0 ;
15409 size_t val3 ;
15410 int ecode3 = 0 ;
15411 PyObject * obj0 = 0 ;
15412 PyObject * obj1 = 0 ;
15413 PyObject * obj2 = 0 ;
15414 char * kwnames[] = {
15415 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15416 };
15417
15418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15420 if (!SWIG_IsOK(res1)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15422 }
15423 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15424 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15425 if (!SWIG_IsOK(ecode2)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15427 }
15428 arg2 = static_cast< size_t >(val2);
15429 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15430 if (!SWIG_IsOK(ecode3)) {
15431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15432 }
15433 arg3 = static_cast< size_t >(val3);
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 resultobj = SWIG_From_int(static_cast< int >(result));
15441 return resultobj;
15442fail:
15443 return NULL;
15444}
15445
15446
15447SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15448 PyObject *resultobj = 0;
15449 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15450 int result;
15451 void *argp1 = 0 ;
15452 int res1 = 0 ;
15453 PyObject *swig_obj[1] ;
15454
15455 if (!args) SWIG_fail;
15456 swig_obj[0] = args;
15457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15458 if (!SWIG_IsOK(res1)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15460 }
15461 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight();
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 resultobj = SWIG_From_int(static_cast< int >(result));
15469 return resultobj;
15470fail:
15471 return NULL;
15472}
15473
15474
15475SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj = 0;
15477 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15478 wxPoint *arg2 = 0 ;
15479 int result;
15480 void *argp1 = 0 ;
15481 int res1 = 0 ;
15482 wxPoint temp2 ;
15483 PyObject * obj0 = 0 ;
15484 PyObject * obj1 = 0 ;
15485 char * kwnames[] = {
15486 (char *) "self",(char *) "pt", NULL
15487 };
15488
15489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15491 if (!SWIG_IsOK(res1)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15493 }
15494 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15495 {
15496 arg2 = &temp2;
15497 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15498 }
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 resultobj = SWIG_From_int(static_cast< int >(result));
15506 return resultobj;
15507fail:
15508 return NULL;
15509}
15510
15511
15512SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15513 PyObject *obj;
15514 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15515 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
15516 return SWIG_Py_Void();
15517}
15518
15519SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15520 return SWIG_Python_InitShadowInstance(args);
15521}
15522
15523SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj = 0;
15525 wxWindow *arg1 = (wxWindow *) 0 ;
15526 int arg2 = (int) wxID_ANY ;
15527 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15528 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15529 wxSize const &arg4_defvalue = wxDefaultSize ;
15530 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15531 long arg5 = (long) 0 ;
15532 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15533 wxString *arg6 = (wxString *) &arg6_defvalue ;
15534 wxPyHScrolledWindow *result = 0 ;
15535 void *argp1 = 0 ;
15536 int res1 = 0 ;
15537 int val2 ;
15538 int ecode2 = 0 ;
15539 wxPoint temp3 ;
15540 wxSize temp4 ;
15541 long val5 ;
15542 int ecode5 = 0 ;
15543 bool temp6 = false ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 PyObject * obj2 = 0 ;
15547 PyObject * obj3 = 0 ;
15548 PyObject * obj4 = 0 ;
15549 PyObject * obj5 = 0 ;
15550 char * kwnames[] = {
15551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15552 };
15553
15554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15556 if (!SWIG_IsOK(res1)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15558 }
15559 arg1 = reinterpret_cast< wxWindow * >(argp1);
15560 if (obj1) {
15561 ecode2 = SWIG_AsVal_int(obj1, &val2);
15562 if (!SWIG_IsOK(ecode2)) {
15563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15564 }
15565 arg2 = static_cast< int >(val2);
15566 }
15567 if (obj2) {
15568 {
15569 arg3 = &temp3;
15570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15571 }
15572 }
15573 if (obj3) {
15574 {
15575 arg4 = &temp4;
15576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15577 }
15578 }
15579 if (obj4) {
15580 ecode5 = SWIG_AsVal_long(obj4, &val5);
15581 if (!SWIG_IsOK(ecode5)) {
15582 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15583 }
15584 arg5 = static_cast< long >(val5);
15585 }
15586 if (obj5) {
15587 {
15588 arg6 = wxString_in_helper(obj5);
15589 if (arg6 == NULL) SWIG_fail;
15590 temp6 = true;
15591 }
15592 }
15593 {
15594 if (!wxPyCheckForApp()) SWIG_fail;
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 );
15601 {
15602 if (temp6)
15603 delete arg6;
15604 }
15605 return resultobj;
15606fail:
15607 {
15608 if (temp6)
15609 delete arg6;
15610 }
15611 return NULL;
15612}
15613
15614
15615SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15616 PyObject *resultobj = 0;
15617 wxPyHScrolledWindow *result = 0 ;
15618
15619 if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail;
15620 {
15621 if (!wxPyCheckForApp()) SWIG_fail;
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow();
15624 wxPyEndAllowThreads(__tstate);
15625 if (PyErr_Occurred()) SWIG_fail;
15626 }
15627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 );
15628 return resultobj;
15629fail:
15630 return NULL;
15631}
15632
15633
15634SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15635 PyObject *resultobj = 0;
15636 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15637 PyObject *arg2 = (PyObject *) 0 ;
15638 PyObject *arg3 = (PyObject *) 0 ;
15639 void *argp1 = 0 ;
15640 int res1 = 0 ;
15641 PyObject * obj0 = 0 ;
15642 PyObject * obj1 = 0 ;
15643 PyObject * obj2 = 0 ;
15644 char * kwnames[] = {
15645 (char *) "self",(char *) "self",(char *) "_class", NULL
15646 };
15647
15648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15650 if (!SWIG_IsOK(res1)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15652 }
15653 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15654 arg2 = obj1;
15655 arg3 = obj2;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->_setCallbackInfo(arg2,arg3);
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 resultobj = SWIG_Py_Void();
15663 return resultobj;
15664fail:
15665 return NULL;
15666}
15667
15668
15669SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj = 0;
15671 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15672 wxWindow *arg2 = (wxWindow *) 0 ;
15673 int arg3 = (int) wxID_ANY ;
15674 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15675 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15676 wxSize const &arg5_defvalue = wxDefaultSize ;
15677 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15678 long arg6 = (long) 0 ;
15679 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15680 wxString *arg7 = (wxString *) &arg7_defvalue ;
15681 bool result;
15682 void *argp1 = 0 ;
15683 int res1 = 0 ;
15684 void *argp2 = 0 ;
15685 int res2 = 0 ;
15686 int val3 ;
15687 int ecode3 = 0 ;
15688 wxPoint temp4 ;
15689 wxSize temp5 ;
15690 long val6 ;
15691 int ecode6 = 0 ;
15692 bool temp7 = false ;
15693 PyObject * obj0 = 0 ;
15694 PyObject * obj1 = 0 ;
15695 PyObject * obj2 = 0 ;
15696 PyObject * obj3 = 0 ;
15697 PyObject * obj4 = 0 ;
15698 PyObject * obj5 = 0 ;
15699 PyObject * obj6 = 0 ;
15700 char * kwnames[] = {
15701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15702 };
15703
15704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15706 if (!SWIG_IsOK(res1)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15708 }
15709 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15711 if (!SWIG_IsOK(res2)) {
15712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15713 }
15714 arg2 = reinterpret_cast< wxWindow * >(argp2);
15715 if (obj2) {
15716 ecode3 = SWIG_AsVal_int(obj2, &val3);
15717 if (!SWIG_IsOK(ecode3)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15719 }
15720 arg3 = static_cast< int >(val3);
15721 }
15722 if (obj3) {
15723 {
15724 arg4 = &temp4;
15725 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15726 }
15727 }
15728 if (obj4) {
15729 {
15730 arg5 = &temp5;
15731 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15732 }
15733 }
15734 if (obj5) {
15735 ecode6 = SWIG_AsVal_long(obj5, &val6);
15736 if (!SWIG_IsOK(ecode6)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15738 }
15739 arg6 = static_cast< long >(val6);
15740 }
15741 if (obj6) {
15742 {
15743 arg7 = wxString_in_helper(obj6);
15744 if (arg7 == NULL) SWIG_fail;
15745 temp7 = true;
15746 }
15747 }
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 {
15755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15756 }
15757 {
15758 if (temp7)
15759 delete arg7;
15760 }
15761 return resultobj;
15762fail:
15763 {
15764 if (temp7)
15765 delete arg7;
15766 }
15767 return NULL;
15768}
15769
15770
15771SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15772 PyObject *resultobj = 0;
15773 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15774 wxPoint *arg2 = 0 ;
15775 int result;
15776 void *argp1 = 0 ;
15777 int res1 = 0 ;
15778 wxPoint temp2 ;
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 char * kwnames[] = {
15782 (char *) "self",(char *) "pt", NULL
15783 };
15784
15785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15787 if (!SWIG_IsOK(res1)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15789 }
15790 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15791 {
15792 arg2 = &temp2;
15793 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15794 }
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 resultobj = SWIG_From_int(static_cast< int >(result));
15802 return resultobj;
15803fail:
15804 return NULL;
15805}
15806
15807
15808SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15809 PyObject *resultobj = 0;
15810 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15811 size_t arg2 ;
15812 size_t arg3 ;
15813 int result;
15814 void *argp1 = 0 ;
15815 int res1 = 0 ;
15816 size_t val2 ;
15817 int ecode2 = 0 ;
15818 size_t val3 ;
15819 int ecode3 = 0 ;
15820 PyObject * obj0 = 0 ;
15821 PyObject * obj1 = 0 ;
15822 PyObject * obj2 = 0 ;
15823 char * kwnames[] = {
15824 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
15825 };
15826
15827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15829 if (!SWIG_IsOK(res1)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15831 }
15832 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15833 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15834 if (!SWIG_IsOK(ecode2)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
15836 }
15837 arg2 = static_cast< size_t >(val2);
15838 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15839 if (!SWIG_IsOK(ecode3)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
15841 }
15842 arg3 = static_cast< size_t >(val3);
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 resultobj = SWIG_From_int(static_cast< int >(result));
15850 return resultobj;
15851fail:
15852 return NULL;
15853}
15854
15855
15856SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15857 PyObject *resultobj = 0;
15858 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15859 int result;
15860 void *argp1 = 0 ;
15861 int res1 = 0 ;
15862 PyObject *swig_obj[1] ;
15863
15864 if (!args) SWIG_fail;
15865 swig_obj[0] = args;
15866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15867 if (!SWIG_IsOK(res1)) {
15868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15869 }
15870 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth();
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 resultobj = SWIG_From_int(static_cast< int >(result));
15878 return resultobj;
15879fail:
15880 return NULL;
15881}
15882
15883
15884SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15885 PyObject *obj;
15886 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15887 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj));
15888 return SWIG_Py_Void();
15889}
15890
15891SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15892 return SWIG_Python_InitShadowInstance(args);
15893}
15894
15895SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj = 0;
15897 wxWindow *arg1 = (wxWindow *) 0 ;
15898 int arg2 = (int) wxID_ANY ;
15899 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15900 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15901 wxSize const &arg4_defvalue = wxDefaultSize ;
15902 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15903 long arg5 = (long) 0 ;
15904 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15905 wxString *arg6 = (wxString *) &arg6_defvalue ;
15906 wxPyHVScrolledWindow *result = 0 ;
15907 void *argp1 = 0 ;
15908 int res1 = 0 ;
15909 int val2 ;
15910 int ecode2 = 0 ;
15911 wxPoint temp3 ;
15912 wxSize temp4 ;
15913 long val5 ;
15914 int ecode5 = 0 ;
15915 bool temp6 = false ;
15916 PyObject * obj0 = 0 ;
15917 PyObject * obj1 = 0 ;
15918 PyObject * obj2 = 0 ;
15919 PyObject * obj3 = 0 ;
15920 PyObject * obj4 = 0 ;
15921 PyObject * obj5 = 0 ;
15922 char * kwnames[] = {
15923 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15924 };
15925
15926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15928 if (!SWIG_IsOK(res1)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15930 }
15931 arg1 = reinterpret_cast< wxWindow * >(argp1);
15932 if (obj1) {
15933 ecode2 = SWIG_AsVal_int(obj1, &val2);
15934 if (!SWIG_IsOK(ecode2)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15936 }
15937 arg2 = static_cast< int >(val2);
15938 }
15939 if (obj2) {
15940 {
15941 arg3 = &temp3;
15942 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15943 }
15944 }
15945 if (obj3) {
15946 {
15947 arg4 = &temp4;
15948 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15949 }
15950 }
15951 if (obj4) {
15952 ecode5 = SWIG_AsVal_long(obj4, &val5);
15953 if (!SWIG_IsOK(ecode5)) {
15954 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15955 }
15956 arg5 = static_cast< long >(val5);
15957 }
15958 if (obj5) {
15959 {
15960 arg6 = wxString_in_helper(obj5);
15961 if (arg6 == NULL) SWIG_fail;
15962 temp6 = true;
15963 }
15964 }
15965 {
15966 if (!wxPyCheckForApp()) SWIG_fail;
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15969 wxPyEndAllowThreads(__tstate);
15970 if (PyErr_Occurred()) SWIG_fail;
15971 }
15972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 );
15973 {
15974 if (temp6)
15975 delete arg6;
15976 }
15977 return resultobj;
15978fail:
15979 {
15980 if (temp6)
15981 delete arg6;
15982 }
15983 return NULL;
15984}
15985
15986
15987SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15988 PyObject *resultobj = 0;
15989 wxPyHVScrolledWindow *result = 0 ;
15990
15991 if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail;
15992 {
15993 if (!wxPyCheckForApp()) SWIG_fail;
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow();
1bd55598
RD
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
8c3a7183 15999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 );
1bd55598
RD
16000 return resultobj;
16001fail:
16002 return NULL;
d55e5bfc
RD
16003}
16004
16005
8c3a7183 16006SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 16007 PyObject *resultobj = 0;
8c3a7183
RD
16008 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16009 PyObject *arg2 = (PyObject *) 0 ;
16010 PyObject *arg3 = (PyObject *) 0 ;
1bd55598
RD
16011 void *argp1 = 0 ;
16012 int res1 = 0 ;
8c3a7183
RD
16013 PyObject * obj0 = 0 ;
16014 PyObject * obj1 = 0 ;
16015 PyObject * obj2 = 0 ;
16016 char * kwnames[] = {
16017 (char *) "self",(char *) "self",(char *) "_class", NULL
16018 };
1bd55598 16019
8c3a7183
RD
16020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
1bd55598 16022 if (!SWIG_IsOK(res1)) {
8c3a7183 16023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
1bd55598 16024 }
8c3a7183
RD
16025 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16026 arg2 = obj1;
16027 arg3 = obj2;
1bd55598
RD
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16030 (arg1)->_setCallbackInfo(arg2,arg3);
1bd55598
RD
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
8c3a7183 16034 resultobj = SWIG_Py_Void();
1bd55598
RD
16035 return resultobj;
16036fail:
16037 return NULL;
16038}
16039
16040
8c3a7183 16041SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 16042 PyObject *resultobj = 0;
8c3a7183
RD
16043 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16044 wxWindow *arg2 = (wxWindow *) 0 ;
16045 int arg3 = (int) wxID_ANY ;
16046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16048 wxSize const &arg5_defvalue = wxDefaultSize ;
16049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16050 long arg6 = (long) 0 ;
16051 wxString const &arg7_defvalue = wxPyPanelNameStr ;
16052 wxString *arg7 = (wxString *) &arg7_defvalue ;
1bd55598
RD
16053 bool result;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
8c3a7183
RD
16056 void *argp2 = 0 ;
16057 int res2 = 0 ;
16058 int val3 ;
16059 int ecode3 = 0 ;
16060 wxPoint temp4 ;
16061 wxSize temp5 ;
16062 long val6 ;
16063 int ecode6 = 0 ;
16064 bool temp7 = false ;
1bd55598
RD
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
8c3a7183
RD
16067 PyObject * obj2 = 0 ;
16068 PyObject * obj3 = 0 ;
16069 PyObject * obj4 = 0 ;
16070 PyObject * obj5 = 0 ;
16071 PyObject * obj6 = 0 ;
1bd55598 16072 char * kwnames[] = {
8c3a7183 16073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1bd55598
RD
16074 };
16075
8c3a7183
RD
16076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
1bd55598 16078 if (!SWIG_IsOK(res1)) {
8c3a7183
RD
16079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16080 }
16081 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16083 if (!SWIG_IsOK(res2)) {
16084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16085 }
16086 arg2 = reinterpret_cast< wxWindow * >(argp2);
16087 if (obj2) {
16088 ecode3 = SWIG_AsVal_int(obj2, &val3);
16089 if (!SWIG_IsOK(ecode3)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16091 }
16092 arg3 = static_cast< int >(val3);
16093 }
16094 if (obj3) {
16095 {
16096 arg4 = &temp4;
16097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16098 }
16099 }
16100 if (obj4) {
16101 {
16102 arg5 = &temp5;
16103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16104 }
16105 }
16106 if (obj5) {
16107 ecode6 = SWIG_AsVal_long(obj5, &val6);
16108 if (!SWIG_IsOK(ecode6)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16110 }
16111 arg6 = static_cast< long >(val6);
16112 }
16113 if (obj6) {
16114 {
16115 arg7 = wxString_in_helper(obj6);
16116 if (arg7 == NULL) SWIG_fail;
16117 temp7 = true;
16118 }
1bd55598 16119 }
1bd55598
RD
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16122 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1bd55598
RD
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 {
16127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16128 }
8c3a7183
RD
16129 {
16130 if (temp7)
16131 delete arg7;
16132 }
1bd55598
RD
16133 return resultobj;
16134fail:
8c3a7183
RD
16135 {
16136 if (temp7)
16137 delete arg7;
16138 }
1bd55598 16139 return NULL;
d55e5bfc
RD
16140}
16141
16142
8c3a7183 16143SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 16144 PyObject *resultobj = 0;
8c3a7183
RD
16145 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16146 size_t arg2 ;
16147 size_t arg3 ;
16148 int result;
1bd55598
RD
16149 void *argp1 = 0 ;
16150 int res1 = 0 ;
8c3a7183
RD
16151 size_t val2 ;
16152 int ecode2 = 0 ;
16153 size_t val3 ;
16154 int ecode3 = 0 ;
16155 PyObject * obj0 = 0 ;
16156 PyObject * obj1 = 0 ;
16157 PyObject * obj2 = 0 ;
16158 char * kwnames[] = {
16159 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16160 };
1bd55598 16161
8c3a7183
RD
16162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
1bd55598 16164 if (!SWIG_IsOK(res1)) {
8c3a7183 16165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
1bd55598 16166 }
8c3a7183
RD
16167 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16168 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16169 if (!SWIG_IsOK(ecode2)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16171 }
16172 arg2 = static_cast< size_t >(val2);
16173 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16174 if (!SWIG_IsOK(ecode3)) {
16175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16176 }
16177 arg3 = static_cast< size_t >(val3);
1bd55598
RD
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16180 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
1bd55598
RD
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
8c3a7183 16184 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
16185 return resultobj;
16186fail:
16187 return NULL;
d55e5bfc
RD
16188}
16189
16190
8c3a7183 16191SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 16192 PyObject *resultobj = 0;
8c3a7183
RD
16193 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16194 int result;
1bd55598
RD
16195 void *argp1 = 0 ;
16196 int res1 = 0 ;
16197 PyObject *swig_obj[1] ;
16198
16199 if (!args) SWIG_fail;
16200 swig_obj[0] = args;
8c3a7183 16201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
1bd55598 16202 if (!SWIG_IsOK(res1)) {
8c3a7183 16203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
1bd55598 16204 }
8c3a7183 16205 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
1bd55598
RD
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16208 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight();
1bd55598
RD
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
8c3a7183 16212 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
16213 return resultobj;
16214fail:
16215 return NULL;
16216}
16217
16218
8c3a7183 16219SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598 16220 PyObject *resultobj = 0;
8c3a7183 16221 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
1bd55598 16222 size_t arg2 ;
8c3a7183
RD
16223 size_t arg3 ;
16224 int result;
1bd55598
RD
16225 void *argp1 = 0 ;
16226 int res1 = 0 ;
16227 size_t val2 ;
16228 int ecode2 = 0 ;
8c3a7183 16229 size_t val3 ;
1bd55598
RD
16230 int ecode3 = 0 ;
16231 PyObject * obj0 = 0 ;
16232 PyObject * obj1 = 0 ;
16233 PyObject * obj2 = 0 ;
16234 char * kwnames[] = {
8c3a7183 16235 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
1bd55598
RD
16236 };
16237
8c3a7183
RD
16238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
1bd55598 16240 if (!SWIG_IsOK(res1)) {
8c3a7183 16241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
1bd55598 16242 }
8c3a7183 16243 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
1bd55598
RD
16244 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16245 if (!SWIG_IsOK(ecode2)) {
8c3a7183 16246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
1bd55598
RD
16247 }
16248 arg2 = static_cast< size_t >(val2);
8c3a7183
RD
16249 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16250 if (!SWIG_IsOK(ecode3)) {
16251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16252 }
16253 arg3 = static_cast< size_t >(val3);
1bd55598
RD
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16256 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
1bd55598
RD
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
8c3a7183 16260 resultobj = SWIG_From_int(static_cast< int >(result));
1bd55598
RD
16261 return resultobj;
16262fail:
16263 return NULL;
16264}
16265
16266
8c3a7183 16267SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 16268 PyObject *resultobj = 0;
8c3a7183 16269 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
1bd55598
RD
16270 int result;
16271 void *argp1 = 0 ;
16272 int res1 = 0 ;
8c3a7183 16273 PyObject *swig_obj[1] ;
1bd55598 16274
8c3a7183
RD
16275 if (!args) SWIG_fail;
16276 swig_obj[0] = args;
16277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
1bd55598 16278 if (!SWIG_IsOK(res1)) {
8c3a7183 16279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
1bd55598 16280 }
8c3a7183 16281 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
1bd55598
RD
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8c3a7183 16284 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth();
1bd55598
RD
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 resultobj = SWIG_From_int(static_cast< int >(result));
16289 return resultobj;
16290fail:
16291 return NULL;
d55e5bfc
RD
16292}
16293
16294
8c3a7183 16295SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
16296 PyObject *obj;
16297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8c3a7183 16298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj));
1bd55598 16299 return SWIG_Py_Void();
d55e5bfc
RD
16300}
16301
8c3a7183 16302SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598 16303 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16304}
16305
1bd55598
RD
16306SWIGINTERN int VListBoxNameStr_set(PyObject *) {
16307 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
16308 return 1;
d55e5bfc
RD
16309}
16310
16311
1bd55598
RD
16312SWIGINTERN PyObject *VListBoxNameStr_get(void) {
16313 PyObject *pyobj = 0;
16314
16315 {
16316#if wxUSE_UNICODE
16317 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16318#else
16319 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16320#endif
16321 }
16322 return pyobj;
16323}
16324
16325
16326SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj = 0;
16328 wxWindow *arg1 = (wxWindow *) 0 ;
16329 int arg2 = (int) wxID_ANY ;
16330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16332 wxSize const &arg4_defvalue = wxDefaultSize ;
16333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16334 long arg5 = (long) 0 ;
16335 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
16336 wxString *arg6 = (wxString *) &arg6_defvalue ;
16337 wxPyVListBox *result = 0 ;
16338 void *argp1 = 0 ;
16339 int res1 = 0 ;
16340 int val2 ;
16341 int ecode2 = 0 ;
16342 wxPoint temp3 ;
16343 wxSize temp4 ;
16344 long val5 ;
16345 int ecode5 = 0 ;
16346 bool temp6 = false ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 PyObject * obj2 = 0 ;
16350 PyObject * obj3 = 0 ;
16351 PyObject * obj4 = 0 ;
16352 PyObject * obj5 = 0 ;
16353 char * kwnames[] = {
16354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16355 };
16356
16357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16359 if (!SWIG_IsOK(res1)) {
16360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16361 }
16362 arg1 = reinterpret_cast< wxWindow * >(argp1);
16363 if (obj1) {
16364 ecode2 = SWIG_AsVal_int(obj1, &val2);
16365 if (!SWIG_IsOK(ecode2)) {
16366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16367 }
16368 arg2 = static_cast< int >(val2);
16369 }
16370 if (obj2) {
36ed4f51 16371 {
1bd55598
RD
16372 arg3 = &temp3;
16373 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 16374 }
1bd55598
RD
16375 }
16376 if (obj3) {
d55e5bfc 16377 {
1bd55598
RD
16378 arg4 = &temp4;
16379 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 16380 }
1bd55598
RD
16381 }
16382 if (obj4) {
16383 ecode5 = SWIG_AsVal_long(obj4, &val5);
16384 if (!SWIG_IsOK(ecode5)) {
16385 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16386 }
16387 arg5 = static_cast< long >(val5);
16388 }
16389 if (obj5) {
d55e5bfc 16390 {
1bd55598
RD
16391 arg6 = wxString_in_helper(obj5);
16392 if (arg6 == NULL) SWIG_fail;
16393 temp6 = true;
d55e5bfc 16394 }
1bd55598
RD
16395 }
16396 {
16397 if (!wxPyCheckForApp()) SWIG_fail;
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
16404 {
16405 if (temp6)
16406 delete arg6;
16407 }
16408 return resultobj;
16409fail:
16410 {
16411 if (temp6)
16412 delete arg6;
16413 }
16414 return NULL;
d55e5bfc
RD
16415}
16416
16417
1bd55598
RD
16418SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16419 PyObject *resultobj = 0;
16420 wxPyVListBox *result = 0 ;
16421
16422 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
16423 {
16424 if (!wxPyCheckForApp()) SWIG_fail;
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (wxPyVListBox *)new wxPyVListBox();
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
16431 return resultobj;
16432fail:
16433 return NULL;
16434}
16435
16436
16437SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj = 0;
16439 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16440 PyObject *arg2 = (PyObject *) 0 ;
16441 PyObject *arg3 = (PyObject *) 0 ;
16442 void *argp1 = 0 ;
16443 int res1 = 0 ;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 PyObject * obj2 = 0 ;
16447 char * kwnames[] = {
16448 (char *) "self",(char *) "self",(char *) "_class", NULL
16449 };
16450
16451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16453 if (!SWIG_IsOK(res1)) {
16454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16455 }
16456 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16457 arg2 = obj1;
16458 arg3 = obj2;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 (arg1)->_setCallbackInfo(arg2,arg3);
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 resultobj = SWIG_Py_Void();
16466 return resultobj;
16467fail:
16468 return NULL;
16469}
16470
16471
16472SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj = 0;
16474 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16475 wxWindow *arg2 = (wxWindow *) 0 ;
16476 int arg3 = (int) wxID_ANY ;
16477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16479 wxSize const &arg5_defvalue = wxDefaultSize ;
16480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16481 long arg6 = (long) 0 ;
16482 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
16483 wxString *arg7 = (wxString *) &arg7_defvalue ;
16484 bool result;
16485 void *argp1 = 0 ;
16486 int res1 = 0 ;
16487 void *argp2 = 0 ;
16488 int res2 = 0 ;
16489 int val3 ;
16490 int ecode3 = 0 ;
16491 wxPoint temp4 ;
16492 wxSize temp5 ;
16493 long val6 ;
16494 int ecode6 = 0 ;
16495 bool temp7 = false ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 PyObject * obj2 = 0 ;
16499 PyObject * obj3 = 0 ;
16500 PyObject * obj4 = 0 ;
16501 PyObject * obj5 = 0 ;
16502 PyObject * obj6 = 0 ;
16503 char * kwnames[] = {
16504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16505 };
16506
16507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16509 if (!SWIG_IsOK(res1)) {
16510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16511 }
16512 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16514 if (!SWIG_IsOK(res2)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16516 }
16517 arg2 = reinterpret_cast< wxWindow * >(argp2);
16518 if (obj2) {
16519 ecode3 = SWIG_AsVal_int(obj2, &val3);
16520 if (!SWIG_IsOK(ecode3)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16522 }
16523 arg3 = static_cast< int >(val3);
16524 }
16525 if (obj3) {
36ed4f51 16526 {
1bd55598
RD
16527 arg4 = &temp4;
16528 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 16529 }
1bd55598
RD
16530 }
16531 if (obj4) {
36ed4f51 16532 {
1bd55598
RD
16533 arg5 = &temp5;
16534 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 16535 }
1bd55598
RD
16536 }
16537 if (obj5) {
16538 ecode6 = SWIG_AsVal_long(obj5, &val6);
16539 if (!SWIG_IsOK(ecode6)) {
16540 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16541 }
16542 arg6 = static_cast< long >(val6);
16543 }
16544 if (obj6) {
d55e5bfc 16545 {
1bd55598
RD
16546 arg7 = wxString_in_helper(obj6);
16547 if (arg7 == NULL) SWIG_fail;
16548 temp7 = true;
16549 }
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 {
16558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16559 }
16560 {
16561 if (temp7)
16562 delete arg7;
16563 }
16564 return resultobj;
16565fail:
16566 {
16567 if (temp7)
16568 delete arg7;
16569 }
16570 return NULL;
d55e5bfc
RD
16571}
16572
16573
1bd55598
RD
16574SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16575 PyObject *resultobj = 0;
16576 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16577 size_t result;
16578 void *argp1 = 0 ;
16579 int res1 = 0 ;
16580 PyObject *swig_obj[1] ;
16581
16582 if (!args) SWIG_fail;
16583 swig_obj[0] = args;
16584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16585 if (!SWIG_IsOK(res1)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16587 }
16588 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16596 return resultobj;
16597fail:
16598 return NULL;
d55e5bfc
RD
16599}
16600
16601
1bd55598
RD
16602SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16603 PyObject *resultobj = 0;
16604 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16605 bool result;
16606 void *argp1 = 0 ;
16607 int res1 = 0 ;
16608 PyObject *swig_obj[1] ;
16609
16610 if (!args) SWIG_fail;
16611 swig_obj[0] = args;
16612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16615 }
16616 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16625 }
16626 return resultobj;
16627fail:
16628 return NULL;
d55e5bfc
RD
16629}
16630
16631
1bd55598
RD
16632SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16633 PyObject *resultobj = 0;
16634 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16635 int result;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 PyObject *swig_obj[1] ;
16639
16640 if (!args) SWIG_fail;
16641 swig_obj[0] = args;
16642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16643 if (!SWIG_IsOK(res1)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16645 }
16646 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 resultobj = SWIG_From_int(static_cast< int >(result));
16654 return resultobj;
16655fail:
16656 return NULL;
16657}
16658
16659
16660SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj = 0;
16662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16663 size_t arg2 ;
16664 bool result;
16665 void *argp1 = 0 ;
16666 int res1 = 0 ;
16667 size_t val2 ;
16668 int ecode2 = 0 ;
16669 PyObject * obj0 = 0 ;
16670 PyObject * obj1 = 0 ;
16671 char * kwnames[] = {
16672 (char *) "self",(char *) "item", NULL
16673 };
16674
16675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
16676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16677 if (!SWIG_IsOK(res1)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16679 }
16680 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16681 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16682 if (!SWIG_IsOK(ecode2)) {
16683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16684 }
16685 arg2 = static_cast< size_t >(val2);
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 {
16693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16694 }
16695 return resultobj;
16696fail:
16697 return NULL;
16698}
16699
16700
16701SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16702 PyObject *resultobj = 0;
16703 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16704 size_t arg2 ;
16705 bool result;
16706 void *argp1 = 0 ;
16707 int res1 = 0 ;
16708 size_t val2 ;
16709 int ecode2 = 0 ;
16710 PyObject * obj0 = 0 ;
16711 PyObject * obj1 = 0 ;
16712 char * kwnames[] = {
16713 (char *) "self",(char *) "item", NULL
16714 };
16715
16716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16718 if (!SWIG_IsOK(res1)) {
16719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16720 }
16721 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16722 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16723 if (!SWIG_IsOK(ecode2)) {
16724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16725 }
16726 arg2 = static_cast< size_t >(val2);
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
16734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16735 }
16736 return resultobj;
16737fail:
16738 return NULL;
d55e5bfc
RD
16739}
16740
16741
1bd55598
RD
16742SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16743 PyObject *resultobj = 0;
16744 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16745 size_t result;
16746 void *argp1 = 0 ;
16747 int res1 = 0 ;
16748 PyObject *swig_obj[1] ;
16749
16750 if (!args) SWIG_fail;
16751 swig_obj[0] = args;
16752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16753 if (!SWIG_IsOK(res1)) {
16754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16755 }
16756 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16764 return resultobj;
16765fail:
16766 return NULL;
d55e5bfc
RD
16767}
16768
16769
1bd55598
RD
16770SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16771 PyObject *resultobj = 0;
16772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16773 PyObject *result = 0 ;
16774 void *argp1 = 0 ;
16775 int res1 = 0 ;
16776 PyObject *swig_obj[1] ;
16777
16778 if (!args) SWIG_fail;
16779 swig_obj[0] = args;
16780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16781 if (!SWIG_IsOK(res1)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16783 }
16784 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
16791 resultobj = result;
16792 return resultobj;
16793fail:
16794 return NULL;
16795}
16796
16797
16798SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj = 0;
16800 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16801 unsigned long arg2 ;
16802 PyObject *result = 0 ;
16803 void *argp1 = 0 ;
16804 int res1 = 0 ;
16805 unsigned long val2 ;
16806 int ecode2 = 0 ;
16807 PyObject * obj0 = 0 ;
16808 PyObject * obj1 = 0 ;
16809 char * kwnames[] = {
16810 (char *) "self",(char *) "cookie", NULL
16811 };
16812
16813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16815 if (!SWIG_IsOK(res1)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16817 }
16818 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16819 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
16820 if (!SWIG_IsOK(ecode2)) {
16821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
16822 }
16823 arg2 = static_cast< unsigned long >(val2);
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = result;
16831 return resultobj;
16832fail:
16833 return NULL;
d55e5bfc
RD
16834}
16835
16836
1bd55598
RD
16837SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16838 PyObject *resultobj = 0;
16839 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16840 wxPoint result;
16841 void *argp1 = 0 ;
16842 int res1 = 0 ;
16843 PyObject *swig_obj[1] ;
16844
16845 if (!args) SWIG_fail;
16846 swig_obj[0] = args;
16847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16848 if (!SWIG_IsOK(res1)) {
16849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16850 }
16851 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = ((wxPyVListBox const *)arg1)->GetMargins();
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
16859 return resultobj;
16860fail:
16861 return NULL;
d55e5bfc
RD
16862}
16863
16864
1bd55598
RD
16865SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16866 PyObject *resultobj = 0;
16867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16868 wxColour *result = 0 ;
16869 void *argp1 = 0 ;
16870 int res1 = 0 ;
16871 PyObject *swig_obj[1] ;
16872
16873 if (!args) SWIG_fail;
16874 swig_obj[0] = args;
16875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16876 if (!SWIG_IsOK(res1)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16878 }
16879 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16882 {
1bd55598
RD
16883 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
16884 result = (wxColour *) &_result_ref;
36ed4f51 16885 }
1bd55598
RD
16886 wxPyEndAllowThreads(__tstate);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
16890 return resultobj;
16891fail:
16892 return NULL;
16893}
16894
16895
16896SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj = 0;
16898 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16899 size_t arg2 ;
16900 void *argp1 = 0 ;
16901 int res1 = 0 ;
16902 size_t val2 ;
16903 int ecode2 = 0 ;
16904 PyObject * obj0 = 0 ;
16905 PyObject * obj1 = 0 ;
16906 char * kwnames[] = {
16907 (char *) "self",(char *) "count", NULL
16908 };
16909
16910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
16911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16912 if (!SWIG_IsOK(res1)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16914 }
16915 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16916 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16917 if (!SWIG_IsOK(ecode2)) {
16918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
16919 }
16920 arg2 = static_cast< size_t >(val2);
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 (arg1)->SetItemCount(arg2);
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 resultobj = SWIG_Py_Void();
16928 return resultobj;
16929fail:
16930 return NULL;
d55e5bfc
RD
16931}
16932
16933
1bd55598
RD
16934SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16935 PyObject *resultobj = 0;
16936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16937 void *argp1 = 0 ;
16938 int res1 = 0 ;
16939 PyObject *swig_obj[1] ;
16940
16941 if (!args) SWIG_fail;
16942 swig_obj[0] = args;
16943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16944 if (!SWIG_IsOK(res1)) {
16945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16946 }
16947 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 (arg1)->Clear();
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 resultobj = SWIG_Py_Void();
16955 return resultobj;
16956fail:
16957 return NULL;
16958}
16959
16960
16961SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj = 0;
16963 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16964 int arg2 ;
16965 void *argp1 = 0 ;
16966 int res1 = 0 ;
16967 int val2 ;
16968 int ecode2 = 0 ;
16969 PyObject * obj0 = 0 ;
16970 PyObject * obj1 = 0 ;
16971 char * kwnames[] = {
16972 (char *) "self",(char *) "selection", NULL
16973 };
16974
16975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16977 if (!SWIG_IsOK(res1)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16979 }
16980 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16981 ecode2 = SWIG_AsVal_int(obj1, &val2);
16982 if (!SWIG_IsOK(ecode2)) {
16983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16984 }
16985 arg2 = static_cast< int >(val2);
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 (arg1)->SetSelection(arg2);
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 resultobj = SWIG_Py_Void();
16993 return resultobj;
16994fail:
16995 return NULL;
16996}
16997
16998
16999SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj = 0;
17001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17002 size_t arg2 ;
17003 bool arg3 = (bool) true ;
17004 bool result;
17005 void *argp1 = 0 ;
17006 int res1 = 0 ;
17007 size_t val2 ;
17008 int ecode2 = 0 ;
17009 bool val3 ;
17010 int ecode3 = 0 ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 PyObject * obj2 = 0 ;
17014 char * kwnames[] = {
17015 (char *) "self",(char *) "item",(char *) "select", NULL
17016 };
17017
17018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17020 if (!SWIG_IsOK(res1)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17022 }
17023 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17024 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17025 if (!SWIG_IsOK(ecode2)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17027 }
17028 arg2 = static_cast< size_t >(val2);
17029 if (obj2) {
17030 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17031 if (!SWIG_IsOK(ecode3)) {
17032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17033 }
17034 arg3 = static_cast< bool >(val3);
17035 }
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (bool)(arg1)->Select(arg2,arg3);
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 {
17043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17044 }
17045 return resultobj;
17046fail:
17047 return NULL;
17048}
17049
17050
17051SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj = 0;
17053 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17054 size_t arg2 ;
17055 size_t arg3 ;
17056 bool result;
17057 void *argp1 = 0 ;
17058 int res1 = 0 ;
17059 size_t val2 ;
17060 int ecode2 = 0 ;
17061 size_t val3 ;
17062 int ecode3 = 0 ;
17063 PyObject * obj0 = 0 ;
17064 PyObject * obj1 = 0 ;
17065 PyObject * obj2 = 0 ;
17066 char * kwnames[] = {
2131d850 17067 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
17068 };
17069
17070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17072 if (!SWIG_IsOK(res1)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17074 }
17075 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17076 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17077 if (!SWIG_IsOK(ecode2)) {
17078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17079 }
17080 arg2 = static_cast< size_t >(val2);
17081 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17082 if (!SWIG_IsOK(ecode3)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17084 }
17085 arg3 = static_cast< size_t >(val3);
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 result = (bool)(arg1)->SelectRange(arg2,arg3);
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 {
17093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17094 }
17095 return resultobj;
17096fail:
17097 return NULL;
17098}
17099
17100
17101SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj = 0;
17103 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17104 size_t arg2 ;
17105 void *argp1 = 0 ;
17106 int res1 = 0 ;
17107 size_t val2 ;
17108 int ecode2 = 0 ;
17109 PyObject * obj0 = 0 ;
17110 PyObject * obj1 = 0 ;
17111 char * kwnames[] = {
17112 (char *) "self",(char *) "item", NULL
17113 };
17114
17115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
17116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17117 if (!SWIG_IsOK(res1)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17119 }
17120 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17121 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17122 if (!SWIG_IsOK(ecode2)) {
17123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17124 }
17125 arg2 = static_cast< size_t >(val2);
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 (arg1)->Toggle(arg2);
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 resultobj = SWIG_Py_Void();
17133 return resultobj;
17134fail:
17135 return NULL;
d55e5bfc
RD
17136}
17137
17138
1bd55598
RD
17139SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17140 PyObject *resultobj = 0;
17141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17142 bool result;
17143 void *argp1 = 0 ;
17144 int res1 = 0 ;
17145 PyObject *swig_obj[1] ;
17146
17147 if (!args) SWIG_fail;
17148 swig_obj[0] = args;
17149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17150 if (!SWIG_IsOK(res1)) {
17151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17152 }
17153 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (bool)(arg1)->SelectAll();
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 {
17161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17162 }
17163 return resultobj;
17164fail:
17165 return NULL;
d55e5bfc
RD
17166}
17167
17168
1bd55598
RD
17169SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17170 PyObject *resultobj = 0;
17171 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17172 bool result;
17173 void *argp1 = 0 ;
17174 int res1 = 0 ;
17175 PyObject *swig_obj[1] ;
17176
17177 if (!args) SWIG_fail;
17178 swig_obj[0] = args;
17179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17180 if (!SWIG_IsOK(res1)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17182 }
17183 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 result = (bool)(arg1)->DeselectAll();
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 {
17191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17192 }
17193 return resultobj;
17194fail:
17195 return NULL;
17196}
17197
17198
17199SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj = 0;
17201 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17202 wxPoint *arg2 = 0 ;
17203 void *argp1 = 0 ;
17204 int res1 = 0 ;
17205 wxPoint temp2 ;
17206 PyObject * obj0 = 0 ;
17207 PyObject * obj1 = 0 ;
17208 char * kwnames[] = {
17209 (char *) "self",(char *) "pt", NULL
17210 };
17211
17212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
17213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17214 if (!SWIG_IsOK(res1)) {
17215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17216 }
17217 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17218 {
17219 arg2 = &temp2;
17220 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17221 }
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 (arg1)->SetMargins((wxPoint const &)*arg2);
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 resultobj = SWIG_Py_Void();
17229 return resultobj;
17230fail:
17231 return NULL;
17232}
17233
17234
17235SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj = 0;
17237 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17238 int arg2 ;
17239 int arg3 ;
17240 void *argp1 = 0 ;
17241 int res1 = 0 ;
17242 int val2 ;
17243 int ecode2 = 0 ;
17244 int val3 ;
17245 int ecode3 = 0 ;
17246 PyObject * obj0 = 0 ;
17247 PyObject * obj1 = 0 ;
17248 PyObject * obj2 = 0 ;
17249 char * kwnames[] = {
17250 (char *) "self",(char *) "x",(char *) "y", NULL
17251 };
17252
17253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17255 if (!SWIG_IsOK(res1)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17257 }
17258 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17259 ecode2 = SWIG_AsVal_int(obj1, &val2);
17260 if (!SWIG_IsOK(ecode2)) {
17261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17262 }
17263 arg2 = static_cast< int >(val2);
17264 ecode3 = SWIG_AsVal_int(obj2, &val3);
17265 if (!SWIG_IsOK(ecode3)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17267 }
17268 arg3 = static_cast< int >(val3);
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 (arg1)->SetMargins(arg2,arg3);
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 resultobj = SWIG_Py_Void();
17276 return resultobj;
17277fail:
17278 return NULL;
17279}
17280
17281
17282SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj = 0;
17284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17285 wxColour *arg2 = 0 ;
17286 void *argp1 = 0 ;
17287 int res1 = 0 ;
17288 wxColour temp2 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char * kwnames[] = {
17292 (char *) "self",(char *) "col", NULL
17293 };
17294
17295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
17296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17297 if (!SWIG_IsOK(res1)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17299 }
17300 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17301 {
17302 arg2 = &temp2;
17303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17304 }
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 resultobj = SWIG_Py_Void();
17312 return resultobj;
17313fail:
17314 return NULL;
17315}
17316
17317
cbfc9df6
RD
17318SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17319 PyObject *resultobj = 0;
17320 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17321 void *argp1 = 0 ;
17322 int res1 = 0 ;
17323 PyObject *swig_obj[1] ;
17324
17325 if (!args) SWIG_fail;
17326 swig_obj[0] = args;
17327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17328 if (!SWIG_IsOK(res1)) {
17329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17330 }
17331 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 (arg1)->RefreshSelected();
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 resultobj = SWIG_Py_Void();
17339 return resultobj;
17340fail:
17341 return NULL;
17342}
17343
17344
1c71765a
RD
17345SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj = 0;
17347 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17348 wxDC *arg2 = 0 ;
17349 wxRect *arg3 = 0 ;
17350 size_t arg4 ;
17351 void *argp1 = 0 ;
17352 int res1 = 0 ;
17353 void *argp2 = 0 ;
17354 int res2 = 0 ;
17355 wxRect temp3 ;
17356 size_t val4 ;
17357 int ecode4 = 0 ;
17358 PyObject * obj0 = 0 ;
17359 PyObject * obj1 = 0 ;
17360 PyObject * obj2 = 0 ;
17361 PyObject * obj3 = 0 ;
17362 char * kwnames[] = {
17363 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17364 };
17365
17366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17368 if (!SWIG_IsOK(res1)) {
17369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17370 }
17371 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17372 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17373 if (!SWIG_IsOK(res2)) {
17374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17375 }
17376 if (!argp2) {
17377 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17378 }
17379 arg2 = reinterpret_cast< wxDC * >(argp2);
17380 {
17381 arg3 = &temp3;
17382 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17383 }
17384 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17385 if (!SWIG_IsOK(ecode4)) {
17386 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17387 }
17388 arg4 = static_cast< size_t >(val4);
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 resultobj = SWIG_Py_Void();
17396 return resultobj;
17397fail:
17398 return NULL;
17399}
17400
17401
17402SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj = 0;
17404 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17405 wxDC *arg2 = 0 ;
17406 wxRect *arg3 = 0 ;
17407 size_t arg4 ;
17408 void *argp1 = 0 ;
17409 int res1 = 0 ;
17410 void *argp2 = 0 ;
17411 int res2 = 0 ;
17412 wxRect temp3 ;
17413 size_t val4 ;
17414 int ecode4 = 0 ;
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 PyObject * obj2 = 0 ;
17418 PyObject * obj3 = 0 ;
17419 char * kwnames[] = {
17420 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17421 };
17422
17423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17425 if (!SWIG_IsOK(res1)) {
17426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17427 }
17428 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17429 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17430 if (!SWIG_IsOK(res2)) {
17431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17432 }
17433 if (!argp2) {
17434 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17435 }
17436 arg2 = reinterpret_cast< wxDC * >(argp2);
17437 {
17438 arg3 = &temp3;
17439 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17440 }
17441 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17442 if (!SWIG_IsOK(ecode4)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17444 }
17445 arg4 = static_cast< size_t >(val4);
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
17449 wxPyEndAllowThreads(__tstate);
17450 if (PyErr_Occurred()) SWIG_fail;
17451 }
17452 resultobj = SWIG_Py_Void();
17453 return resultobj;
17454fail:
17455 return NULL;
17456}
17457
17458
1bd55598
RD
17459SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17460 PyObject *obj;
17461 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17462 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
17463 return SWIG_Py_Void();
17464}
17465
17466SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17467 return SWIG_Python_InitShadowInstance(args);
17468}
17469
17470SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj = 0;
17472 wxWindow *arg1 = (wxWindow *) 0 ;
17473 int arg2 = (int) wxID_ANY ;
17474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17476 wxSize const &arg4_defvalue = wxDefaultSize ;
17477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17478 long arg5 = (long) 0 ;
17479 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
17480 wxString *arg6 = (wxString *) &arg6_defvalue ;
17481 wxPyHtmlListBox *result = 0 ;
17482 void *argp1 = 0 ;
17483 int res1 = 0 ;
17484 int val2 ;
17485 int ecode2 = 0 ;
17486 wxPoint temp3 ;
17487 wxSize temp4 ;
17488 long val5 ;
17489 int ecode5 = 0 ;
17490 bool temp6 = false ;
17491 PyObject * obj0 = 0 ;
17492 PyObject * obj1 = 0 ;
17493 PyObject * obj2 = 0 ;
17494 PyObject * obj3 = 0 ;
17495 PyObject * obj4 = 0 ;
17496 PyObject * obj5 = 0 ;
17497 char * kwnames[] = {
17498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17499 };
17500
17501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17503 if (!SWIG_IsOK(res1)) {
17504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17505 }
17506 arg1 = reinterpret_cast< wxWindow * >(argp1);
17507 if (obj1) {
17508 ecode2 = SWIG_AsVal_int(obj1, &val2);
17509 if (!SWIG_IsOK(ecode2)) {
17510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17511 }
17512 arg2 = static_cast< int >(val2);
17513 }
17514 if (obj2) {
d55e5bfc 17515 {
1bd55598
RD
17516 arg3 = &temp3;
17517 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 17518 }
1bd55598
RD
17519 }
17520 if (obj3) {
36ed4f51 17521 {
1bd55598
RD
17522 arg4 = &temp4;
17523 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 17524 }
1bd55598
RD
17525 }
17526 if (obj4) {
17527 ecode5 = SWIG_AsVal_long(obj4, &val5);
17528 if (!SWIG_IsOK(ecode5)) {
17529 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17530 }
17531 arg5 = static_cast< long >(val5);
17532 }
17533 if (obj5) {
36ed4f51 17534 {
1bd55598
RD
17535 arg6 = wxString_in_helper(obj5);
17536 if (arg6 == NULL) SWIG_fail;
17537 temp6 = true;
36ed4f51 17538 }
1bd55598
RD
17539 }
17540 {
17541 if (!wxPyCheckForApp()) SWIG_fail;
17542 PyThreadState* __tstate = wxPyBeginAllowThreads();
17543 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
17548 {
17549 if (temp6)
17550 delete arg6;
17551 }
17552 return resultobj;
17553fail:
17554 {
17555 if (temp6)
17556 delete arg6;
17557 }
17558 return NULL;
d55e5bfc
RD
17559}
17560
17561
1bd55598
RD
17562SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17563 PyObject *resultobj = 0;
17564 wxPyHtmlListBox *result = 0 ;
17565
17566 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
17567 {
17568 if (!wxPyCheckForApp()) SWIG_fail;
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
17575 return resultobj;
17576fail:
17577 return NULL;
17578}
17579
17580
17581SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17582 PyObject *resultobj = 0;
17583 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17584 PyObject *arg2 = (PyObject *) 0 ;
17585 PyObject *arg3 = (PyObject *) 0 ;
17586 void *argp1 = 0 ;
17587 int res1 = 0 ;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 char * kwnames[] = {
17592 (char *) "self",(char *) "self",(char *) "_class", NULL
17593 };
17594
17595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17597 if (!SWIG_IsOK(res1)) {
17598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17599 }
17600 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17601 arg2 = obj1;
17602 arg3 = obj2;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->_setCallbackInfo(arg2,arg3);
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 resultobj = SWIG_Py_Void();
17610 return resultobj;
17611fail:
17612 return NULL;
17613}
17614
17615
17616SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj = 0;
17618 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17619 wxWindow *arg2 = (wxWindow *) 0 ;
17620 int arg3 = (int) wxID_ANY ;
17621 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17622 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17623 wxSize const &arg5_defvalue = wxDefaultSize ;
17624 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17625 long arg6 = (long) 0 ;
17626 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
17627 wxString *arg7 = (wxString *) &arg7_defvalue ;
17628 bool result;
17629 void *argp1 = 0 ;
17630 int res1 = 0 ;
17631 void *argp2 = 0 ;
17632 int res2 = 0 ;
17633 int val3 ;
17634 int ecode3 = 0 ;
17635 wxPoint temp4 ;
17636 wxSize temp5 ;
17637 long val6 ;
17638 int ecode6 = 0 ;
17639 bool temp7 = false ;
17640 PyObject * obj0 = 0 ;
17641 PyObject * obj1 = 0 ;
17642 PyObject * obj2 = 0 ;
17643 PyObject * obj3 = 0 ;
17644 PyObject * obj4 = 0 ;
17645 PyObject * obj5 = 0 ;
17646 PyObject * obj6 = 0 ;
17647 char * kwnames[] = {
17648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17649 };
17650
17651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17653 if (!SWIG_IsOK(res1)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17655 }
17656 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17657 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17658 if (!SWIG_IsOK(res2)) {
17659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17660 }
17661 arg2 = reinterpret_cast< wxWindow * >(argp2);
17662 if (obj2) {
17663 ecode3 = SWIG_AsVal_int(obj2, &val3);
17664 if (!SWIG_IsOK(ecode3)) {
17665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17666 }
17667 arg3 = static_cast< int >(val3);
17668 }
17669 if (obj3) {
36ed4f51 17670 {
1bd55598
RD
17671 arg4 = &temp4;
17672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 17673 }
1bd55598
RD
17674 }
17675 if (obj4) {
d55e5bfc 17676 {
1bd55598
RD
17677 arg5 = &temp5;
17678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17679 }
1bd55598
RD
17680 }
17681 if (obj5) {
17682 ecode6 = SWIG_AsVal_long(obj5, &val6);
17683 if (!SWIG_IsOK(ecode6)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17685 }
17686 arg6 = static_cast< long >(val6);
17687 }
17688 if (obj6) {
36ed4f51 17689 {
1bd55598
RD
17690 arg7 = wxString_in_helper(obj6);
17691 if (arg7 == NULL) SWIG_fail;
17692 temp7 = true;
36ed4f51 17693 }
1bd55598
RD
17694 }
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17698 wxPyEndAllowThreads(__tstate);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 {
17702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17703 }
17704 {
17705 if (temp7)
17706 delete arg7;
17707 }
17708 return resultobj;
17709fail:
17710 {
17711 if (temp7)
17712 delete arg7;
17713 }
17714 return NULL;
17715}
17716
17717
17718SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj = 0;
17720 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17721 size_t arg2 ;
17722 void *argp1 = 0 ;
17723 int res1 = 0 ;
17724 size_t val2 ;
17725 int ecode2 = 0 ;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 char * kwnames[] = {
17729 (char *) "self",(char *) "count", NULL
17730 };
17731
17732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17734 if (!SWIG_IsOK(res1)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17736 }
17737 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17738 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17739 if (!SWIG_IsOK(ecode2)) {
17740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17741 }
17742 arg2 = static_cast< size_t >(val2);
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->SetItemCount(arg2);
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = SWIG_Py_Void();
17750 return resultobj;
17751fail:
17752 return NULL;
d55e5bfc
RD
17753}
17754
17755
1bd55598
RD
17756SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17757 PyObject *resultobj = 0;
17758 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17759 wxFileSystem *result = 0 ;
17760 void *argp1 = 0 ;
17761 int res1 = 0 ;
17762 PyObject *swig_obj[1] ;
17763
17764 if (!args) SWIG_fail;
17765 swig_obj[0] = args;
17766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17767 if (!SWIG_IsOK(res1)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17769 }
17770 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 17773 {
1bd55598
RD
17774 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
17775 result = (wxFileSystem *) &_result_ref;
36ed4f51 17776 }
1bd55598
RD
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
17781 return resultobj;
17782fail:
17783 return NULL;
d55e5bfc
RD
17784}
17785
17786
e9d6f3a4
RD
17787SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj = 0;
17789 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17790 size_t arg2 ;
17791 wxHtmlLinkInfo *arg3 = 0 ;
17792 void *argp1 = 0 ;
17793 int res1 = 0 ;
17794 size_t val2 ;
17795 int ecode2 = 0 ;
17796 void *argp3 = 0 ;
17797 int res3 = 0 ;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 PyObject * obj2 = 0 ;
17801 char * kwnames[] = {
17802 (char *) "self",(char *) "n",(char *) "link", NULL
17803 };
17804
17805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17807 if (!SWIG_IsOK(res1)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17809 }
17810 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17811 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17812 if (!SWIG_IsOK(ecode2)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17814 }
17815 arg2 = static_cast< size_t >(val2);
17816 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
17817 if (!SWIG_IsOK(res3)) {
17818 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17819 }
17820 if (!argp3) {
17821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17822 }
17823 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 resultobj = SWIG_Py_Void();
17831 return resultobj;
17832fail:
17833 return NULL;
17834}
17835
17836
1bd55598
RD
17837SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17838 PyObject *obj;
17839 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17840 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
17841 return SWIG_Py_Void();
d55e5bfc
RD
17842}
17843
1bd55598
RD
17844SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17845 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
17846}
17847
f9bf356b
RD
17848SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
17849 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
17850 return 1;
17851}
17852
17853
17854SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
17855 PyObject *pyobj = 0;
17856
17857 {
17858#if wxUSE_UNICODE
17859 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
17860#else
17861 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
17862#endif
17863 }
17864 return pyobj;
17865}
17866
17867
17868SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj = 0;
17870 wxWindow *arg1 = (wxWindow *) 0 ;
17871 int arg2 = (int) -1 ;
17872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17874 wxSize const &arg4_defvalue = wxDefaultSize ;
17875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17876 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
17877 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
17878 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
17879 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17880 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17881 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
17882 wxString *arg8 = (wxString *) &arg8_defvalue ;
17883 wxSimpleHtmlListBox *result = 0 ;
17884 void *argp1 = 0 ;
17885 int res1 = 0 ;
17886 int val2 ;
17887 int ecode2 = 0 ;
17888 wxPoint temp3 ;
17889 wxSize temp4 ;
17890 bool temp5 = false ;
17891 long val6 ;
17892 int ecode6 = 0 ;
17893 void *argp7 = 0 ;
17894 int res7 = 0 ;
17895 bool temp8 = false ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 PyObject * obj2 = 0 ;
17899 PyObject * obj3 = 0 ;
17900 PyObject * obj4 = 0 ;
17901 PyObject * obj5 = 0 ;
17902 PyObject * obj6 = 0 ;
17903 PyObject * obj7 = 0 ;
17904 char * kwnames[] = {
17905 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
17906 };
17907
17908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17910 if (!SWIG_IsOK(res1)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17912 }
17913 arg1 = reinterpret_cast< wxWindow * >(argp1);
17914 if (obj1) {
17915 ecode2 = SWIG_AsVal_int(obj1, &val2);
17916 if (!SWIG_IsOK(ecode2)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
17918 }
17919 arg2 = static_cast< int >(val2);
17920 }
17921 if (obj2) {
17922 {
17923 arg3 = &temp3;
17924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17925 }
17926 }
17927 if (obj3) {
17928 {
17929 arg4 = &temp4;
17930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17931 }
17932 }
17933 if (obj4) {
17934 {
17935 if (! PySequence_Check(obj4)) {
17936 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
17937 SWIG_fail;
17938 }
17939 arg5 = new wxArrayString;
17940 temp5 = true;
17941 int i, len=PySequence_Length(obj4);
17942 for (i=0; i<len; i++) {
17943 PyObject* item = PySequence_GetItem(obj4, i);
17944 wxString* s = wxString_in_helper(item);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 arg5->Add(*s);
17947 delete s;
17948 Py_DECREF(item);
17949 }
17950 }
17951 }
17952 if (obj5) {
17953 ecode6 = SWIG_AsVal_long(obj5, &val6);
17954 if (!SWIG_IsOK(ecode6)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
17956 }
17957 arg6 = static_cast< long >(val6);
17958 }
17959 if (obj6) {
17960 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17961 if (!SWIG_IsOK(res7)) {
17962 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
17963 }
17964 if (!argp7) {
17965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
17966 }
17967 arg7 = reinterpret_cast< wxValidator * >(argp7);
17968 }
17969 if (obj7) {
17970 {
17971 arg8 = wxString_in_helper(obj7);
17972 if (arg8 == NULL) SWIG_fail;
17973 temp8 = true;
17974 }
17975 }
17976 {
17977 if (!wxPyCheckForApp()) SWIG_fail;
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
17984 {
17985 if (temp5) delete arg5;
17986 }
17987 {
17988 if (temp8)
17989 delete arg8;
17990 }
17991 return resultobj;
17992fail:
17993 {
17994 if (temp5) delete arg5;
17995 }
17996 {
17997 if (temp8)
17998 delete arg8;
17999 }
18000 return NULL;
18001}
18002
18003
18004SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18005 PyObject *resultobj = 0;
18006 wxSimpleHtmlListBox *result = 0 ;
18007
18008 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
18009 {
18010 if (!wxPyCheckForApp()) SWIG_fail;
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
18017 return resultobj;
18018fail:
18019 return NULL;
18020}
18021
18022
18023SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj = 0;
18025 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
18026 wxWindow *arg2 = (wxWindow *) 0 ;
18027 int arg3 = (int) -1 ;
18028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18030 wxSize const &arg5_defvalue = wxDefaultSize ;
18031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18032 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
18033 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
18034 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
18035 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18036 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18037 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
18038 wxString *arg9 = (wxString *) &arg9_defvalue ;
18039 bool result;
18040 void *argp1 = 0 ;
18041 int res1 = 0 ;
18042 void *argp2 = 0 ;
18043 int res2 = 0 ;
18044 int val3 ;
18045 int ecode3 = 0 ;
18046 wxPoint temp4 ;
18047 wxSize temp5 ;
18048 bool temp6 = false ;
18049 long val7 ;
18050 int ecode7 = 0 ;
18051 void *argp8 = 0 ;
18052 int res8 = 0 ;
18053 bool temp9 = false ;
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 PyObject * obj2 = 0 ;
18057 PyObject * obj3 = 0 ;
18058 PyObject * obj4 = 0 ;
18059 PyObject * obj5 = 0 ;
18060 PyObject * obj6 = 0 ;
18061 PyObject * obj7 = 0 ;
18062 PyObject * obj8 = 0 ;
18063 char * kwnames[] = {
18064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18065 };
18066
18067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
18069 if (!SWIG_IsOK(res1)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18071 }
18072 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
18073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18074 if (!SWIG_IsOK(res2)) {
18075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18076 }
18077 arg2 = reinterpret_cast< wxWindow * >(argp2);
18078 if (obj2) {
18079 ecode3 = SWIG_AsVal_int(obj2, &val3);
18080 if (!SWIG_IsOK(ecode3)) {
18081 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18082 }
18083 arg3 = static_cast< int >(val3);
18084 }
18085 if (obj3) {
18086 {
18087 arg4 = &temp4;
18088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18089 }
18090 }
18091 if (obj4) {
18092 {
18093 arg5 = &temp5;
18094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18095 }
18096 }
18097 if (obj5) {
18098 {
18099 if (! PySequence_Check(obj5)) {
18100 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18101 SWIG_fail;
18102 }
18103 arg6 = new wxArrayString;
18104 temp6 = true;
18105 int i, len=PySequence_Length(obj5);
18106 for (i=0; i<len; i++) {
18107 PyObject* item = PySequence_GetItem(obj5, i);
18108 wxString* s = wxString_in_helper(item);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 arg6->Add(*s);
18111 delete s;
18112 Py_DECREF(item);
18113 }
18114 }
18115 }
18116 if (obj6) {
18117 ecode7 = SWIG_AsVal_long(obj6, &val7);
18118 if (!SWIG_IsOK(ecode7)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18120 }
18121 arg7 = static_cast< long >(val7);
18122 }
18123 if (obj7) {
18124 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18125 if (!SWIG_IsOK(res8)) {
18126 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18127 }
18128 if (!argp8) {
18129 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18130 }
18131 arg8 = reinterpret_cast< wxValidator * >(argp8);
18132 }
18133 if (obj8) {
18134 {
18135 arg9 = wxString_in_helper(obj8);
18136 if (arg9 == NULL) SWIG_fail;
18137 temp9 = true;
18138 }
18139 }
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18143 wxPyEndAllowThreads(__tstate);
18144 if (PyErr_Occurred()) SWIG_fail;
18145 }
18146 {
18147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18148 }
18149 {
18150 if (temp6) delete arg6;
18151 }
18152 {
18153 if (temp9)
18154 delete arg9;
18155 }
18156 return resultobj;
18157fail:
18158 {
18159 if (temp6) delete arg6;
18160 }
18161 {
18162 if (temp9)
18163 delete arg9;
18164 }
18165 return NULL;
18166}
18167
18168
18169SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18170 PyObject *obj;
18171 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18172 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
18173 return SWIG_Py_Void();
18174}
18175
18176SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18177 return SWIG_Python_InitShadowInstance(args);
18178}
18179
1bd55598
RD
18180SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18181 PyObject *resultobj = 0;
18182 wxPyTaskBarIcon *result = 0 ;
18183
18184 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
18185 {
18186 if (!wxPyCheckForApp()) SWIG_fail;
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
18193 return resultobj;
18194fail:
18195 return NULL;
d55e5bfc
RD
18196}
18197
18198
1bd55598
RD
18199SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18200 PyObject *resultobj = 0;
18201 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18202 void *argp1 = 0 ;
18203 int res1 = 0 ;
18204 PyObject *swig_obj[1] ;
18205
18206 if (!args) SWIG_fail;
18207 swig_obj[0] = args;
18208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
18209 if (!SWIG_IsOK(res1)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18211 }
18212 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 delete arg1;
d55e5bfc 18216
1bd55598
RD
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 resultobj = SWIG_Py_Void();
18221 return resultobj;
18222fail:
18223 return NULL;
18224}
18225
18226
18227SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj = 0;
18229 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18230 PyObject *arg2 = (PyObject *) 0 ;
18231 PyObject *arg3 = (PyObject *) 0 ;
c25f90f6 18232 int arg4 = (int) 0 ;
1bd55598
RD
18233 void *argp1 = 0 ;
18234 int res1 = 0 ;
18235 int val4 ;
18236 int ecode4 = 0 ;
18237 PyObject * obj0 = 0 ;
18238 PyObject * obj1 = 0 ;
18239 PyObject * obj2 = 0 ;
18240 PyObject * obj3 = 0 ;
18241 char * kwnames[] = {
18242 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18243 };
18244
c25f90f6 18245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
1bd55598
RD
18246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18247 if (!SWIG_IsOK(res1)) {
18248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18249 }
18250 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18251 arg2 = obj1;
18252 arg3 = obj2;
c25f90f6
RD
18253 if (obj3) {
18254 ecode4 = SWIG_AsVal_int(obj3, &val4);
18255 if (!SWIG_IsOK(ecode4)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18257 }
18258 arg4 = static_cast< int >(val4);
18259 }
1bd55598
RD
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = SWIG_Py_Void();
18267 return resultobj;
18268fail:
18269 return NULL;
d55e5bfc
RD
18270}
18271
18272
1bd55598
RD
18273SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18274 PyObject *resultobj = 0;
18275 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18276 void *argp1 = 0 ;
18277 int res1 = 0 ;
18278 PyObject *swig_obj[1] ;
18279
18280 if (!args) SWIG_fail;
18281 swig_obj[0] = args;
18282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18285 }
18286 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 wxPyTaskBarIcon_Destroy(arg1);
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = SWIG_Py_Void();
18294 return resultobj;
18295fail:
18296 return NULL;
d55e5bfc
RD
18297}
18298
18299
1bd55598
RD
18300SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18301 PyObject *resultobj = 0;
18302 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18303 bool result;
18304 void *argp1 = 0 ;
18305 int res1 = 0 ;
18306 PyObject *swig_obj[1] ;
18307
18308 if (!args) SWIG_fail;
18309 swig_obj[0] = args;
18310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18311 if (!SWIG_IsOK(res1)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18313 }
18314 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 {
18322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18323 }
18324 return resultobj;
18325fail:
18326 return NULL;
d55e5bfc
RD
18327}
18328
18329
1bd55598
RD
18330SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18331 PyObject *resultobj = 0;
18332 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18333 bool result;
18334 void *argp1 = 0 ;
18335 int res1 = 0 ;
18336 PyObject *swig_obj[1] ;
18337
18338 if (!args) SWIG_fail;
18339 swig_obj[0] = args;
18340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18341 if (!SWIG_IsOK(res1)) {
18342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18343 }
18344 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18353 }
18354 return resultobj;
18355fail:
18356 return NULL;
18357}
18358
18359
18360SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj = 0;
18362 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18363 wxIcon *arg2 = 0 ;
18364 wxString const &arg3_defvalue = wxPyEmptyString ;
18365 wxString *arg3 = (wxString *) &arg3_defvalue ;
18366 bool result;
18367 void *argp1 = 0 ;
18368 int res1 = 0 ;
18369 void *argp2 = 0 ;
18370 int res2 = 0 ;
18371 bool temp3 = false ;
18372 PyObject * obj0 = 0 ;
18373 PyObject * obj1 = 0 ;
18374 PyObject * obj2 = 0 ;
18375 char * kwnames[] = {
18376 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18377 };
18378
18379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18381 if (!SWIG_IsOK(res1)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18383 }
18384 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18385 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
18386 if (!SWIG_IsOK(res2)) {
18387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18388 }
18389 if (!argp2) {
18390 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18391 }
18392 arg2 = reinterpret_cast< wxIcon * >(argp2);
18393 if (obj2) {
36ed4f51 18394 {
1bd55598
RD
18395 arg3 = wxString_in_helper(obj2);
18396 if (arg3 == NULL) SWIG_fail;
18397 temp3 = true;
36ed4f51 18398 }
1bd55598
RD
18399 }
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 {
18407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18408 }
18409 {
18410 if (temp3)
18411 delete arg3;
18412 }
18413 return resultobj;
18414fail:
18415 {
18416 if (temp3)
18417 delete arg3;
18418 }
18419 return NULL;
d55e5bfc
RD
18420}
18421
18422
1bd55598
RD
18423SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18424 PyObject *resultobj = 0;
18425 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18426 bool result;
18427 void *argp1 = 0 ;
18428 int res1 = 0 ;
18429 PyObject *swig_obj[1] ;
18430
18431 if (!args) SWIG_fail;
18432 swig_obj[0] = args;
18433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18434 if (!SWIG_IsOK(res1)) {
18435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18436 }
18437 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 result = (bool)(arg1)->RemoveIcon();
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
18445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18446 }
18447 return resultobj;
18448fail:
18449 return NULL;
18450}
18451
18452
18453SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj = 0;
18455 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18456 wxMenu *arg2 = (wxMenu *) 0 ;
18457 bool result;
18458 void *argp1 = 0 ;
18459 int res1 = 0 ;
18460 void *argp2 = 0 ;
18461 int res2 = 0 ;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char * kwnames[] = {
18465 (char *) "self",(char *) "menu", NULL
18466 };
18467
18468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
18469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18470 if (!SWIG_IsOK(res1)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18472 }
18473 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
18475 if (!SWIG_IsOK(res2)) {
18476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18477 }
18478 arg2 = reinterpret_cast< wxMenu * >(argp2);
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 result = (bool)(arg1)->PopupMenu(arg2);
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 {
18486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18487 }
18488 return resultobj;
18489fail:
18490 return NULL;
d55e5bfc
RD
18491}
18492
18493
1bd55598
RD
18494SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18495 PyObject *obj;
18496 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18497 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
18498 return SWIG_Py_Void();
d55e5bfc
RD
18499}
18500
1bd55598
RD
18501SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18502 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18503}
18504
1bd55598
RD
18505SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj = 0;
18507 wxEventType arg1 ;
18508 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
18509 wxTaskBarIconEvent *result = 0 ;
18510 int val1 ;
18511 int ecode1 = 0 ;
18512 void *argp2 = 0 ;
18513 int res2 = 0 ;
18514 PyObject * obj0 = 0 ;
18515 PyObject * obj1 = 0 ;
18516 char * kwnames[] = {
18517 (char *) "evtType",(char *) "tbIcon", NULL
18518 };
18519
18520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18521 ecode1 = SWIG_AsVal_int(obj0, &val1);
18522 if (!SWIG_IsOK(ecode1)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18524 }
18525 arg1 = static_cast< wxEventType >(val1);
18526 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
18527 if (!SWIG_IsOK(res2)) {
18528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18529 }
18530 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
18538 return resultobj;
18539fail:
18540 return NULL;
d55e5bfc
RD
18541}
18542
18543
1bd55598
RD
18544SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18545 PyObject *obj;
18546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18547 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
18548 return SWIG_Py_Void();
d55e5bfc
RD
18549}
18550
1bd55598
RD
18551SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18552 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18553}
18554
1bd55598
RD
18555SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
18556 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
18557 return 1;
d55e5bfc
RD
18558}
18559
18560
1bd55598
RD
18561SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
18562 PyObject *pyobj = 0;
18563
18564 {
18565#if wxUSE_UNICODE
18566 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18567#else
18568 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18569#endif
18570 }
18571 return pyobj;
d55e5bfc
RD
18572}
18573
18574
1bd55598
RD
18575SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
18576 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
18577 return 1;
d55e5bfc
RD
18578}
18579
18580
1bd55598
RD
18581SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
18582 PyObject *pyobj = 0;
18583
18584 {
18585#if wxUSE_UNICODE
18586 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18587#else
18588 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18589#endif
18590 }
18591 return pyobj;
d55e5bfc
RD
18592}
18593
18594
1bd55598
RD
18595SWIGINTERN int DirDialogNameStr_set(PyObject *) {
18596 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
18597 return 1;
d55e5bfc
RD
18598}
18599
18600
1bd55598
RD
18601SWIGINTERN PyObject *DirDialogNameStr_get(void) {
18602 PyObject *pyobj = 0;
18603
18604 {
18605#if wxUSE_UNICODE
18606 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18607#else
18608 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18609#endif
18610 }
18611 return pyobj;
d55e5bfc
RD
18612}
18613
18614
1bd55598
RD
18615SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
18616 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
18617 return 1;
d55e5bfc
RD
18618}
18619
18620
1bd55598
RD
18621SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
18622 PyObject *pyobj = 0;
18623
18624 {
18625#if wxUSE_UNICODE
18626 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18627#else
18628 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18629#endif
18630 }
18631 return pyobj;
d55e5bfc
RD
18632}
18633
18634
1bd55598
RD
18635SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
18636 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
18637 return 1;
d55e5bfc
RD
18638}
18639
18640
1bd55598
RD
18641SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
18642 PyObject *pyobj = 0;
18643
18644 {
18645#if wxUSE_UNICODE
18646 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18647#else
18648 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18649#endif
18650 }
18651 return pyobj;
d55e5bfc
RD
18652}
18653
18654
1bd55598
RD
18655SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
18656 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
18657 return 1;
d55e5bfc
RD
18658}
18659
18660
1bd55598
RD
18661SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
18662 PyObject *pyobj = 0;
18663
18664 {
18665#if wxUSE_UNICODE
18666 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18667#else
18668 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18669#endif
18670 }
18671 return pyobj;
d55e5bfc
RD
18672}
18673
18674
1bd55598
RD
18675SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18676 PyObject *resultobj = 0;
18677 wxColourData *result = 0 ;
18678
18679 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (wxColourData *)new wxColourData();
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
18687 return resultobj;
18688fail:
18689 return NULL;
d55e5bfc
RD
18690}
18691
18692
1bd55598
RD
18693SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18694 PyObject *resultobj = 0;
18695 wxColourData *arg1 = (wxColourData *) 0 ;
18696 void *argp1 = 0 ;
18697 int res1 = 0 ;
18698 PyObject *swig_obj[1] ;
18699
18700 if (!args) SWIG_fail;
18701 swig_obj[0] = args;
18702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxColourData * >(argp1);
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 delete arg1;
d55e5bfc 18710
1bd55598
RD
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = SWIG_Py_Void();
18715 return resultobj;
18716fail:
18717 return NULL;
d55e5bfc
RD
18718}
18719
18720
1bd55598
RD
18721SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18722 PyObject *resultobj = 0;
18723 wxColourData *arg1 = (wxColourData *) 0 ;
18724 bool result;
18725 void *argp1 = 0 ;
18726 int res1 = 0 ;
18727 PyObject *swig_obj[1] ;
18728
18729 if (!args) SWIG_fail;
18730 swig_obj[0] = args;
18731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18732 if (!SWIG_IsOK(res1)) {
18733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18734 }
18735 arg1 = reinterpret_cast< wxColourData * >(argp1);
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 result = (bool)(arg1)->GetChooseFull();
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 {
18743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18744 }
18745 return resultobj;
18746fail:
18747 return NULL;
d55e5bfc
RD
18748}
18749
18750
1bd55598
RD
18751SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18752 PyObject *resultobj = 0;
18753 wxColourData *arg1 = (wxColourData *) 0 ;
18754 wxColour result;
18755 void *argp1 = 0 ;
18756 int res1 = 0 ;
18757 PyObject *swig_obj[1] ;
18758
18759 if (!args) SWIG_fail;
18760 swig_obj[0] = args;
18761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18762 if (!SWIG_IsOK(res1)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18764 }
18765 arg1 = reinterpret_cast< wxColourData * >(argp1);
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 result = (arg1)->GetColour();
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18773 return resultobj;
18774fail:
18775 return NULL;
18776}
18777
18778
18779SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj = 0;
18781 wxColourData *arg1 = (wxColourData *) 0 ;
18782 int arg2 ;
18783 wxColour result;
18784 void *argp1 = 0 ;
18785 int res1 = 0 ;
18786 int val2 ;
18787 int ecode2 = 0 ;
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 char * kwnames[] = {
18791 (char *) "self",(char *) "i", NULL
18792 };
18793
18794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
18795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18796 if (!SWIG_IsOK(res1)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18798 }
18799 arg1 = reinterpret_cast< wxColourData * >(argp1);
18800 ecode2 = SWIG_AsVal_int(obj1, &val2);
18801 if (!SWIG_IsOK(ecode2)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18803 }
18804 arg2 = static_cast< int >(val2);
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 result = (arg1)->GetCustomColour(arg2);
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18812 return resultobj;
18813fail:
18814 return NULL;
18815}
18816
18817
18818SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj = 0;
18820 wxColourData *arg1 = (wxColourData *) 0 ;
18821 int arg2 ;
18822 void *argp1 = 0 ;
18823 int res1 = 0 ;
18824 int val2 ;
18825 int ecode2 = 0 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char * kwnames[] = {
18829 (char *) "self",(char *) "flag", NULL
18830 };
18831
18832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
18833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18834 if (!SWIG_IsOK(res1)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18836 }
18837 arg1 = reinterpret_cast< wxColourData * >(argp1);
18838 ecode2 = SWIG_AsVal_int(obj1, &val2);
18839 if (!SWIG_IsOK(ecode2)) {
18840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
18841 }
18842 arg2 = static_cast< int >(val2);
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 (arg1)->SetChooseFull(arg2);
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 resultobj = SWIG_Py_Void();
18850 return resultobj;
18851fail:
18852 return NULL;
18853}
18854
18855
18856SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj = 0;
18858 wxColourData *arg1 = (wxColourData *) 0 ;
18859 wxColour *arg2 = 0 ;
18860 void *argp1 = 0 ;
18861 int res1 = 0 ;
18862 wxColour temp2 ;
18863 PyObject * obj0 = 0 ;
18864 PyObject * obj1 = 0 ;
18865 char * kwnames[] = {
18866 (char *) "self",(char *) "colour", NULL
18867 };
18868
18869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18871 if (!SWIG_IsOK(res1)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18873 }
18874 arg1 = reinterpret_cast< wxColourData * >(argp1);
18875 {
18876 arg2 = &temp2;
18877 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->SetColour((wxColour const &)*arg2);
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 resultobj = SWIG_Py_Void();
18886 return resultobj;
18887fail:
18888 return NULL;
18889}
18890
18891
18892SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18893 PyObject *resultobj = 0;
18894 wxColourData *arg1 = (wxColourData *) 0 ;
18895 int arg2 ;
18896 wxColour *arg3 = 0 ;
18897 void *argp1 = 0 ;
18898 int res1 = 0 ;
18899 int val2 ;
18900 int ecode2 = 0 ;
18901 wxColour temp3 ;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 PyObject * obj2 = 0 ;
18905 char * kwnames[] = {
18906 (char *) "self",(char *) "i",(char *) "colour", NULL
18907 };
18908
18909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18911 if (!SWIG_IsOK(res1)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18913 }
18914 arg1 = reinterpret_cast< wxColourData * >(argp1);
18915 ecode2 = SWIG_AsVal_int(obj1, &val2);
18916 if (!SWIG_IsOK(ecode2)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
18918 }
18919 arg2 = static_cast< int >(val2);
18920 {
18921 arg3 = &temp3;
18922 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 resultobj = SWIG_Py_Void();
18931 return resultobj;
18932fail:
18933 return NULL;
d55e5bfc
RD
18934}
18935
18936
1bd55598
RD
18937SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18938 PyObject *obj;
18939 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18940 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
18941 return SWIG_Py_Void();
d55e5bfc
RD
18942}
18943
1bd55598
RD
18944SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18945 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18946}
18947
1bd55598
RD
18948SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj = 0;
18950 wxWindow *arg1 = (wxWindow *) 0 ;
18951 wxColourData *arg2 = (wxColourData *) NULL ;
18952 wxColourDialog *result = 0 ;
18953 void *argp1 = 0 ;
18954 int res1 = 0 ;
18955 void *argp2 = 0 ;
18956 int res2 = 0 ;
18957 PyObject * obj0 = 0 ;
18958 PyObject * obj1 = 0 ;
18959 char * kwnames[] = {
18960 (char *) "parent",(char *) "data", NULL
18961 };
18962
18963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18965 if (!SWIG_IsOK(res1)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18967 }
18968 arg1 = reinterpret_cast< wxWindow * >(argp1);
18969 if (obj1) {
18970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
18971 if (!SWIG_IsOK(res2)) {
18972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 18973 }
1bd55598
RD
18974 arg2 = reinterpret_cast< wxColourData * >(argp2);
18975 }
18976 {
18977 if (!wxPyCheckForApp()) SWIG_fail;
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
18984 return resultobj;
18985fail:
18986 return NULL;
d55e5bfc
RD
18987}
18988
18989
1bd55598
RD
18990SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18991 PyObject *resultobj = 0;
18992 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
18993 wxColourData *result = 0 ;
18994 void *argp1 = 0 ;
18995 int res1 = 0 ;
18996 PyObject *swig_obj[1] ;
18997
18998 if (!args) SWIG_fail;
18999 swig_obj[0] = args;
19000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
19001 if (!SWIG_IsOK(res1)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19003 }
19004 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19007 {
1bd55598
RD
19008 wxColourData &_result_ref = (arg1)->GetColourData();
19009 result = (wxColourData *) &_result_ref;
d55e5bfc 19010 }
1bd55598
RD
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
19015 return resultobj;
19016fail:
19017 return NULL;
19018}
19019
19020
19021SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19022 PyObject *obj;
19023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19024 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
19025 return SWIG_Py_Void();
19026}
19027
19028SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19029 return SWIG_Python_InitShadowInstance(args);
19030}
19031
19032SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = 0;
19034 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
19035 wxColour const &arg2_defvalue = wxNullColour ;
19036 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19037 wxString const &arg3_defvalue = wxPyEmptyString ;
19038 wxString *arg3 = (wxString *) &arg3_defvalue ;
19039 wxColour result;
19040 void *argp1 = 0 ;
19041 int res1 = 0 ;
19042 wxColour temp2 ;
19043 bool temp3 = false ;
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
19046 PyObject * obj2 = 0 ;
19047 char * kwnames[] = {
19048 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19049 };
19050
19051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19052 if (obj0) {
19053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19054 if (!SWIG_IsOK(res1)) {
19055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 19056 }
1bd55598
RD
19057 arg1 = reinterpret_cast< wxWindow * >(argp1);
19058 }
19059 if (obj1) {
d55e5bfc 19060 {
1bd55598
RD
19061 arg2 = &temp2;
19062 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 19063 }
1bd55598
RD
19064 }
19065 if (obj2) {
d55e5bfc 19066 {
1bd55598
RD
19067 arg3 = wxString_in_helper(obj2);
19068 if (arg3 == NULL) SWIG_fail;
19069 temp3 = true;
d55e5bfc 19070 }
1bd55598
RD
19071 }
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19079 {
19080 if (temp3)
19081 delete arg3;
19082 }
19083 return resultobj;
19084fail:
19085 {
19086 if (temp3)
19087 delete arg3;
19088 }
19089 return NULL;
19090}
19091
19092
19093SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj = 0;
19095 wxWindow *arg1 = (wxWindow *) 0 ;
19096 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
19097 wxString *arg2 = (wxString *) &arg2_defvalue ;
19098 wxString const &arg3_defvalue = wxPyEmptyString ;
19099 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 19100 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
19101 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19102 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19103 wxSize const &arg6_defvalue = wxDefaultSize ;
19104 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19105 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
19106 wxString *arg7 = (wxString *) &arg7_defvalue ;
19107 wxDirDialog *result = 0 ;
19108 void *argp1 = 0 ;
19109 int res1 = 0 ;
19110 bool temp2 = false ;
19111 bool temp3 = false ;
19112 long val4 ;
19113 int ecode4 = 0 ;
19114 wxPoint temp5 ;
19115 wxSize temp6 ;
19116 bool temp7 = false ;
19117 PyObject * obj0 = 0 ;
19118 PyObject * obj1 = 0 ;
19119 PyObject * obj2 = 0 ;
19120 PyObject * obj3 = 0 ;
19121 PyObject * obj4 = 0 ;
19122 PyObject * obj5 = 0 ;
19123 PyObject * obj6 = 0 ;
19124 char * kwnames[] = {
19125 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19126 };
19127
19128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19130 if (!SWIG_IsOK(res1)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19132 }
19133 arg1 = reinterpret_cast< wxWindow * >(argp1);
19134 if (obj1) {
d55e5bfc 19135 {
1bd55598
RD
19136 arg2 = wxString_in_helper(obj1);
19137 if (arg2 == NULL) SWIG_fail;
19138 temp2 = true;
d55e5bfc 19139 }
1bd55598
RD
19140 }
19141 if (obj2) {
d55e5bfc 19142 {
1bd55598
RD
19143 arg3 = wxString_in_helper(obj2);
19144 if (arg3 == NULL) SWIG_fail;
19145 temp3 = true;
d55e5bfc 19146 }
1bd55598
RD
19147 }
19148 if (obj3) {
19149 ecode4 = SWIG_AsVal_long(obj3, &val4);
19150 if (!SWIG_IsOK(ecode4)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19152 }
19153 arg4 = static_cast< long >(val4);
19154 }
19155 if (obj4) {
d55e5bfc 19156 {
1bd55598
RD
19157 arg5 = &temp5;
19158 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 19159 }
1bd55598
RD
19160 }
19161 if (obj5) {
19162 {
19163 arg6 = &temp6;
19164 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 19165 }
1bd55598
RD
19166 }
19167 if (obj6) {
d55e5bfc 19168 {
1bd55598
RD
19169 arg7 = wxString_in_helper(obj6);
19170 if (arg7 == NULL) SWIG_fail;
19171 temp7 = true;
19172 }
19173 }
19174 {
19175 if (!wxPyCheckForApp()) SWIG_fail;
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
19182 {
19183 if (temp2)
19184 delete arg2;
19185 }
19186 {
19187 if (temp3)
19188 delete arg3;
19189 }
19190 {
19191 if (temp7)
19192 delete arg7;
19193 }
19194 return resultobj;
19195fail:
19196 {
19197 if (temp2)
19198 delete arg2;
19199 }
19200 {
19201 if (temp3)
19202 delete arg3;
19203 }
19204 {
19205 if (temp7)
19206 delete arg7;
19207 }
19208 return NULL;
d55e5bfc
RD
19209}
19210
19211
1bd55598
RD
19212SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19213 PyObject *resultobj = 0;
19214 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19215 wxString result;
19216 void *argp1 = 0 ;
19217 int res1 = 0 ;
19218 PyObject *swig_obj[1] ;
19219
19220 if (!args) SWIG_fail;
19221 swig_obj[0] = args;
19222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19223 if (!SWIG_IsOK(res1)) {
19224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19225 }
19226 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19227 {
19228 PyThreadState* __tstate = wxPyBeginAllowThreads();
19229 result = (arg1)->GetPath();
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234#if wxUSE_UNICODE
19235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19236#else
19237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19238#endif
19239 }
19240 return resultobj;
19241fail:
19242 return NULL;
d55e5bfc
RD
19243}
19244
19245
1bd55598
RD
19246SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19247 PyObject *resultobj = 0;
19248 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19249 wxString result;
19250 void *argp1 = 0 ;
19251 int res1 = 0 ;
19252 PyObject *swig_obj[1] ;
19253
19254 if (!args) SWIG_fail;
19255 swig_obj[0] = args;
19256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19257 if (!SWIG_IsOK(res1)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19259 }
19260 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (arg1)->GetMessage();
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268#if wxUSE_UNICODE
19269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19270#else
19271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19272#endif
19273 }
19274 return resultobj;
19275fail:
19276 return NULL;
d55e5bfc
RD
19277}
19278
19279
1bd55598
RD
19280SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj = 0;
19282 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19283 wxString *arg2 = 0 ;
19284 void *argp1 = 0 ;
19285 int res1 = 0 ;
19286 bool temp2 = false ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char * kwnames[] = {
19290 (char *) "self",(char *) "message", NULL
19291 };
19292
19293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19295 if (!SWIG_IsOK(res1)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19297 }
19298 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19299 {
19300 arg2 = wxString_in_helper(obj1);
19301 if (arg2 == NULL) SWIG_fail;
19302 temp2 = true;
19303 }
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 (arg1)->SetMessage((wxString const &)*arg2);
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 resultobj = SWIG_Py_Void();
19311 {
19312 if (temp2)
19313 delete arg2;
19314 }
19315 return resultobj;
19316fail:
19317 {
19318 if (temp2)
19319 delete arg2;
19320 }
19321 return NULL;
d55e5bfc
RD
19322}
19323
19324
1bd55598
RD
19325SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj = 0;
19327 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19328 wxString *arg2 = 0 ;
19329 void *argp1 = 0 ;
19330 int res1 = 0 ;
19331 bool temp2 = false ;
19332 PyObject * obj0 = 0 ;
19333 PyObject * obj1 = 0 ;
19334 char * kwnames[] = {
19335 (char *) "self",(char *) "path", NULL
19336 };
19337
19338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19340 if (!SWIG_IsOK(res1)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19342 }
19343 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19344 {
19345 arg2 = wxString_in_helper(obj1);
19346 if (arg2 == NULL) SWIG_fail;
19347 temp2 = true;
19348 }
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 (arg1)->SetPath((wxString const &)*arg2);
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 resultobj = SWIG_Py_Void();
19356 {
19357 if (temp2)
19358 delete arg2;
19359 }
19360 return resultobj;
19361fail:
19362 {
19363 if (temp2)
19364 delete arg2;
19365 }
19366 return NULL;
19367}
19368
19369
19370SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19371 PyObject *obj;
19372 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19373 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
19374 return SWIG_Py_Void();
19375}
19376
19377SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19378 return SWIG_Python_InitShadowInstance(args);
19379}
19380
19381SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj = 0;
19383 wxWindow *arg1 = (wxWindow *) 0 ;
19384 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
19385 wxString *arg2 = (wxString *) &arg2_defvalue ;
19386 wxString const &arg3_defvalue = wxPyEmptyString ;
19387 wxString *arg3 = (wxString *) &arg3_defvalue ;
19388 wxString const &arg4_defvalue = wxPyEmptyString ;
19389 wxString *arg4 = (wxString *) &arg4_defvalue ;
19390 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
19391 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 19392 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
19393 wxPoint const &arg7_defvalue = wxDefaultPosition ;
19394 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
19395 wxFileDialog *result = 0 ;
19396 void *argp1 = 0 ;
19397 int res1 = 0 ;
19398 bool temp2 = false ;
19399 bool temp3 = false ;
19400 bool temp4 = false ;
19401 bool temp5 = false ;
19402 long val6 ;
19403 int ecode6 = 0 ;
19404 wxPoint temp7 ;
19405 PyObject * obj0 = 0 ;
19406 PyObject * obj1 = 0 ;
19407 PyObject * obj2 = 0 ;
19408 PyObject * obj3 = 0 ;
19409 PyObject * obj4 = 0 ;
19410 PyObject * obj5 = 0 ;
19411 PyObject * obj6 = 0 ;
19412 char * kwnames[] = {
19413 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19414 };
19415
19416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19418 if (!SWIG_IsOK(res1)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19420 }
19421 arg1 = reinterpret_cast< wxWindow * >(argp1);
19422 if (obj1) {
d55e5bfc 19423 {
1bd55598
RD
19424 arg2 = wxString_in_helper(obj1);
19425 if (arg2 == NULL) SWIG_fail;
19426 temp2 = true;
d55e5bfc 19427 }
1bd55598
RD
19428 }
19429 if (obj2) {
19430 {
19431 arg3 = wxString_in_helper(obj2);
19432 if (arg3 == NULL) SWIG_fail;
19433 temp3 = true;
d55e5bfc 19434 }
1bd55598
RD
19435 }
19436 if (obj3) {
d55e5bfc 19437 {
1bd55598
RD
19438 arg4 = wxString_in_helper(obj3);
19439 if (arg4 == NULL) SWIG_fail;
19440 temp4 = true;
19441 }
19442 }
19443 if (obj4) {
d55e5bfc 19444 {
1bd55598
RD
19445 arg5 = wxString_in_helper(obj4);
19446 if (arg5 == NULL) SWIG_fail;
19447 temp5 = true;
d55e5bfc 19448 }
1bd55598
RD
19449 }
19450 if (obj5) {
19451 ecode6 = SWIG_AsVal_long(obj5, &val6);
19452 if (!SWIG_IsOK(ecode6)) {
19453 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19454 }
19455 arg6 = static_cast< long >(val6);
19456 }
19457 if (obj6) {
d55e5bfc 19458 {
1bd55598
RD
19459 arg7 = &temp7;
19460 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 19461 }
1bd55598
RD
19462 }
19463 {
19464 if (!wxPyCheckForApp()) SWIG_fail;
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
19471 {
19472 if (temp2)
19473 delete arg2;
19474 }
19475 {
19476 if (temp3)
19477 delete arg3;
19478 }
19479 {
19480 if (temp4)
19481 delete arg4;
19482 }
19483 {
19484 if (temp5)
19485 delete arg5;
19486 }
19487 return resultobj;
19488fail:
19489 {
19490 if (temp2)
19491 delete arg2;
19492 }
19493 {
19494 if (temp3)
19495 delete arg3;
19496 }
19497 {
19498 if (temp4)
19499 delete arg4;
19500 }
19501 {
19502 if (temp5)
19503 delete arg5;
19504 }
19505 return NULL;
d55e5bfc
RD
19506}
19507
19508
1bd55598
RD
19509SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj = 0;
19511 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19512 wxString *arg2 = 0 ;
19513 void *argp1 = 0 ;
19514 int res1 = 0 ;
19515 bool temp2 = false ;
19516 PyObject * obj0 = 0 ;
19517 PyObject * obj1 = 0 ;
19518 char * kwnames[] = {
19519 (char *) "self",(char *) "message", NULL
19520 };
19521
19522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19524 if (!SWIG_IsOK(res1)) {
19525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19526 }
19527 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19528 {
19529 arg2 = wxString_in_helper(obj1);
19530 if (arg2 == NULL) SWIG_fail;
19531 temp2 = true;
19532 }
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 (arg1)->SetMessage((wxString const &)*arg2);
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 resultobj = SWIG_Py_Void();
19540 {
19541 if (temp2)
19542 delete arg2;
19543 }
19544 return resultobj;
19545fail:
19546 {
19547 if (temp2)
19548 delete arg2;
19549 }
19550 return NULL;
d55e5bfc
RD
19551}
19552
19553
1bd55598
RD
19554SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19555 PyObject *resultobj = 0;
19556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19557 wxString *arg2 = 0 ;
19558 void *argp1 = 0 ;
19559 int res1 = 0 ;
19560 bool temp2 = false ;
19561 PyObject * obj0 = 0 ;
19562 PyObject * obj1 = 0 ;
19563 char * kwnames[] = {
19564 (char *) "self",(char *) "path", NULL
19565 };
19566
19567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19569 if (!SWIG_IsOK(res1)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19571 }
19572 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19573 {
19574 arg2 = wxString_in_helper(obj1);
19575 if (arg2 == NULL) SWIG_fail;
19576 temp2 = true;
19577 }
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 (arg1)->SetPath((wxString const &)*arg2);
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 resultobj = SWIG_Py_Void();
19585 {
19586 if (temp2)
19587 delete arg2;
19588 }
19589 return resultobj;
19590fail:
19591 {
19592 if (temp2)
19593 delete arg2;
19594 }
19595 return NULL;
d55e5bfc
RD
19596}
19597
19598
1bd55598
RD
19599SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj = 0;
19601 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19602 wxString *arg2 = 0 ;
19603 void *argp1 = 0 ;
19604 int res1 = 0 ;
19605 bool temp2 = false ;
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 char * kwnames[] = {
19609 (char *) "self",(char *) "dir", NULL
19610 };
19611
19612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
19613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19614 if (!SWIG_IsOK(res1)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19616 }
19617 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19618 {
19619 arg2 = wxString_in_helper(obj1);
19620 if (arg2 == NULL) SWIG_fail;
19621 temp2 = true;
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 (arg1)->SetDirectory((wxString const &)*arg2);
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 resultobj = SWIG_Py_Void();
19630 {
19631 if (temp2)
19632 delete arg2;
19633 }
19634 return resultobj;
19635fail:
19636 {
19637 if (temp2)
19638 delete arg2;
19639 }
19640 return NULL;
d55e5bfc
RD
19641}
19642
19643
1bd55598
RD
19644SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj = 0;
19646 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19647 wxString *arg2 = 0 ;
19648 void *argp1 = 0 ;
19649 int res1 = 0 ;
19650 bool temp2 = false ;
19651 PyObject * obj0 = 0 ;
19652 PyObject * obj1 = 0 ;
19653 char * kwnames[] = {
19654 (char *) "self",(char *) "name", NULL
19655 };
19656
19657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19659 if (!SWIG_IsOK(res1)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19661 }
19662 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19663 {
19664 arg2 = wxString_in_helper(obj1);
19665 if (arg2 == NULL) SWIG_fail;
19666 temp2 = true;
19667 }
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->SetFilename((wxString const &)*arg2);
19671 wxPyEndAllowThreads(__tstate);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 }
19674 resultobj = SWIG_Py_Void();
19675 {
19676 if (temp2)
19677 delete arg2;
19678 }
19679 return resultobj;
19680fail:
19681 {
19682 if (temp2)
19683 delete arg2;
19684 }
19685 return NULL;
d55e5bfc
RD
19686}
19687
19688
1bd55598
RD
19689SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj = 0;
19691 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19692 wxString *arg2 = 0 ;
19693 void *argp1 = 0 ;
19694 int res1 = 0 ;
19695 bool temp2 = false ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 char * kwnames[] = {
19699 (char *) "self",(char *) "wildCard", NULL
19700 };
19701
19702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
19703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19704 if (!SWIG_IsOK(res1)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19706 }
19707 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19708 {
19709 arg2 = wxString_in_helper(obj1);
19710 if (arg2 == NULL) SWIG_fail;
19711 temp2 = true;
19712 }
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 (arg1)->SetWildcard((wxString const &)*arg2);
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_Py_Void();
19720 {
19721 if (temp2)
19722 delete arg2;
19723 }
19724 return resultobj;
19725fail:
19726 {
19727 if (temp2)
19728 delete arg2;
19729 }
19730 return NULL;
19731}
19732
19733
1bd55598
RD
19734SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj = 0;
19736 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19737 int arg2 ;
19738 void *argp1 = 0 ;
19739 int res1 = 0 ;
19740 int val2 ;
19741 int ecode2 = 0 ;
19742 PyObject * obj0 = 0 ;
19743 PyObject * obj1 = 0 ;
19744 char * kwnames[] = {
19745 (char *) "self",(char *) "filterIndex", NULL
19746 };
19747
19748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
19749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19750 if (!SWIG_IsOK(res1)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19752 }
19753 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19754 ecode2 = SWIG_AsVal_int(obj1, &val2);
19755 if (!SWIG_IsOK(ecode2)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19757 }
19758 arg2 = static_cast< int >(val2);
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->SetFilterIndex(arg2);
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_Py_Void();
19766 return resultobj;
19767fail:
19768 return NULL;
d55e5bfc
RD
19769}
19770
19771
1bd55598
RD
19772SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19773 PyObject *resultobj = 0;
19774 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19775 wxString result;
19776 void *argp1 = 0 ;
19777 int res1 = 0 ;
19778 PyObject *swig_obj[1] ;
19779
19780 if (!args) SWIG_fail;
19781 swig_obj[0] = args;
19782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19783 if (!SWIG_IsOK(res1)) {
19784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19785 }
19786 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = ((wxFileDialog const *)arg1)->GetMessage();
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794#if wxUSE_UNICODE
19795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19796#else
19797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19798#endif
19799 }
19800 return resultobj;
19801fail:
19802 return NULL;
d55e5bfc
RD
19803}
19804
19805
1bd55598
RD
19806SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19807 PyObject *resultobj = 0;
19808 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19809 wxString result;
19810 void *argp1 = 0 ;
19811 int res1 = 0 ;
19812 PyObject *swig_obj[1] ;
19813
19814 if (!args) SWIG_fail;
19815 swig_obj[0] = args;
19816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19817 if (!SWIG_IsOK(res1)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19819 }
19820 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 result = ((wxFileDialog const *)arg1)->GetPath();
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 {
19828#if wxUSE_UNICODE
19829 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19830#else
19831 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19832#endif
19833 }
19834 return resultobj;
19835fail:
19836 return NULL;
d55e5bfc
RD
19837}
19838
19839
1bd55598
RD
19840SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19841 PyObject *resultobj = 0;
19842 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19843 wxString result;
19844 void *argp1 = 0 ;
19845 int res1 = 0 ;
19846 PyObject *swig_obj[1] ;
19847
19848 if (!args) SWIG_fail;
19849 swig_obj[0] = args;
19850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19851 if (!SWIG_IsOK(res1)) {
19852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19853 }
19854 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = ((wxFileDialog const *)arg1)->GetDirectory();
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 {
19862#if wxUSE_UNICODE
19863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19864#else
19865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19866#endif
19867 }
19868 return resultobj;
19869fail:
19870 return NULL;
d55e5bfc
RD
19871}
19872
19873
1bd55598
RD
19874SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19875 PyObject *resultobj = 0;
19876 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19877 wxString result;
19878 void *argp1 = 0 ;
19879 int res1 = 0 ;
19880 PyObject *swig_obj[1] ;
19881
19882 if (!args) SWIG_fail;
19883 swig_obj[0] = args;
19884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19885 if (!SWIG_IsOK(res1)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19887 }
19888 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = ((wxFileDialog const *)arg1)->GetFilename();
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 {
19896#if wxUSE_UNICODE
19897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19898#else
19899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19900#endif
19901 }
19902 return resultobj;
19903fail:
19904 return NULL;
d55e5bfc
RD
19905}
19906
19907
1bd55598
RD
19908SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19909 PyObject *resultobj = 0;
19910 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19911 wxString result;
19912 void *argp1 = 0 ;
19913 int res1 = 0 ;
19914 PyObject *swig_obj[1] ;
19915
19916 if (!args) SWIG_fail;
19917 swig_obj[0] = args;
19918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19919 if (!SWIG_IsOK(res1)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19921 }
19922 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = ((wxFileDialog const *)arg1)->GetWildcard();
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 {
19930#if wxUSE_UNICODE
19931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19932#else
19933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19934#endif
19935 }
19936 return resultobj;
19937fail:
19938 return NULL;
d55e5bfc
RD
19939}
19940
19941
1bd55598
RD
19942SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19943 PyObject *resultobj = 0;
19944 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19945 int result;
19946 void *argp1 = 0 ;
19947 int res1 = 0 ;
19948 PyObject *swig_obj[1] ;
19949
19950 if (!args) SWIG_fail;
19951 swig_obj[0] = args;
19952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19953 if (!SWIG_IsOK(res1)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19955 }
19956 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = SWIG_From_int(static_cast< int >(result));
19964 return resultobj;
19965fail:
19966 return NULL;
d55e5bfc
RD
19967}
19968
19969
1bd55598
RD
19970SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19971 PyObject *resultobj = 0;
19972 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19973 PyObject *result = 0 ;
19974 void *argp1 = 0 ;
19975 int res1 = 0 ;
19976 PyObject *swig_obj[1] ;
19977
19978 if (!args) SWIG_fail;
19979 swig_obj[0] = args;
19980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19981 if (!SWIG_IsOK(res1)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19983 }
19984 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = result;
19992 return resultobj;
19993fail:
19994 return NULL;
d55e5bfc
RD
19995}
19996
19997
1bd55598
RD
19998SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19999 PyObject *resultobj = 0;
20000 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20001 PyObject *result = 0 ;
20002 void *argp1 = 0 ;
20003 int res1 = 0 ;
20004 PyObject *swig_obj[1] ;
20005
20006 if (!args) SWIG_fail;
20007 swig_obj[0] = args;
20008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20009 if (!SWIG_IsOK(res1)) {
20010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20011 }
20012 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 result = (PyObject *)wxFileDialog_GetPaths(arg1);
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 resultobj = result;
20020 return resultobj;
20021fail:
20022 return NULL;
20023}
20024
20025
20026SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20027 PyObject *obj;
20028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20029 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
20030 return SWIG_Py_Void();
20031}
20032
20033SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20034 return SWIG_Python_InitShadowInstance(args);
20035}
20036
20037SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj = 0;
20039 wxWindow *arg1 = (wxWindow *) 0 ;
20040 wxString *arg2 = 0 ;
20041 wxString *arg3 = 0 ;
20042 int arg4 = (int) 0 ;
20043 wxString *arg5 = (wxString *) NULL ;
20044 long arg6 = (long) wxCHOICEDLG_STYLE ;
20045 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20046 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20047 wxMultiChoiceDialog *result = 0 ;
20048 void *argp1 = 0 ;
20049 int res1 = 0 ;
20050 bool temp2 = false ;
20051 bool temp3 = false ;
20052 long val6 ;
20053 int ecode6 = 0 ;
20054 wxPoint temp7 ;
20055 PyObject * obj0 = 0 ;
20056 PyObject * obj1 = 0 ;
20057 PyObject * obj2 = 0 ;
20058 PyObject * obj3 = 0 ;
20059 PyObject * obj4 = 0 ;
20060 PyObject * obj5 = 0 ;
20061 char * kwnames[] = {
20062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20063 };
20064
20065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20067 if (!SWIG_IsOK(res1)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20069 }
20070 arg1 = reinterpret_cast< wxWindow * >(argp1);
20071 {
20072 arg2 = wxString_in_helper(obj1);
20073 if (arg2 == NULL) SWIG_fail;
20074 temp2 = true;
20075 }
20076 {
20077 arg3 = wxString_in_helper(obj2);
20078 if (arg3 == NULL) SWIG_fail;
20079 temp3 = true;
20080 }
20081 if (obj3) {
d55e5bfc 20082 {
1bd55598
RD
20083 arg4 = PyList_Size(obj3);
20084 arg5 = wxString_LIST_helper(obj3);
20085 if (arg5 == NULL) SWIG_fail;
d55e5bfc 20086 }
1bd55598
RD
20087 }
20088 if (obj4) {
20089 ecode6 = SWIG_AsVal_long(obj4, &val6);
20090 if (!SWIG_IsOK(ecode6)) {
20091 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20092 }
20093 arg6 = static_cast< long >(val6);
20094 }
20095 if (obj5) {
36ed4f51 20096 {
1bd55598
RD
20097 arg7 = &temp7;
20098 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 20099 }
1bd55598
RD
20100 }
20101 {
20102 if (!wxPyCheckForApp()) SWIG_fail;
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
20109 {
20110 if (temp2)
20111 delete arg2;
20112 }
20113 {
20114 if (temp3)
20115 delete arg3;
20116 }
20117 {
20118 if (arg5) delete [] arg5;
20119 }
20120 return resultobj;
20121fail:
20122 {
20123 if (temp2)
20124 delete arg2;
20125 }
20126 {
20127 if (temp3)
20128 delete arg3;
20129 }
20130 {
20131 if (arg5) delete [] arg5;
20132 }
20133 return NULL;
d55e5bfc
RD
20134}
20135
20136
1bd55598
RD
20137SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj = 0;
20139 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20140 wxArrayInt *arg2 = 0 ;
20141 void *argp1 = 0 ;
20142 int res1 = 0 ;
20143 bool temp2 = false ;
20144 PyObject * obj0 = 0 ;
20145 PyObject * obj1 = 0 ;
20146 char * kwnames[] = {
20147 (char *) "self",(char *) "selections", NULL
20148 };
20149
20150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
20151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20152 if (!SWIG_IsOK(res1)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20154 }
20155 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20156 {
20157 if (! PySequence_Check(obj1)) {
20158 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20159 SWIG_fail;
20160 }
20161 arg2 = new wxArrayInt;
20162 temp2 = true;
20163 int i, len=PySequence_Length(obj1);
20164 for (i=0; i<len; i++) {
20165 PyObject* item = PySequence_GetItem(obj1, i);
20166 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
20167 if (!number) {
20168 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20169 SWIG_fail;
20170 }
1bd55598
RD
20171 arg2->Add(PyInt_AS_LONG(number));
20172 Py_DECREF(item);
20173 Py_DECREF(number);
36ed4f51 20174 }
1bd55598
RD
20175 }
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 (arg1)->SetSelections((wxArrayInt const &)*arg2);
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 resultobj = SWIG_Py_Void();
20183 {
20184 if (temp2) delete arg2;
20185 }
20186 return resultobj;
20187fail:
20188 {
20189 if (temp2) delete arg2;
20190 }
20191 return NULL;
d55e5bfc
RD
20192}
20193
20194
1bd55598
RD
20195SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20196 PyObject *resultobj = 0;
20197 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20198 PyObject *result = 0 ;
20199 void *argp1 = 0 ;
20200 int res1 = 0 ;
20201 PyObject *swig_obj[1] ;
20202
20203 if (!args) SWIG_fail;
20204 swig_obj[0] = args;
20205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20206 if (!SWIG_IsOK(res1)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20208 }
20209 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = result;
20217 return resultobj;
20218fail:
20219 return NULL;
20220}
20221
20222
20223SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20224 PyObject *obj;
20225 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20226 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
20227 return SWIG_Py_Void();
20228}
20229
20230SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20231 return SWIG_Python_InitShadowInstance(args);
20232}
20233
20234SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj = 0;
20236 wxWindow *arg1 = (wxWindow *) 0 ;
20237 wxString *arg2 = 0 ;
20238 wxString *arg3 = 0 ;
20239 int arg4 ;
20240 wxString *arg5 = (wxString *) 0 ;
20241 long arg6 = (long) wxCHOICEDLG_STYLE ;
20242 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20243 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20244 wxSingleChoiceDialog *result = 0 ;
20245 void *argp1 = 0 ;
20246 int res1 = 0 ;
20247 bool temp2 = false ;
20248 bool temp3 = false ;
20249 long val6 ;
20250 int ecode6 = 0 ;
20251 wxPoint temp7 ;
20252 PyObject * obj0 = 0 ;
20253 PyObject * obj1 = 0 ;
20254 PyObject * obj2 = 0 ;
20255 PyObject * obj3 = 0 ;
20256 PyObject * obj4 = 0 ;
20257 PyObject * obj5 = 0 ;
20258 char * kwnames[] = {
20259 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20260 };
20261
20262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20264 if (!SWIG_IsOK(res1)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20266 }
20267 arg1 = reinterpret_cast< wxWindow * >(argp1);
20268 {
20269 arg2 = wxString_in_helper(obj1);
20270 if (arg2 == NULL) SWIG_fail;
20271 temp2 = true;
20272 }
20273 {
20274 arg3 = wxString_in_helper(obj2);
20275 if (arg3 == NULL) SWIG_fail;
20276 temp3 = true;
20277 }
20278 {
20279 arg4 = PyList_Size(obj3);
20280 arg5 = wxString_LIST_helper(obj3);
20281 if (arg5 == NULL) SWIG_fail;
20282 }
20283 if (obj4) {
20284 ecode6 = SWIG_AsVal_long(obj4, &val6);
20285 if (!SWIG_IsOK(ecode6)) {
20286 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20287 }
20288 arg6 = static_cast< long >(val6);
20289 }
20290 if (obj5) {
36ed4f51 20291 {
1bd55598
RD
20292 arg7 = &temp7;
20293 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 20294 }
1bd55598
RD
20295 }
20296 {
20297 if (!wxPyCheckForApp()) SWIG_fail;
20298 PyThreadState* __tstate = wxPyBeginAllowThreads();
20299 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
20304 {
20305 if (temp2)
20306 delete arg2;
20307 }
20308 {
20309 if (temp3)
20310 delete arg3;
20311 }
20312 {
20313 if (arg5) delete [] arg5;
20314 }
20315 return resultobj;
20316fail:
20317 {
20318 if (temp2)
20319 delete arg2;
20320 }
20321 {
20322 if (temp3)
20323 delete arg3;
20324 }
20325 {
20326 if (arg5) delete [] arg5;
20327 }
20328 return NULL;
d55e5bfc
RD
20329}
20330
20331
1bd55598
RD
20332SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20333 PyObject *resultobj = 0;
20334 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20335 int result;
20336 void *argp1 = 0 ;
20337 int res1 = 0 ;
20338 PyObject *swig_obj[1] ;
20339
20340 if (!args) SWIG_fail;
20341 swig_obj[0] = args;
20342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20343 if (!SWIG_IsOK(res1)) {
20344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20345 }
20346 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 result = (int)(arg1)->GetSelection();
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 resultobj = SWIG_From_int(static_cast< int >(result));
20354 return resultobj;
20355fail:
20356 return NULL;
d55e5bfc
RD
20357}
20358
20359
1bd55598
RD
20360SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20361 PyObject *resultobj = 0;
20362 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20363 wxString result;
20364 void *argp1 = 0 ;
20365 int res1 = 0 ;
20366 PyObject *swig_obj[1] ;
20367
20368 if (!args) SWIG_fail;
20369 swig_obj[0] = args;
20370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20371 if (!SWIG_IsOK(res1)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20373 }
20374 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (arg1)->GetStringSelection();
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382#if wxUSE_UNICODE
20383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20384#else
20385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20386#endif
20387 }
20388 return resultobj;
20389fail:
20390 return NULL;
20391}
20392
20393
20394SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj = 0;
20396 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20397 int arg2 ;
20398 void *argp1 = 0 ;
20399 int res1 = 0 ;
20400 int val2 ;
20401 int ecode2 = 0 ;
20402 PyObject * obj0 = 0 ;
20403 PyObject * obj1 = 0 ;
20404 char * kwnames[] = {
20405 (char *) "self",(char *) "sel", NULL
20406 };
20407
20408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20410 if (!SWIG_IsOK(res1)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20412 }
20413 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20414 ecode2 = SWIG_AsVal_int(obj1, &val2);
20415 if (!SWIG_IsOK(ecode2)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20417 }
20418 arg2 = static_cast< int >(val2);
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 (arg1)->SetSelection(arg2);
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 resultobj = SWIG_Py_Void();
20426 return resultobj;
20427fail:
20428 return NULL;
20429}
20430
20431
20432SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20433 PyObject *obj;
20434 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20435 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
20436 return SWIG_Py_Void();
20437}
20438
20439SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20440 return SWIG_Python_InitShadowInstance(args);
20441}
20442
20443SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj = 0;
20445 wxWindow *arg1 = (wxWindow *) 0 ;
20446 wxString *arg2 = 0 ;
20447 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
20448 wxString *arg3 = (wxString *) &arg3_defvalue ;
20449 wxString const &arg4_defvalue = wxPyEmptyString ;
20450 wxString *arg4 = (wxString *) &arg4_defvalue ;
20451 long arg5 = (long) wxTextEntryDialogStyle ;
20452 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20453 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20454 wxTextEntryDialog *result = 0 ;
20455 void *argp1 = 0 ;
20456 int res1 = 0 ;
20457 bool temp2 = false ;
20458 bool temp3 = false ;
20459 bool temp4 = false ;
20460 long val5 ;
20461 int ecode5 = 0 ;
20462 wxPoint temp6 ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 PyObject * obj2 = 0 ;
20466 PyObject * obj3 = 0 ;
20467 PyObject * obj4 = 0 ;
20468 PyObject * obj5 = 0 ;
20469 char * kwnames[] = {
20470 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20471 };
20472
20473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20475 if (!SWIG_IsOK(res1)) {
20476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20477 }
20478 arg1 = reinterpret_cast< wxWindow * >(argp1);
20479 {
20480 arg2 = wxString_in_helper(obj1);
20481 if (arg2 == NULL) SWIG_fail;
20482 temp2 = true;
20483 }
20484 if (obj2) {
36ed4f51 20485 {
1bd55598
RD
20486 arg3 = wxString_in_helper(obj2);
20487 if (arg3 == NULL) SWIG_fail;
20488 temp3 = true;
36ed4f51 20489 }
1bd55598
RD
20490 }
20491 if (obj3) {
d55e5bfc 20492 {
1bd55598
RD
20493 arg4 = wxString_in_helper(obj3);
20494 if (arg4 == NULL) SWIG_fail;
20495 temp4 = true;
d55e5bfc 20496 }
1bd55598
RD
20497 }
20498 if (obj4) {
20499 ecode5 = SWIG_AsVal_long(obj4, &val5);
20500 if (!SWIG_IsOK(ecode5)) {
20501 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20502 }
20503 arg5 = static_cast< long >(val5);
20504 }
20505 if (obj5) {
d55e5bfc 20506 {
1bd55598
RD
20507 arg6 = &temp6;
20508 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20509 }
1bd55598
RD
20510 }
20511 {
20512 if (!wxPyCheckForApp()) SWIG_fail;
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
20519 {
20520 if (temp2)
20521 delete arg2;
20522 }
20523 {
20524 if (temp3)
20525 delete arg3;
20526 }
20527 {
20528 if (temp4)
20529 delete arg4;
20530 }
20531 return resultobj;
20532fail:
20533 {
20534 if (temp2)
20535 delete arg2;
20536 }
20537 {
20538 if (temp3)
20539 delete arg3;
20540 }
20541 {
20542 if (temp4)
20543 delete arg4;
20544 }
20545 return NULL;
d55e5bfc
RD
20546}
20547
20548
1bd55598
RD
20549SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20550 PyObject *resultobj = 0;
20551 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20552 wxString result;
20553 void *argp1 = 0 ;
20554 int res1 = 0 ;
20555 PyObject *swig_obj[1] ;
20556
20557 if (!args) SWIG_fail;
20558 swig_obj[0] = args;
20559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20560 if (!SWIG_IsOK(res1)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20562 }
20563 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 result = (arg1)->GetValue();
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 {
20571#if wxUSE_UNICODE
20572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20573#else
20574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20575#endif
20576 }
20577 return resultobj;
20578fail:
20579 return NULL;
20580}
20581
20582
20583SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj = 0;
20585 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20586 wxString *arg2 = 0 ;
20587 void *argp1 = 0 ;
20588 int res1 = 0 ;
20589 bool temp2 = false ;
20590 PyObject * obj0 = 0 ;
20591 PyObject * obj1 = 0 ;
20592 char * kwnames[] = {
20593 (char *) "self",(char *) "value", NULL
20594 };
20595
20596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
20597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20598 if (!SWIG_IsOK(res1)) {
20599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20600 }
20601 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20602 {
20603 arg2 = wxString_in_helper(obj1);
20604 if (arg2 == NULL) SWIG_fail;
20605 temp2 = true;
20606 }
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 (arg1)->SetValue((wxString const &)*arg2);
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 resultobj = SWIG_Py_Void();
20614 {
20615 if (temp2)
20616 delete arg2;
20617 }
20618 return resultobj;
20619fail:
20620 {
20621 if (temp2)
20622 delete arg2;
20623 }
20624 return NULL;
7993762b
RD
20625}
20626
20627
1bd55598
RD
20628SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20629 PyObject *obj;
20630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20631 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
20632 return SWIG_Py_Void();
7993762b
RD
20633}
20634
1bd55598
RD
20635SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 20637}
1bd55598
RD
20638
20639SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
20640 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
20641 return 1;
d55e5bfc
RD
20642}
20643
20644
1bd55598
RD
20645SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
20646 PyObject *pyobj = 0;
20647
20648 {
d55e5bfc 20649#if wxUSE_UNICODE
1bd55598 20650 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 20651#else
1bd55598 20652 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 20653#endif
1bd55598
RD
20654 }
20655 return pyobj;
20656}
20657
20658
20659SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj = 0;
20661 wxWindow *arg1 = (wxWindow *) 0 ;
20662 wxString *arg2 = 0 ;
20663 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
20664 wxString *arg3 = (wxString *) &arg3_defvalue ;
20665 wxString const &arg4_defvalue = wxPyEmptyString ;
20666 wxString *arg4 = (wxString *) &arg4_defvalue ;
20667 long arg5 = (long) wxTextEntryDialogStyle ;
20668 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20669 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20670 wxPasswordEntryDialog *result = 0 ;
20671 void *argp1 = 0 ;
20672 int res1 = 0 ;
20673 bool temp2 = false ;
20674 bool temp3 = false ;
20675 bool temp4 = false ;
20676 long val5 ;
20677 int ecode5 = 0 ;
20678 wxPoint temp6 ;
20679 PyObject * obj0 = 0 ;
20680 PyObject * obj1 = 0 ;
20681 PyObject * obj2 = 0 ;
20682 PyObject * obj3 = 0 ;
20683 PyObject * obj4 = 0 ;
20684 PyObject * obj5 = 0 ;
20685 char * kwnames[] = {
20686 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20687 };
20688
20689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20691 if (!SWIG_IsOK(res1)) {
20692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20693 }
20694 arg1 = reinterpret_cast< wxWindow * >(argp1);
20695 {
20696 arg2 = wxString_in_helper(obj1);
20697 if (arg2 == NULL) SWIG_fail;
20698 temp2 = true;
20699 }
20700 if (obj2) {
d55e5bfc 20701 {
1bd55598
RD
20702 arg3 = wxString_in_helper(obj2);
20703 if (arg3 == NULL) SWIG_fail;
20704 temp3 = true;
d55e5bfc 20705 }
1bd55598
RD
20706 }
20707 if (obj3) {
d55e5bfc 20708 {
1bd55598
RD
20709 arg4 = wxString_in_helper(obj3);
20710 if (arg4 == NULL) SWIG_fail;
20711 temp4 = true;
d55e5bfc 20712 }
1bd55598
RD
20713 }
20714 if (obj4) {
20715 ecode5 = SWIG_AsVal_long(obj4, &val5);
20716 if (!SWIG_IsOK(ecode5)) {
20717 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20718 }
20719 arg5 = static_cast< long >(val5);
20720 }
20721 if (obj5) {
d55e5bfc 20722 {
1bd55598
RD
20723 arg6 = &temp6;
20724 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20725 }
20726 }
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
20734 {
20735 if (temp2)
20736 delete arg2;
20737 }
20738 {
20739 if (temp3)
20740 delete arg3;
20741 }
20742 {
20743 if (temp4)
20744 delete arg4;
20745 }
20746 return resultobj;
20747fail:
20748 {
20749 if (temp2)
20750 delete arg2;
20751 }
20752 {
20753 if (temp3)
20754 delete arg3;
20755 }
20756 {
20757 if (temp4)
20758 delete arg4;
20759 }
20760 return NULL;
d55e5bfc
RD
20761}
20762
20763
1bd55598
RD
20764SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20765 PyObject *obj;
20766 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20767 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
20768 return SWIG_Py_Void();
d55e5bfc
RD
20769}
20770
1bd55598
RD
20771SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20772 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
20773}
20774
27e45892
RD
20775SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj = 0;
20777 wxWindow *arg1 = (wxWindow *) 0 ;
20778 wxString *arg2 = 0 ;
20779 wxString *arg3 = 0 ;
20780 wxString *arg4 = 0 ;
20781 long arg5 ;
20782 long arg6 ;
20783 long arg7 ;
20784 wxPoint const &arg8_defvalue = wxDefaultPosition ;
20785 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
20786 wxNumberEntryDialog *result = 0 ;
20787 void *argp1 = 0 ;
20788 int res1 = 0 ;
20789 bool temp2 = false ;
20790 bool temp3 = false ;
20791 bool temp4 = false ;
20792 long val5 ;
20793 int ecode5 = 0 ;
20794 long val6 ;
20795 int ecode6 = 0 ;
20796 long val7 ;
20797 int ecode7 = 0 ;
20798 wxPoint temp8 ;
20799 PyObject * obj0 = 0 ;
20800 PyObject * obj1 = 0 ;
20801 PyObject * obj2 = 0 ;
20802 PyObject * obj3 = 0 ;
20803 PyObject * obj4 = 0 ;
20804 PyObject * obj5 = 0 ;
20805 PyObject * obj6 = 0 ;
20806 PyObject * obj7 = 0 ;
20807 char * kwnames[] = {
20808 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20809 };
20810
20811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20813 if (!SWIG_IsOK(res1)) {
20814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20815 }
20816 arg1 = reinterpret_cast< wxWindow * >(argp1);
20817 {
20818 arg2 = wxString_in_helper(obj1);
20819 if (arg2 == NULL) SWIG_fail;
20820 temp2 = true;
20821 }
20822 {
20823 arg3 = wxString_in_helper(obj2);
20824 if (arg3 == NULL) SWIG_fail;
20825 temp3 = true;
20826 }
20827 {
20828 arg4 = wxString_in_helper(obj3);
20829 if (arg4 == NULL) SWIG_fail;
20830 temp4 = true;
20831 }
20832 ecode5 = SWIG_AsVal_long(obj4, &val5);
20833 if (!SWIG_IsOK(ecode5)) {
20834 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
20835 }
20836 arg5 = static_cast< long >(val5);
20837 ecode6 = SWIG_AsVal_long(obj5, &val6);
20838 if (!SWIG_IsOK(ecode6)) {
20839 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
20840 }
20841 arg6 = static_cast< long >(val6);
20842 ecode7 = SWIG_AsVal_long(obj6, &val7);
20843 if (!SWIG_IsOK(ecode7)) {
20844 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
20845 }
20846 arg7 = static_cast< long >(val7);
20847 if (obj7) {
20848 {
20849 arg8 = &temp8;
20850 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
20851 }
20852 }
20853 {
20854 if (!wxPyCheckForApp()) SWIG_fail;
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
20861 {
20862 if (temp2)
20863 delete arg2;
20864 }
20865 {
20866 if (temp3)
20867 delete arg3;
20868 }
20869 {
20870 if (temp4)
20871 delete arg4;
20872 }
20873 return resultobj;
20874fail:
20875 {
20876 if (temp2)
20877 delete arg2;
20878 }
20879 {
20880 if (temp3)
20881 delete arg3;
20882 }
20883 {
20884 if (temp4)
20885 delete arg4;
20886 }
20887 return NULL;
20888}
20889
20890
20891SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20892 PyObject *resultobj = 0;
20893 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
20894 long result;
20895 void *argp1 = 0 ;
20896 int res1 = 0 ;
20897 PyObject *swig_obj[1] ;
20898
20899 if (!args) SWIG_fail;
20900 swig_obj[0] = args;
20901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
20902 if (!SWIG_IsOK(res1)) {
20903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
20904 }
20905 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (long)(arg1)->GetValue();
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = SWIG_From_long(static_cast< long >(result));
20913 return resultobj;
20914fail:
20915 return NULL;
20916}
20917
20918
20919SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20920 PyObject *obj;
20921 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20922 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
20923 return SWIG_Py_Void();
20924}
20925
20926SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20927 return SWIG_Python_InitShadowInstance(args);
20928}
20929
1bd55598
RD
20930SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20931 PyObject *resultobj = 0;
20932 wxFontData *result = 0 ;
20933
20934 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = (wxFontData *)new wxFontData();
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
20942 return resultobj;
20943fail:
20944 return NULL;
d55e5bfc
RD
20945}
20946
20947
1bd55598
RD
20948SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20949 PyObject *resultobj = 0;
20950 wxFontData *arg1 = (wxFontData *) 0 ;
20951 void *argp1 = 0 ;
20952 int res1 = 0 ;
20953 PyObject *swig_obj[1] ;
20954
20955 if (!args) SWIG_fail;
20956 swig_obj[0] = args;
20957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
20958 if (!SWIG_IsOK(res1)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
20960 }
20961 arg1 = reinterpret_cast< wxFontData * >(argp1);
20962 {
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 delete arg1;
d55e5bfc 20965
1bd55598
RD
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
20969 resultobj = SWIG_Py_Void();
20970 return resultobj;
20971fail:
20972 return NULL;
20973}
20974
20975
20976SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj = 0;
20978 wxFontData *arg1 = (wxFontData *) 0 ;
20979 bool arg2 ;
20980 void *argp1 = 0 ;
20981 int res1 = 0 ;
20982 bool val2 ;
20983 int ecode2 = 0 ;
20984 PyObject * obj0 = 0 ;
20985 PyObject * obj1 = 0 ;
20986 char * kwnames[] = {
20987 (char *) "self",(char *) "enable", NULL
20988 };
20989
20990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
20991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
20992 if (!SWIG_IsOK(res1)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
20994 }
20995 arg1 = reinterpret_cast< wxFontData * >(argp1);
20996 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20997 if (!SWIG_IsOK(ecode2)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
20999 }
21000 arg2 = static_cast< bool >(val2);
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 (arg1)->EnableEffects(arg2);
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_Py_Void();
21008 return resultobj;
21009fail:
21010 return NULL;
d55e5bfc
RD
21011}
21012
21013
1bd55598
RD
21014SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21015 PyObject *resultobj = 0;
21016 wxFontData *arg1 = (wxFontData *) 0 ;
21017 bool result;
21018 void *argp1 = 0 ;
21019 int res1 = 0 ;
21020 PyObject *swig_obj[1] ;
21021
21022 if (!args) SWIG_fail;
21023 swig_obj[0] = args;
21024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21025 if (!SWIG_IsOK(res1)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21027 }
21028 arg1 = reinterpret_cast< wxFontData * >(argp1);
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 result = (bool)(arg1)->GetAllowSymbols();
21032 wxPyEndAllowThreads(__tstate);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 {
21036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21037 }
21038 return resultobj;
21039fail:
21040 return NULL;
d55e5bfc
RD
21041}
21042
21043
1bd55598
RD
21044SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21045 PyObject *resultobj = 0;
21046 wxFontData *arg1 = (wxFontData *) 0 ;
21047 wxColour result;
21048 void *argp1 = 0 ;
21049 int res1 = 0 ;
21050 PyObject *swig_obj[1] ;
21051
21052 if (!args) SWIG_fail;
21053 swig_obj[0] = args;
21054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21055 if (!SWIG_IsOK(res1)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21057 }
21058 arg1 = reinterpret_cast< wxFontData * >(argp1);
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = (arg1)->GetColour();
21062 wxPyEndAllowThreads(__tstate);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
21065 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21066 return resultobj;
21067fail:
21068 return NULL;
d55e5bfc
RD
21069}
21070
21071
1bd55598
RD
21072SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21073 PyObject *resultobj = 0;
21074 wxFontData *arg1 = (wxFontData *) 0 ;
21075 wxFont result;
21076 void *argp1 = 0 ;
21077 int res1 = 0 ;
21078 PyObject *swig_obj[1] ;
21079
21080 if (!args) SWIG_fail;
21081 swig_obj[0] = args;
21082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21083 if (!SWIG_IsOK(res1)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21085 }
21086 arg1 = reinterpret_cast< wxFontData * >(argp1);
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = (arg1)->GetChosenFont();
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21094 return resultobj;
21095fail:
21096 return NULL;
d55e5bfc
RD
21097}
21098
21099
1bd55598
RD
21100SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21101 PyObject *resultobj = 0;
21102 wxFontData *arg1 = (wxFontData *) 0 ;
21103 bool result;
21104 void *argp1 = 0 ;
21105 int res1 = 0 ;
21106 PyObject *swig_obj[1] ;
21107
21108 if (!args) SWIG_fail;
21109 swig_obj[0] = args;
21110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21111 if (!SWIG_IsOK(res1)) {
21112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21113 }
21114 arg1 = reinterpret_cast< wxFontData * >(argp1);
21115 {
21116 PyThreadState* __tstate = wxPyBeginAllowThreads();
21117 result = (bool)(arg1)->GetEnableEffects();
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 {
21122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21123 }
21124 return resultobj;
21125fail:
21126 return NULL;
d55e5bfc
RD
21127}
21128
21129
1bd55598
RD
21130SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21131 PyObject *resultobj = 0;
21132 wxFontData *arg1 = (wxFontData *) 0 ;
21133 wxFont result;
21134 void *argp1 = 0 ;
21135 int res1 = 0 ;
21136 PyObject *swig_obj[1] ;
21137
21138 if (!args) SWIG_fail;
21139 swig_obj[0] = args;
21140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21141 if (!SWIG_IsOK(res1)) {
21142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21143 }
21144 arg1 = reinterpret_cast< wxFontData * >(argp1);
21145 {
21146 PyThreadState* __tstate = wxPyBeginAllowThreads();
21147 result = (arg1)->GetInitialFont();
21148 wxPyEndAllowThreads(__tstate);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
21151 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21152 return resultobj;
21153fail:
21154 return NULL;
d55e5bfc
RD
21155}
21156
21157
1bd55598
RD
21158SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21159 PyObject *resultobj = 0;
21160 wxFontData *arg1 = (wxFontData *) 0 ;
21161 bool result;
21162 void *argp1 = 0 ;
21163 int res1 = 0 ;
21164 PyObject *swig_obj[1] ;
21165
21166 if (!args) SWIG_fail;
21167 swig_obj[0] = args;
21168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21169 if (!SWIG_IsOK(res1)) {
21170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21171 }
21172 arg1 = reinterpret_cast< wxFontData * >(argp1);
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (bool)(arg1)->GetShowHelp();
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 {
21180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21181 }
21182 return resultobj;
21183fail:
21184 return NULL;
21185}
21186
21187
21188SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj = 0;
21190 wxFontData *arg1 = (wxFontData *) 0 ;
21191 bool arg2 ;
21192 void *argp1 = 0 ;
21193 int res1 = 0 ;
21194 bool val2 ;
21195 int ecode2 = 0 ;
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 char * kwnames[] = {
21199 (char *) "self",(char *) "allowSymbols", NULL
21200 };
21201
21202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
21203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21204 if (!SWIG_IsOK(res1)) {
21205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21206 }
21207 arg1 = reinterpret_cast< wxFontData * >(argp1);
21208 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21209 if (!SWIG_IsOK(ecode2)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21211 }
21212 arg2 = static_cast< bool >(val2);
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 (arg1)->SetAllowSymbols(arg2);
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 resultobj = SWIG_Py_Void();
21220 return resultobj;
21221fail:
21222 return NULL;
21223}
21224
21225
21226SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21227 PyObject *resultobj = 0;
21228 wxFontData *arg1 = (wxFontData *) 0 ;
21229 wxFont *arg2 = 0 ;
21230 void *argp1 = 0 ;
21231 int res1 = 0 ;
21232 void *argp2 = 0 ;
21233 int res2 = 0 ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 char * kwnames[] = {
21237 (char *) "self",(char *) "font", NULL
21238 };
21239
21240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
21241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21242 if (!SWIG_IsOK(res1)) {
21243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21244 }
21245 arg1 = reinterpret_cast< wxFontData * >(argp1);
21246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21247 if (!SWIG_IsOK(res2)) {
21248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21249 }
21250 if (!argp2) {
21251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21252 }
21253 arg2 = reinterpret_cast< wxFont * >(argp2);
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 (arg1)->SetChosenFont((wxFont const &)*arg2);
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 resultobj = SWIG_Py_Void();
21261 return resultobj;
21262fail:
21263 return NULL;
21264}
21265
21266
21267SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21268 PyObject *resultobj = 0;
21269 wxFontData *arg1 = (wxFontData *) 0 ;
21270 wxColour *arg2 = 0 ;
21271 void *argp1 = 0 ;
21272 int res1 = 0 ;
21273 wxColour temp2 ;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 char * kwnames[] = {
21277 (char *) "self",(char *) "colour", NULL
21278 };
21279
21280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
21281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21282 if (!SWIG_IsOK(res1)) {
21283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21284 }
21285 arg1 = reinterpret_cast< wxFontData * >(argp1);
21286 {
21287 arg2 = &temp2;
21288 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21289 }
21290 {
21291 PyThreadState* __tstate = wxPyBeginAllowThreads();
21292 (arg1)->SetColour((wxColour const &)*arg2);
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 resultobj = SWIG_Py_Void();
21297 return resultobj;
21298fail:
21299 return NULL;
21300}
21301
21302
21303SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj = 0;
21305 wxFontData *arg1 = (wxFontData *) 0 ;
21306 wxFont *arg2 = 0 ;
21307 void *argp1 = 0 ;
21308 int res1 = 0 ;
21309 void *argp2 = 0 ;
21310 int res2 = 0 ;
21311 PyObject * obj0 = 0 ;
21312 PyObject * obj1 = 0 ;
21313 char * kwnames[] = {
21314 (char *) "self",(char *) "font", NULL
21315 };
21316
21317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
21318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21319 if (!SWIG_IsOK(res1)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21321 }
21322 arg1 = reinterpret_cast< wxFontData * >(argp1);
21323 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21324 if (!SWIG_IsOK(res2)) {
21325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21326 }
21327 if (!argp2) {
21328 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21329 }
21330 arg2 = reinterpret_cast< wxFont * >(argp2);
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 (arg1)->SetInitialFont((wxFont const &)*arg2);
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 resultobj = SWIG_Py_Void();
21338 return resultobj;
21339fail:
21340 return NULL;
21341}
21342
21343
21344SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21345 PyObject *resultobj = 0;
21346 wxFontData *arg1 = (wxFontData *) 0 ;
21347 int arg2 ;
21348 int arg3 ;
21349 void *argp1 = 0 ;
21350 int res1 = 0 ;
21351 int val2 ;
21352 int ecode2 = 0 ;
21353 int val3 ;
21354 int ecode3 = 0 ;
21355 PyObject * obj0 = 0 ;
21356 PyObject * obj1 = 0 ;
21357 PyObject * obj2 = 0 ;
21358 char * kwnames[] = {
21359 (char *) "self",(char *) "min",(char *) "max", NULL
21360 };
21361
21362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21364 if (!SWIG_IsOK(res1)) {
21365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21366 }
21367 arg1 = reinterpret_cast< wxFontData * >(argp1);
21368 ecode2 = SWIG_AsVal_int(obj1, &val2);
21369 if (!SWIG_IsOK(ecode2)) {
21370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21371 }
21372 arg2 = static_cast< int >(val2);
21373 ecode3 = SWIG_AsVal_int(obj2, &val3);
21374 if (!SWIG_IsOK(ecode3)) {
21375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21376 }
21377 arg3 = static_cast< int >(val3);
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 (arg1)->SetRange(arg2,arg3);
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 resultobj = SWIG_Py_Void();
21385 return resultobj;
21386fail:
21387 return NULL;
21388}
21389
21390
21391SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj = 0;
21393 wxFontData *arg1 = (wxFontData *) 0 ;
21394 bool arg2 ;
21395 void *argp1 = 0 ;
21396 int res1 = 0 ;
21397 bool val2 ;
21398 int ecode2 = 0 ;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char * kwnames[] = {
21402 (char *) "self",(char *) "showHelp", NULL
21403 };
21404
21405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
21406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21407 if (!SWIG_IsOK(res1)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21409 }
21410 arg1 = reinterpret_cast< wxFontData * >(argp1);
21411 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21412 if (!SWIG_IsOK(ecode2)) {
21413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21414 }
21415 arg2 = static_cast< bool >(val2);
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 (arg1)->SetShowHelp(arg2);
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 resultobj = SWIG_Py_Void();
21423 return resultobj;
21424fail:
21425 return NULL;
d55e5bfc
RD
21426}
21427
21428
1bd55598
RD
21429SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21430 PyObject *obj;
21431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21432 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
21433 return SWIG_Py_Void();
d55e5bfc
RD
21434}
21435
1bd55598
RD
21436SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21437 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21438}
21439
1bd55598
RD
21440SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj = 0;
21442 wxWindow *arg1 = (wxWindow *) 0 ;
21443 wxFontData *arg2 = 0 ;
21444 wxFontDialog *result = 0 ;
21445 void *argp1 = 0 ;
21446 int res1 = 0 ;
21447 void *argp2 = 0 ;
21448 int res2 = 0 ;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 char * kwnames[] = {
21452 (char *) "parent",(char *) "data", NULL
21453 };
21454
21455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
21456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21457 if (!SWIG_IsOK(res1)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21459 }
21460 arg1 = reinterpret_cast< wxWindow * >(argp1);
21461 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
21462 if (!SWIG_IsOK(res2)) {
21463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21464 }
21465 if (!argp2) {
21466 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21467 }
21468 arg2 = reinterpret_cast< wxFontData * >(argp2);
21469 {
21470 if (!wxPyCheckForApp()) SWIG_fail;
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
21477 return resultobj;
21478fail:
21479 return NULL;
d55e5bfc
RD
21480}
21481
21482
1bd55598
RD
21483SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21484 PyObject *resultobj = 0;
21485 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
21486 wxFontData *result = 0 ;
21487 void *argp1 = 0 ;
21488 int res1 = 0 ;
21489 PyObject *swig_obj[1] ;
21490
21491 if (!args) SWIG_fail;
21492 swig_obj[0] = args;
21493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
21494 if (!SWIG_IsOK(res1)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21496 }
21497 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 21500 {
1bd55598
RD
21501 wxFontData &_result_ref = (arg1)->GetFontData();
21502 result = (wxFontData *) &_result_ref;
36ed4f51 21503 }
1bd55598
RD
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
21508 return resultobj;
21509fail:
21510 return NULL;
21511}
21512
21513
21514SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21515 PyObject *obj;
21516 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21517 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
21518 return SWIG_Py_Void();
21519}
21520
21521SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21522 return SWIG_Python_InitShadowInstance(args);
21523}
21524
21525SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21526 PyObject *resultobj = 0;
21527 wxWindow *arg1 = (wxWindow *) NULL ;
21528 wxFont const &arg2_defvalue = wxNullFont ;
21529 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
21530 wxString const &arg3_defvalue = wxPyEmptyString ;
21531 wxString *arg3 = (wxString *) &arg3_defvalue ;
21532 wxFont result;
21533 void *argp1 = 0 ;
21534 int res1 = 0 ;
21535 void *argp2 = 0 ;
21536 int res2 = 0 ;
21537 bool temp3 = false ;
21538 PyObject * obj0 = 0 ;
21539 PyObject * obj1 = 0 ;
21540 PyObject * obj2 = 0 ;
21541 char * kwnames[] = {
21542 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21543 };
21544
21545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21546 if (obj0) {
21547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21548 if (!SWIG_IsOK(res1)) {
21549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 21550 }
1bd55598
RD
21551 arg1 = reinterpret_cast< wxWindow * >(argp1);
21552 }
21553 if (obj1) {
21554 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21555 if (!SWIG_IsOK(res2)) {
21556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 21557 }
1bd55598
RD
21558 if (!argp2) {
21559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 21560 }
1bd55598
RD
21561 arg2 = reinterpret_cast< wxFont * >(argp2);
21562 }
21563 if (obj2) {
d55e5bfc 21564 {
1bd55598
RD
21565 arg3 = wxString_in_helper(obj2);
21566 if (arg3 == NULL) SWIG_fail;
21567 temp3 = true;
d55e5bfc 21568 }
1bd55598
RD
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21577 {
21578 if (temp3)
21579 delete arg3;
21580 }
21581 return resultobj;
21582fail:
21583 {
21584 if (temp3)
21585 delete arg3;
21586 }
21587 return NULL;
21588}
21589
21590
21591SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj = 0;
21593 wxWindow *arg1 = (wxWindow *) 0 ;
21594 wxString *arg2 = 0 ;
21595 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
21596 wxString *arg3 = (wxString *) &arg3_defvalue ;
21597 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
21598 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21599 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21600 wxMessageDialog *result = 0 ;
21601 void *argp1 = 0 ;
21602 int res1 = 0 ;
21603 bool temp2 = false ;
21604 bool temp3 = false ;
21605 long val4 ;
21606 int ecode4 = 0 ;
21607 wxPoint temp5 ;
21608 PyObject * obj0 = 0 ;
21609 PyObject * obj1 = 0 ;
21610 PyObject * obj2 = 0 ;
21611 PyObject * obj3 = 0 ;
21612 PyObject * obj4 = 0 ;
21613 char * kwnames[] = {
21614 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21615 };
21616
21617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21619 if (!SWIG_IsOK(res1)) {
21620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21621 }
21622 arg1 = reinterpret_cast< wxWindow * >(argp1);
21623 {
21624 arg2 = wxString_in_helper(obj1);
21625 if (arg2 == NULL) SWIG_fail;
21626 temp2 = true;
21627 }
21628 if (obj2) {
36ed4f51 21629 {
1bd55598
RD
21630 arg3 = wxString_in_helper(obj2);
21631 if (arg3 == NULL) SWIG_fail;
21632 temp3 = true;
36ed4f51 21633 }
1bd55598
RD
21634 }
21635 if (obj3) {
21636 ecode4 = SWIG_AsVal_long(obj3, &val4);
21637 if (!SWIG_IsOK(ecode4)) {
21638 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21639 }
21640 arg4 = static_cast< long >(val4);
21641 }
21642 if (obj4) {
36ed4f51 21643 {
1bd55598
RD
21644 arg5 = &temp5;
21645 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 21646 }
1bd55598
RD
21647 }
21648 {
21649 if (!wxPyCheckForApp()) SWIG_fail;
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
21656 {
21657 if (temp2)
21658 delete arg2;
21659 }
21660 {
21661 if (temp3)
21662 delete arg3;
21663 }
21664 return resultobj;
21665fail:
21666 {
21667 if (temp2)
21668 delete arg2;
21669 }
21670 {
21671 if (temp3)
21672 delete arg3;
21673 }
21674 return NULL;
21675}
21676
21677
21678SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21679 PyObject *obj;
21680 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21681 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
21682 return SWIG_Py_Void();
21683}
21684
21685SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21686 return SWIG_Python_InitShadowInstance(args);
21687}
21688
21689SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj = 0;
21691 wxString *arg1 = 0 ;
21692 wxString *arg2 = 0 ;
21693 int arg3 = (int) 100 ;
21694 wxWindow *arg4 = (wxWindow *) NULL ;
21695 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
21696 wxProgressDialog *result = 0 ;
21697 bool temp1 = false ;
21698 bool temp2 = false ;
21699 int val3 ;
21700 int ecode3 = 0 ;
21701 void *argp4 = 0 ;
21702 int res4 = 0 ;
21703 int val5 ;
21704 int ecode5 = 0 ;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 PyObject * obj2 = 0 ;
21708 PyObject * obj3 = 0 ;
21709 PyObject * obj4 = 0 ;
21710 char * kwnames[] = {
21711 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21712 };
21713
21714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21715 {
21716 arg1 = wxString_in_helper(obj0);
21717 if (arg1 == NULL) SWIG_fail;
21718 temp1 = true;
21719 }
21720 {
21721 arg2 = wxString_in_helper(obj1);
21722 if (arg2 == NULL) SWIG_fail;
21723 temp2 = true;
21724 }
21725 if (obj2) {
21726 ecode3 = SWIG_AsVal_int(obj2, &val3);
21727 if (!SWIG_IsOK(ecode3)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21729 }
21730 arg3 = static_cast< int >(val3);
21731 }
21732 if (obj3) {
21733 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
21734 if (!SWIG_IsOK(res4)) {
21735 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 21736 }
1bd55598
RD
21737 arg4 = reinterpret_cast< wxWindow * >(argp4);
21738 }
21739 if (obj4) {
21740 ecode5 = SWIG_AsVal_int(obj4, &val5);
21741 if (!SWIG_IsOK(ecode5)) {
21742 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21743 }
21744 arg5 = static_cast< int >(val5);
21745 }
21746 {
21747 if (!wxPyCheckForApp()) SWIG_fail;
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
21754 {
21755 if (temp1)
21756 delete arg1;
21757 }
21758 {
21759 if (temp2)
21760 delete arg2;
21761 }
21762 return resultobj;
21763fail:
21764 {
21765 if (temp1)
21766 delete arg1;
21767 }
21768 {
21769 if (temp2)
21770 delete arg2;
21771 }
21772 return NULL;
21773}
21774
21775
21776SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj = 0;
21778 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21779 int arg2 ;
21780 wxString const &arg3_defvalue = wxPyEmptyString ;
21781 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 21782 bool *arg4 = (bool *) 0 ;
1bd55598
RD
21783 bool result;
21784 void *argp1 = 0 ;
21785 int res1 = 0 ;
21786 int val2 ;
21787 int ecode2 = 0 ;
21788 bool temp3 = false ;
2131d850
RD
21789 bool temp4 ;
21790 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 PyObject * obj2 = 0 ;
21794 char * kwnames[] = {
21795 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21796 };
21797
2131d850 21798 arg4 = &temp4;
1bd55598
RD
21799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21801 if (!SWIG_IsOK(res1)) {
21802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21803 }
21804 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21805 ecode2 = SWIG_AsVal_int(obj1, &val2);
21806 if (!SWIG_IsOK(ecode2)) {
21807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21808 }
21809 arg2 = static_cast< int >(val2);
21810 if (obj2) {
d55e5bfc 21811 {
1bd55598
RD
21812 arg3 = wxString_in_helper(obj2);
21813 if (arg3 == NULL) SWIG_fail;
21814 temp3 = true;
d55e5bfc 21815 }
1bd55598
RD
21816 }
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 21819 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 {
21824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21825 }
2131d850
RD
21826 if (SWIG_IsTmpObj(res4)) {
21827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
21828 } else {
21829 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21830 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
21831 }
1bd55598
RD
21832 {
21833 if (temp3)
21834 delete arg3;
21835 }
21836 return resultobj;
21837fail:
21838 {
21839 if (temp3)
21840 delete arg3;
21841 }
21842 return NULL;
d55e5bfc
RD
21843}
21844
21845
6b449b19 21846SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
21847 PyObject *resultobj = 0;
21848 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21849 wxString const &arg2_defvalue = wxPyEmptyString ;
21850 wxString *arg2 = (wxString *) &arg2_defvalue ;
21851 bool *arg3 = (bool *) 0 ;
21852 bool result;
21853 void *argp1 = 0 ;
21854 int res1 = 0 ;
21855 bool temp2 = false ;
21856 bool temp3 ;
21857 int res3 = SWIG_TMPOBJ ;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 char * kwnames[] = {
21861 (char *) "self",(char *) "newmsg", NULL
21862 };
21863
21864 arg3 = &temp3;
6b449b19 21865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
21866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21867 if (!SWIG_IsOK(res1)) {
6b449b19 21868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
21869 }
21870 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21871 if (obj1) {
21872 {
21873 arg2 = wxString_in_helper(obj1);
21874 if (arg2 == NULL) SWIG_fail;
21875 temp2 = true;
21876 }
21877 }
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 21880 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
21881 wxPyEndAllowThreads(__tstate);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 {
21885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21886 }
21887 if (SWIG_IsTmpObj(res3)) {
21888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
21889 } else {
21890 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21891 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
21892 }
21893 {
21894 if (temp2)
21895 delete arg2;
21896 }
21897 return resultobj;
21898fail:
21899 {
21900 if (temp2)
21901 delete arg2;
21902 }
21903 return NULL;
21904}
21905
21906
1bd55598
RD
21907SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21908 PyObject *resultobj = 0;
21909 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21910 void *argp1 = 0 ;
21911 int res1 = 0 ;
21912 PyObject *swig_obj[1] ;
21913
21914 if (!args) SWIG_fail;
21915 swig_obj[0] = args;
21916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21917 if (!SWIG_IsOK(res1)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21919 }
21920 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 (arg1)->Resume();
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 resultobj = SWIG_Py_Void();
21928 return resultobj;
21929fail:
21930 return NULL;
d55e5bfc
RD
21931}
21932
21933
1bd55598
RD
21934SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21935 PyObject *obj;
21936 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21937 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
21938 return SWIG_Py_Void();
d55e5bfc
RD
21939}
21940
1bd55598
RD
21941SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21942 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21943}
21944
1bd55598
RD
21945SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21946 PyObject *resultobj = 0;
21947 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21948 int arg2 = (int) 0 ;
21949 wxFindDialogEvent *result = 0 ;
21950 int val1 ;
21951 int ecode1 = 0 ;
21952 int val2 ;
21953 int ecode2 = 0 ;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 char * kwnames[] = {
21957 (char *) "commandType",(char *) "id", NULL
21958 };
21959
21960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21961 if (obj0) {
21962 ecode1 = SWIG_AsVal_int(obj0, &val1);
21963 if (!SWIG_IsOK(ecode1)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21965 }
21966 arg1 = static_cast< wxEventType >(val1);
21967 }
21968 if (obj1) {
21969 ecode2 = SWIG_AsVal_int(obj1, &val2);
21970 if (!SWIG_IsOK(ecode2)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
21972 }
21973 arg2 = static_cast< int >(val2);
21974 }
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
21982 return resultobj;
21983fail:
21984 return NULL;
d55e5bfc
RD
21985}
21986
21987
1bd55598
RD
21988SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21989 PyObject *resultobj = 0;
21990 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
21991 int result;
21992 void *argp1 = 0 ;
21993 int res1 = 0 ;
21994 PyObject *swig_obj[1] ;
21995
21996 if (!args) SWIG_fail;
21997 swig_obj[0] = args;
21998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
21999 if (!SWIG_IsOK(res1)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22001 }
22002 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (int)(arg1)->GetFlags();
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 resultobj = SWIG_From_int(static_cast< int >(result));
22010 return resultobj;
22011fail:
22012 return NULL;
d55e5bfc
RD
22013}
22014
22015
1bd55598
RD
22016SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22017 PyObject *resultobj = 0;
22018 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22019 wxString *result = 0 ;
22020 void *argp1 = 0 ;
22021 int res1 = 0 ;
22022 PyObject *swig_obj[1] ;
22023
22024 if (!args) SWIG_fail;
22025 swig_obj[0] = args;
22026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22027 if (!SWIG_IsOK(res1)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22029 }
22030 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 22033 {
1bd55598
RD
22034 wxString const &_result_ref = (arg1)->GetFindString();
22035 result = (wxString *) &_result_ref;
d55e5bfc 22036 }
1bd55598
RD
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 {
22041#if wxUSE_UNICODE
22042 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22043#else
22044 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22045#endif
22046 }
22047 return resultobj;
22048fail:
22049 return NULL;
d55e5bfc
RD
22050}
22051
22052
1bd55598
RD
22053SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22054 PyObject *resultobj = 0;
22055 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22056 wxString *result = 0 ;
22057 void *argp1 = 0 ;
22058 int res1 = 0 ;
22059 PyObject *swig_obj[1] ;
22060
22061 if (!args) SWIG_fail;
22062 swig_obj[0] = args;
22063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22064 if (!SWIG_IsOK(res1)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22066 }
22067 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 22070 {
1bd55598
RD
22071 wxString const &_result_ref = (arg1)->GetReplaceString();
22072 result = (wxString *) &_result_ref;
d55e5bfc 22073 }
1bd55598
RD
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 {
22078#if wxUSE_UNICODE
22079 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22080#else
22081 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22082#endif
22083 }
22084 return resultobj;
22085fail:
22086 return NULL;
d55e5bfc
RD
22087}
22088
22089
1bd55598
RD
22090SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22091 PyObject *resultobj = 0;
22092 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22093 wxFindReplaceDialog *result = 0 ;
22094 void *argp1 = 0 ;
22095 int res1 = 0 ;
22096 PyObject *swig_obj[1] ;
22097
22098 if (!args) SWIG_fail;
22099 swig_obj[0] = args;
22100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22101 if (!SWIG_IsOK(res1)) {
22102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22103 }
22104 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22112 return resultobj;
22113fail:
22114 return NULL;
22115}
22116
22117
22118SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj = 0;
22120 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22121 int arg2 ;
22122 void *argp1 = 0 ;
22123 int res1 = 0 ;
22124 int val2 ;
22125 int ecode2 = 0 ;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 char * kwnames[] = {
22129 (char *) "self",(char *) "flags", NULL
22130 };
22131
22132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22134 if (!SWIG_IsOK(res1)) {
22135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22136 }
22137 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22138 ecode2 = SWIG_AsVal_int(obj1, &val2);
22139 if (!SWIG_IsOK(ecode2)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22141 }
22142 arg2 = static_cast< int >(val2);
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 (arg1)->SetFlags(arg2);
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 resultobj = SWIG_Py_Void();
22150 return resultobj;
22151fail:
22152 return NULL;
22153}
22154
22155
22156SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj = 0;
22158 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22159 wxString *arg2 = 0 ;
22160 void *argp1 = 0 ;
22161 int res1 = 0 ;
22162 bool temp2 = false ;
22163 PyObject * obj0 = 0 ;
22164 PyObject * obj1 = 0 ;
22165 char * kwnames[] = {
22166 (char *) "self",(char *) "str", NULL
22167 };
22168
22169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22171 if (!SWIG_IsOK(res1)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22173 }
22174 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22175 {
22176 arg2 = wxString_in_helper(obj1);
22177 if (arg2 == NULL) SWIG_fail;
22178 temp2 = true;
22179 }
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 (arg1)->SetFindString((wxString const &)*arg2);
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 resultobj = SWIG_Py_Void();
22187 {
22188 if (temp2)
22189 delete arg2;
22190 }
22191 return resultobj;
22192fail:
22193 {
22194 if (temp2)
22195 delete arg2;
22196 }
22197 return NULL;
d55e5bfc
RD
22198}
22199
22200
1bd55598
RD
22201SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj = 0;
22203 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22204 wxString *arg2 = 0 ;
22205 void *argp1 = 0 ;
22206 int res1 = 0 ;
22207 bool temp2 = false ;
22208 PyObject * obj0 = 0 ;
22209 PyObject * obj1 = 0 ;
22210 char * kwnames[] = {
22211 (char *) "self",(char *) "str", NULL
22212 };
22213
22214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22216 if (!SWIG_IsOK(res1)) {
22217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22218 }
22219 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22220 {
22221 arg2 = wxString_in_helper(obj1);
22222 if (arg2 == NULL) SWIG_fail;
22223 temp2 = true;
22224 }
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 (arg1)->SetReplaceString((wxString const &)*arg2);
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 resultobj = SWIG_Py_Void();
22232 {
22233 if (temp2)
22234 delete arg2;
22235 }
22236 return resultobj;
22237fail:
22238 {
22239 if (temp2)
22240 delete arg2;
22241 }
22242 return NULL;
d55e5bfc
RD
22243}
22244
22245
1bd55598
RD
22246SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22247 PyObject *obj;
22248 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22249 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
22250 return SWIG_Py_Void();
d55e5bfc
RD
22251}
22252
1bd55598
RD
22253SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22254 return SWIG_Python_InitShadowInstance(args);
22255}
d55e5bfc 22256
1bd55598
RD
22257SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj = 0;
22259 int arg1 = (int) 0 ;
22260 wxFindReplaceData *result = 0 ;
22261 int val1 ;
22262 int ecode1 = 0 ;
22263 PyObject * obj0 = 0 ;
22264 char * kwnames[] = {
22265 (char *) "flags", NULL
22266 };
22267
22268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
22269 if (obj0) {
22270 ecode1 = SWIG_AsVal_int(obj0, &val1);
22271 if (!SWIG_IsOK(ecode1)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22273 }
22274 arg1 = static_cast< int >(val1);
22275 }
22276 {
22277 PyThreadState* __tstate = wxPyBeginAllowThreads();
22278 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
22283 return resultobj;
22284fail:
22285 return NULL;
d6c14a4c
RD
22286}
22287
22288
1bd55598
RD
22289SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22290 PyObject *resultobj = 0;
22291 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22292 void *argp1 = 0 ;
22293 int res1 = 0 ;
22294 PyObject *swig_obj[1] ;
22295
22296 if (!args) SWIG_fail;
22297 swig_obj[0] = args;
22298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
22299 if (!SWIG_IsOK(res1)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22301 }
22302 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 delete arg1;
d55e5bfc 22306
1bd55598
RD
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 resultobj = SWIG_Py_Void();
22311 return resultobj;
22312fail:
22313 return NULL;
d55e5bfc
RD
22314}
22315
22316
1bd55598
RD
22317SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22318 PyObject *resultobj = 0;
22319 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22320 wxString *result = 0 ;
22321 void *argp1 = 0 ;
22322 int res1 = 0 ;
22323 PyObject *swig_obj[1] ;
22324
22325 if (!args) SWIG_fail;
22326 swig_obj[0] = args;
22327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22328 if (!SWIG_IsOK(res1)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22330 }
22331 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 22334 {
1bd55598
RD
22335 wxString const &_result_ref = (arg1)->GetFindString();
22336 result = (wxString *) &_result_ref;
22337 }
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 {
22342#if wxUSE_UNICODE
22343 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22344#else
22345 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22346#endif
22347 }
22348 return resultobj;
22349fail:
22350 return NULL;
7e08d4ef
RD
22351}
22352
22353
1bd55598
RD
22354SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22355 PyObject *resultobj = 0;
22356 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22357 wxString *result = 0 ;
22358 void *argp1 = 0 ;
22359 int res1 = 0 ;
22360 PyObject *swig_obj[1] ;
22361
22362 if (!args) SWIG_fail;
22363 swig_obj[0] = args;
22364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22365 if (!SWIG_IsOK(res1)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22367 }
22368 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22371 {
1bd55598
RD
22372 wxString const &_result_ref = (arg1)->GetReplaceString();
22373 result = (wxString *) &_result_ref;
36ed4f51 22374 }
1bd55598
RD
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 {
22379#if wxUSE_UNICODE
22380 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22381#else
22382 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22383#endif
22384 }
22385 return resultobj;
22386fail:
22387 return NULL;
d55e5bfc
RD
22388}
22389
22390
1bd55598
RD
22391SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22392 PyObject *resultobj = 0;
22393 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22394 int result;
22395 void *argp1 = 0 ;
22396 int res1 = 0 ;
22397 PyObject *swig_obj[1] ;
22398
22399 if (!args) SWIG_fail;
22400 swig_obj[0] = args;
22401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22402 if (!SWIG_IsOK(res1)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22404 }
22405 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (int)(arg1)->GetFlags();
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 resultobj = SWIG_From_int(static_cast< int >(result));
22413 return resultobj;
22414fail:
22415 return NULL;
22416}
22417
22418
22419SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj = 0;
22421 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22422 int arg2 ;
22423 void *argp1 = 0 ;
22424 int res1 = 0 ;
22425 int val2 ;
22426 int ecode2 = 0 ;
22427 PyObject * obj0 = 0 ;
22428 PyObject * obj1 = 0 ;
22429 char * kwnames[] = {
22430 (char *) "self",(char *) "flags", NULL
22431 };
22432
22433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22435 if (!SWIG_IsOK(res1)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22437 }
22438 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22439 ecode2 = SWIG_AsVal_int(obj1, &val2);
22440 if (!SWIG_IsOK(ecode2)) {
22441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22442 }
22443 arg2 = static_cast< int >(val2);
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->SetFlags(arg2);
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 resultobj = SWIG_Py_Void();
22451 return resultobj;
22452fail:
22453 return NULL;
22454}
22455
22456
22457SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj = 0;
22459 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22460 wxString *arg2 = 0 ;
22461 void *argp1 = 0 ;
22462 int res1 = 0 ;
22463 bool temp2 = false ;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 char * kwnames[] = {
22467 (char *) "self",(char *) "str", NULL
22468 };
22469
22470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22472 if (!SWIG_IsOK(res1)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22474 }
22475 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22476 {
22477 arg2 = wxString_in_helper(obj1);
22478 if (arg2 == NULL) SWIG_fail;
22479 temp2 = true;
22480 }
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->SetFindString((wxString const &)*arg2);
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 resultobj = SWIG_Py_Void();
22488 {
22489 if (temp2)
22490 delete arg2;
22491 }
22492 return resultobj;
22493fail:
22494 {
22495 if (temp2)
22496 delete arg2;
22497 }
22498 return NULL;
d55e5bfc
RD
22499}
22500
22501
1bd55598
RD
22502SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22503 PyObject *resultobj = 0;
22504 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22505 wxString *arg2 = 0 ;
22506 void *argp1 = 0 ;
22507 int res1 = 0 ;
22508 bool temp2 = false ;
22509 PyObject * obj0 = 0 ;
22510 PyObject * obj1 = 0 ;
22511 char * kwnames[] = {
22512 (char *) "self",(char *) "str", NULL
22513 };
22514
22515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22517 if (!SWIG_IsOK(res1)) {
22518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22519 }
22520 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22521 {
22522 arg2 = wxString_in_helper(obj1);
22523 if (arg2 == NULL) SWIG_fail;
22524 temp2 = true;
22525 }
22526 {
22527 PyThreadState* __tstate = wxPyBeginAllowThreads();
22528 (arg1)->SetReplaceString((wxString const &)*arg2);
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 resultobj = SWIG_Py_Void();
22533 {
22534 if (temp2)
22535 delete arg2;
22536 }
22537 return resultobj;
22538fail:
22539 {
22540 if (temp2)
22541 delete arg2;
22542 }
22543 return NULL;
22544}
22545
22546
22547SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22548 PyObject *obj;
22549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22550 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
22551 return SWIG_Py_Void();
22552}
22553
22554SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22555 return SWIG_Python_InitShadowInstance(args);
22556}
22557
22558SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj = 0;
22560 wxWindow *arg1 = (wxWindow *) 0 ;
22561 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22562 wxString *arg3 = 0 ;
22563 int arg4 = (int) 0 ;
22564 wxFindReplaceDialog *result = 0 ;
22565 void *argp1 = 0 ;
22566 int res1 = 0 ;
22567 void *argp2 = 0 ;
22568 int res2 = 0 ;
22569 bool temp3 = false ;
22570 int val4 ;
22571 int ecode4 = 0 ;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 PyObject * obj2 = 0 ;
22575 PyObject * obj3 = 0 ;
22576 char * kwnames[] = {
22577 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22578 };
22579
22580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22582 if (!SWIG_IsOK(res1)) {
22583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22584 }
22585 arg1 = reinterpret_cast< wxWindow * >(argp1);
22586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22587 if (!SWIG_IsOK(res2)) {
22588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22589 }
22590 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22591 {
22592 arg3 = wxString_in_helper(obj2);
22593 if (arg3 == NULL) SWIG_fail;
22594 temp3 = true;
22595 }
22596 if (obj3) {
22597 ecode4 = SWIG_AsVal_int(obj3, &val4);
22598 if (!SWIG_IsOK(ecode4)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22600 }
22601 arg4 = static_cast< int >(val4);
22602 }
22603 {
22604 if (!wxPyCheckForApp()) SWIG_fail;
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
22611 {
22612 if (temp3)
22613 delete arg3;
22614 }
22615 return resultobj;
22616fail:
22617 {
22618 if (temp3)
22619 delete arg3;
22620 }
22621 return NULL;
b411df4a
RD
22622}
22623
22624
1bd55598
RD
22625SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22626 PyObject *resultobj = 0;
22627 wxFindReplaceDialog *result = 0 ;
22628
22629 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
22630 {
22631 if (!wxPyCheckForApp()) SWIG_fail;
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
22638 return resultobj;
22639fail:
22640 return NULL;
22641}
22642
22643
22644SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj = 0;
22646 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22647 wxWindow *arg2 = (wxWindow *) 0 ;
22648 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
22649 wxString *arg4 = 0 ;
22650 int arg5 = (int) 0 ;
22651 bool result;
22652 void *argp1 = 0 ;
22653 int res1 = 0 ;
22654 void *argp2 = 0 ;
22655 int res2 = 0 ;
22656 void *argp3 = 0 ;
22657 int res3 = 0 ;
22658 bool temp4 = false ;
22659 int val5 ;
22660 int ecode5 = 0 ;
22661 PyObject * obj0 = 0 ;
22662 PyObject * obj1 = 0 ;
22663 PyObject * obj2 = 0 ;
22664 PyObject * obj3 = 0 ;
22665 PyObject * obj4 = 0 ;
22666 char * kwnames[] = {
22667 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22668 };
22669
22670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22672 if (!SWIG_IsOK(res1)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22674 }
22675 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22677 if (!SWIG_IsOK(res2)) {
22678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22679 }
22680 arg2 = reinterpret_cast< wxWindow * >(argp2);
22681 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22682 if (!SWIG_IsOK(res3)) {
22683 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22684 }
22685 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
22686 {
22687 arg4 = wxString_in_helper(obj3);
22688 if (arg4 == NULL) SWIG_fail;
22689 temp4 = true;
22690 }
22691 if (obj4) {
22692 ecode5 = SWIG_AsVal_int(obj4, &val5);
22693 if (!SWIG_IsOK(ecode5)) {
22694 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22695 }
22696 arg5 = static_cast< int >(val5);
22697 }
22698 {
22699 PyThreadState* __tstate = wxPyBeginAllowThreads();
22700 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
22704 {
22705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22706 }
22707 {
22708 if (temp4)
22709 delete arg4;
22710 }
22711 return resultobj;
22712fail:
22713 {
22714 if (temp4)
22715 delete arg4;
22716 }
22717 return NULL;
b411df4a
RD
22718}
22719
22720
1bd55598
RD
22721SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22722 PyObject *resultobj = 0;
22723 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22724 wxFindReplaceData *result = 0 ;
22725 void *argp1 = 0 ;
22726 int res1 = 0 ;
22727 PyObject *swig_obj[1] ;
22728
22729 if (!args) SWIG_fail;
22730 swig_obj[0] = args;
22731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22732 if (!SWIG_IsOK(res1)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22734 }
22735 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = (wxFindReplaceData *)(arg1)->GetData();
22739 wxPyEndAllowThreads(__tstate);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 }
22742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22743 return resultobj;
22744fail:
22745 return NULL;
22746}
22747
22748
22749SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj = 0;
22751 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22752 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22753 void *argp1 = 0 ;
22754 int res1 = 0 ;
22755 void *argp2 = 0 ;
22756 int res2 = 0 ;
22757 PyObject * obj0 = 0 ;
22758 PyObject * obj1 = 0 ;
22759 char * kwnames[] = {
22760 (char *) "self",(char *) "data", NULL
22761 };
22762
22763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
22764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22765 if (!SWIG_IsOK(res1)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22767 }
22768 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22770 if (!SWIG_IsOK(res2)) {
22771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22772 }
22773 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 (arg1)->SetData(arg2);
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 resultobj = SWIG_Py_Void();
22781 return resultobj;
22782fail:
22783 return NULL;
22784}
22785
22786
22787SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22788 PyObject *obj;
22789 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22790 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
22791 return SWIG_Py_Void();
22792}
22793
22794SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22795 return SWIG_Python_InitShadowInstance(args);
22796}
22797
22798SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj = 0;
22800 wxWindow *arg1 = (wxWindow *) 0 ;
22801 int arg2 = (int) (int)-1 ;
22802 wxString const &arg3_defvalue = wxPyEmptyString ;
22803 wxString *arg3 = (wxString *) &arg3_defvalue ;
22804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22806 wxSize const &arg5_defvalue = wxDefaultSize ;
22807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22808 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
22809 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22810 wxString *arg7 = (wxString *) &arg7_defvalue ;
22811 wxMDIParentFrame *result = 0 ;
22812 void *argp1 = 0 ;
22813 int res1 = 0 ;
22814 int val2 ;
22815 int ecode2 = 0 ;
22816 bool temp3 = false ;
22817 wxPoint temp4 ;
22818 wxSize temp5 ;
22819 long val6 ;
22820 int ecode6 = 0 ;
22821 bool temp7 = false ;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 PyObject * obj2 = 0 ;
22825 PyObject * obj3 = 0 ;
22826 PyObject * obj4 = 0 ;
22827 PyObject * obj5 = 0 ;
22828 PyObject * obj6 = 0 ;
22829 char * kwnames[] = {
22830 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22831 };
22832
22833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22835 if (!SWIG_IsOK(res1)) {
22836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
22837 }
22838 arg1 = reinterpret_cast< wxWindow * >(argp1);
22839 if (obj1) {
22840 ecode2 = SWIG_AsVal_int(obj1, &val2);
22841 if (!SWIG_IsOK(ecode2)) {
22842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
22843 }
22844 arg2 = static_cast< int >(val2);
22845 }
22846 if (obj2) {
b411df4a 22847 {
1bd55598
RD
22848 arg3 = wxString_in_helper(obj2);
22849 if (arg3 == NULL) SWIG_fail;
22850 temp3 = true;
b411df4a 22851 }
1bd55598
RD
22852 }
22853 if (obj3) {
b411df4a 22854 {
1bd55598
RD
22855 arg4 = &temp4;
22856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 22857 }
1bd55598
RD
22858 }
22859 if (obj4) {
b411df4a 22860 {
1bd55598
RD
22861 arg5 = &temp5;
22862 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 22863 }
1bd55598
RD
22864 }
22865 if (obj5) {
22866 ecode6 = SWIG_AsVal_long(obj5, &val6);
22867 if (!SWIG_IsOK(ecode6)) {
22868 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
22869 }
22870 arg6 = static_cast< long >(val6);
22871 }
22872 if (obj6) {
b411df4a 22873 {
1bd55598
RD
22874 arg7 = wxString_in_helper(obj6);
22875 if (arg7 == NULL) SWIG_fail;
22876 temp7 = true;
b411df4a 22877 }
1bd55598
RD
22878 }
22879 {
22880 if (!wxPyCheckForApp()) SWIG_fail;
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22883 wxPyEndAllowThreads(__tstate);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
22887 {
22888 if (temp3)
22889 delete arg3;
22890 }
22891 {
22892 if (temp7)
22893 delete arg7;
22894 }
22895 return resultobj;
22896fail:
22897 {
22898 if (temp3)
22899 delete arg3;
22900 }
22901 {
22902 if (temp7)
22903 delete arg7;
22904 }
22905 return NULL;
b411df4a
RD
22906}
22907
22908
1bd55598
RD
22909SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22910 PyObject *resultobj = 0;
22911 wxMDIParentFrame *result = 0 ;
22912
22913 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
22914 {
22915 if (!wxPyCheckForApp()) SWIG_fail;
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 result = (wxMDIParentFrame *)new wxMDIParentFrame();
22918 wxPyEndAllowThreads(__tstate);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 }
22921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
22922 return resultobj;
22923fail:
22924 return NULL;
22925}
22926
22927
22928SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj = 0;
22930 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
22931 wxWindow *arg2 = (wxWindow *) 0 ;
22932 int arg3 = (int) (int)-1 ;
22933 wxString const &arg4_defvalue = wxPyEmptyString ;
22934 wxString *arg4 = (wxString *) &arg4_defvalue ;
22935 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22936 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22937 wxSize const &arg6_defvalue = wxDefaultSize ;
22938 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22939 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
22940 wxString const &arg8_defvalue = wxPyFrameNameStr ;
22941 wxString *arg8 = (wxString *) &arg8_defvalue ;
22942 bool result;
22943 void *argp1 = 0 ;
22944 int res1 = 0 ;
22945 void *argp2 = 0 ;
22946 int res2 = 0 ;
22947 int val3 ;
22948 int ecode3 = 0 ;
22949 bool temp4 = false ;
22950 wxPoint temp5 ;
22951 wxSize temp6 ;
22952 long val7 ;
22953 int ecode7 = 0 ;
22954 bool temp8 = false ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 PyObject * obj2 = 0 ;
22958 PyObject * obj3 = 0 ;
22959 PyObject * obj4 = 0 ;
22960 PyObject * obj5 = 0 ;
22961 PyObject * obj6 = 0 ;
22962 PyObject * obj7 = 0 ;
22963 char * kwnames[] = {
22964 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22965 };
22966
22967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
22968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
22969 if (!SWIG_IsOK(res1)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
22971 }
22972 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
22973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22974 if (!SWIG_IsOK(res2)) {
22975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22976 }
22977 arg2 = reinterpret_cast< wxWindow * >(argp2);
22978 if (obj2) {
22979 ecode3 = SWIG_AsVal_int(obj2, &val3);
22980 if (!SWIG_IsOK(ecode3)) {
22981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
22982 }
22983 arg3 = static_cast< int >(val3);
22984 }
22985 if (obj3) {
b411df4a 22986 {
1bd55598
RD
22987 arg4 = wxString_in_helper(obj3);
22988 if (arg4 == NULL) SWIG_fail;
22989 temp4 = true;
b411df4a 22990 }
1bd55598
RD
22991 }
22992 if (obj4) {
b411df4a 22993 {
1bd55598
RD
22994 arg5 = &temp5;
22995 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 22996 }
1bd55598
RD
22997 }
22998 if (obj5) {
b411df4a 22999 {
1bd55598
RD
23000 arg6 = &temp6;
23001 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 23002 }
1bd55598
RD
23003 }
23004 if (obj6) {
23005 ecode7 = SWIG_AsVal_long(obj6, &val7);
23006 if (!SWIG_IsOK(ecode7)) {
23007 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23008 }
23009 arg7 = static_cast< long >(val7);
23010 }
23011 if (obj7) {
36ed4f51 23012 {
1bd55598
RD
23013 arg8 = wxString_in_helper(obj7);
23014 if (arg8 == NULL) SWIG_fail;
23015 temp8 = true;
36ed4f51 23016 }
1bd55598
RD
23017 }
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 {
23025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23026 }
23027 {
23028 if (temp4)
23029 delete arg4;
23030 }
23031 {
23032 if (temp8)
23033 delete arg8;
23034 }
23035 return resultobj;
23036fail:
23037 {
23038 if (temp4)
23039 delete arg4;
23040 }
23041 {
23042 if (temp8)
23043 delete arg8;
23044 }
23045 return NULL;
d55e5bfc
RD
23046}
23047
23048
1bd55598
RD
23049SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23050 PyObject *resultobj = 0;
23051 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23052 void *argp1 = 0 ;
23053 int res1 = 0 ;
23054 PyObject *swig_obj[1] ;
23055
23056 if (!args) SWIG_fail;
23057 swig_obj[0] = args;
23058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23059 if (!SWIG_IsOK(res1)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23061 }
23062 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23063 {
23064 PyThreadState* __tstate = wxPyBeginAllowThreads();
23065 (arg1)->ActivateNext();
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 resultobj = SWIG_Py_Void();
23070 return resultobj;
23071fail:
23072 return NULL;
d55e5bfc
RD
23073}
23074
23075
1bd55598
RD
23076SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23077 PyObject *resultobj = 0;
23078 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23079 void *argp1 = 0 ;
23080 int res1 = 0 ;
23081 PyObject *swig_obj[1] ;
23082
23083 if (!args) SWIG_fail;
23084 swig_obj[0] = args;
23085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23086 if (!SWIG_IsOK(res1)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23088 }
23089 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 (arg1)->ActivatePrevious();
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 resultobj = SWIG_Py_Void();
23097 return resultobj;
23098fail:
23099 return NULL;
d55e5bfc
RD
23100}
23101
23102
1bd55598
RD
23103SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23104 PyObject *resultobj = 0;
23105 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23106 void *argp1 = 0 ;
23107 int res1 = 0 ;
23108 PyObject *swig_obj[1] ;
23109
23110 if (!args) SWIG_fail;
23111 swig_obj[0] = args;
23112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23113 if (!SWIG_IsOK(res1)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23115 }
23116 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 (arg1)->ArrangeIcons();
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 resultobj = SWIG_Py_Void();
23124 return resultobj;
23125fail:
23126 return NULL;
d55e5bfc
RD
23127}
23128
23129
1bd55598
RD
23130SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23131 PyObject *resultobj = 0;
23132 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23133 void *argp1 = 0 ;
23134 int res1 = 0 ;
23135 PyObject *swig_obj[1] ;
23136
23137 if (!args) SWIG_fail;
23138 swig_obj[0] = args;
23139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23140 if (!SWIG_IsOK(res1)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23142 }
23143 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 (arg1)->Cascade();
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 resultobj = SWIG_Py_Void();
23151 return resultobj;
23152fail:
23153 return NULL;
d55e5bfc
RD
23154}
23155
23156
1bd55598
RD
23157SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23158 PyObject *resultobj = 0;
23159 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23160 wxMDIChildFrame *result = 0 ;
23161 void *argp1 = 0 ;
23162 int res1 = 0 ;
23163 PyObject *swig_obj[1] ;
23164
23165 if (!args) SWIG_fail;
23166 swig_obj[0] = args;
23167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23168 if (!SWIG_IsOK(res1)) {
23169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23170 }
23171 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 {
23179 resultobj = wxPyMake_wxObject(result, (bool)0);
23180 }
23181 return resultobj;
23182fail:
23183 return NULL;
d55e5bfc
RD
23184}
23185
23186
1bd55598
RD
23187SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23188 PyObject *resultobj = 0;
23189 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23190 wxMDIClientWindow *result = 0 ;
23191 void *argp1 = 0 ;
23192 int res1 = 0 ;
23193 PyObject *swig_obj[1] ;
23194
23195 if (!args) SWIG_fail;
23196 swig_obj[0] = args;
23197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23198 if (!SWIG_IsOK(res1)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23200 }
23201 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 {
23209 resultobj = wxPyMake_wxObject(result, (bool)0);
23210 }
23211 return resultobj;
23212fail:
23213 return NULL;
d55e5bfc
RD
23214}
23215
23216
1bd55598
RD
23217SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj = 0;
23219 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23220 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
23221 void *argp1 = 0 ;
23222 int res1 = 0 ;
23223 int val2 ;
23224 int ecode2 = 0 ;
23225 PyObject * obj0 = 0 ;
23226 PyObject * obj1 = 0 ;
23227 char * kwnames[] = {
23228 (char *) "self",(char *) "orient", NULL
23229 };
23230
23231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
23232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23233 if (!SWIG_IsOK(res1)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23235 }
23236 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23237 if (obj1) {
23238 ecode2 = SWIG_AsVal_int(obj1, &val2);
23239 if (!SWIG_IsOK(ecode2)) {
23240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23241 }
23242 arg2 = static_cast< wxOrientation >(val2);
23243 }
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 (arg1)->Tile(arg2);
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_Py_Void();
23251 return resultobj;
23252fail:
23253 return NULL;
23254}
23255
23256
23257SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23258 PyObject *obj;
23259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23260 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
23261 return SWIG_Py_Void();
23262}
23263
23264SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23265 return SWIG_Python_InitShadowInstance(args);
23266}
23267
23268SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj = 0;
23270 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23271 int arg2 = (int) (int)-1 ;
23272 wxString const &arg3_defvalue = wxPyEmptyString ;
23273 wxString *arg3 = (wxString *) &arg3_defvalue ;
23274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23276 wxSize const &arg5_defvalue = wxDefaultSize ;
23277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23278 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23279 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23280 wxString *arg7 = (wxString *) &arg7_defvalue ;
23281 wxMDIChildFrame *result = 0 ;
23282 void *argp1 = 0 ;
23283 int res1 = 0 ;
23284 int val2 ;
23285 int ecode2 = 0 ;
23286 bool temp3 = false ;
23287 wxPoint temp4 ;
23288 wxSize temp5 ;
23289 long val6 ;
23290 int ecode6 = 0 ;
23291 bool temp7 = false ;
23292 PyObject * obj0 = 0 ;
23293 PyObject * obj1 = 0 ;
23294 PyObject * obj2 = 0 ;
23295 PyObject * obj3 = 0 ;
23296 PyObject * obj4 = 0 ;
23297 PyObject * obj5 = 0 ;
23298 PyObject * obj6 = 0 ;
23299 char * kwnames[] = {
23300 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23301 };
23302
23303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23305 if (!SWIG_IsOK(res1)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23307 }
23308 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23309 if (obj1) {
23310 ecode2 = SWIG_AsVal_int(obj1, &val2);
23311 if (!SWIG_IsOK(ecode2)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23313 }
23314 arg2 = static_cast< int >(val2);
23315 }
23316 if (obj2) {
d55e5bfc 23317 {
1bd55598
RD
23318 arg3 = wxString_in_helper(obj2);
23319 if (arg3 == NULL) SWIG_fail;
23320 temp3 = true;
d55e5bfc 23321 }
1bd55598
RD
23322 }
23323 if (obj3) {
d55e5bfc 23324 {
1bd55598
RD
23325 arg4 = &temp4;
23326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 23327 }
1bd55598
RD
23328 }
23329 if (obj4) {
d55e5bfc 23330 {
1bd55598
RD
23331 arg5 = &temp5;
23332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 23333 }
1bd55598
RD
23334 }
23335 if (obj5) {
23336 ecode6 = SWIG_AsVal_long(obj5, &val6);
23337 if (!SWIG_IsOK(ecode6)) {
23338 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23339 }
23340 arg6 = static_cast< long >(val6);
23341 }
23342 if (obj6) {
d55e5bfc 23343 {
1bd55598
RD
23344 arg7 = wxString_in_helper(obj6);
23345 if (arg7 == NULL) SWIG_fail;
23346 temp7 = true;
d55e5bfc 23347 }
1bd55598
RD
23348 }
23349 {
23350 if (!wxPyCheckForApp()) SWIG_fail;
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
23357 {
23358 if (temp3)
23359 delete arg3;
23360 }
23361 {
23362 if (temp7)
23363 delete arg7;
23364 }
23365 return resultobj;
23366fail:
23367 {
23368 if (temp3)
23369 delete arg3;
23370 }
23371 {
23372 if (temp7)
23373 delete arg7;
23374 }
23375 return NULL;
d55e5bfc
RD
23376}
23377
23378
1bd55598
RD
23379SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23380 PyObject *resultobj = 0;
23381 wxMDIChildFrame *result = 0 ;
23382
23383 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
23384 {
23385 if (!wxPyCheckForApp()) SWIG_fail;
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (wxMDIChildFrame *)new wxMDIChildFrame();
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
23392 return resultobj;
23393fail:
23394 return NULL;
23395}
23396
23397
23398SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23399 PyObject *resultobj = 0;
23400 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23401 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23402 int arg3 = (int) (int)-1 ;
23403 wxString const &arg4_defvalue = wxPyEmptyString ;
23404 wxString *arg4 = (wxString *) &arg4_defvalue ;
23405 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23406 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23407 wxSize const &arg6_defvalue = wxDefaultSize ;
23408 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23409 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
23410 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23411 wxString *arg8 = (wxString *) &arg8_defvalue ;
23412 bool result;
23413 void *argp1 = 0 ;
23414 int res1 = 0 ;
23415 void *argp2 = 0 ;
23416 int res2 = 0 ;
23417 int val3 ;
23418 int ecode3 = 0 ;
23419 bool temp4 = false ;
23420 wxPoint temp5 ;
23421 wxSize temp6 ;
23422 long val7 ;
23423 int ecode7 = 0 ;
23424 bool temp8 = false ;
23425 PyObject * obj0 = 0 ;
23426 PyObject * obj1 = 0 ;
23427 PyObject * obj2 = 0 ;
23428 PyObject * obj3 = 0 ;
23429 PyObject * obj4 = 0 ;
23430 PyObject * obj5 = 0 ;
23431 PyObject * obj6 = 0 ;
23432 PyObject * obj7 = 0 ;
23433 char * kwnames[] = {
23434 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23435 };
23436
23437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23439 if (!SWIG_IsOK(res1)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23441 }
23442 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23444 if (!SWIG_IsOK(res2)) {
23445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23446 }
23447 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23448 if (obj2) {
23449 ecode3 = SWIG_AsVal_int(obj2, &val3);
23450 if (!SWIG_IsOK(ecode3)) {
23451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23452 }
23453 arg3 = static_cast< int >(val3);
23454 }
23455 if (obj3) {
36ed4f51 23456 {
1bd55598
RD
23457 arg4 = wxString_in_helper(obj3);
23458 if (arg4 == NULL) SWIG_fail;
23459 temp4 = true;
36ed4f51 23460 }
1bd55598
RD
23461 }
23462 if (obj4) {
d55e5bfc 23463 {
1bd55598
RD
23464 arg5 = &temp5;
23465 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 23466 }
1bd55598
RD
23467 }
23468 if (obj5) {
d55e5bfc 23469 {
1bd55598
RD
23470 arg6 = &temp6;
23471 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 23472 }
1bd55598
RD
23473 }
23474 if (obj6) {
23475 ecode7 = SWIG_AsVal_long(obj6, &val7);
23476 if (!SWIG_IsOK(ecode7)) {
23477 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23478 }
23479 arg7 = static_cast< long >(val7);
23480 }
23481 if (obj7) {
36ed4f51 23482 {
1bd55598
RD
23483 arg8 = wxString_in_helper(obj7);
23484 if (arg8 == NULL) SWIG_fail;
23485 temp8 = true;
36ed4f51 23486 }
1bd55598
RD
23487 }
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23496 }
23497 {
23498 if (temp4)
23499 delete arg4;
23500 }
23501 {
23502 if (temp8)
23503 delete arg8;
23504 }
23505 return resultobj;
23506fail:
23507 {
23508 if (temp4)
23509 delete arg4;
23510 }
23511 {
23512 if (temp8)
23513 delete arg8;
23514 }
23515 return NULL;
d55e5bfc
RD
23516}
23517
23518
1bd55598
RD
23519SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23520 PyObject *resultobj = 0;
23521 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23522 void *argp1 = 0 ;
23523 int res1 = 0 ;
23524 PyObject *swig_obj[1] ;
23525
23526 if (!args) SWIG_fail;
23527 swig_obj[0] = args;
23528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23529 if (!SWIG_IsOK(res1)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23531 }
23532 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 (arg1)->Activate();
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 resultobj = SWIG_Py_Void();
23540 return resultobj;
23541fail:
23542 return NULL;
d55e5bfc
RD
23543}
23544
23545
1bd55598
RD
23546SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23547 PyObject *obj;
23548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23549 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
23550 return SWIG_Py_Void();
d55e5bfc
RD
23551}
23552
1bd55598
RD
23553SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23554 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
23555}
23556
1bd55598
RD
23557SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj = 0;
23559 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23560 long arg2 = (long) 0 ;
23561 wxMDIClientWindow *result = 0 ;
23562 void *argp1 = 0 ;
23563 int res1 = 0 ;
23564 long val2 ;
23565 int ecode2 = 0 ;
23566 PyObject * obj0 = 0 ;
23567 PyObject * obj1 = 0 ;
23568 char * kwnames[] = {
23569 (char *) "parent",(char *) "style", NULL
23570 };
23571
23572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
23573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23574 if (!SWIG_IsOK(res1)) {
23575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23576 }
23577 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23578 if (obj1) {
23579 ecode2 = SWIG_AsVal_long(obj1, &val2);
23580 if (!SWIG_IsOK(ecode2)) {
23581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23582 }
23583 arg2 = static_cast< long >(val2);
23584 }
23585 {
23586 if (!wxPyCheckForApp()) SWIG_fail;
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
23593 return resultobj;
23594fail:
23595 return NULL;
d55e5bfc
RD
23596}
23597
23598
1bd55598
RD
23599SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23600 PyObject *resultobj = 0;
23601 wxMDIClientWindow *result = 0 ;
23602
23603 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
23604 {
23605 if (!wxPyCheckForApp()) SWIG_fail;
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = (wxMDIClientWindow *)new wxMDIClientWindow();
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
23612 return resultobj;
23613fail:
23614 return NULL;
23615}
23616
23617
23618SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj = 0;
23620 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
23621 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23622 long arg3 = (long) 0 ;
23623 bool result;
23624 void *argp1 = 0 ;
23625 int res1 = 0 ;
23626 void *argp2 = 0 ;
23627 int res2 = 0 ;
23628 long val3 ;
23629 int ecode3 = 0 ;
23630 PyObject * obj0 = 0 ;
23631 PyObject * obj1 = 0 ;
23632 PyObject * obj2 = 0 ;
23633 char * kwnames[] = {
23634 (char *) "self",(char *) "parent",(char *) "style", NULL
23635 };
23636
23637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
23639 if (!SWIG_IsOK(res1)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23641 }
23642 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
23643 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23644 if (!SWIG_IsOK(res2)) {
23645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23646 }
23647 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23648 if (obj2) {
23649 ecode3 = SWIG_AsVal_long(obj2, &val3);
23650 if (!SWIG_IsOK(ecode3)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23652 }
23653 arg3 = static_cast< long >(val3);
23654 }
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (bool)(arg1)->Create(arg2,arg3);
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 {
23662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23663 }
23664 return resultobj;
23665fail:
23666 return NULL;
23667}
23668
23669
23670SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23671 PyObject *obj;
23672 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23673 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
23674 return SWIG_Py_Void();
23675}
23676
23677SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23678 return SWIG_Python_InitShadowInstance(args);
23679}
23680
23681SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj = 0;
23683 wxWindow *arg1 = (wxWindow *) 0 ;
23684 int arg2 = (int) (int)-1 ;
23685 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23686 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23687 wxSize const &arg4_defvalue = wxDefaultSize ;
23688 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23689 long arg5 = (long) 0 ;
23690 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23691 wxString *arg6 = (wxString *) &arg6_defvalue ;
23692 wxPyWindow *result = 0 ;
23693 void *argp1 = 0 ;
23694 int res1 = 0 ;
23695 int val2 ;
23696 int ecode2 = 0 ;
23697 wxPoint temp3 ;
23698 wxSize temp4 ;
23699 long val5 ;
23700 int ecode5 = 0 ;
23701 bool temp6 = false ;
23702 PyObject * obj0 = 0 ;
23703 PyObject * obj1 = 0 ;
23704 PyObject * obj2 = 0 ;
23705 PyObject * obj3 = 0 ;
23706 PyObject * obj4 = 0 ;
23707 PyObject * obj5 = 0 ;
23708 char * kwnames[] = {
23709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23710 };
23711
23712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23714 if (!SWIG_IsOK(res1)) {
23715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23716 }
23717 arg1 = reinterpret_cast< wxWindow * >(argp1);
23718 if (obj1) {
23719 ecode2 = SWIG_AsVal_int(obj1, &val2);
23720 if (!SWIG_IsOK(ecode2)) {
23721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23722 }
23723 arg2 = static_cast< int >(val2);
23724 }
23725 if (obj2) {
32fe5131 23726 {
1bd55598
RD
23727 arg3 = &temp3;
23728 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 23729 }
1bd55598
RD
23730 }
23731 if (obj3) {
32fe5131 23732 {
1bd55598
RD
23733 arg4 = &temp4;
23734 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 23735 }
1bd55598
RD
23736 }
23737 if (obj4) {
23738 ecode5 = SWIG_AsVal_long(obj4, &val5);
23739 if (!SWIG_IsOK(ecode5)) {
23740 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23741 }
23742 arg5 = static_cast< long >(val5);
23743 }
23744 if (obj5) {
32fe5131 23745 {
1bd55598
RD
23746 arg6 = wxString_in_helper(obj5);
23747 if (arg6 == NULL) SWIG_fail;
23748 temp6 = true;
32fe5131 23749 }
1bd55598
RD
23750 }
23751 {
23752 if (!wxPyCheckForApp()) SWIG_fail;
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23755 wxPyEndAllowThreads(__tstate);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 }
23758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
23759 {
23760 if (temp6)
23761 delete arg6;
23762 }
23763 return resultobj;
23764fail:
23765 {
23766 if (temp6)
23767 delete arg6;
23768 }
23769 return NULL;
32fe5131
RD
23770}
23771
23772
1bd55598
RD
23773SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23774 PyObject *resultobj = 0;
23775 wxPyWindow *result = 0 ;
23776
23777 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
23778 {
23779 if (!wxPyCheckForApp()) SWIG_fail;
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 result = (wxPyWindow *)new wxPyWindow();
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
23786 return resultobj;
23787fail:
23788 return NULL;
23789}
23790
23791
23792SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj = 0;
23794 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23795 PyObject *arg2 = (PyObject *) 0 ;
23796 PyObject *arg3 = (PyObject *) 0 ;
23797 void *argp1 = 0 ;
23798 int res1 = 0 ;
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
23801 PyObject * obj2 = 0 ;
23802 char * kwnames[] = {
23803 (char *) "self",(char *) "self",(char *) "_class", NULL
23804 };
23805
23806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23808 if (!SWIG_IsOK(res1)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23810 }
23811 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23812 arg2 = obj1;
23813 arg3 = obj2;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->_setCallbackInfo(arg2,arg3);
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = SWIG_Py_Void();
23821 return resultobj;
23822fail:
23823 return NULL;
23824}
23825
23826
1bd55598
RD
23827SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj = 0;
23829 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23830 wxDC *arg2 = (wxDC *) 0 ;
23831 bool result;
23832 void *argp1 = 0 ;
23833 int res1 = 0 ;
23834 void *argp2 = 0 ;
23835 int res2 = 0 ;
23836 PyObject * obj0 = 0 ;
23837 PyObject * obj1 = 0 ;
23838 char * kwnames[] = {
23839 (char *) "self",(char *) "dc", NULL
23840 };
23841
23842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23844 if (!SWIG_IsOK(res1)) {
23845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23846 }
23847 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23849 if (!SWIG_IsOK(res2)) {
23850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23851 }
23852 arg2 = reinterpret_cast< wxDC * >(argp2);
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 result = (bool)(arg1)->DoEraseBackground(arg2);
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 {
23860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23861 }
23862 return resultobj;
23863fail:
23864 return NULL;
23865}
23866
23867
23868SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23869 PyObject *resultobj = 0;
23870 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23871 int arg2 ;
23872 int arg3 ;
23873 int arg4 ;
23874 int arg5 ;
23875 void *argp1 = 0 ;
23876 int res1 = 0 ;
23877 int val2 ;
23878 int ecode2 = 0 ;
23879 int val3 ;
23880 int ecode3 = 0 ;
23881 int val4 ;
23882 int ecode4 = 0 ;
23883 int val5 ;
23884 int ecode5 = 0 ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 PyObject * obj2 = 0 ;
23888 PyObject * obj3 = 0 ;
23889 PyObject * obj4 = 0 ;
23890 char * kwnames[] = {
23891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23892 };
23893
23894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23896 if (!SWIG_IsOK(res1)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23898 }
23899 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23900 ecode2 = SWIG_AsVal_int(obj1, &val2);
23901 if (!SWIG_IsOK(ecode2)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23903 }
23904 arg2 = static_cast< int >(val2);
23905 ecode3 = SWIG_AsVal_int(obj2, &val3);
23906 if (!SWIG_IsOK(ecode3)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23908 }
23909 arg3 = static_cast< int >(val3);
23910 ecode4 = SWIG_AsVal_int(obj3, &val4);
23911 if (!SWIG_IsOK(ecode4)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23913 }
23914 arg4 = static_cast< int >(val4);
23915 ecode5 = SWIG_AsVal_int(obj4, &val5);
23916 if (!SWIG_IsOK(ecode5)) {
23917 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23918 }
23919 arg5 = static_cast< int >(val5);
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
23926 resultobj = SWIG_Py_Void();
23927 return resultobj;
23928fail:
23929 return NULL;
23930}
23931
23932
23933SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23934 PyObject *resultobj = 0;
23935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23936 int arg2 ;
23937 int arg3 ;
23938 int arg4 ;
23939 int arg5 ;
23940 int arg6 = (int) wxSIZE_AUTO ;
23941 void *argp1 = 0 ;
23942 int res1 = 0 ;
23943 int val2 ;
23944 int ecode2 = 0 ;
23945 int val3 ;
23946 int ecode3 = 0 ;
23947 int val4 ;
23948 int ecode4 = 0 ;
23949 int val5 ;
23950 int ecode5 = 0 ;
23951 int val6 ;
23952 int ecode6 = 0 ;
23953 PyObject * obj0 = 0 ;
23954 PyObject * obj1 = 0 ;
23955 PyObject * obj2 = 0 ;
23956 PyObject * obj3 = 0 ;
23957 PyObject * obj4 = 0 ;
23958 PyObject * obj5 = 0 ;
23959 char * kwnames[] = {
23960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23961 };
23962
23963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23965 if (!SWIG_IsOK(res1)) {
23966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23967 }
23968 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23969 ecode2 = SWIG_AsVal_int(obj1, &val2);
23970 if (!SWIG_IsOK(ecode2)) {
23971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23972 }
23973 arg2 = static_cast< int >(val2);
23974 ecode3 = SWIG_AsVal_int(obj2, &val3);
23975 if (!SWIG_IsOK(ecode3)) {
23976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23977 }
23978 arg3 = static_cast< int >(val3);
23979 ecode4 = SWIG_AsVal_int(obj3, &val4);
23980 if (!SWIG_IsOK(ecode4)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23982 }
23983 arg4 = static_cast< int >(val4);
23984 ecode5 = SWIG_AsVal_int(obj4, &val5);
23985 if (!SWIG_IsOK(ecode5)) {
23986 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23987 }
23988 arg5 = static_cast< int >(val5);
23989 if (obj5) {
23990 ecode6 = SWIG_AsVal_int(obj5, &val6);
23991 if (!SWIG_IsOK(ecode6)) {
23992 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23993 }
23994 arg6 = static_cast< int >(val6);
23995 }
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23999 wxPyEndAllowThreads(__tstate);
24000 if (PyErr_Occurred()) SWIG_fail;
24001 }
24002 resultobj = SWIG_Py_Void();
24003 return resultobj;
24004fail:
24005 return NULL;
24006}
24007
24008
24009SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj = 0;
24011 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24012 int arg2 ;
24013 int arg3 ;
24014 void *argp1 = 0 ;
24015 int res1 = 0 ;
24016 int val2 ;
24017 int ecode2 = 0 ;
24018 int val3 ;
24019 int ecode3 = 0 ;
24020 PyObject * obj0 = 0 ;
24021 PyObject * obj1 = 0 ;
24022 PyObject * obj2 = 0 ;
24023 char * kwnames[] = {
24024 (char *) "self",(char *) "width",(char *) "height", NULL
24025 };
24026
24027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24029 if (!SWIG_IsOK(res1)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24031 }
24032 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24033 ecode2 = SWIG_AsVal_int(obj1, &val2);
24034 if (!SWIG_IsOK(ecode2)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24036 }
24037 arg2 = static_cast< int >(val2);
24038 ecode3 = SWIG_AsVal_int(obj2, &val3);
24039 if (!SWIG_IsOK(ecode3)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24041 }
24042 arg3 = static_cast< int >(val3);
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 (arg1)->DoSetClientSize(arg2,arg3);
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_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24057 PyObject *resultobj = 0;
24058 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24059 int arg2 ;
24060 int arg3 ;
24061 void *argp1 = 0 ;
24062 int res1 = 0 ;
24063 int val2 ;
24064 int ecode2 = 0 ;
24065 int val3 ;
24066 int ecode3 = 0 ;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 PyObject * obj2 = 0 ;
24070 char * kwnames[] = {
24071 (char *) "self",(char *) "x",(char *) "y", NULL
24072 };
24073
24074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24076 if (!SWIG_IsOK(res1)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24078 }
24079 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24080 ecode2 = SWIG_AsVal_int(obj1, &val2);
24081 if (!SWIG_IsOK(ecode2)) {
24082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24083 }
24084 arg2 = static_cast< int >(val2);
24085 ecode3 = SWIG_AsVal_int(obj2, &val3);
24086 if (!SWIG_IsOK(ecode3)) {
24087 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24088 }
24089 arg3 = static_cast< int >(val3);
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 (arg1)->DoSetVirtualSize(arg2,arg3);
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 resultobj = SWIG_Py_Void();
24097 return resultobj;
24098fail:
24099 return NULL;
24100}
24101
24102
24103SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24104 PyObject *resultobj = 0;
24105 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24106 int *arg2 = (int *) 0 ;
24107 int *arg3 = (int *) 0 ;
24108 void *argp1 = 0 ;
24109 int res1 = 0 ;
24110 int temp2 ;
24111 int res2 = SWIG_TMPOBJ ;
24112 int temp3 ;
24113 int res3 = SWIG_TMPOBJ ;
24114 PyObject *swig_obj[1] ;
24115
24116 arg2 = &temp2;
24117 arg3 = &temp3;
24118 if (!args) SWIG_fail;
24119 swig_obj[0] = args;
24120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24121 if (!SWIG_IsOK(res1)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24123 }
24124 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24125 {
24126 PyThreadState* __tstate = wxPyBeginAllowThreads();
24127 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 resultobj = SWIG_Py_Void();
24132 if (SWIG_IsTmpObj(res2)) {
24133 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24134 } else {
24135 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24136 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24137 }
24138 if (SWIG_IsTmpObj(res3)) {
24139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24140 } else {
24141 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24143 }
24144 return resultobj;
24145fail:
24146 return NULL;
24147}
24148
24149
24150SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24151 PyObject *resultobj = 0;
24152 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24153 int *arg2 = (int *) 0 ;
24154 int *arg3 = (int *) 0 ;
24155 void *argp1 = 0 ;
24156 int res1 = 0 ;
24157 int temp2 ;
24158 int res2 = SWIG_TMPOBJ ;
24159 int temp3 ;
24160 int res3 = SWIG_TMPOBJ ;
24161 PyObject *swig_obj[1] ;
24162
24163 arg2 = &temp2;
24164 arg3 = &temp3;
24165 if (!args) SWIG_fail;
24166 swig_obj[0] = args;
24167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24168 if (!SWIG_IsOK(res1)) {
24169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24170 }
24171 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 resultobj = SWIG_Py_Void();
24179 if (SWIG_IsTmpObj(res2)) {
24180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24181 } else {
24182 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24183 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24184 }
24185 if (SWIG_IsTmpObj(res3)) {
24186 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24187 } else {
24188 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24189 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24190 }
24191 return resultobj;
24192fail:
24193 return NULL;
24194}
24195
24196
24197SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24198 PyObject *resultobj = 0;
24199 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24200 int *arg2 = (int *) 0 ;
24201 int *arg3 = (int *) 0 ;
24202 void *argp1 = 0 ;
24203 int res1 = 0 ;
24204 int temp2 ;
24205 int res2 = SWIG_TMPOBJ ;
24206 int temp3 ;
24207 int res3 = SWIG_TMPOBJ ;
24208 PyObject *swig_obj[1] ;
24209
24210 arg2 = &temp2;
24211 arg3 = &temp3;
24212 if (!args) SWIG_fail;
24213 swig_obj[0] = args;
24214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24215 if (!SWIG_IsOK(res1)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24217 }
24218 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 resultobj = SWIG_Py_Void();
24226 if (SWIG_IsTmpObj(res2)) {
24227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24228 } else {
24229 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24231 }
24232 if (SWIG_IsTmpObj(res3)) {
24233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24234 } else {
24235 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24236 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24237 }
24238 return resultobj;
24239fail:
24240 return NULL;
d55e5bfc
RD
24241}
24242
24243
1bd55598
RD
24244SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24245 PyObject *resultobj = 0;
24246 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24247 wxSize 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_wxPyWindow, 0 | 0 );
24255 if (!SWIG_IsOK(res1)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24257 }
24258 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
24262 wxPyEndAllowThreads(__tstate);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24266 return resultobj;
24267fail:
24268 return NULL;
d55e5bfc
RD
24269}
24270
24271
1bd55598
RD
24272SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24273 PyObject *resultobj = 0;
24274 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24275 wxSize result;
24276 void *argp1 = 0 ;
24277 int res1 = 0 ;
24278 PyObject *swig_obj[1] ;
24279
24280 if (!args) SWIG_fail;
24281 swig_obj[0] = args;
24282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24283 if (!SWIG_IsOK(res1)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24285 }
24286 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24294 return resultobj;
24295fail:
24296 return NULL;
d55e5bfc
RD
24297}
24298
24299
1bd55598
RD
24300SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24301 PyObject *resultobj = 0;
24302 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24303 SwigValueWrapper<wxVisualAttributes > result;
24304 void *argp1 = 0 ;
24305 int res1 = 0 ;
24306 PyObject *swig_obj[1] ;
24307
24308 if (!args) SWIG_fail;
24309 swig_obj[0] = args;
24310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24311 if (!SWIG_IsOK(res1)) {
24312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24313 }
24314 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 result = (arg1)->GetDefaultAttributes();
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
24322 return resultobj;
24323fail:
24324 return NULL;
d55e5bfc
RD
24325}
24326
24327
1bd55598
RD
24328SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24329 PyObject *resultobj = 0;
24330 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24331 void *argp1 = 0 ;
24332 int res1 = 0 ;
24333 PyObject *swig_obj[1] ;
24334
24335 if (!args) SWIG_fail;
24336 swig_obj[0] = args;
24337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24338 if (!SWIG_IsOK(res1)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24340 }
24341 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 (arg1)->OnInternalIdle();
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 resultobj = SWIG_Py_Void();
24349 return resultobj;
24350fail:
24351 return NULL;
24352}
24353
24354
24355SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24356 PyObject *obj;
24357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24358 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
24359 return SWIG_Py_Void();
24360}
24361
24362SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24363 return SWIG_Python_InitShadowInstance(args);
24364}
24365
24366SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj = 0;
24368 wxWindow *arg1 = (wxWindow *) 0 ;
24369 int arg2 = (int) (int)-1 ;
24370 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24371 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24372 wxSize const &arg4_defvalue = wxDefaultSize ;
24373 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24374 long arg5 = (long) 0 ;
24375 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24376 wxString *arg6 = (wxString *) &arg6_defvalue ;
24377 wxPyPanel *result = 0 ;
24378 void *argp1 = 0 ;
24379 int res1 = 0 ;
24380 int val2 ;
24381 int ecode2 = 0 ;
24382 wxPoint temp3 ;
24383 wxSize temp4 ;
24384 long val5 ;
24385 int ecode5 = 0 ;
24386 bool temp6 = false ;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 PyObject * obj2 = 0 ;
24390 PyObject * obj3 = 0 ;
24391 PyObject * obj4 = 0 ;
24392 PyObject * obj5 = 0 ;
24393 char * kwnames[] = {
24394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24395 };
24396
24397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24399 if (!SWIG_IsOK(res1)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24401 }
24402 arg1 = reinterpret_cast< wxWindow * >(argp1);
24403 if (obj1) {
24404 ecode2 = SWIG_AsVal_int(obj1, &val2);
24405 if (!SWIG_IsOK(ecode2)) {
24406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24407 }
24408 arg2 = static_cast< int >(val2);
24409 }
24410 if (obj2) {
d55e5bfc 24411 {
1bd55598
RD
24412 arg3 = &temp3;
24413 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 24414 }
1bd55598
RD
24415 }
24416 if (obj3) {
d55e5bfc 24417 {
1bd55598
RD
24418 arg4 = &temp4;
24419 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 24420 }
1bd55598
RD
24421 }
24422 if (obj4) {
24423 ecode5 = SWIG_AsVal_long(obj4, &val5);
24424 if (!SWIG_IsOK(ecode5)) {
24425 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24426 }
24427 arg5 = static_cast< long >(val5);
24428 }
24429 if (obj5) {
d55e5bfc 24430 {
1bd55598
RD
24431 arg6 = wxString_in_helper(obj5);
24432 if (arg6 == NULL) SWIG_fail;
24433 temp6 = true;
d55e5bfc 24434 }
1bd55598
RD
24435 }
24436 {
24437 if (!wxPyCheckForApp()) SWIG_fail;
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24440 wxPyEndAllowThreads(__tstate);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
24444 {
24445 if (temp6)
24446 delete arg6;
24447 }
24448 return resultobj;
24449fail:
24450 {
24451 if (temp6)
24452 delete arg6;
24453 }
24454 return NULL;
d55e5bfc
RD
24455}
24456
24457
1bd55598
RD
24458SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24459 PyObject *resultobj = 0;
24460 wxPyPanel *result = 0 ;
24461
24462 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
24463 {
24464 if (!wxPyCheckForApp()) SWIG_fail;
24465 PyThreadState* __tstate = wxPyBeginAllowThreads();
24466 result = (wxPyPanel *)new wxPyPanel();
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
24471 return resultobj;
24472fail:
24473 return NULL;
24474}
24475
24476
24477SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj = 0;
24479 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24480 PyObject *arg2 = (PyObject *) 0 ;
24481 PyObject *arg3 = (PyObject *) 0 ;
24482 void *argp1 = 0 ;
24483 int res1 = 0 ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 PyObject * obj2 = 0 ;
24487 char * kwnames[] = {
24488 (char *) "self",(char *) "self",(char *) "_class", NULL
24489 };
24490
24491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24493 if (!SWIG_IsOK(res1)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24495 }
24496 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24497 arg2 = obj1;
24498 arg3 = obj2;
24499 {
24500 PyThreadState* __tstate = wxPyBeginAllowThreads();
24501 (arg1)->_setCallbackInfo(arg2,arg3);
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 resultobj = SWIG_Py_Void();
24506 return resultobj;
24507fail:
24508 return NULL;
24509}
24510
24511
1bd55598
RD
24512SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj = 0;
24514 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24515 wxDC *arg2 = (wxDC *) 0 ;
24516 bool result;
24517 void *argp1 = 0 ;
24518 int res1 = 0 ;
24519 void *argp2 = 0 ;
24520 int res2 = 0 ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char * kwnames[] = {
24524 (char *) "self",(char *) "dc", NULL
24525 };
24526
24527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24529 if (!SWIG_IsOK(res1)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24531 }
24532 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24533 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24534 if (!SWIG_IsOK(res2)) {
24535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24536 }
24537 arg2 = reinterpret_cast< wxDC * >(argp2);
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 result = (bool)(arg1)->DoEraseBackground(arg2);
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 {
24545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24546 }
24547 return resultobj;
24548fail:
24549 return NULL;
24550}
24551
24552
24553SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24554 PyObject *resultobj = 0;
24555 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24556 int arg2 ;
24557 int arg3 ;
24558 int arg4 ;
24559 int arg5 ;
24560 void *argp1 = 0 ;
24561 int res1 = 0 ;
24562 int val2 ;
24563 int ecode2 = 0 ;
24564 int val3 ;
24565 int ecode3 = 0 ;
24566 int val4 ;
24567 int ecode4 = 0 ;
24568 int val5 ;
24569 int ecode5 = 0 ;
24570 PyObject * obj0 = 0 ;
24571 PyObject * obj1 = 0 ;
24572 PyObject * obj2 = 0 ;
24573 PyObject * obj3 = 0 ;
24574 PyObject * obj4 = 0 ;
24575 char * kwnames[] = {
24576 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24577 };
24578
24579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24581 if (!SWIG_IsOK(res1)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24583 }
24584 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24585 ecode2 = SWIG_AsVal_int(obj1, &val2);
24586 if (!SWIG_IsOK(ecode2)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24588 }
24589 arg2 = static_cast< int >(val2);
24590 ecode3 = SWIG_AsVal_int(obj2, &val3);
24591 if (!SWIG_IsOK(ecode3)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24593 }
24594 arg3 = static_cast< int >(val3);
24595 ecode4 = SWIG_AsVal_int(obj3, &val4);
24596 if (!SWIG_IsOK(ecode4)) {
24597 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24598 }
24599 arg4 = static_cast< int >(val4);
24600 ecode5 = SWIG_AsVal_int(obj4, &val5);
24601 if (!SWIG_IsOK(ecode5)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24603 }
24604 arg5 = static_cast< int >(val5);
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 resultobj = SWIG_Py_Void();
24612 return resultobj;
24613fail:
24614 return NULL;
24615}
24616
24617
24618SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24619 PyObject *resultobj = 0;
24620 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24621 int arg2 ;
24622 int arg3 ;
24623 int arg4 ;
24624 int arg5 ;
24625 int arg6 = (int) wxSIZE_AUTO ;
24626 void *argp1 = 0 ;
24627 int res1 = 0 ;
24628 int val2 ;
24629 int ecode2 = 0 ;
24630 int val3 ;
24631 int ecode3 = 0 ;
24632 int val4 ;
24633 int ecode4 = 0 ;
24634 int val5 ;
24635 int ecode5 = 0 ;
24636 int val6 ;
24637 int ecode6 = 0 ;
24638 PyObject * obj0 = 0 ;
24639 PyObject * obj1 = 0 ;
24640 PyObject * obj2 = 0 ;
24641 PyObject * obj3 = 0 ;
24642 PyObject * obj4 = 0 ;
24643 PyObject * obj5 = 0 ;
24644 char * kwnames[] = {
24645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24646 };
24647
24648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24650 if (!SWIG_IsOK(res1)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24652 }
24653 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24654 ecode2 = SWIG_AsVal_int(obj1, &val2);
24655 if (!SWIG_IsOK(ecode2)) {
24656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24657 }
24658 arg2 = static_cast< int >(val2);
24659 ecode3 = SWIG_AsVal_int(obj2, &val3);
24660 if (!SWIG_IsOK(ecode3)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24662 }
24663 arg3 = static_cast< int >(val3);
24664 ecode4 = SWIG_AsVal_int(obj3, &val4);
24665 if (!SWIG_IsOK(ecode4)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24667 }
24668 arg4 = static_cast< int >(val4);
24669 ecode5 = SWIG_AsVal_int(obj4, &val5);
24670 if (!SWIG_IsOK(ecode5)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24672 }
24673 arg5 = static_cast< int >(val5);
24674 if (obj5) {
24675 ecode6 = SWIG_AsVal_int(obj5, &val6);
24676 if (!SWIG_IsOK(ecode6)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24678 }
24679 arg6 = static_cast< int >(val6);
24680 }
24681 {
24682 PyThreadState* __tstate = wxPyBeginAllowThreads();
24683 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 resultobj = SWIG_Py_Void();
24688 return resultobj;
24689fail:
24690 return NULL;
24691}
24692
24693
24694SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj = 0;
24696 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24697 int arg2 ;
24698 int arg3 ;
24699 void *argp1 = 0 ;
24700 int res1 = 0 ;
24701 int val2 ;
24702 int ecode2 = 0 ;
24703 int val3 ;
24704 int ecode3 = 0 ;
24705 PyObject * obj0 = 0 ;
24706 PyObject * obj1 = 0 ;
24707 PyObject * obj2 = 0 ;
24708 char * kwnames[] = {
24709 (char *) "self",(char *) "width",(char *) "height", NULL
24710 };
24711
24712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24714 if (!SWIG_IsOK(res1)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24716 }
24717 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24718 ecode2 = SWIG_AsVal_int(obj1, &val2);
24719 if (!SWIG_IsOK(ecode2)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24721 }
24722 arg2 = static_cast< int >(val2);
24723 ecode3 = SWIG_AsVal_int(obj2, &val3);
24724 if (!SWIG_IsOK(ecode3)) {
24725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24726 }
24727 arg3 = static_cast< int >(val3);
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->DoSetClientSize(arg2,arg3);
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 resultobj = SWIG_Py_Void();
24735 return resultobj;
24736fail:
24737 return NULL;
24738}
24739
24740
24741SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24742 PyObject *resultobj = 0;
24743 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24744 int arg2 ;
24745 int arg3 ;
24746 void *argp1 = 0 ;
24747 int res1 = 0 ;
24748 int val2 ;
24749 int ecode2 = 0 ;
24750 int val3 ;
24751 int ecode3 = 0 ;
24752 PyObject * obj0 = 0 ;
24753 PyObject * obj1 = 0 ;
24754 PyObject * obj2 = 0 ;
24755 char * kwnames[] = {
24756 (char *) "self",(char *) "x",(char *) "y", NULL
24757 };
24758
24759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24761 if (!SWIG_IsOK(res1)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24763 }
24764 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24765 ecode2 = SWIG_AsVal_int(obj1, &val2);
24766 if (!SWIG_IsOK(ecode2)) {
24767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24768 }
24769 arg2 = static_cast< int >(val2);
24770 ecode3 = SWIG_AsVal_int(obj2, &val3);
24771 if (!SWIG_IsOK(ecode3)) {
24772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24773 }
24774 arg3 = static_cast< int >(val3);
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 (arg1)->DoSetVirtualSize(arg2,arg3);
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 resultobj = SWIG_Py_Void();
24782 return resultobj;
24783fail:
24784 return NULL;
24785}
24786
24787
24788SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24789 PyObject *resultobj = 0;
24790 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24791 int *arg2 = (int *) 0 ;
24792 int *arg3 = (int *) 0 ;
24793 void *argp1 = 0 ;
24794 int res1 = 0 ;
24795 int temp2 ;
24796 int res2 = SWIG_TMPOBJ ;
24797 int temp3 ;
24798 int res3 = SWIG_TMPOBJ ;
24799 PyObject *swig_obj[1] ;
24800
24801 arg2 = &temp2;
24802 arg3 = &temp3;
24803 if (!args) SWIG_fail;
24804 swig_obj[0] = args;
24805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24806 if (!SWIG_IsOK(res1)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24808 }
24809 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 resultobj = SWIG_Py_Void();
24817 if (SWIG_IsTmpObj(res2)) {
24818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24819 } else {
24820 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24822 }
24823 if (SWIG_IsTmpObj(res3)) {
24824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24825 } else {
24826 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24828 }
24829 return resultobj;
24830fail:
24831 return NULL;
24832}
24833
24834
24835SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24836 PyObject *resultobj = 0;
24837 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24838 int *arg2 = (int *) 0 ;
24839 int *arg3 = (int *) 0 ;
24840 void *argp1 = 0 ;
24841 int res1 = 0 ;
24842 int temp2 ;
24843 int res2 = SWIG_TMPOBJ ;
24844 int temp3 ;
24845 int res3 = SWIG_TMPOBJ ;
24846 PyObject *swig_obj[1] ;
24847
24848 arg2 = &temp2;
24849 arg3 = &temp3;
24850 if (!args) SWIG_fail;
24851 swig_obj[0] = args;
24852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24853 if (!SWIG_IsOK(res1)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24855 }
24856 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
24860 wxPyEndAllowThreads(__tstate);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 resultobj = SWIG_Py_Void();
24864 if (SWIG_IsTmpObj(res2)) {
24865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24866 } else {
24867 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24869 }
24870 if (SWIG_IsTmpObj(res3)) {
24871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24872 } else {
24873 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24875 }
24876 return resultobj;
24877fail:
24878 return NULL;
24879}
24880
24881
24882SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24883 PyObject *resultobj = 0;
24884 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24885 int *arg2 = (int *) 0 ;
24886 int *arg3 = (int *) 0 ;
24887 void *argp1 = 0 ;
24888 int res1 = 0 ;
24889 int temp2 ;
24890 int res2 = SWIG_TMPOBJ ;
24891 int temp3 ;
24892 int res3 = SWIG_TMPOBJ ;
24893 PyObject *swig_obj[1] ;
24894
24895 arg2 = &temp2;
24896 arg3 = &temp3;
24897 if (!args) SWIG_fail;
24898 swig_obj[0] = args;
24899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24900 if (!SWIG_IsOK(res1)) {
24901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24902 }
24903 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 resultobj = SWIG_Py_Void();
24911 if (SWIG_IsTmpObj(res2)) {
24912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24913 } else {
24914 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24916 }
24917 if (SWIG_IsTmpObj(res3)) {
24918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24919 } else {
24920 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24922 }
24923 return resultobj;
24924fail:
24925 return NULL;
d55e5bfc
RD
24926}
24927
24928
1bd55598
RD
24929SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24930 PyObject *resultobj = 0;
24931 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24932 wxSize result;
24933 void *argp1 = 0 ;
24934 int res1 = 0 ;
24935 PyObject *swig_obj[1] ;
24936
24937 if (!args) SWIG_fail;
24938 swig_obj[0] = args;
24939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24940 if (!SWIG_IsOK(res1)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24942 }
24943 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
24950 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24951 return resultobj;
24952fail:
24953 return NULL;
d55e5bfc
RD
24954}
24955
24956
1bd55598
RD
24957SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24958 PyObject *resultobj = 0;
24959 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24960 wxSize result;
24961 void *argp1 = 0 ;
24962 int res1 = 0 ;
24963 PyObject *swig_obj[1] ;
24964
24965 if (!args) SWIG_fail;
24966 swig_obj[0] = args;
24967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24968 if (!SWIG_IsOK(res1)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24970 }
24971 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
24978 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24979 return resultobj;
24980fail:
24981 return NULL;
d55e5bfc
RD
24982}
24983
24984
1bd55598
RD
24985SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24986 PyObject *resultobj = 0;
24987 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24988 SwigValueWrapper<wxVisualAttributes > result;
24989 void *argp1 = 0 ;
24990 int res1 = 0 ;
24991 PyObject *swig_obj[1] ;
24992
24993 if (!args) SWIG_fail;
24994 swig_obj[0] = args;
24995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24996 if (!SWIG_IsOK(res1)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24998 }
24999 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25000 {
25001 PyThreadState* __tstate = wxPyBeginAllowThreads();
25002 result = (arg1)->GetDefaultAttributes();
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25007 return resultobj;
25008fail:
25009 return NULL;
d55e5bfc
RD
25010}
25011
25012
1bd55598
RD
25013SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25014 PyObject *resultobj = 0;
25015 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
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_wxPyPanel, 0 | 0 );
25023 if (!SWIG_IsOK(res1)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25025 }
25026 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->OnInternalIdle();
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 resultobj = SWIG_Py_Void();
25034 return resultobj;
25035fail:
25036 return NULL;
25037}
25038
25039
25040SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25041 PyObject *obj;
25042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
25044 return SWIG_Py_Void();
25045}
25046
25047SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25048 return SWIG_Python_InitShadowInstance(args);
25049}
25050
25051SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25052 PyObject *resultobj = 0;
25053 wxWindow *arg1 = (wxWindow *) 0 ;
25054 int arg2 = (int) (int)-1 ;
25055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25057 wxSize const &arg4_defvalue = wxDefaultSize ;
25058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25059 long arg5 = (long) 0 ;
25060 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25061 wxString *arg6 = (wxString *) &arg6_defvalue ;
25062 wxPyScrolledWindow *result = 0 ;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 int val2 ;
25066 int ecode2 = 0 ;
25067 wxPoint temp3 ;
25068 wxSize temp4 ;
25069 long val5 ;
25070 int ecode5 = 0 ;
25071 bool temp6 = false ;
25072 PyObject * obj0 = 0 ;
25073 PyObject * obj1 = 0 ;
25074 PyObject * obj2 = 0 ;
25075 PyObject * obj3 = 0 ;
25076 PyObject * obj4 = 0 ;
25077 PyObject * obj5 = 0 ;
25078 char * kwnames[] = {
25079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25080 };
25081
25082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25084 if (!SWIG_IsOK(res1)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25086 }
25087 arg1 = reinterpret_cast< wxWindow * >(argp1);
25088 if (obj1) {
25089 ecode2 = SWIG_AsVal_int(obj1, &val2);
25090 if (!SWIG_IsOK(ecode2)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25092 }
25093 arg2 = static_cast< int >(val2);
25094 }
25095 if (obj2) {
d55e5bfc 25096 {
1bd55598
RD
25097 arg3 = &temp3;
25098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25099 }
1bd55598
RD
25100 }
25101 if (obj3) {
d55e5bfc 25102 {
1bd55598
RD
25103 arg4 = &temp4;
25104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 25105 }
1bd55598
RD
25106 }
25107 if (obj4) {
25108 ecode5 = SWIG_AsVal_long(obj4, &val5);
25109 if (!SWIG_IsOK(ecode5)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25111 }
25112 arg5 = static_cast< long >(val5);
25113 }
25114 if (obj5) {
d55e5bfc 25115 {
1bd55598
RD
25116 arg6 = wxString_in_helper(obj5);
25117 if (arg6 == NULL) SWIG_fail;
25118 temp6 = true;
d55e5bfc 25119 }
1bd55598
RD
25120 }
25121 {
25122 if (!wxPyCheckForApp()) SWIG_fail;
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
25129 {
25130 if (temp6)
25131 delete arg6;
25132 }
25133 return resultobj;
25134fail:
25135 {
25136 if (temp6)
25137 delete arg6;
25138 }
25139 return NULL;
d55e5bfc
RD
25140}
25141
25142
1bd55598
RD
25143SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25144 PyObject *resultobj = 0;
25145 wxPyScrolledWindow *result = 0 ;
25146
25147 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
25148 {
25149 if (!wxPyCheckForApp()) SWIG_fail;
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
25152 wxPyEndAllowThreads(__tstate);
25153 if (PyErr_Occurred()) SWIG_fail;
25154 }
25155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
25156 return resultobj;
25157fail:
25158 return NULL;
25159}
25160
25161
25162SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25163 PyObject *resultobj = 0;
25164 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25165 PyObject *arg2 = (PyObject *) 0 ;
25166 PyObject *arg3 = (PyObject *) 0 ;
25167 void *argp1 = 0 ;
25168 int res1 = 0 ;
25169 PyObject * obj0 = 0 ;
25170 PyObject * obj1 = 0 ;
25171 PyObject * obj2 = 0 ;
25172 char * kwnames[] = {
25173 (char *) "self",(char *) "self",(char *) "_class", NULL
25174 };
25175
25176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25178 if (!SWIG_IsOK(res1)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25180 }
25181 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25182 arg2 = obj1;
25183 arg3 = obj2;
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 (arg1)->_setCallbackInfo(arg2,arg3);
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 resultobj = SWIG_Py_Void();
25191 return resultobj;
25192fail:
25193 return NULL;
25194}
25195
25196
1bd55598
RD
25197SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj = 0;
25199 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25200 wxDC *arg2 = (wxDC *) 0 ;
25201 bool result;
25202 void *argp1 = 0 ;
25203 int res1 = 0 ;
25204 void *argp2 = 0 ;
25205 int res2 = 0 ;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 char * kwnames[] = {
25209 (char *) "self",(char *) "dc", NULL
25210 };
25211
25212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
25213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25214 if (!SWIG_IsOK(res1)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25216 }
25217 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
25219 if (!SWIG_IsOK(res2)) {
25220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25221 }
25222 arg2 = reinterpret_cast< wxDC * >(argp2);
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 result = (bool)(arg1)->DoEraseBackground(arg2);
25226 wxPyEndAllowThreads(__tstate);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 {
25230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25231 }
25232 return resultobj;
25233fail:
25234 return NULL;
25235}
25236
25237
25238SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj = 0;
25240 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25241 int arg2 ;
25242 int arg3 ;
25243 int arg4 ;
25244 int arg5 ;
25245 void *argp1 = 0 ;
25246 int res1 = 0 ;
25247 int val2 ;
25248 int ecode2 = 0 ;
25249 int val3 ;
25250 int ecode3 = 0 ;
25251 int val4 ;
25252 int ecode4 = 0 ;
25253 int val5 ;
25254 int ecode5 = 0 ;
25255 PyObject * obj0 = 0 ;
25256 PyObject * obj1 = 0 ;
25257 PyObject * obj2 = 0 ;
25258 PyObject * obj3 = 0 ;
25259 PyObject * obj4 = 0 ;
25260 char * kwnames[] = {
25261 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25262 };
25263
25264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
25265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25266 if (!SWIG_IsOK(res1)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25268 }
25269 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25270 ecode2 = SWIG_AsVal_int(obj1, &val2);
25271 if (!SWIG_IsOK(ecode2)) {
25272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25273 }
25274 arg2 = static_cast< int >(val2);
25275 ecode3 = SWIG_AsVal_int(obj2, &val3);
25276 if (!SWIG_IsOK(ecode3)) {
25277 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25278 }
25279 arg3 = static_cast< int >(val3);
25280 ecode4 = SWIG_AsVal_int(obj3, &val4);
25281 if (!SWIG_IsOK(ecode4)) {
25282 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25283 }
25284 arg4 = static_cast< int >(val4);
25285 ecode5 = SWIG_AsVal_int(obj4, &val5);
25286 if (!SWIG_IsOK(ecode5)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25288 }
25289 arg5 = static_cast< int >(val5);
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = SWIG_Py_Void();
25297 return resultobj;
25298fail:
25299 return NULL;
25300}
25301
25302
25303SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj = 0;
25305 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25306 int arg2 ;
25307 int arg3 ;
25308 int arg4 ;
25309 int arg5 ;
25310 int arg6 = (int) wxSIZE_AUTO ;
25311 void *argp1 = 0 ;
25312 int res1 = 0 ;
25313 int val2 ;
25314 int ecode2 = 0 ;
25315 int val3 ;
25316 int ecode3 = 0 ;
25317 int val4 ;
25318 int ecode4 = 0 ;
25319 int val5 ;
25320 int ecode5 = 0 ;
25321 int val6 ;
25322 int ecode6 = 0 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 PyObject * obj2 = 0 ;
25326 PyObject * obj3 = 0 ;
25327 PyObject * obj4 = 0 ;
25328 PyObject * obj5 = 0 ;
25329 char * kwnames[] = {
25330 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25331 };
25332
25333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25335 if (!SWIG_IsOK(res1)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25337 }
25338 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25339 ecode2 = SWIG_AsVal_int(obj1, &val2);
25340 if (!SWIG_IsOK(ecode2)) {
25341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25342 }
25343 arg2 = static_cast< int >(val2);
25344 ecode3 = SWIG_AsVal_int(obj2, &val3);
25345 if (!SWIG_IsOK(ecode3)) {
25346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25347 }
25348 arg3 = static_cast< int >(val3);
25349 ecode4 = SWIG_AsVal_int(obj3, &val4);
25350 if (!SWIG_IsOK(ecode4)) {
25351 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25352 }
25353 arg4 = static_cast< int >(val4);
25354 ecode5 = SWIG_AsVal_int(obj4, &val5);
25355 if (!SWIG_IsOK(ecode5)) {
25356 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25357 }
25358 arg5 = static_cast< int >(val5);
25359 if (obj5) {
25360 ecode6 = SWIG_AsVal_int(obj5, &val6);
25361 if (!SWIG_IsOK(ecode6)) {
25362 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25363 }
25364 arg6 = static_cast< int >(val6);
25365 }
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = SWIG_Py_Void();
25373 return resultobj;
25374fail:
25375 return NULL;
25376}
25377
25378
25379SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj = 0;
25381 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25382 int arg2 ;
25383 int arg3 ;
25384 void *argp1 = 0 ;
25385 int res1 = 0 ;
25386 int val2 ;
25387 int ecode2 = 0 ;
25388 int val3 ;
25389 int ecode3 = 0 ;
25390 PyObject * obj0 = 0 ;
25391 PyObject * obj1 = 0 ;
25392 PyObject * obj2 = 0 ;
25393 char * kwnames[] = {
25394 (char *) "self",(char *) "width",(char *) "height", NULL
25395 };
25396
25397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25399 if (!SWIG_IsOK(res1)) {
25400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25401 }
25402 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25403 ecode2 = SWIG_AsVal_int(obj1, &val2);
25404 if (!SWIG_IsOK(ecode2)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25406 }
25407 arg2 = static_cast< int >(val2);
25408 ecode3 = SWIG_AsVal_int(obj2, &val3);
25409 if (!SWIG_IsOK(ecode3)) {
25410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25411 }
25412 arg3 = static_cast< int >(val3);
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->DoSetClientSize(arg2,arg3);
25416 wxPyEndAllowThreads(__tstate);
25417 if (PyErr_Occurred()) SWIG_fail;
25418 }
25419 resultobj = SWIG_Py_Void();
25420 return resultobj;
25421fail:
25422 return NULL;
25423}
25424
25425
25426SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25427 PyObject *resultobj = 0;
25428 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25429 int arg2 ;
25430 int arg3 ;
25431 void *argp1 = 0 ;
25432 int res1 = 0 ;
25433 int val2 ;
25434 int ecode2 = 0 ;
25435 int val3 ;
25436 int ecode3 = 0 ;
25437 PyObject * obj0 = 0 ;
25438 PyObject * obj1 = 0 ;
25439 PyObject * obj2 = 0 ;
25440 char * kwnames[] = {
25441 (char *) "self",(char *) "x",(char *) "y", NULL
25442 };
25443
25444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25446 if (!SWIG_IsOK(res1)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25448 }
25449 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25450 ecode2 = SWIG_AsVal_int(obj1, &val2);
25451 if (!SWIG_IsOK(ecode2)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25453 }
25454 arg2 = static_cast< int >(val2);
25455 ecode3 = SWIG_AsVal_int(obj2, &val3);
25456 if (!SWIG_IsOK(ecode3)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25458 }
25459 arg3 = static_cast< int >(val3);
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->DoSetVirtualSize(arg2,arg3);
25463 wxPyEndAllowThreads(__tstate);
25464 if (PyErr_Occurred()) SWIG_fail;
25465 }
25466 resultobj = SWIG_Py_Void();
25467 return resultobj;
25468fail:
25469 return NULL;
25470}
25471
25472
25473SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25474 PyObject *resultobj = 0;
25475 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25476 int *arg2 = (int *) 0 ;
25477 int *arg3 = (int *) 0 ;
25478 void *argp1 = 0 ;
25479 int res1 = 0 ;
25480 int temp2 ;
25481 int res2 = SWIG_TMPOBJ ;
25482 int temp3 ;
25483 int res3 = SWIG_TMPOBJ ;
25484 PyObject *swig_obj[1] ;
25485
25486 arg2 = &temp2;
25487 arg3 = &temp3;
25488 if (!args) SWIG_fail;
25489 swig_obj[0] = args;
25490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25491 if (!SWIG_IsOK(res1)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25493 }
25494 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 resultobj = SWIG_Py_Void();
25502 if (SWIG_IsTmpObj(res2)) {
25503 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25504 } else {
25505 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25506 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25507 }
25508 if (SWIG_IsTmpObj(res3)) {
25509 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25510 } else {
25511 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25512 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25513 }
25514 return resultobj;
25515fail:
25516 return NULL;
25517}
25518
25519
25520SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25521 PyObject *resultobj = 0;
25522 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25523 int *arg2 = (int *) 0 ;
25524 int *arg3 = (int *) 0 ;
25525 void *argp1 = 0 ;
25526 int res1 = 0 ;
25527 int temp2 ;
25528 int res2 = SWIG_TMPOBJ ;
25529 int temp3 ;
25530 int res3 = SWIG_TMPOBJ ;
25531 PyObject *swig_obj[1] ;
25532
25533 arg2 = &temp2;
25534 arg3 = &temp3;
25535 if (!args) SWIG_fail;
25536 swig_obj[0] = args;
25537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25538 if (!SWIG_IsOK(res1)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25540 }
25541 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 resultobj = SWIG_Py_Void();
25549 if (SWIG_IsTmpObj(res2)) {
25550 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25551 } else {
25552 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25554 }
25555 if (SWIG_IsTmpObj(res3)) {
25556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25557 } else {
25558 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25560 }
25561 return resultobj;
25562fail:
25563 return NULL;
25564}
25565
25566
25567SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25568 PyObject *resultobj = 0;
25569 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25570 int *arg2 = (int *) 0 ;
25571 int *arg3 = (int *) 0 ;
25572 void *argp1 = 0 ;
25573 int res1 = 0 ;
25574 int temp2 ;
25575 int res2 = SWIG_TMPOBJ ;
25576 int temp3 ;
25577 int res3 = SWIG_TMPOBJ ;
25578 PyObject *swig_obj[1] ;
25579
25580 arg2 = &temp2;
25581 arg3 = &temp3;
25582 if (!args) SWIG_fail;
25583 swig_obj[0] = args;
25584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25585 if (!SWIG_IsOK(res1)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25587 }
25588 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25589 {
25590 PyThreadState* __tstate = wxPyBeginAllowThreads();
25591 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 resultobj = SWIG_Py_Void();
25596 if (SWIG_IsTmpObj(res2)) {
25597 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25598 } else {
25599 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25600 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25601 }
25602 if (SWIG_IsTmpObj(res3)) {
25603 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25604 } else {
25605 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25606 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25607 }
25608 return resultobj;
25609fail:
25610 return NULL;
d55e5bfc
RD
25611}
25612
25613
1bd55598
RD
25614SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25615 PyObject *resultobj = 0;
25616 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25617 wxSize result;
25618 void *argp1 = 0 ;
25619 int res1 = 0 ;
25620 PyObject *swig_obj[1] ;
25621
25622 if (!args) SWIG_fail;
25623 swig_obj[0] = args;
25624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25625 if (!SWIG_IsOK(res1)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25627 }
25628 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25636 return resultobj;
25637fail:
25638 return NULL;
d55e5bfc
RD
25639}
25640
25641
1bd55598
RD
25642SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25643 PyObject *resultobj = 0;
25644 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25645 wxSize result;
25646 void *argp1 = 0 ;
25647 int res1 = 0 ;
25648 PyObject *swig_obj[1] ;
25649
25650 if (!args) SWIG_fail;
25651 swig_obj[0] = args;
25652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25653 if (!SWIG_IsOK(res1)) {
25654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25655 }
25656 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25664 return resultobj;
25665fail:
25666 return NULL;
d55e5bfc
RD
25667}
25668
25669
1bd55598
RD
25670SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25671 PyObject *resultobj = 0;
25672 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25673 SwigValueWrapper<wxVisualAttributes > result;
25674 void *argp1 = 0 ;
25675 int res1 = 0 ;
25676 PyObject *swig_obj[1] ;
25677
25678 if (!args) SWIG_fail;
25679 swig_obj[0] = args;
25680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25681 if (!SWIG_IsOK(res1)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25683 }
25684 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 result = (arg1)->GetDefaultAttributes();
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25692 return resultobj;
25693fail:
25694 return NULL;
d55e5bfc
RD
25695}
25696
25697
1bd55598
RD
25698SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25699 PyObject *resultobj = 0;
25700 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25701 void *argp1 = 0 ;
25702 int res1 = 0 ;
25703 PyObject *swig_obj[1] ;
25704
25705 if (!args) SWIG_fail;
25706 swig_obj[0] = args;
25707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25708 if (!SWIG_IsOK(res1)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25710 }
25711 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 (arg1)->OnInternalIdle();
25715 wxPyEndAllowThreads(__tstate);
25716 if (PyErr_Occurred()) SWIG_fail;
25717 }
25718 resultobj = SWIG_Py_Void();
25719 return resultobj;
25720fail:
25721 return NULL;
d55e5bfc
RD
25722}
25723
25724
1bd55598
RD
25725SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25726 PyObject *obj;
25727 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25728 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
25729 return SWIG_Py_Void();
d55e5bfc
RD
25730}
25731
1bd55598
RD
25732SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25733 return SWIG_Python_InitShadowInstance(args);
25734}
d55e5bfc 25735
1bd55598
RD
25736SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
25737 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
25738 return 1;
d55e5bfc
RD
25739}
25740
25741
1bd55598
RD
25742SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
25743 PyObject *pyobj = 0;
25744
25745 {
d55e5bfc 25746#if wxUSE_UNICODE
1bd55598 25747 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 25748#else
1bd55598 25749 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 25750#endif
1bd55598
RD
25751 }
25752 return pyobj;
d55e5bfc
RD
25753}
25754
25755
1bd55598
RD
25756SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
25757 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
25758 return 1;
25759}
25760
25761
25762SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
25763 PyObject *pyobj = 0;
25764
25765 {
d55e5bfc 25766#if wxUSE_UNICODE
1bd55598 25767 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 25768#else
1bd55598 25769 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 25770#endif
1bd55598
RD
25771 }
25772 return pyobj;
d55e5bfc
RD
25773}
25774
25775
1bd55598
RD
25776SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25777 PyObject *resultobj = 0;
25778 wxPrintData *result = 0 ;
25779
25780 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 result = (wxPrintData *)new wxPrintData();
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25788 return resultobj;
25789fail:
25790 return NULL;
d55e5bfc
RD
25791}
25792
25793
1bd55598
RD
25794SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25795 PyObject *resultobj = 0;
25796 wxPrintData *arg1 = 0 ;
25797 wxPrintData *result = 0 ;
25798 void *argp1 = 0 ;
25799 int res1 = 0 ;
25800
25801 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25803 if (!SWIG_IsOK(res1)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25805 }
25806 if (!argp1) {
25807 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25808 }
25809 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25817 return resultobj;
25818fail:
25819 return NULL;
d55e5bfc
RD
25820}
25821
25822
1bd55598
RD
25823SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
25824 int argc;
25825 PyObject *argv[2];
25826
25827 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
25828 --argc;
25829 if (argc == 0) {
25830 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
25831 }
25832 if (argc == 1) {
25833 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
25834 }
25835
25836fail:
25837 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
25838 return NULL;
d55e5bfc
RD
25839}
25840
25841
1bd55598
RD
25842SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25843 PyObject *resultobj = 0;
25844 wxPrintData *arg1 = (wxPrintData *) 0 ;
25845 void *argp1 = 0 ;
25846 int res1 = 0 ;
25847 PyObject *swig_obj[1] ;
25848
25849 if (!args) SWIG_fail;
25850 swig_obj[0] = args;
25851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
25852 if (!SWIG_IsOK(res1)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25854 }
25855 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 delete arg1;
d55e5bfc 25859
1bd55598
RD
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 resultobj = SWIG_Py_Void();
25864 return resultobj;
25865fail:
25866 return NULL;
d55e5bfc
RD
25867}
25868
25869
1bd55598
RD
25870SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25871 PyObject *resultobj = 0;
25872 wxPrintData *arg1 = (wxPrintData *) 0 ;
25873 int result;
25874 void *argp1 = 0 ;
25875 int res1 = 0 ;
25876 PyObject *swig_obj[1] ;
25877
25878 if (!args) SWIG_fail;
25879 swig_obj[0] = args;
25880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25881 if (!SWIG_IsOK(res1)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
25883 }
25884 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (int)(arg1)->GetNoCopies();
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 resultobj = SWIG_From_int(static_cast< int >(result));
25892 return resultobj;
25893fail:
25894 return NULL;
d55e5bfc
RD
25895}
25896
25897
1bd55598
RD
25898SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25899 PyObject *resultobj = 0;
25900 wxPrintData *arg1 = (wxPrintData *) 0 ;
25901 bool result;
25902 void *argp1 = 0 ;
25903 int res1 = 0 ;
25904 PyObject *swig_obj[1] ;
25905
25906 if (!args) SWIG_fail;
25907 swig_obj[0] = args;
25908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25909 if (!SWIG_IsOK(res1)) {
25910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
25911 }
25912 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25913 {
25914 PyThreadState* __tstate = wxPyBeginAllowThreads();
25915 result = (bool)(arg1)->GetCollate();
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 {
25920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25921 }
25922 return resultobj;
25923fail:
25924 return NULL;
d55e5bfc
RD
25925}
25926
25927
1bd55598
RD
25928SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25929 PyObject *resultobj = 0;
25930 wxPrintData *arg1 = (wxPrintData *) 0 ;
25931 int result;
25932 void *argp1 = 0 ;
25933 int res1 = 0 ;
25934 PyObject *swig_obj[1] ;
25935
25936 if (!args) SWIG_fail;
25937 swig_obj[0] = args;
25938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25939 if (!SWIG_IsOK(res1)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
25941 }
25942 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 result = (int)(arg1)->GetOrientation();
25946 wxPyEndAllowThreads(__tstate);
25947 if (PyErr_Occurred()) SWIG_fail;
25948 }
25949 resultobj = SWIG_From_int(static_cast< int >(result));
25950 return resultobj;
25951fail:
25952 return NULL;
d55e5bfc
RD
25953}
25954
25955
5172800e
RD
25956SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25957 PyObject *resultobj = 0;
25958 wxPrintData *arg1 = (wxPrintData *) 0 ;
25959 bool result;
25960 void *argp1 = 0 ;
25961 int res1 = 0 ;
25962 PyObject *swig_obj[1] ;
25963
25964 if (!args) SWIG_fail;
25965 swig_obj[0] = args;
25966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25967 if (!SWIG_IsOK(res1)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
25969 }
25970 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 {
25978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25979 }
25980 return resultobj;
25981fail:
25982 return NULL;
25983}
25984
25985
b39fe951 25986SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
25987 PyObject *resultobj = 0;
25988 wxPrintData *arg1 = (wxPrintData *) 0 ;
25989 bool result;
25990 void *argp1 = 0 ;
25991 int res1 = 0 ;
25992 PyObject *swig_obj[1] ;
25993
25994 if (!args) SWIG_fail;
25995 swig_obj[0] = args;
25996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25997 if (!SWIG_IsOK(res1)) {
b39fe951 25998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
1bd55598
RD
25999 }
26000 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26001 {
26002 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 26003 result = (bool)(arg1)->IsOk();
1bd55598
RD
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
26007 {
26008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26009 }
26010 return resultobj;
26011fail:
26012 return NULL;
d55e5bfc
RD
26013}
26014
26015
1bd55598
RD
26016SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26017 PyObject *resultobj = 0;
26018 wxPrintData *arg1 = (wxPrintData *) 0 ;
26019 wxString *result = 0 ;
26020 void *argp1 = 0 ;
26021 int res1 = 0 ;
26022 PyObject *swig_obj[1] ;
26023
26024 if (!args) SWIG_fail;
26025 swig_obj[0] = args;
26026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26027 if (!SWIG_IsOK(res1)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26029 }
26030 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26033 {
1bd55598
RD
26034 wxString const &_result_ref = (arg1)->GetPrinterName();
26035 result = (wxString *) &_result_ref;
d55e5bfc 26036 }
1bd55598
RD
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 {
d55e5bfc 26041#if wxUSE_UNICODE
1bd55598 26042 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 26043#else
1bd55598 26044 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 26045#endif
1bd55598
RD
26046 }
26047 return resultobj;
26048fail:
26049 return NULL;
d55e5bfc
RD
26050}
26051
26052
1bd55598
RD
26053SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26054 PyObject *resultobj = 0;
26055 wxPrintData *arg1 = (wxPrintData *) 0 ;
26056 bool result;
26057 void *argp1 = 0 ;
26058 int res1 = 0 ;
26059 PyObject *swig_obj[1] ;
26060
26061 if (!args) SWIG_fail;
26062 swig_obj[0] = args;
26063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26064 if (!SWIG_IsOK(res1)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26066 }
26067 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
26070 result = (bool)(arg1)->GetColour();
26071 wxPyEndAllowThreads(__tstate);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
26074 {
26075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26076 }
26077 return resultobj;
26078fail:
26079 return NULL;
d55e5bfc
RD
26080}
26081
26082
1bd55598
RD
26083SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26084 PyObject *resultobj = 0;
26085 wxPrintData *arg1 = (wxPrintData *) 0 ;
26086 wxDuplexMode result;
26087 void *argp1 = 0 ;
26088 int res1 = 0 ;
26089 PyObject *swig_obj[1] ;
26090
26091 if (!args) SWIG_fail;
26092 swig_obj[0] = args;
26093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26094 if (!SWIG_IsOK(res1)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26096 }
26097 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 result = (wxDuplexMode)(arg1)->GetDuplex();
26101 wxPyEndAllowThreads(__tstate);
26102 if (PyErr_Occurred()) SWIG_fail;
26103 }
26104 resultobj = SWIG_From_int(static_cast< int >(result));
26105 return resultobj;
26106fail:
26107 return NULL;
d55e5bfc
RD
26108}
26109
26110
1bd55598
RD
26111SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26112 PyObject *resultobj = 0;
26113 wxPrintData *arg1 = (wxPrintData *) 0 ;
26114 wxPaperSize result;
26115 void *argp1 = 0 ;
26116 int res1 = 0 ;
26117 PyObject *swig_obj[1] ;
26118
26119 if (!args) SWIG_fail;
26120 swig_obj[0] = args;
26121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26122 if (!SWIG_IsOK(res1)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26124 }
26125 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = (wxPaperSize)(arg1)->GetPaperId();
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 resultobj = SWIG_From_int(static_cast< int >(result));
26133 return resultobj;
26134fail:
26135 return NULL;
070c48b4
RD
26136}
26137
26138
1bd55598
RD
26139SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26140 PyObject *resultobj = 0;
26141 wxPrintData *arg1 = (wxPrintData *) 0 ;
26142 wxSize *result = 0 ;
26143 void *argp1 = 0 ;
26144 int res1 = 0 ;
26145 PyObject *swig_obj[1] ;
26146
26147 if (!args) SWIG_fail;
26148 swig_obj[0] = args;
26149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26150 if (!SWIG_IsOK(res1)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26152 }
26153 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 26156 {
1bd55598
RD
26157 wxSize const &_result_ref = (arg1)->GetPaperSize();
26158 result = (wxSize *) &_result_ref;
070c48b4 26159 }
1bd55598
RD
26160 wxPyEndAllowThreads(__tstate);
26161 if (PyErr_Occurred()) SWIG_fail;
26162 }
26163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
26164 return resultobj;
26165fail:
26166 return NULL;
d55e5bfc
RD
26167}
26168
26169
1bd55598
RD
26170SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26171 PyObject *resultobj = 0;
26172 wxPrintData *arg1 = (wxPrintData *) 0 ;
26173 int result;
26174 void *argp1 = 0 ;
26175 int res1 = 0 ;
26176 PyObject *swig_obj[1] ;
26177
26178 if (!args) SWIG_fail;
26179 swig_obj[0] = args;
26180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26181 if (!SWIG_IsOK(res1)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26183 }
26184 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26185 {
26186 PyThreadState* __tstate = wxPyBeginAllowThreads();
26187 result = (int)(arg1)->GetQuality();
26188 wxPyEndAllowThreads(__tstate);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 }
26191 resultobj = SWIG_From_int(static_cast< int >(result));
26192 return resultobj;
26193fail:
26194 return NULL;
d55e5bfc
RD
26195}
26196
26197
1bd55598
RD
26198SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26199 PyObject *resultobj = 0;
26200 wxPrintData *arg1 = (wxPrintData *) 0 ;
26201 wxPrintBin result;
26202 void *argp1 = 0 ;
26203 int res1 = 0 ;
26204 PyObject *swig_obj[1] ;
26205
26206 if (!args) SWIG_fail;
26207 swig_obj[0] = args;
26208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26209 if (!SWIG_IsOK(res1)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26211 }
26212 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (wxPrintBin)(arg1)->GetBin();
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 resultobj = SWIG_From_int(static_cast< int >(result));
26220 return resultobj;
26221fail:
26222 return NULL;
d55e5bfc
RD
26223}
26224
26225
1bd55598
RD
26226SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26227 PyObject *resultobj = 0;
26228 wxPrintData *arg1 = (wxPrintData *) 0 ;
26229 wxPrintMode result;
26230 void *argp1 = 0 ;
26231 int res1 = 0 ;
26232 PyObject *swig_obj[1] ;
26233
26234 if (!args) SWIG_fail;
26235 swig_obj[0] = args;
26236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26237 if (!SWIG_IsOK(res1)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26239 }
26240 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
26247 resultobj = SWIG_From_int(static_cast< int >(result));
26248 return resultobj;
26249fail:
26250 return NULL;
26251}
26252
26253
8f514ab4
RD
26254SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26255 PyObject *resultobj = 0;
26256 wxPrintData *arg1 = (wxPrintData *) 0 ;
26257 int result;
26258 void *argp1 = 0 ;
26259 int res1 = 0 ;
26260 PyObject *swig_obj[1] ;
26261
26262 if (!args) SWIG_fail;
26263 swig_obj[0] = args;
26264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26265 if (!SWIG_IsOK(res1)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26267 }
26268 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26269 {
26270 PyThreadState* __tstate = wxPyBeginAllowThreads();
26271 result = (int)((wxPrintData const *)arg1)->GetMedia();
26272 wxPyEndAllowThreads(__tstate);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
26275 resultobj = SWIG_From_int(static_cast< int >(result));
26276 return resultobj;
26277fail:
26278 return NULL;
26279}
26280
26281
1bd55598
RD
26282SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26283 PyObject *resultobj = 0;
26284 wxPrintData *arg1 = (wxPrintData *) 0 ;
26285 int arg2 ;
26286 void *argp1 = 0 ;
26287 int res1 = 0 ;
26288 int val2 ;
26289 int ecode2 = 0 ;
26290 PyObject * obj0 = 0 ;
26291 PyObject * obj1 = 0 ;
26292 char * kwnames[] = {
26293 (char *) "self",(char *) "v", NULL
26294 };
26295
26296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26298 if (!SWIG_IsOK(res1)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26300 }
26301 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26302 ecode2 = SWIG_AsVal_int(obj1, &val2);
26303 if (!SWIG_IsOK(ecode2)) {
26304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26305 }
26306 arg2 = static_cast< int >(val2);
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 (arg1)->SetNoCopies(arg2);
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 resultobj = SWIG_Py_Void();
26314 return resultobj;
26315fail:
26316 return NULL;
26317}
26318
26319
26320SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26321 PyObject *resultobj = 0;
26322 wxPrintData *arg1 = (wxPrintData *) 0 ;
26323 bool arg2 ;
26324 void *argp1 = 0 ;
26325 int res1 = 0 ;
26326 bool val2 ;
26327 int ecode2 = 0 ;
26328 PyObject * obj0 = 0 ;
26329 PyObject * obj1 = 0 ;
26330 char * kwnames[] = {
26331 (char *) "self",(char *) "flag", NULL
26332 };
26333
26334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26336 if (!SWIG_IsOK(res1)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26338 }
26339 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26340 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26341 if (!SWIG_IsOK(ecode2)) {
26342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26343 }
26344 arg2 = static_cast< bool >(val2);
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 (arg1)->SetCollate(arg2);
26348 wxPyEndAllowThreads(__tstate);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 }
26351 resultobj = SWIG_Py_Void();
26352 return resultobj;
26353fail:
26354 return NULL;
26355}
26356
26357
26358SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26359 PyObject *resultobj = 0;
26360 wxPrintData *arg1 = (wxPrintData *) 0 ;
26361 int arg2 ;
26362 void *argp1 = 0 ;
26363 int res1 = 0 ;
26364 int val2 ;
26365 int ecode2 = 0 ;
26366 PyObject * obj0 = 0 ;
26367 PyObject * obj1 = 0 ;
26368 char * kwnames[] = {
26369 (char *) "self",(char *) "orient", NULL
26370 };
26371
26372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
26373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26374 if (!SWIG_IsOK(res1)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26376 }
26377 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26378 ecode2 = SWIG_AsVal_int(obj1, &val2);
26379 if (!SWIG_IsOK(ecode2)) {
26380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26381 }
26382 arg2 = static_cast< int >(val2);
26383 {
26384 PyThreadState* __tstate = wxPyBeginAllowThreads();
26385 (arg1)->SetOrientation(arg2);
26386 wxPyEndAllowThreads(__tstate);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 resultobj = SWIG_Py_Void();
26390 return resultobj;
26391fail:
26392 return NULL;
26393}
26394
26395
5172800e
RD
26396SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26397 PyObject *resultobj = 0;
26398 wxPrintData *arg1 = (wxPrintData *) 0 ;
26399 bool arg2 ;
26400 void *argp1 = 0 ;
26401 int res1 = 0 ;
26402 bool val2 ;
26403 int ecode2 = 0 ;
26404 PyObject * obj0 = 0 ;
26405 PyObject * obj1 = 0 ;
26406 char * kwnames[] = {
26407 (char *) "self",(char *) "reversed", NULL
26408 };
26409
26410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
26411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26412 if (!SWIG_IsOK(res1)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26414 }
26415 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26416 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26417 if (!SWIG_IsOK(ecode2)) {
26418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26419 }
26420 arg2 = static_cast< bool >(val2);
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 (arg1)->SetOrientationReversed(arg2);
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 resultobj = SWIG_Py_Void();
26428 return resultobj;
26429fail:
26430 return NULL;
26431}
26432
26433
1bd55598
RD
26434SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26435 PyObject *resultobj = 0;
26436 wxPrintData *arg1 = (wxPrintData *) 0 ;
26437 wxString *arg2 = 0 ;
26438 void *argp1 = 0 ;
26439 int res1 = 0 ;
26440 bool temp2 = false ;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 char * kwnames[] = {
26444 (char *) "self",(char *) "name", NULL
26445 };
26446
26447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
26448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26453 {
26454 arg2 = wxString_in_helper(obj1);
26455 if (arg2 == NULL) SWIG_fail;
26456 temp2 = true;
26457 }
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->SetPrinterName((wxString const &)*arg2);
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 resultobj = SWIG_Py_Void();
26465 {
26466 if (temp2)
26467 delete arg2;
26468 }
26469 return resultobj;
26470fail:
26471 {
26472 if (temp2)
26473 delete arg2;
26474 }
26475 return NULL;
26476}
26477
26478
26479SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj = 0;
26481 wxPrintData *arg1 = (wxPrintData *) 0 ;
26482 bool arg2 ;
26483 void *argp1 = 0 ;
26484 int res1 = 0 ;
26485 bool val2 ;
26486 int ecode2 = 0 ;
26487 PyObject * obj0 = 0 ;
26488 PyObject * obj1 = 0 ;
26489 char * kwnames[] = {
26490 (char *) "self",(char *) "colour", NULL
26491 };
26492
26493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
26494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26495 if (!SWIG_IsOK(res1)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26497 }
26498 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26499 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26500 if (!SWIG_IsOK(ecode2)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26502 }
26503 arg2 = static_cast< bool >(val2);
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 (arg1)->SetColour(arg2);
26507 wxPyEndAllowThreads(__tstate);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 }
26510 resultobj = SWIG_Py_Void();
26511 return resultobj;
26512fail:
26513 return NULL;
26514}
26515
26516
26517SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26518 PyObject *resultobj = 0;
26519 wxPrintData *arg1 = (wxPrintData *) 0 ;
26520 wxDuplexMode arg2 ;
26521 void *argp1 = 0 ;
26522 int res1 = 0 ;
26523 int val2 ;
26524 int ecode2 = 0 ;
26525 PyObject * obj0 = 0 ;
26526 PyObject * obj1 = 0 ;
26527 char * kwnames[] = {
26528 (char *) "self",(char *) "duplex", NULL
26529 };
26530
26531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
26532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26533 if (!SWIG_IsOK(res1)) {
26534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26535 }
26536 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26537 ecode2 = SWIG_AsVal_int(obj1, &val2);
26538 if (!SWIG_IsOK(ecode2)) {
26539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26540 }
26541 arg2 = static_cast< wxDuplexMode >(val2);
26542 {
26543 PyThreadState* __tstate = wxPyBeginAllowThreads();
26544 (arg1)->SetDuplex(arg2);
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 resultobj = SWIG_Py_Void();
26549 return resultobj;
26550fail:
26551 return NULL;
26552}
26553
26554
26555SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26556 PyObject *resultobj = 0;
26557 wxPrintData *arg1 = (wxPrintData *) 0 ;
26558 wxPaperSize arg2 ;
26559 void *argp1 = 0 ;
26560 int res1 = 0 ;
26561 int val2 ;
26562 int ecode2 = 0 ;
26563 PyObject * obj0 = 0 ;
26564 PyObject * obj1 = 0 ;
26565 char * kwnames[] = {
26566 (char *) "self",(char *) "sizeId", NULL
26567 };
26568
26569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26571 if (!SWIG_IsOK(res1)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26573 }
26574 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26575 ecode2 = SWIG_AsVal_int(obj1, &val2);
26576 if (!SWIG_IsOK(ecode2)) {
26577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26578 }
26579 arg2 = static_cast< wxPaperSize >(val2);
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->SetPaperId(arg2);
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 resultobj = SWIG_Py_Void();
26587 return resultobj;
26588fail:
26589 return NULL;
26590}
26591
26592
26593SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26594 PyObject *resultobj = 0;
26595 wxPrintData *arg1 = (wxPrintData *) 0 ;
26596 wxSize *arg2 = 0 ;
26597 void *argp1 = 0 ;
26598 int res1 = 0 ;
26599 wxSize temp2 ;
26600 PyObject * obj0 = 0 ;
26601 PyObject * obj1 = 0 ;
26602 char * kwnames[] = {
26603 (char *) "self",(char *) "sz", NULL
26604 };
26605
26606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26608 if (!SWIG_IsOK(res1)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26610 }
26611 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26612 {
26613 arg2 = &temp2;
26614 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26615 }
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 (arg1)->SetPaperSize((wxSize const &)*arg2);
26619 wxPyEndAllowThreads(__tstate);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
26622 resultobj = SWIG_Py_Void();
26623 return resultobj;
26624fail:
26625 return NULL;
26626}
26627
26628
26629SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26630 PyObject *resultobj = 0;
26631 wxPrintData *arg1 = (wxPrintData *) 0 ;
26632 int arg2 ;
26633 void *argp1 = 0 ;
26634 int res1 = 0 ;
26635 int val2 ;
26636 int ecode2 = 0 ;
26637 PyObject * obj0 = 0 ;
26638 PyObject * obj1 = 0 ;
26639 char * kwnames[] = {
26640 (char *) "self",(char *) "quality", NULL
26641 };
26642
26643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
26644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26645 if (!SWIG_IsOK(res1)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26647 }
26648 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26649 ecode2 = SWIG_AsVal_int(obj1, &val2);
26650 if (!SWIG_IsOK(ecode2)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26652 }
26653 arg2 = static_cast< int >(val2);
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 (arg1)->SetQuality(arg2);
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 resultobj = SWIG_Py_Void();
26661 return resultobj;
26662fail:
26663 return NULL;
26664}
26665
26666
26667SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26668 PyObject *resultobj = 0;
26669 wxPrintData *arg1 = (wxPrintData *) 0 ;
26670 wxPrintBin arg2 ;
26671 void *argp1 = 0 ;
26672 int res1 = 0 ;
26673 int val2 ;
26674 int ecode2 = 0 ;
26675 PyObject * obj0 = 0 ;
26676 PyObject * obj1 = 0 ;
26677 char * kwnames[] = {
26678 (char *) "self",(char *) "bin", NULL
26679 };
26680
26681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
26682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26683 if (!SWIG_IsOK(res1)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26685 }
26686 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26687 ecode2 = SWIG_AsVal_int(obj1, &val2);
26688 if (!SWIG_IsOK(ecode2)) {
26689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26690 }
26691 arg2 = static_cast< wxPrintBin >(val2);
26692 {
26693 PyThreadState* __tstate = wxPyBeginAllowThreads();
26694 (arg1)->SetBin(arg2);
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 resultobj = SWIG_Py_Void();
26699 return resultobj;
26700fail:
26701 return NULL;
26702}
26703
26704
26705SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26706 PyObject *resultobj = 0;
26707 wxPrintData *arg1 = (wxPrintData *) 0 ;
26708 wxPrintMode arg2 ;
26709 void *argp1 = 0 ;
26710 int res1 = 0 ;
26711 int val2 ;
26712 int ecode2 = 0 ;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715 char * kwnames[] = {
26716 (char *) "self",(char *) "printMode", NULL
26717 };
26718
26719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
26720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26721 if (!SWIG_IsOK(res1)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26723 }
26724 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26725 ecode2 = SWIG_AsVal_int(obj1, &val2);
26726 if (!SWIG_IsOK(ecode2)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26728 }
26729 arg2 = static_cast< wxPrintMode >(val2);
26730 {
26731 PyThreadState* __tstate = wxPyBeginAllowThreads();
26732 (arg1)->SetPrintMode(arg2);
26733 wxPyEndAllowThreads(__tstate);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 }
26736 resultobj = SWIG_Py_Void();
26737 return resultobj;
26738fail:
26739 return NULL;
26740}
d55e5bfc
RD
26741
26742
8f514ab4
RD
26743SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj = 0;
26745 wxPrintData *arg1 = (wxPrintData *) 0 ;
26746 int arg2 ;
26747 void *argp1 = 0 ;
26748 int res1 = 0 ;
26749 int val2 ;
26750 int ecode2 = 0 ;
26751 PyObject * obj0 = 0 ;
26752 PyObject * obj1 = 0 ;
26753 char * kwnames[] = {
26754 (char *) "self",(char *) "media", NULL
26755 };
26756
26757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
26758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26759 if (!SWIG_IsOK(res1)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26761 }
26762 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26763 ecode2 = SWIG_AsVal_int(obj1, &val2);
26764 if (!SWIG_IsOK(ecode2)) {
26765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26766 }
26767 arg2 = static_cast< int >(val2);
26768 {
26769 PyThreadState* __tstate = wxPyBeginAllowThreads();
26770 (arg1)->SetMedia(arg2);
26771 wxPyEndAllowThreads(__tstate);
26772 if (PyErr_Occurred()) SWIG_fail;
26773 }
26774 resultobj = SWIG_Py_Void();
26775 return resultobj;
26776fail:
26777 return NULL;
26778}
26779
26780
1bd55598
RD
26781SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26782 PyObject *resultobj = 0;
26783 wxPrintData *arg1 = (wxPrintData *) 0 ;
26784 wxString result;
26785 void *argp1 = 0 ;
26786 int res1 = 0 ;
26787 PyObject *swig_obj[1] ;
26788
26789 if (!args) SWIG_fail;
26790 swig_obj[0] = args;
26791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26792 if (!SWIG_IsOK(res1)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26794 }
26795 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = ((wxPrintData const *)arg1)->GetFilename();
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 {
26803#if wxUSE_UNICODE
26804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26805#else
26806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26807#endif
26808 }
26809 return resultobj;
26810fail:
26811 return NULL;
26812}
26813
26814
26815SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj = 0;
26817 wxPrintData *arg1 = (wxPrintData *) 0 ;
26818 wxString *arg2 = 0 ;
26819 void *argp1 = 0 ;
26820 int res1 = 0 ;
26821 bool temp2 = false ;
26822 PyObject * obj0 = 0 ;
26823 PyObject * obj1 = 0 ;
26824 char * kwnames[] = {
26825 (char *) "self",(char *) "filename", NULL
26826 };
26827
26828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
26829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26830 if (!SWIG_IsOK(res1)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
26832 }
26833 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26834 {
26835 arg2 = wxString_in_helper(obj1);
26836 if (arg2 == NULL) SWIG_fail;
26837 temp2 = true;
26838 }
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 (arg1)->SetFilename((wxString const &)*arg2);
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 resultobj = SWIG_Py_Void();
26846 {
26847 if (temp2)
26848 delete arg2;
26849 }
26850 return resultobj;
26851fail:
26852 {
26853 if (temp2)
26854 delete arg2;
26855 }
26856 return NULL;
d55e5bfc
RD
26857}
26858
26859
1bd55598
RD
26860SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26861 PyObject *resultobj = 0;
26862 wxPrintData *arg1 = (wxPrintData *) 0 ;
26863 PyObject *result = 0 ;
26864 void *argp1 = 0 ;
26865 int res1 = 0 ;
26866 PyObject *swig_obj[1] ;
26867
26868 if (!args) SWIG_fail;
26869 swig_obj[0] = args;
26870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26871 if (!SWIG_IsOK(res1)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26873 }
26874 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 result = (PyObject *)wxPrintData_GetPrivData(arg1);
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 resultobj = result;
26882 return resultobj;
26883fail:
26884 return NULL;
26885}
26886
26887
26888SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26889 PyObject *resultobj = 0;
26890 wxPrintData *arg1 = (wxPrintData *) 0 ;
26891 PyObject *arg2 = (PyObject *) 0 ;
26892 void *argp1 = 0 ;
26893 int res1 = 0 ;
26894 PyObject * obj0 = 0 ;
26895 PyObject * obj1 = 0 ;
26896 char * kwnames[] = {
26897 (char *) "self",(char *) "data", NULL
26898 };
26899
26900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
26901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26902 if (!SWIG_IsOK(res1)) {
26903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26904 }
26905 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26906 arg2 = obj1;
26907 {
26908 PyThreadState* __tstate = wxPyBeginAllowThreads();
26909 wxPrintData_SetPrivData(arg1,arg2);
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 resultobj = SWIG_Py_Void();
26914 return resultobj;
26915fail:
26916 return NULL;
d55e5bfc
RD
26917}
26918
26919
1bd55598
RD
26920SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26921 PyObject *obj;
26922 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
26924 return SWIG_Py_Void();
d55e5bfc
RD
26925}
26926
1bd55598
RD
26927SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26928 return SWIG_Python_InitShadowInstance(args);
26929}
d55e5bfc 26930
1bd55598
RD
26931SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26932 PyObject *resultobj = 0;
26933 wxPageSetupDialogData *result = 0 ;
26934
26935 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26936 {
26937 PyThreadState* __tstate = wxPyBeginAllowThreads();
26938 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
26943 return resultobj;
26944fail:
26945 return NULL;
d55e5bfc
RD
26946}
26947
26948
1bd55598
RD
26949SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26950 PyObject *resultobj = 0;
26951 wxPageSetupDialogData *arg1 = 0 ;
26952 wxPageSetupDialogData *result = 0 ;
26953 void *argp1 = 0 ;
26954 int res1 = 0 ;
26955
26956 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
26958 if (!SWIG_IsOK(res1)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
26960 }
26961 if (!argp1) {
26962 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
26963 }
26964 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
26972 return resultobj;
26973fail:
26974 return NULL;
d55e5bfc
RD
26975}
26976
26977
1bd55598
RD
26978SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26979 PyObject *resultobj = 0;
26980 wxPrintData *arg1 = 0 ;
26981 wxPageSetupDialogData *result = 0 ;
26982 void *argp1 = 0 ;
26983 int res1 = 0 ;
26984
26985 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26987 if (!SWIG_IsOK(res1)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26989 }
26990 if (!argp1) {
26991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26992 }
26993 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27001 return resultobj;
27002fail:
27003 return NULL;
d55e5bfc
RD
27004}
27005
27006
1bd55598
RD
27007SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
27008 int argc;
27009 PyObject *argv[2];
27010
27011 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
27012 --argc;
27013 if (argc == 0) {
27014 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
27015 }
27016 if (argc == 1) {
27017 int _v = 0;
36ed4f51 27018 {
1bd55598
RD
27019 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
27020 _v = SWIG_CheckState(res);
d55e5bfc 27021 }
1bd55598
RD
27022 if (!_v) goto check_2;
27023 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
27024 }
27025check_2:
27026
27027 if (argc == 1) {
27028 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
27029 }
27030
27031fail:
27032 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
27033 return NULL;
d55e5bfc
RD
27034}
27035
27036
1bd55598
RD
27037SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27038 PyObject *resultobj = 0;
27039 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27040 void *argp1 = 0 ;
27041 int res1 = 0 ;
27042 PyObject *swig_obj[1] ;
27043
27044 if (!args) SWIG_fail;
27045 swig_obj[0] = args;
27046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
27047 if (!SWIG_IsOK(res1)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27049 }
27050 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27051 {
27052 PyThreadState* __tstate = wxPyBeginAllowThreads();
27053 delete arg1;
d55e5bfc 27054
1bd55598
RD
27055 wxPyEndAllowThreads(__tstate);
27056 if (PyErr_Occurred()) SWIG_fail;
27057 }
27058 resultobj = SWIG_Py_Void();
27059 return resultobj;
27060fail:
27061 return NULL;
27062}
27063
27064
27065SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27066 PyObject *resultobj = 0;
27067 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27068 bool arg2 ;
27069 void *argp1 = 0 ;
27070 int res1 = 0 ;
27071 bool val2 ;
27072 int ecode2 = 0 ;
27073 PyObject * obj0 = 0 ;
27074 PyObject * obj1 = 0 ;
27075 char * kwnames[] = {
27076 (char *) "self",(char *) "flag", NULL
27077 };
27078
27079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27081 if (!SWIG_IsOK(res1)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27083 }
27084 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27085 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27086 if (!SWIG_IsOK(ecode2)) {
27087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27088 }
27089 arg2 = static_cast< bool >(val2);
27090 {
27091 PyThreadState* __tstate = wxPyBeginAllowThreads();
27092 (arg1)->EnableHelp(arg2);
27093 wxPyEndAllowThreads(__tstate);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 }
27096 resultobj = SWIG_Py_Void();
27097 return resultobj;
27098fail:
27099 return NULL;
27100}
27101
27102
27103SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27104 PyObject *resultobj = 0;
27105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27106 bool arg2 ;
27107 void *argp1 = 0 ;
27108 int res1 = 0 ;
27109 bool val2 ;
27110 int ecode2 = 0 ;
27111 PyObject * obj0 = 0 ;
27112 PyObject * obj1 = 0 ;
27113 char * kwnames[] = {
27114 (char *) "self",(char *) "flag", NULL
27115 };
27116
27117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27119 if (!SWIG_IsOK(res1)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27121 }
27122 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27123 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27124 if (!SWIG_IsOK(ecode2)) {
27125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27126 }
27127 arg2 = static_cast< bool >(val2);
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 (arg1)->EnableMargins(arg2);
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
27134 resultobj = SWIG_Py_Void();
27135 return resultobj;
27136fail:
27137 return NULL;
27138}
27139
27140
27141SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27142 PyObject *resultobj = 0;
27143 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27144 bool arg2 ;
27145 void *argp1 = 0 ;
27146 int res1 = 0 ;
27147 bool val2 ;
27148 int ecode2 = 0 ;
27149 PyObject * obj0 = 0 ;
27150 PyObject * obj1 = 0 ;
27151 char * kwnames[] = {
27152 (char *) "self",(char *) "flag", NULL
27153 };
27154
27155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
27156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27157 if (!SWIG_IsOK(res1)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27159 }
27160 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27161 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27162 if (!SWIG_IsOK(ecode2)) {
27163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27164 }
27165 arg2 = static_cast< bool >(val2);
27166 {
27167 PyThreadState* __tstate = wxPyBeginAllowThreads();
27168 (arg1)->EnableOrientation(arg2);
27169 wxPyEndAllowThreads(__tstate);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 }
27172 resultobj = SWIG_Py_Void();
27173 return resultobj;
27174fail:
27175 return NULL;
27176}
27177
27178
27179SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27180 PyObject *resultobj = 0;
27181 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27182 bool arg2 ;
27183 void *argp1 = 0 ;
27184 int res1 = 0 ;
27185 bool val2 ;
27186 int ecode2 = 0 ;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 char * kwnames[] = {
27190 (char *) "self",(char *) "flag", NULL
27191 };
27192
27193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
27194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27195 if (!SWIG_IsOK(res1)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27197 }
27198 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27199 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27200 if (!SWIG_IsOK(ecode2)) {
27201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27202 }
27203 arg2 = static_cast< bool >(val2);
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 (arg1)->EnablePaper(arg2);
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 resultobj = SWIG_Py_Void();
27211 return resultobj;
27212fail:
27213 return NULL;
27214}
27215
27216
27217SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27218 PyObject *resultobj = 0;
27219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27220 bool arg2 ;
27221 void *argp1 = 0 ;
27222 int res1 = 0 ;
27223 bool val2 ;
27224 int ecode2 = 0 ;
27225 PyObject * obj0 = 0 ;
27226 PyObject * obj1 = 0 ;
27227 char * kwnames[] = {
27228 (char *) "self",(char *) "flag", NULL
27229 };
27230
27231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
27232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27233 if (!SWIG_IsOK(res1)) {
27234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27235 }
27236 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27237 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27238 if (!SWIG_IsOK(ecode2)) {
27239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27240 }
27241 arg2 = static_cast< bool >(val2);
27242 {
27243 PyThreadState* __tstate = wxPyBeginAllowThreads();
27244 (arg1)->EnablePrinter(arg2);
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
27248 resultobj = SWIG_Py_Void();
27249 return resultobj;
27250fail:
27251 return NULL;
d55e5bfc
RD
27252}
27253
27254
1bd55598
RD
27255SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27256 PyObject *resultobj = 0;
27257 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27258 bool result;
27259 void *argp1 = 0 ;
27260 int res1 = 0 ;
27261 PyObject *swig_obj[1] ;
27262
27263 if (!args) SWIG_fail;
27264 swig_obj[0] = args;
27265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27266 if (!SWIG_IsOK(res1)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27268 }
27269 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27270 {
27271 PyThreadState* __tstate = wxPyBeginAllowThreads();
27272 result = (bool)(arg1)->GetDefaultMinMargins();
27273 wxPyEndAllowThreads(__tstate);
27274 if (PyErr_Occurred()) SWIG_fail;
27275 }
27276 {
27277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27278 }
27279 return resultobj;
27280fail:
27281 return NULL;
d55e5bfc
RD
27282}
27283
27284
1bd55598
RD
27285SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27286 PyObject *resultobj = 0;
27287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27288 bool result;
27289 void *argp1 = 0 ;
27290 int res1 = 0 ;
27291 PyObject *swig_obj[1] ;
27292
27293 if (!args) SWIG_fail;
27294 swig_obj[0] = args;
27295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27296 if (!SWIG_IsOK(res1)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27298 }
27299 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 result = (bool)(arg1)->GetEnableMargins();
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 {
27307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27308 }
27309 return resultobj;
27310fail:
27311 return NULL;
d55e5bfc
RD
27312}
27313
27314
1bd55598
RD
27315SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27316 PyObject *resultobj = 0;
27317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27318 bool result;
27319 void *argp1 = 0 ;
27320 int res1 = 0 ;
27321 PyObject *swig_obj[1] ;
27322
27323 if (!args) SWIG_fail;
27324 swig_obj[0] = args;
27325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27326 if (!SWIG_IsOK(res1)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27328 }
27329 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 result = (bool)(arg1)->GetEnableOrientation();
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 {
27337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27338 }
27339 return resultobj;
27340fail:
27341 return NULL;
d55e5bfc
RD
27342}
27343
27344
1bd55598
RD
27345SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27346 PyObject *resultobj = 0;
27347 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27348 bool result;
27349 void *argp1 = 0 ;
27350 int res1 = 0 ;
27351 PyObject *swig_obj[1] ;
27352
27353 if (!args) SWIG_fail;
27354 swig_obj[0] = args;
27355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27356 if (!SWIG_IsOK(res1)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27358 }
27359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 result = (bool)(arg1)->GetEnablePaper();
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 {
27367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27368 }
27369 return resultobj;
27370fail:
27371 return NULL;
d55e5bfc
RD
27372}
27373
27374
1bd55598
RD
27375SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27376 PyObject *resultobj = 0;
27377 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27378 bool result;
27379 void *argp1 = 0 ;
27380 int res1 = 0 ;
27381 PyObject *swig_obj[1] ;
27382
27383 if (!args) SWIG_fail;
27384 swig_obj[0] = args;
27385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27386 if (!SWIG_IsOK(res1)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27388 }
27389 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27390 {
27391 PyThreadState* __tstate = wxPyBeginAllowThreads();
27392 result = (bool)(arg1)->GetEnablePrinter();
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 {
27397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27398 }
27399 return resultobj;
27400fail:
27401 return NULL;
32fe5131
RD
27402}
27403
27404
1bd55598
RD
27405SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27406 PyObject *resultobj = 0;
27407 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27408 bool result;
27409 void *argp1 = 0 ;
27410 int res1 = 0 ;
27411 PyObject *swig_obj[1] ;
27412
27413 if (!args) SWIG_fail;
27414 swig_obj[0] = args;
27415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27416 if (!SWIG_IsOK(res1)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27418 }
27419 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = (bool)(arg1)->GetEnableHelp();
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 {
27427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27428 }
27429 return resultobj;
27430fail:
27431 return NULL;
d55e5bfc
RD
27432}
27433
27434
1bd55598
RD
27435SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27436 PyObject *resultobj = 0;
27437 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27438 bool result;
27439 void *argp1 = 0 ;
27440 int res1 = 0 ;
27441 PyObject *swig_obj[1] ;
27442
27443 if (!args) SWIG_fail;
27444 swig_obj[0] = args;
27445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (bool)(arg1)->GetDefaultInfo();
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27458 }
27459 return resultobj;
27460fail:
27461 return NULL;
d55e5bfc
RD
27462}
27463
27464
1bd55598
RD
27465SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *resultobj = 0;
27467 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27468 wxPoint result;
27469 void *argp1 = 0 ;
27470 int res1 = 0 ;
27471 PyObject *swig_obj[1] ;
27472
27473 if (!args) SWIG_fail;
27474 swig_obj[0] = args;
27475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27476 if (!SWIG_IsOK(res1)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27478 }
27479 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 result = (arg1)->GetMarginTopLeft();
27483 wxPyEndAllowThreads(__tstate);
27484 if (PyErr_Occurred()) SWIG_fail;
27485 }
27486 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27487 return resultobj;
27488fail:
27489 return NULL;
d55e5bfc
RD
27490}
27491
27492
1bd55598
RD
27493SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27494 PyObject *resultobj = 0;
27495 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27496 wxPoint result;
27497 void *argp1 = 0 ;
27498 int res1 = 0 ;
27499 PyObject *swig_obj[1] ;
27500
27501 if (!args) SWIG_fail;
27502 swig_obj[0] = args;
27503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27504 if (!SWIG_IsOK(res1)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27506 }
27507 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (arg1)->GetMarginBottomRight();
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27515 return resultobj;
27516fail:
27517 return NULL;
d55e5bfc
RD
27518}
27519
27520
1bd55598
RD
27521SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27522 PyObject *resultobj = 0;
27523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27524 wxPoint result;
27525 void *argp1 = 0 ;
27526 int res1 = 0 ;
27527 PyObject *swig_obj[1] ;
27528
27529 if (!args) SWIG_fail;
27530 swig_obj[0] = args;
27531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27532 if (!SWIG_IsOK(res1)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27534 }
27535 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27536 {
27537 PyThreadState* __tstate = wxPyBeginAllowThreads();
27538 result = (arg1)->GetMinMarginTopLeft();
27539 wxPyEndAllowThreads(__tstate);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
27542 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27543 return resultobj;
27544fail:
27545 return NULL;
d55e5bfc
RD
27546}
27547
27548
1bd55598
RD
27549SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27550 PyObject *resultobj = 0;
27551 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27552 wxPoint result;
27553 void *argp1 = 0 ;
27554 int res1 = 0 ;
27555 PyObject *swig_obj[1] ;
27556
27557 if (!args) SWIG_fail;
27558 swig_obj[0] = args;
27559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27560 if (!SWIG_IsOK(res1)) {
27561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27562 }
27563 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27564 {
27565 PyThreadState* __tstate = wxPyBeginAllowThreads();
27566 result = (arg1)->GetMinMarginBottomRight();
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27571 return resultobj;
27572fail:
27573 return NULL;
d55e5bfc
RD
27574}
27575
27576
1bd55598
RD
27577SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27578 PyObject *resultobj = 0;
27579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27580 wxPaperSize result;
27581 void *argp1 = 0 ;
27582 int res1 = 0 ;
27583 PyObject *swig_obj[1] ;
27584
27585 if (!args) SWIG_fail;
27586 swig_obj[0] = args;
27587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27588 if (!SWIG_IsOK(res1)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27590 }
27591 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27592 {
27593 PyThreadState* __tstate = wxPyBeginAllowThreads();
27594 result = (wxPaperSize)(arg1)->GetPaperId();
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 resultobj = SWIG_From_int(static_cast< int >(result));
27599 return resultobj;
27600fail:
27601 return NULL;
d55e5bfc
RD
27602}
27603
27604
1bd55598
RD
27605SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27606 PyObject *resultobj = 0;
27607 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27608 wxSize result;
27609 void *argp1 = 0 ;
27610 int res1 = 0 ;
27611 PyObject *swig_obj[1] ;
27612
27613 if (!args) SWIG_fail;
27614 swig_obj[0] = args;
27615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27616 if (!SWIG_IsOK(res1)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27618 }
27619 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 result = (arg1)->GetPaperSize();
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
27627 return resultobj;
27628fail:
27629 return NULL;
d55e5bfc
RD
27630}
27631
27632
1bd55598
RD
27633SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27634 PyObject *resultobj = 0;
27635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27636 wxPrintData *result = 0 ;
27637 void *argp1 = 0 ;
27638 int res1 = 0 ;
27639 PyObject *swig_obj[1] ;
27640
27641 if (!args) SWIG_fail;
27642 swig_obj[0] = args;
27643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27644 if (!SWIG_IsOK(res1)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27646 }
27647 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27648 {
27649 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27650 {
1bd55598
RD
27651 wxPrintData &_result_ref = (arg1)->GetPrintData();
27652 result = (wxPrintData *) &_result_ref;
d55e5bfc 27653 }
1bd55598
RD
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27658 return resultobj;
27659fail:
27660 return NULL;
d55e5bfc
RD
27661}
27662
27663
b39fe951 27664SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
27665 PyObject *resultobj = 0;
27666 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27667 bool result;
27668 void *argp1 = 0 ;
27669 int res1 = 0 ;
27670 PyObject *swig_obj[1] ;
27671
27672 if (!args) SWIG_fail;
27673 swig_obj[0] = args;
27674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27675 if (!SWIG_IsOK(res1)) {
b39fe951 27676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
1bd55598
RD
27677 }
27678 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 27681 result = (bool)(arg1)->IsOk();
1bd55598
RD
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 {
27686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27687 }
27688 return resultobj;
27689fail:
27690 return NULL;
27691}
27692
27693
27694SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27695 PyObject *resultobj = 0;
27696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27697 bool arg2 ;
27698 void *argp1 = 0 ;
27699 int res1 = 0 ;
27700 bool val2 ;
27701 int ecode2 = 0 ;
27702 PyObject * obj0 = 0 ;
27703 PyObject * obj1 = 0 ;
27704 char * kwnames[] = {
27705 (char *) "self",(char *) "flag", NULL
27706 };
27707
27708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
27709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27710 if (!SWIG_IsOK(res1)) {
27711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27712 }
27713 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27714 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27715 if (!SWIG_IsOK(ecode2)) {
27716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27717 }
27718 arg2 = static_cast< bool >(val2);
27719 {
27720 PyThreadState* __tstate = wxPyBeginAllowThreads();
27721 (arg1)->SetDefaultInfo(arg2);
27722 wxPyEndAllowThreads(__tstate);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
27725 resultobj = SWIG_Py_Void();
27726 return resultobj;
27727fail:
27728 return NULL;
27729}
27730
27731
27732SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27733 PyObject *resultobj = 0;
27734 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27735 bool arg2 ;
27736 void *argp1 = 0 ;
27737 int res1 = 0 ;
27738 bool val2 ;
27739 int ecode2 = 0 ;
27740 PyObject * obj0 = 0 ;
27741 PyObject * obj1 = 0 ;
27742 char * kwnames[] = {
27743 (char *) "self",(char *) "flag", NULL
27744 };
27745
27746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27748 if (!SWIG_IsOK(res1)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27750 }
27751 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27752 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27753 if (!SWIG_IsOK(ecode2)) {
27754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27755 }
27756 arg2 = static_cast< bool >(val2);
27757 {
27758 PyThreadState* __tstate = wxPyBeginAllowThreads();
27759 (arg1)->SetDefaultMinMargins(arg2);
27760 wxPyEndAllowThreads(__tstate);
27761 if (PyErr_Occurred()) SWIG_fail;
27762 }
27763 resultobj = SWIG_Py_Void();
27764 return resultobj;
27765fail:
27766 return NULL;
27767}
27768
27769
27770SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27771 PyObject *resultobj = 0;
27772 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27773 wxPoint *arg2 = 0 ;
27774 void *argp1 = 0 ;
27775 int res1 = 0 ;
27776 wxPoint temp2 ;
27777 PyObject * obj0 = 0 ;
27778 PyObject * obj1 = 0 ;
27779 char * kwnames[] = {
27780 (char *) "self",(char *) "pt", NULL
27781 };
27782
27783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27785 if (!SWIG_IsOK(res1)) {
27786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27787 }
27788 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27789 {
27790 arg2 = &temp2;
27791 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27792 }
27793 {
27794 PyThreadState* __tstate = wxPyBeginAllowThreads();
27795 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
27796 wxPyEndAllowThreads(__tstate);
27797 if (PyErr_Occurred()) SWIG_fail;
27798 }
27799 resultobj = SWIG_Py_Void();
27800 return resultobj;
27801fail:
27802 return NULL;
27803}
27804
27805
27806SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27807 PyObject *resultobj = 0;
27808 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27809 wxPoint *arg2 = 0 ;
27810 void *argp1 = 0 ;
27811 int res1 = 0 ;
27812 wxPoint temp2 ;
27813 PyObject * obj0 = 0 ;
27814 PyObject * obj1 = 0 ;
27815 char * kwnames[] = {
27816 (char *) "self",(char *) "pt", NULL
27817 };
27818
27819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
27820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27821 if (!SWIG_IsOK(res1)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27823 }
27824 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27825 {
27826 arg2 = &temp2;
27827 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27828 }
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
27832 wxPyEndAllowThreads(__tstate);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 }
27835 resultobj = SWIG_Py_Void();
27836 return resultobj;
27837fail:
27838 return NULL;
27839}
27840
27841
27842SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27843 PyObject *resultobj = 0;
27844 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27845 wxPoint *arg2 = 0 ;
27846 void *argp1 = 0 ;
27847 int res1 = 0 ;
27848 wxPoint temp2 ;
27849 PyObject * obj0 = 0 ;
27850 PyObject * obj1 = 0 ;
27851 char * kwnames[] = {
27852 (char *) "self",(char *) "pt", NULL
27853 };
27854
27855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27857 if (!SWIG_IsOK(res1)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27859 }
27860 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27861 {
27862 arg2 = &temp2;
27863 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27864 }
27865 {
27866 PyThreadState* __tstate = wxPyBeginAllowThreads();
27867 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
27868 wxPyEndAllowThreads(__tstate);
27869 if (PyErr_Occurred()) SWIG_fail;
27870 }
27871 resultobj = SWIG_Py_Void();
27872 return resultobj;
27873fail:
27874 return NULL;
27875}
27876
27877
27878SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27879 PyObject *resultobj = 0;
27880 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27881 wxPoint *arg2 = 0 ;
27882 void *argp1 = 0 ;
27883 int res1 = 0 ;
27884 wxPoint temp2 ;
27885 PyObject * obj0 = 0 ;
27886 PyObject * obj1 = 0 ;
27887 char * kwnames[] = {
27888 (char *) "self",(char *) "pt", NULL
27889 };
27890
27891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
27892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27893 if (!SWIG_IsOK(res1)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27895 }
27896 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27897 {
27898 arg2 = &temp2;
27899 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27900 }
27901 {
27902 PyThreadState* __tstate = wxPyBeginAllowThreads();
27903 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
27904 wxPyEndAllowThreads(__tstate);
27905 if (PyErr_Occurred()) SWIG_fail;
27906 }
27907 resultobj = SWIG_Py_Void();
27908 return resultobj;
27909fail:
27910 return NULL;
27911}
27912
27913
27914SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27915 PyObject *resultobj = 0;
27916 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27917 wxPaperSize arg2 ;
27918 void *argp1 = 0 ;
27919 int res1 = 0 ;
27920 int val2 ;
27921 int ecode2 = 0 ;
27922 PyObject * obj0 = 0 ;
27923 PyObject * obj1 = 0 ;
27924 char * kwnames[] = {
27925 (char *) "self",(char *) "id", NULL
27926 };
27927
27928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
27929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27930 if (!SWIG_IsOK(res1)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27932 }
27933 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27934 ecode2 = SWIG_AsVal_int(obj1, &val2);
27935 if (!SWIG_IsOK(ecode2)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
27937 }
27938 arg2 = static_cast< wxPaperSize >(val2);
27939 {
27940 PyThreadState* __tstate = wxPyBeginAllowThreads();
27941 (arg1)->SetPaperId(arg2);
27942 wxPyEndAllowThreads(__tstate);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 resultobj = SWIG_Py_Void();
27946 return resultobj;
27947fail:
27948 return NULL;
27949}
27950
27951
27952SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27953 PyObject *resultobj = 0;
27954 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27955 wxSize *arg2 = 0 ;
27956 void *argp1 = 0 ;
27957 int res1 = 0 ;
27958 wxSize temp2 ;
27959 PyObject * obj0 = 0 ;
27960 PyObject * obj1 = 0 ;
27961 char * kwnames[] = {
27962 (char *) "self",(char *) "size", NULL
27963 };
27964
27965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
27966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27967 if (!SWIG_IsOK(res1)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27969 }
27970 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27971 {
27972 arg2 = &temp2;
27973 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27974 }
27975 {
27976 PyThreadState* __tstate = wxPyBeginAllowThreads();
27977 (arg1)->SetPaperSize((wxSize const &)*arg2);
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 resultobj = SWIG_Py_Void();
27982 return resultobj;
27983fail:
27984 return NULL;
27985}
27986
27987
27988SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27989 PyObject *resultobj = 0;
27990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27991 wxPrintData *arg2 = 0 ;
27992 void *argp1 = 0 ;
27993 int res1 = 0 ;
27994 void *argp2 = 0 ;
27995 int res2 = 0 ;
27996 PyObject * obj0 = 0 ;
27997 PyObject * obj1 = 0 ;
27998 char * kwnames[] = {
27999 (char *) "self",(char *) "printData", NULL
28000 };
28001
28002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
28003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28004 if (!SWIG_IsOK(res1)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28006 }
28007 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28008 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
28009 if (!SWIG_IsOK(res2)) {
28010 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28011 }
28012 if (!argp2) {
28013 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28014 }
28015 arg2 = reinterpret_cast< wxPrintData * >(argp2);
28016 {
28017 PyThreadState* __tstate = wxPyBeginAllowThreads();
28018 (arg1)->SetPrintData((wxPrintData const &)*arg2);
28019 wxPyEndAllowThreads(__tstate);
28020 if (PyErr_Occurred()) SWIG_fail;
28021 }
28022 resultobj = SWIG_Py_Void();
28023 return resultobj;
28024fail:
28025 return NULL;
d55e5bfc
RD
28026}
28027
28028
1bd55598
RD
28029SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28030 PyObject *resultobj = 0;
28031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28032 void *argp1 = 0 ;
28033 int res1 = 0 ;
28034 PyObject *swig_obj[1] ;
28035
28036 if (!args) SWIG_fail;
28037 swig_obj[0] = args;
28038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28039 if (!SWIG_IsOK(res1)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28041 }
28042 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28043 {
28044 PyThreadState* __tstate = wxPyBeginAllowThreads();
28045 (arg1)->CalculateIdFromPaperSize();
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 resultobj = SWIG_Py_Void();
28050 return resultobj;
28051fail:
28052 return NULL;
d55e5bfc
RD
28053}
28054
28055
1bd55598
RD
28056SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28057 PyObject *resultobj = 0;
28058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28059 void *argp1 = 0 ;
28060 int res1 = 0 ;
28061 PyObject *swig_obj[1] ;
28062
28063 if (!args) SWIG_fail;
28064 swig_obj[0] = args;
28065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28066 if (!SWIG_IsOK(res1)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28068 }
28069 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28070 {
28071 PyThreadState* __tstate = wxPyBeginAllowThreads();
28072 (arg1)->CalculatePaperSizeFromId();
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 resultobj = SWIG_Py_Void();
28077 return resultobj;
28078fail:
28079 return NULL;
d55e5bfc
RD
28080}
28081
28082
1bd55598
RD
28083SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28084 PyObject *obj;
28085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28086 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
28087 return SWIG_Py_Void();
d55e5bfc
RD
28088}
28089
1bd55598
RD
28090SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28091 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
28092}
28093
1bd55598
RD
28094SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28095 PyObject *resultobj = 0;
28096 wxWindow *arg1 = (wxWindow *) 0 ;
28097 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
28098 wxPageSetupDialog *result = 0 ;
28099 void *argp1 = 0 ;
28100 int res1 = 0 ;
28101 void *argp2 = 0 ;
28102 int res2 = 0 ;
28103 PyObject * obj0 = 0 ;
28104 PyObject * obj1 = 0 ;
28105 char * kwnames[] = {
28106 (char *) "parent",(char *) "data", NULL
28107 };
28108
28109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28111 if (!SWIG_IsOK(res1)) {
28112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28113 }
28114 arg1 = reinterpret_cast< wxWindow * >(argp1);
28115 if (obj1) {
28116 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28117 if (!SWIG_IsOK(res2)) {
28118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 28119 }
1bd55598
RD
28120 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28121 }
28122 {
28123 if (!wxPyCheckForApp()) SWIG_fail;
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
28130 return resultobj;
28131fail:
28132 return NULL;
d55e5bfc
RD
28133}
28134
28135
06810ecf
RD
28136SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28137 PyObject *resultobj = 0;
28138 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28139 void *argp1 = 0 ;
28140 int res1 = 0 ;
28141 PyObject *swig_obj[1] ;
28142
28143 if (!args) SWIG_fail;
28144 swig_obj[0] = args;
28145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
28146 if (!SWIG_IsOK(res1)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28148 }
28149 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28150 {
28151 PyThreadState* __tstate = wxPyBeginAllowThreads();
28152 delete arg1;
28153
28154 wxPyEndAllowThreads(__tstate);
28155 if (PyErr_Occurred()) SWIG_fail;
28156 }
28157 resultobj = SWIG_Py_Void();
28158 return resultobj;
28159fail:
28160 return NULL;
28161}
28162
28163
1bd55598
RD
28164SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28165 PyObject *resultobj = 0;
28166 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28167 wxPageSetupDialogData *result = 0 ;
28168 void *argp1 = 0 ;
28169 int res1 = 0 ;
28170 PyObject *swig_obj[1] ;
28171
28172 if (!args) SWIG_fail;
28173 swig_obj[0] = args;
28174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28175 if (!SWIG_IsOK(res1)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28177 }
28178 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 28181 {
1bd55598
RD
28182 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
28183 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 28184 }
1bd55598
RD
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
28188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28189 return resultobj;
28190fail:
28191 return NULL;
d55e5bfc
RD
28192}
28193
28194
1bd55598
RD
28195SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28196 PyObject *resultobj = 0;
28197 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28198 wxPageSetupDialogData *result = 0 ;
28199 void *argp1 = 0 ;
28200 int res1 = 0 ;
28201 PyObject *swig_obj[1] ;
28202
28203 if (!args) SWIG_fail;
28204 swig_obj[0] = args;
28205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28206 if (!SWIG_IsOK(res1)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28208 }
28209 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28212 {
1bd55598
RD
28213 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
28214 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 28215 }
1bd55598
RD
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28220 return resultobj;
28221fail:
28222 return NULL;
d55e5bfc
RD
28223}
28224
28225
1bd55598
RD
28226SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 PyObject *resultobj = 0;
28228 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28229 int result;
28230 void *argp1 = 0 ;
28231 int res1 = 0 ;
28232 PyObject *swig_obj[1] ;
28233
28234 if (!args) SWIG_fail;
28235 swig_obj[0] = args;
28236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28237 if (!SWIG_IsOK(res1)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28239 }
28240 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 result = (int)(arg1)->ShowModal();
28244 wxPyEndAllowThreads(__tstate);
28245 if (PyErr_Occurred()) SWIG_fail;
28246 }
28247 resultobj = SWIG_From_int(static_cast< int >(result));
28248 return resultobj;
28249fail:
28250 return NULL;
d55e5bfc
RD
28251}
28252
28253
1bd55598
RD
28254SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28255 PyObject *obj;
28256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28257 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
28258 return SWIG_Py_Void();
d55e5bfc
RD
28259}
28260
1bd55598
RD
28261SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28262 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
28263}
28264
1bd55598
RD
28265SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
28266 PyObject *resultobj = 0;
28267 wxPrintDialogData *result = 0 ;
28268
28269 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
28270 {
28271 PyThreadState* __tstate = wxPyBeginAllowThreads();
28272 result = (wxPrintDialogData *)new wxPrintDialogData();
28273 wxPyEndAllowThreads(__tstate);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 }
28276 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28277 return resultobj;
28278fail:
28279 return NULL;
d55e5bfc
RD
28280}
28281
28282
1bd55598
RD
28283SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28284 PyObject *resultobj = 0;
28285 wxPrintData *arg1 = 0 ;
28286 wxPrintDialogData *result = 0 ;
28287 void *argp1 = 0 ;
28288 int res1 = 0 ;
28289
28290 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
28292 if (!SWIG_IsOK(res1)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28294 }
28295 if (!argp1) {
28296 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28297 }
28298 arg1 = reinterpret_cast< wxPrintData * >(argp1);
28299 {
28300 PyThreadState* __tstate = wxPyBeginAllowThreads();
28301 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
28302 wxPyEndAllowThreads(__tstate);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 }
28305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28306 return resultobj;
28307fail:
28308 return NULL;
d55e5bfc
RD
28309}
28310
28311
1bd55598
RD
28312SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28313 PyObject *resultobj = 0;
28314 wxPrintDialogData *arg1 = 0 ;
28315 wxPrintDialogData *result = 0 ;
28316 void *argp1 = 0 ;
28317 int res1 = 0 ;
28318
28319 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
28321 if (!SWIG_IsOK(res1)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28323 }
28324 if (!argp1) {
28325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28326 }
28327 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28335 return resultobj;
28336fail:
28337 return NULL;
d55e5bfc
RD
28338}
28339
28340
1bd55598
RD
28341SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
28342 int argc;
28343 PyObject *argv[2];
28344
28345 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
28346 --argc;
28347 if (argc == 0) {
28348 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
28349 }
28350 if (argc == 1) {
28351 int _v = 0;
d55e5bfc 28352 {
1bd55598
RD
28353 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
28354 _v = SWIG_CheckState(res);
d55e5bfc 28355 }
1bd55598
RD
28356 if (!_v) goto check_2;
28357 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
28358 }
28359check_2:
28360
28361 if (argc == 1) {
28362 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
28363 }
28364
28365fail:
28366 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
28367 return NULL;
d55e5bfc
RD
28368}
28369
28370
1bd55598
RD
28371SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28372 PyObject *resultobj = 0;
28373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28374 void *argp1 = 0 ;
28375 int res1 = 0 ;
28376 PyObject *swig_obj[1] ;
28377
28378 if (!args) SWIG_fail;
28379 swig_obj[0] = args;
28380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
28381 if (!SWIG_IsOK(res1)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28383 }
28384 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 delete arg1;
d55e5bfc 28388
1bd55598
RD
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 resultobj = SWIG_Py_Void();
28393 return resultobj;
28394fail:
28395 return NULL;
d55e5bfc
RD
28396}
28397
28398
1bd55598
RD
28399SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28400 PyObject *resultobj = 0;
28401 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28402 int result;
28403 void *argp1 = 0 ;
28404 int res1 = 0 ;
28405 PyObject *swig_obj[1] ;
28406
28407 if (!args) SWIG_fail;
28408 swig_obj[0] = args;
28409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28410 if (!SWIG_IsOK(res1)) {
28411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28412 }
28413 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28414 {
28415 PyThreadState* __tstate = wxPyBeginAllowThreads();
28416 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
28417 wxPyEndAllowThreads(__tstate);
28418 if (PyErr_Occurred()) SWIG_fail;
28419 }
28420 resultobj = SWIG_From_int(static_cast< int >(result));
28421 return resultobj;
28422fail:
28423 return NULL;
d55e5bfc
RD
28424}
28425
28426
1bd55598
RD
28427SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28428 PyObject *resultobj = 0;
28429 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28430 int result;
28431 void *argp1 = 0 ;
28432 int res1 = 0 ;
28433 PyObject *swig_obj[1] ;
28434
28435 if (!args) SWIG_fail;
28436 swig_obj[0] = args;
28437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28438 if (!SWIG_IsOK(res1)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28440 }
28441 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
28445 wxPyEndAllowThreads(__tstate);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 resultobj = SWIG_From_int(static_cast< int >(result));
28449 return resultobj;
28450fail:
28451 return NULL;
d55e5bfc
RD
28452}
28453
28454
1bd55598
RD
28455SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28456 PyObject *resultobj = 0;
28457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28458 int result;
28459 void *argp1 = 0 ;
28460 int res1 = 0 ;
28461 PyObject *swig_obj[1] ;
28462
28463 if (!args) SWIG_fail;
28464 swig_obj[0] = args;
28465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28466 if (!SWIG_IsOK(res1)) {
28467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28468 }
28469 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28470 {
28471 PyThreadState* __tstate = wxPyBeginAllowThreads();
28472 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 resultobj = SWIG_From_int(static_cast< int >(result));
28477 return resultobj;
28478fail:
28479 return NULL;
d55e5bfc
RD
28480}
28481
28482
1bd55598
RD
28483SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28484 PyObject *resultobj = 0;
28485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28486 int result;
28487 void *argp1 = 0 ;
28488 int res1 = 0 ;
28489 PyObject *swig_obj[1] ;
28490
28491 if (!args) SWIG_fail;
28492 swig_obj[0] = args;
28493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28494 if (!SWIG_IsOK(res1)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28496 }
28497 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 resultobj = SWIG_From_int(static_cast< int >(result));
28505 return resultobj;
28506fail:
28507 return NULL;
d55e5bfc
RD
28508}
28509
28510
1bd55598
RD
28511SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28512 PyObject *resultobj = 0;
28513 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28514 int result;
28515 void *argp1 = 0 ;
28516 int res1 = 0 ;
28517 PyObject *swig_obj[1] ;
28518
28519 if (!args) SWIG_fail;
28520 swig_obj[0] = args;
28521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28522 if (!SWIG_IsOK(res1)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28524 }
28525 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28526 {
28527 PyThreadState* __tstate = wxPyBeginAllowThreads();
28528 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
28529 wxPyEndAllowThreads(__tstate);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
28532 resultobj = SWIG_From_int(static_cast< int >(result));
28533 return resultobj;
28534fail:
28535 return NULL;
d55e5bfc
RD
28536}
28537
28538
1bd55598
RD
28539SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28540 PyObject *resultobj = 0;
28541 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28542 bool result;
28543 void *argp1 = 0 ;
28544 int res1 = 0 ;
28545 PyObject *swig_obj[1] ;
28546
28547 if (!args) SWIG_fail;
28548 swig_obj[0] = args;
28549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28550 if (!SWIG_IsOK(res1)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28552 }
28553 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28554 {
28555 PyThreadState* __tstate = wxPyBeginAllowThreads();
28556 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
28557 wxPyEndAllowThreads(__tstate);
28558 if (PyErr_Occurred()) SWIG_fail;
28559 }
28560 {
28561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28562 }
28563 return resultobj;
28564fail:
28565 return NULL;
d55e5bfc
RD
28566}
28567
28568
1bd55598
RD
28569SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28570 PyObject *resultobj = 0;
28571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28572 bool result;
28573 void *argp1 = 0 ;
28574 int res1 = 0 ;
28575 PyObject *swig_obj[1] ;
28576
28577 if (!args) SWIG_fail;
28578 swig_obj[0] = args;
28579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28580 if (!SWIG_IsOK(res1)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28582 }
28583 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28584 {
28585 PyThreadState* __tstate = wxPyBeginAllowThreads();
28586 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
28587 wxPyEndAllowThreads(__tstate);
28588 if (PyErr_Occurred()) SWIG_fail;
28589 }
28590 {
28591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28592 }
28593 return resultobj;
28594fail:
28595 return NULL;
d55e5bfc
RD
28596}
28597
28598
1bd55598
RD
28599SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28600 PyObject *resultobj = 0;
28601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28602 bool result;
28603 void *argp1 = 0 ;
28604 int res1 = 0 ;
28605 PyObject *swig_obj[1] ;
28606
28607 if (!args) SWIG_fail;
28608 swig_obj[0] = args;
28609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28610 if (!SWIG_IsOK(res1)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28612 }
28613 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28614 {
28615 PyThreadState* __tstate = wxPyBeginAllowThreads();
28616 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
28617 wxPyEndAllowThreads(__tstate);
28618 if (PyErr_Occurred()) SWIG_fail;
28619 }
28620 {
28621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28622 }
28623 return resultobj;
28624fail:
28625 return NULL;
d55e5bfc
RD
28626}
28627
28628
1bd55598
RD
28629SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28630 PyObject *resultobj = 0;
28631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28632 bool result;
28633 void *argp1 = 0 ;
28634 int res1 = 0 ;
28635 PyObject *swig_obj[1] ;
28636
28637 if (!args) SWIG_fail;
28638 swig_obj[0] = args;
28639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28640 if (!SWIG_IsOK(res1)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28642 }
28643 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28644 {
28645 PyThreadState* __tstate = wxPyBeginAllowThreads();
28646 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
28647 wxPyEndAllowThreads(__tstate);
28648 if (PyErr_Occurred()) SWIG_fail;
28649 }
28650 {
28651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28652 }
28653 return resultobj;
28654fail:
28655 return NULL;
28656}
28657
28658
28659SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28660 PyObject *resultobj = 0;
28661 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28662 int arg2 ;
28663 void *argp1 = 0 ;
28664 int res1 = 0 ;
28665 int val2 ;
28666 int ecode2 = 0 ;
28667 PyObject * obj0 = 0 ;
28668 PyObject * obj1 = 0 ;
28669 char * kwnames[] = {
28670 (char *) "self",(char *) "v", NULL
28671 };
28672
28673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
28674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28675 if (!SWIG_IsOK(res1)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28677 }
28678 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28679 ecode2 = SWIG_AsVal_int(obj1, &val2);
28680 if (!SWIG_IsOK(ecode2)) {
28681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28682 }
28683 arg2 = static_cast< int >(val2);
28684 {
28685 PyThreadState* __tstate = wxPyBeginAllowThreads();
28686 (arg1)->SetFromPage(arg2);
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
28690 resultobj = SWIG_Py_Void();
28691 return resultobj;
28692fail:
28693 return NULL;
28694}
28695
28696
28697SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28698 PyObject *resultobj = 0;
28699 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28700 int arg2 ;
28701 void *argp1 = 0 ;
28702 int res1 = 0 ;
28703 int val2 ;
28704 int ecode2 = 0 ;
28705 PyObject * obj0 = 0 ;
28706 PyObject * obj1 = 0 ;
28707 char * kwnames[] = {
28708 (char *) "self",(char *) "v", NULL
28709 };
28710
28711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28713 if (!SWIG_IsOK(res1)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28715 }
28716 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28717 ecode2 = SWIG_AsVal_int(obj1, &val2);
28718 if (!SWIG_IsOK(ecode2)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28720 }
28721 arg2 = static_cast< int >(val2);
28722 {
28723 PyThreadState* __tstate = wxPyBeginAllowThreads();
28724 (arg1)->SetToPage(arg2);
28725 wxPyEndAllowThreads(__tstate);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 resultobj = SWIG_Py_Void();
28729 return resultobj;
28730fail:
28731 return NULL;
28732}
28733
28734
28735SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28736 PyObject *resultobj = 0;
28737 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28738 int arg2 ;
28739 void *argp1 = 0 ;
28740 int res1 = 0 ;
28741 int val2 ;
28742 int ecode2 = 0 ;
28743 PyObject * obj0 = 0 ;
28744 PyObject * obj1 = 0 ;
28745 char * kwnames[] = {
28746 (char *) "self",(char *) "v", NULL
28747 };
28748
28749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
28750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28751 if (!SWIG_IsOK(res1)) {
28752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28753 }
28754 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28755 ecode2 = SWIG_AsVal_int(obj1, &val2);
28756 if (!SWIG_IsOK(ecode2)) {
28757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28758 }
28759 arg2 = static_cast< int >(val2);
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 (arg1)->SetMinPage(arg2);
28763 wxPyEndAllowThreads(__tstate);
28764 if (PyErr_Occurred()) SWIG_fail;
28765 }
28766 resultobj = SWIG_Py_Void();
28767 return resultobj;
28768fail:
28769 return NULL;
28770}
28771
28772
28773SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28774 PyObject *resultobj = 0;
28775 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28776 int arg2 ;
28777 void *argp1 = 0 ;
28778 int res1 = 0 ;
28779 int val2 ;
28780 int ecode2 = 0 ;
28781 PyObject * obj0 = 0 ;
28782 PyObject * obj1 = 0 ;
28783 char * kwnames[] = {
28784 (char *) "self",(char *) "v", NULL
28785 };
28786
28787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
28788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28789 if (!SWIG_IsOK(res1)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28791 }
28792 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28793 ecode2 = SWIG_AsVal_int(obj1, &val2);
28794 if (!SWIG_IsOK(ecode2)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28796 }
28797 arg2 = static_cast< int >(val2);
28798 {
28799 PyThreadState* __tstate = wxPyBeginAllowThreads();
28800 (arg1)->SetMaxPage(arg2);
28801 wxPyEndAllowThreads(__tstate);
28802 if (PyErr_Occurred()) SWIG_fail;
28803 }
28804 resultobj = SWIG_Py_Void();
28805 return resultobj;
28806fail:
28807 return NULL;
28808}
28809
28810
28811SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28812 PyObject *resultobj = 0;
28813 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28814 int arg2 ;
28815 void *argp1 = 0 ;
28816 int res1 = 0 ;
28817 int val2 ;
28818 int ecode2 = 0 ;
28819 PyObject * obj0 = 0 ;
28820 PyObject * obj1 = 0 ;
28821 char * kwnames[] = {
28822 (char *) "self",(char *) "v", NULL
28823 };
28824
28825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
28826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28827 if (!SWIG_IsOK(res1)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28829 }
28830 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28831 ecode2 = SWIG_AsVal_int(obj1, &val2);
28832 if (!SWIG_IsOK(ecode2)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
28834 }
28835 arg2 = static_cast< int >(val2);
28836 {
28837 PyThreadState* __tstate = wxPyBeginAllowThreads();
28838 (arg1)->SetNoCopies(arg2);
28839 wxPyEndAllowThreads(__tstate);
28840 if (PyErr_Occurred()) SWIG_fail;
28841 }
28842 resultobj = SWIG_Py_Void();
28843 return resultobj;
28844fail:
28845 return NULL;
28846}
28847
28848
28849SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28850 PyObject *resultobj = 0;
28851 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28852 bool arg2 ;
28853 void *argp1 = 0 ;
28854 int res1 = 0 ;
28855 bool val2 ;
28856 int ecode2 = 0 ;
28857 PyObject * obj0 = 0 ;
28858 PyObject * obj1 = 0 ;
28859 char * kwnames[] = {
28860 (char *) "self",(char *) "flag", NULL
28861 };
28862
28863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
28864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28865 if (!SWIG_IsOK(res1)) {
28866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28867 }
28868 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28869 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28870 if (!SWIG_IsOK(ecode2)) {
28871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
28872 }
28873 arg2 = static_cast< bool >(val2);
28874 {
28875 PyThreadState* __tstate = wxPyBeginAllowThreads();
28876 (arg1)->SetAllPages(arg2);
28877 wxPyEndAllowThreads(__tstate);
28878 if (PyErr_Occurred()) SWIG_fail;
28879 }
28880 resultobj = SWIG_Py_Void();
28881 return resultobj;
28882fail:
28883 return NULL;
28884}
28885
28886
28887SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28888 PyObject *resultobj = 0;
28889 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28890 bool arg2 ;
28891 void *argp1 = 0 ;
28892 int res1 = 0 ;
28893 bool val2 ;
28894 int ecode2 = 0 ;
28895 PyObject * obj0 = 0 ;
28896 PyObject * obj1 = 0 ;
28897 char * kwnames[] = {
28898 (char *) "self",(char *) "flag", NULL
28899 };
28900
28901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
28902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28903 if (!SWIG_IsOK(res1)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28905 }
28906 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28907 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28908 if (!SWIG_IsOK(ecode2)) {
28909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
28910 }
28911 arg2 = static_cast< bool >(val2);
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 (arg1)->SetSelection(arg2);
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 resultobj = SWIG_Py_Void();
28919 return resultobj;
28920fail:
28921 return NULL;
28922}
28923
28924
28925SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28926 PyObject *resultobj = 0;
28927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28928 bool arg2 ;
28929 void *argp1 = 0 ;
28930 int res1 = 0 ;
28931 bool val2 ;
28932 int ecode2 = 0 ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 char * kwnames[] = {
28936 (char *) "self",(char *) "flag", NULL
28937 };
28938
28939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
28940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28941 if (!SWIG_IsOK(res1)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28943 }
28944 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28945 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28946 if (!SWIG_IsOK(ecode2)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
28948 }
28949 arg2 = static_cast< bool >(val2);
28950 {
28951 PyThreadState* __tstate = wxPyBeginAllowThreads();
28952 (arg1)->SetCollate(arg2);
28953 wxPyEndAllowThreads(__tstate);
28954 if (PyErr_Occurred()) SWIG_fail;
28955 }
28956 resultobj = SWIG_Py_Void();
28957 return resultobj;
28958fail:
28959 return NULL;
28960}
28961
28962
28963SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28964 PyObject *resultobj = 0;
28965 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28966 bool arg2 ;
28967 void *argp1 = 0 ;
28968 int res1 = 0 ;
28969 bool val2 ;
28970 int ecode2 = 0 ;
28971 PyObject * obj0 = 0 ;
28972 PyObject * obj1 = 0 ;
28973 char * kwnames[] = {
28974 (char *) "self",(char *) "flag", NULL
28975 };
28976
28977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
28978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28979 if (!SWIG_IsOK(res1)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28981 }
28982 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28983 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28984 if (!SWIG_IsOK(ecode2)) {
28985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
28986 }
28987 arg2 = static_cast< bool >(val2);
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 (arg1)->SetPrintToFile(arg2);
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 resultobj = SWIG_Py_Void();
28995 return resultobj;
28996fail:
28997 return NULL;
28998}
28999
29000
29001SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29002 PyObject *resultobj = 0;
29003 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29004 bool arg2 ;
29005 void *argp1 = 0 ;
29006 int res1 = 0 ;
29007 bool val2 ;
29008 int ecode2 = 0 ;
29009 PyObject * obj0 = 0 ;
29010 PyObject * obj1 = 0 ;
29011 char * kwnames[] = {
29012 (char *) "self",(char *) "flag", NULL
29013 };
29014
29015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29017 if (!SWIG_IsOK(res1)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29019 }
29020 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29021 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29022 if (!SWIG_IsOK(ecode2)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29024 }
29025 arg2 = static_cast< bool >(val2);
29026 {
29027 PyThreadState* __tstate = wxPyBeginAllowThreads();
29028 (arg1)->EnablePrintToFile(arg2);
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 resultobj = SWIG_Py_Void();
29033 return resultobj;
29034fail:
29035 return NULL;
29036}
29037
29038
29039SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj = 0;
29041 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29042 bool arg2 ;
29043 void *argp1 = 0 ;
29044 int res1 = 0 ;
29045 bool val2 ;
29046 int ecode2 = 0 ;
29047 PyObject * obj0 = 0 ;
29048 PyObject * obj1 = 0 ;
29049 char * kwnames[] = {
29050 (char *) "self",(char *) "flag", NULL
29051 };
29052
29053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29055 if (!SWIG_IsOK(res1)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29057 }
29058 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29059 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29060 if (!SWIG_IsOK(ecode2)) {
29061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29062 }
29063 arg2 = static_cast< bool >(val2);
29064 {
29065 PyThreadState* __tstate = wxPyBeginAllowThreads();
29066 (arg1)->EnableSelection(arg2);
29067 wxPyEndAllowThreads(__tstate);
29068 if (PyErr_Occurred()) SWIG_fail;
29069 }
29070 resultobj = SWIG_Py_Void();
29071 return resultobj;
29072fail:
29073 return NULL;
29074}
29075
29076
29077SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29078 PyObject *resultobj = 0;
29079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29080 bool arg2 ;
29081 void *argp1 = 0 ;
29082 int res1 = 0 ;
29083 bool val2 ;
29084 int ecode2 = 0 ;
29085 PyObject * obj0 = 0 ;
29086 PyObject * obj1 = 0 ;
29087 char * kwnames[] = {
29088 (char *) "self",(char *) "flag", NULL
29089 };
29090
29091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
29092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29093 if (!SWIG_IsOK(res1)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29095 }
29096 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29097 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29098 if (!SWIG_IsOK(ecode2)) {
29099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29100 }
29101 arg2 = static_cast< bool >(val2);
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 (arg1)->EnablePageNumbers(arg2);
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 resultobj = SWIG_Py_Void();
29109 return resultobj;
29110fail:
29111 return NULL;
29112}
29113
29114
29115SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj = 0;
29117 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29118 bool arg2 ;
29119 void *argp1 = 0 ;
29120 int res1 = 0 ;
29121 bool val2 ;
29122 int ecode2 = 0 ;
29123 PyObject * obj0 = 0 ;
29124 PyObject * obj1 = 0 ;
29125 char * kwnames[] = {
29126 (char *) "self",(char *) "flag", NULL
29127 };
29128
29129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
29130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29131 if (!SWIG_IsOK(res1)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29133 }
29134 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29135 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29136 if (!SWIG_IsOK(ecode2)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29138 }
29139 arg2 = static_cast< bool >(val2);
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 (arg1)->EnableHelp(arg2);
29143 wxPyEndAllowThreads(__tstate);
29144 if (PyErr_Occurred()) SWIG_fail;
29145 }
29146 resultobj = SWIG_Py_Void();
29147 return resultobj;
29148fail:
29149 return NULL;
29150}
d55e5bfc 29151
1bd55598
RD
29152
29153SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29154 PyObject *resultobj = 0;
29155 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29156 bool result;
29157 void *argp1 = 0 ;
29158 int res1 = 0 ;
29159 PyObject *swig_obj[1] ;
29160
29161 if (!args) SWIG_fail;
29162 swig_obj[0] = args;
29163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29164 if (!SWIG_IsOK(res1)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29166 }
29167 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29168 {
29169 PyThreadState* __tstate = wxPyBeginAllowThreads();
29170 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 {
29175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29176 }
29177 return resultobj;
29178fail:
29179 return NULL;
d55e5bfc
RD
29180}
29181
29182
1bd55598
RD
29183SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29184 PyObject *resultobj = 0;
29185 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29186 bool result;
29187 void *argp1 = 0 ;
29188 int res1 = 0 ;
29189 PyObject *swig_obj[1] ;
29190
29191 if (!args) SWIG_fail;
29192 swig_obj[0] = args;
29193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29194 if (!SWIG_IsOK(res1)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29196 }
29197 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29198 {
29199 PyThreadState* __tstate = wxPyBeginAllowThreads();
29200 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 {
29205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29206 }
29207 return resultobj;
29208fail:
29209 return NULL;
d55e5bfc
RD
29210}
29211
29212
1bd55598
RD
29213SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29214 PyObject *resultobj = 0;
29215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29216 bool result;
29217 void *argp1 = 0 ;
29218 int res1 = 0 ;
29219 PyObject *swig_obj[1] ;
29220
29221 if (!args) SWIG_fail;
29222 swig_obj[0] = args;
29223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29224 if (!SWIG_IsOK(res1)) {
29225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29226 }
29227 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 {
29235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29236 }
29237 return resultobj;
29238fail:
29239 return NULL;
d55e5bfc
RD
29240}
29241
29242
1bd55598
RD
29243SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29244 PyObject *resultobj = 0;
29245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29246 bool result;
29247 void *argp1 = 0 ;
29248 int res1 = 0 ;
29249 PyObject *swig_obj[1] ;
29250
29251 if (!args) SWIG_fail;
29252 swig_obj[0] = args;
29253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29254 if (!SWIG_IsOK(res1)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29256 }
29257 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
29260 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 {
29265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29266 }
29267 return resultobj;
29268fail:
29269 return NULL;
d55e5bfc
RD
29270}
29271
29272
b39fe951 29273SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
29274 PyObject *resultobj = 0;
29275 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29276 bool result;
29277 void *argp1 = 0 ;
29278 int res1 = 0 ;
29279 PyObject *swig_obj[1] ;
29280
29281 if (!args) SWIG_fail;
29282 swig_obj[0] = args;
29283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29284 if (!SWIG_IsOK(res1)) {
b39fe951 29285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
1bd55598
RD
29286 }
29287 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 29290 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
1bd55598
RD
29291 wxPyEndAllowThreads(__tstate);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 }
29294 {
29295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29296 }
29297 return resultobj;
29298fail:
29299 return NULL;
d55e5bfc
RD
29300}
29301
29302
1bd55598
RD
29303SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29304 PyObject *resultobj = 0;
29305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29306 wxPrintData *result = 0 ;
29307 void *argp1 = 0 ;
29308 int res1 = 0 ;
29309 PyObject *swig_obj[1] ;
29310
29311 if (!args) SWIG_fail;
29312 swig_obj[0] = args;
29313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29314 if (!SWIG_IsOK(res1)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29316 }
29317 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29318 {
29319 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 29320 {
1bd55598
RD
29321 wxPrintData &_result_ref = (arg1)->GetPrintData();
29322 result = (wxPrintData *) &_result_ref;
29323 }
29324 wxPyEndAllowThreads(__tstate);
29325 if (PyErr_Occurred()) SWIG_fail;
29326 }
29327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29328 return resultobj;
29329fail:
29330 return NULL;
29331}
29332
29333
29334SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29335 PyObject *resultobj = 0;
29336 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29337 wxPrintData *arg2 = 0 ;
29338 void *argp1 = 0 ;
29339 int res1 = 0 ;
29340 void *argp2 = 0 ;
29341 int res2 = 0 ;
29342 PyObject * obj0 = 0 ;
29343 PyObject * obj1 = 0 ;
29344 char * kwnames[] = {
29345 (char *) "self",(char *) "printData", NULL
29346 };
29347
29348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
29349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29350 if (!SWIG_IsOK(res1)) {
29351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29352 }
29353 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29354 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
29355 if (!SWIG_IsOK(res2)) {
29356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29357 }
29358 if (!argp2) {
29359 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29360 }
29361 arg2 = reinterpret_cast< wxPrintData * >(argp2);
29362 {
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
29364 (arg1)->SetPrintData((wxPrintData const &)*arg2);
29365 wxPyEndAllowThreads(__tstate);
29366 if (PyErr_Occurred()) SWIG_fail;
29367 }
29368 resultobj = SWIG_Py_Void();
29369 return resultobj;
29370fail:
29371 return NULL;
d55e5bfc
RD
29372}
29373
29374
1bd55598
RD
29375SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29376 PyObject *obj;
29377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
29379 return SWIG_Py_Void();
29380}
29381
29382SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29383 return SWIG_Python_InitShadowInstance(args);
29384}
29385
29386SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29387 PyObject *resultobj = 0;
29388 wxWindow *arg1 = (wxWindow *) 0 ;
29389 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
29390 wxPrintDialog *result = 0 ;
29391 void *argp1 = 0 ;
29392 int res1 = 0 ;
29393 void *argp2 = 0 ;
29394 int res2 = 0 ;
29395 PyObject * obj0 = 0 ;
29396 PyObject * obj1 = 0 ;
29397 char * kwnames[] = {
29398 (char *) "parent",(char *) "data", NULL
29399 };
29400
29401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29403 if (!SWIG_IsOK(res1)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29405 }
29406 arg1 = reinterpret_cast< wxWindow * >(argp1);
29407 if (obj1) {
29408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29409 if (!SWIG_IsOK(res2)) {
29410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 29411 }
1bd55598
RD
29412 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
29413 }
29414 {
29415 if (!wxPyCheckForApp()) SWIG_fail;
29416 PyThreadState* __tstate = wxPyBeginAllowThreads();
29417 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
29418 wxPyEndAllowThreads(__tstate);
29419 if (PyErr_Occurred()) SWIG_fail;
29420 }
29421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
29422 return resultobj;
29423fail:
29424 return NULL;
d55e5bfc
RD
29425}
29426
29427
06810ecf
RD
29428SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29429 PyObject *resultobj = 0;
29430 wxPrintDialog *arg1 = (wxPrintDialog *) 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_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
29438 if (!SWIG_IsOK(res1)) {
29439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29440 }
29441 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29442 {
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
29444 delete arg1;
29445
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 resultobj = SWIG_Py_Void();
29450 return resultobj;
29451fail:
29452 return NULL;
29453}
29454
29455
1bd55598
RD
29456SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29457 PyObject *resultobj = 0;
29458 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29459 int result;
29460 void *argp1 = 0 ;
29461 int res1 = 0 ;
29462 PyObject *swig_obj[1] ;
29463
29464 if (!args) SWIG_fail;
29465 swig_obj[0] = args;
29466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29467 if (!SWIG_IsOK(res1)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29469 }
29470 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29471 {
29472 PyThreadState* __tstate = wxPyBeginAllowThreads();
29473 result = (int)(arg1)->ShowModal();
29474 wxPyEndAllowThreads(__tstate);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 resultobj = SWIG_From_int(static_cast< int >(result));
29478 return resultobj;
29479fail:
29480 return NULL;
d55e5bfc
RD
29481}
29482
29483
1bd55598
RD
29484SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29485 PyObject *resultobj = 0;
29486 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29487 wxPrintDialogData *result = 0 ;
29488 void *argp1 = 0 ;
29489 int res1 = 0 ;
29490 PyObject *swig_obj[1] ;
29491
29492 if (!args) SWIG_fail;
29493 swig_obj[0] = args;
29494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29495 if (!SWIG_IsOK(res1)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29497 }
29498 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29499 {
29500 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 29501 {
1bd55598
RD
29502 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29503 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 29504 }
1bd55598
RD
29505 wxPyEndAllowThreads(__tstate);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 }
29508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29509 return resultobj;
29510fail:
29511 return NULL;
d55e5bfc
RD
29512}
29513
29514
1bd55598
RD
29515SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29516 PyObject *resultobj = 0;
29517 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29518 wxPrintData *result = 0 ;
29519 void *argp1 = 0 ;
29520 int res1 = 0 ;
29521 PyObject *swig_obj[1] ;
29522
29523 if (!args) SWIG_fail;
29524 swig_obj[0] = args;
29525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29526 if (!SWIG_IsOK(res1)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29528 }
29529 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29530 {
29531 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 29532 {
1bd55598
RD
29533 wxPrintData &_result_ref = (arg1)->GetPrintData();
29534 result = (wxPrintData *) &_result_ref;
d55e5bfc 29535 }
1bd55598
RD
29536 wxPyEndAllowThreads(__tstate);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 }
29539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29540 return resultobj;
29541fail:
29542 return NULL;
d55e5bfc
RD
29543}
29544
29545
1bd55598
RD
29546SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29547 PyObject *resultobj = 0;
29548 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29549 wxDC *result = 0 ;
29550 void *argp1 = 0 ;
29551 int res1 = 0 ;
29552 PyObject *swig_obj[1] ;
29553
29554 if (!args) SWIG_fail;
29555 swig_obj[0] = args;
29556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29557 if (!SWIG_IsOK(res1)) {
29558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29559 }
29560 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29561 {
29562 PyThreadState* __tstate = wxPyBeginAllowThreads();
29563 result = (wxDC *)(arg1)->GetPrintDC();
29564 wxPyEndAllowThreads(__tstate);
29565 if (PyErr_Occurred()) SWIG_fail;
29566 }
29567 {
29568 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
29569 }
29570 return resultobj;
29571fail:
29572 return NULL;
d55e5bfc
RD
29573}
29574
29575
1bd55598
RD
29576SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29577 PyObject *obj;
29578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29579 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
29580 return SWIG_Py_Void();
d55e5bfc
RD
29581}
29582
1bd55598
RD
29583SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 return SWIG_Python_InitShadowInstance(args);
29585}
d55e5bfc 29586
1bd55598
RD
29587SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29588 PyObject *resultobj = 0;
29589 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
29590 wxPrinter *result = 0 ;
29591 void *argp1 = 0 ;
29592 int res1 = 0 ;
29593 PyObject * obj0 = 0 ;
29594 char * kwnames[] = {
29595 (char *) "data", NULL
29596 };
29597
29598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
29599 if (obj0) {
29600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29601 if (!SWIG_IsOK(res1)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 29603 }
1bd55598
RD
29604 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29605 }
29606 {
29607 if (!wxPyCheckForApp()) SWIG_fail;
29608 PyThreadState* __tstate = wxPyBeginAllowThreads();
29609 result = (wxPrinter *)new wxPrinter(arg1);
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
29614 return resultobj;
29615fail:
29616 return NULL;
d55e5bfc
RD
29617}
29618
29619
1bd55598
RD
29620SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29621 PyObject *resultobj = 0;
29622 wxPrinter *arg1 = (wxPrinter *) 0 ;
29623 void *argp1 = 0 ;
29624 int res1 = 0 ;
29625 PyObject *swig_obj[1] ;
29626
29627 if (!args) SWIG_fail;
29628 swig_obj[0] = args;
29629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
29630 if (!SWIG_IsOK(res1)) {
29631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29632 }
29633 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 delete arg1;
d55e5bfc 29637
1bd55598
RD
29638 wxPyEndAllowThreads(__tstate);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 }
29641 resultobj = SWIG_Py_Void();
29642 return resultobj;
29643fail:
29644 return NULL;
29645}
29646
29647
29648SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29649 PyObject *resultobj = 0;
29650 wxPrinter *arg1 = (wxPrinter *) 0 ;
29651 wxWindow *arg2 = (wxWindow *) 0 ;
29652 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29653 wxWindow *result = 0 ;
29654 void *argp1 = 0 ;
29655 int res1 = 0 ;
29656 void *argp2 = 0 ;
29657 int res2 = 0 ;
29658 void *argp3 = 0 ;
29659 int res3 = 0 ;
29660 PyObject * obj0 = 0 ;
29661 PyObject * obj1 = 0 ;
29662 PyObject * obj2 = 0 ;
29663 char * kwnames[] = {
29664 (char *) "self",(char *) "parent",(char *) "printout", NULL
29665 };
29666
29667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29669 if (!SWIG_IsOK(res1)) {
29670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29671 }
29672 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29673 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29674 if (!SWIG_IsOK(res2)) {
29675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29676 }
29677 arg2 = reinterpret_cast< wxWindow * >(argp2);
29678 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29679 if (!SWIG_IsOK(res3)) {
29680 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29681 }
29682 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29683 {
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 {
29690 resultobj = wxPyMake_wxObject(result, 0);
29691 }
29692 return resultobj;
29693fail:
29694 return NULL;
29695}
29696
29697
29698SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj = 0;
29700 wxPrinter *arg1 = (wxPrinter *) 0 ;
29701 wxWindow *arg2 = (wxWindow *) 0 ;
29702 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29703 wxString *arg4 = 0 ;
29704 void *argp1 = 0 ;
29705 int res1 = 0 ;
29706 void *argp2 = 0 ;
29707 int res2 = 0 ;
29708 void *argp3 = 0 ;
29709 int res3 = 0 ;
29710 bool temp4 = false ;
29711 PyObject * obj0 = 0 ;
29712 PyObject * obj1 = 0 ;
29713 PyObject * obj2 = 0 ;
29714 PyObject * obj3 = 0 ;
29715 char * kwnames[] = {
29716 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29717 };
29718
29719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29721 if (!SWIG_IsOK(res1)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29723 }
29724 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29725 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29726 if (!SWIG_IsOK(res2)) {
29727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29728 }
29729 arg2 = reinterpret_cast< wxWindow * >(argp2);
29730 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29731 if (!SWIG_IsOK(res3)) {
29732 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29733 }
29734 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29735 {
29736 arg4 = wxString_in_helper(obj3);
29737 if (arg4 == NULL) SWIG_fail;
29738 temp4 = true;
29739 }
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
29743 wxPyEndAllowThreads(__tstate);
29744 if (PyErr_Occurred()) SWIG_fail;
29745 }
29746 resultobj = SWIG_Py_Void();
29747 {
29748 if (temp4)
29749 delete arg4;
29750 }
29751 return resultobj;
29752fail:
29753 {
29754 if (temp4)
29755 delete arg4;
29756 }
29757 return NULL;
29758}
29759
29760
29761SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29762 PyObject *resultobj = 0;
29763 wxPrinter *arg1 = (wxPrinter *) 0 ;
29764 wxWindow *arg2 = (wxWindow *) 0 ;
29765 bool result;
29766 void *argp1 = 0 ;
29767 int res1 = 0 ;
29768 void *argp2 = 0 ;
29769 int res2 = 0 ;
29770 PyObject * obj0 = 0 ;
29771 PyObject * obj1 = 0 ;
29772 char * kwnames[] = {
29773 (char *) "self",(char *) "parent", NULL
29774 };
29775
29776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
29777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29778 if (!SWIG_IsOK(res1)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29780 }
29781 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29783 if (!SWIG_IsOK(res2)) {
29784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29785 }
29786 arg2 = reinterpret_cast< wxWindow * >(argp2);
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 result = (bool)(arg1)->Setup(arg2);
29790 wxPyEndAllowThreads(__tstate);
29791 if (PyErr_Occurred()) SWIG_fail;
29792 }
29793 {
29794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29795 }
29796 return resultobj;
29797fail:
29798 return NULL;
29799}
29800
29801
29802SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29803 PyObject *resultobj = 0;
29804 wxPrinter *arg1 = (wxPrinter *) 0 ;
29805 wxWindow *arg2 = (wxWindow *) 0 ;
29806 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29807 bool arg4 = (bool) true ;
29808 bool result;
29809 void *argp1 = 0 ;
29810 int res1 = 0 ;
29811 void *argp2 = 0 ;
29812 int res2 = 0 ;
29813 void *argp3 = 0 ;
29814 int res3 = 0 ;
29815 bool val4 ;
29816 int ecode4 = 0 ;
29817 PyObject * obj0 = 0 ;
29818 PyObject * obj1 = 0 ;
29819 PyObject * obj2 = 0 ;
29820 PyObject * obj3 = 0 ;
29821 char * kwnames[] = {
29822 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
29823 };
29824
29825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29827 if (!SWIG_IsOK(res1)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
29829 }
29830 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29832 if (!SWIG_IsOK(res2)) {
29833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
29834 }
29835 arg2 = reinterpret_cast< wxWindow * >(argp2);
29836 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29837 if (!SWIG_IsOK(res3)) {
29838 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29839 }
29840 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29841 if (obj3) {
29842 ecode4 = SWIG_AsVal_bool(obj3, &val4);
29843 if (!SWIG_IsOK(ecode4)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
29845 }
29846 arg4 = static_cast< bool >(val4);
29847 }
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 result = (bool)(arg1)->Print(arg2,arg3,arg4);
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
29854 {
29855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29856 }
29857 return resultobj;
29858fail:
29859 return NULL;
29860}
29861
29862
29863SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29864 PyObject *resultobj = 0;
29865 wxPrinter *arg1 = (wxPrinter *) 0 ;
29866 wxWindow *arg2 = (wxWindow *) 0 ;
29867 wxDC *result = 0 ;
29868 void *argp1 = 0 ;
29869 int res1 = 0 ;
29870 void *argp2 = 0 ;
29871 int res2 = 0 ;
29872 PyObject * obj0 = 0 ;
29873 PyObject * obj1 = 0 ;
29874 char * kwnames[] = {
29875 (char *) "self",(char *) "parent", NULL
29876 };
29877
29878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29880 if (!SWIG_IsOK(res1)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
29882 }
29883 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29884 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29885 if (!SWIG_IsOK(res2)) {
29886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
29887 }
29888 arg2 = reinterpret_cast< wxWindow * >(argp2);
29889 {
29890 PyThreadState* __tstate = wxPyBeginAllowThreads();
29891 result = (wxDC *)(arg1)->PrintDialog(arg2);
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 {
29896 resultobj = wxPyMake_wxObject(result, (bool)0);
29897 }
29898 return resultobj;
29899fail:
29900 return NULL;
d55e5bfc
RD
29901}
29902
29903
1bd55598
RD
29904SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29905 PyObject *resultobj = 0;
29906 wxPrinter *arg1 = (wxPrinter *) 0 ;
29907 wxPrintDialogData *result = 0 ;
29908 void *argp1 = 0 ;
29909 int res1 = 0 ;
29910 PyObject *swig_obj[1] ;
29911
29912 if (!args) SWIG_fail;
29913 swig_obj[0] = args;
29914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29915 if (!SWIG_IsOK(res1)) {
29916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
29917 }
29918 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29919 {
29920 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 29921 {
1bd55598
RD
29922 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
29923 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 29924 }
1bd55598
RD
29925 wxPyEndAllowThreads(__tstate);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29929 return resultobj;
29930fail:
29931 return NULL;
d55e5bfc
RD
29932}
29933
29934
1bd55598
RD
29935SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29936 PyObject *resultobj = 0;
29937 wxPrinter *arg1 = (wxPrinter *) 0 ;
29938 bool result;
29939 void *argp1 = 0 ;
29940 int res1 = 0 ;
29941 PyObject *swig_obj[1] ;
29942
29943 if (!args) SWIG_fail;
29944 swig_obj[0] = args;
29945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29946 if (!SWIG_IsOK(res1)) {
29947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
29948 }
29949 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29950 {
29951 PyThreadState* __tstate = wxPyBeginAllowThreads();
29952 result = (bool)(arg1)->GetAbort();
29953 wxPyEndAllowThreads(__tstate);
29954 if (PyErr_Occurred()) SWIG_fail;
29955 }
29956 {
29957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29958 }
29959 return resultobj;
29960fail:
29961 return NULL;
d55e5bfc
RD
29962}
29963
29964
1bd55598
RD
29965SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29966 PyObject *resultobj = 0;
29967 wxPrinterError result;
29968
29969 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 result = (wxPrinterError)wxPrinter::GetLastError();
29973 wxPyEndAllowThreads(__tstate);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 }
29976 resultobj = SWIG_From_int(static_cast< int >(result));
29977 return resultobj;
29978fail:
29979 return NULL;
d55e5bfc
RD
29980}
29981
29982
1bd55598
RD
29983SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29984 PyObject *obj;
29985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
29987 return SWIG_Py_Void();
d55e5bfc
RD
29988}
29989
1bd55598
RD
29990SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29991 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29992}
29993
1bd55598
RD
29994SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29995 PyObject *resultobj = 0;
29996 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
29997 wxString *arg1 = (wxString *) &arg1_defvalue ;
29998 wxPyPrintout *result = 0 ;
29999 bool temp1 = false ;
30000 PyObject * obj0 = 0 ;
30001 char * kwnames[] = {
30002 (char *) "title", NULL
30003 };
30004
30005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
30006 if (obj0) {
d55e5bfc 30007 {
1bd55598
RD
30008 arg1 = wxString_in_helper(obj0);
30009 if (arg1 == NULL) SWIG_fail;
30010 temp1 = true;
d55e5bfc 30011 }
1bd55598
RD
30012 }
30013 {
30014 if (!wxPyCheckForApp()) SWIG_fail;
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
30017 wxPyEndAllowThreads(__tstate);
30018 if (PyErr_Occurred()) SWIG_fail;
30019 }
30020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
30021 {
30022 if (temp1)
30023 delete arg1;
30024 }
30025 return resultobj;
30026fail:
30027 {
30028 if (temp1)
30029 delete arg1;
30030 }
30031 return NULL;
d55e5bfc
RD
30032}
30033
30034
1bd55598
RD
30035SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30036 PyObject *resultobj = 0;
30037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30038 void *argp1 = 0 ;
30039 int res1 = 0 ;
30040 PyObject *swig_obj[1] ;
30041
30042 if (!args) SWIG_fail;
30043 swig_obj[0] = args;
30044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30045 if (!SWIG_IsOK(res1)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30047 }
30048 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 delete arg1;
d55e5bfc 30052
1bd55598
RD
30053 wxPyEndAllowThreads(__tstate);
30054 if (PyErr_Occurred()) SWIG_fail;
30055 }
30056 resultobj = SWIG_Py_Void();
30057 return resultobj;
30058fail:
30059 return NULL;
30060}
30061
30062
30063SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30064 PyObject *resultobj = 0;
30065 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30066 PyObject *arg2 = (PyObject *) 0 ;
30067 PyObject *arg3 = (PyObject *) 0 ;
30068 void *argp1 = 0 ;
30069 int res1 = 0 ;
30070 PyObject * obj0 = 0 ;
30071 PyObject * obj1 = 0 ;
30072 PyObject * obj2 = 0 ;
30073 char * kwnames[] = {
30074 (char *) "self",(char *) "self",(char *) "_class", NULL
30075 };
30076
30077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30079 if (!SWIG_IsOK(res1)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30081 }
30082 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30083 arg2 = obj1;
30084 arg3 = obj2;
30085 {
30086 PyThreadState* __tstate = wxPyBeginAllowThreads();
30087 (arg1)->_setCallbackInfo(arg2,arg3);
30088 wxPyEndAllowThreads(__tstate);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
30091 resultobj = SWIG_Py_Void();
30092 return resultobj;
30093fail:
30094 return NULL;
d55e5bfc
RD
30095}
30096
30097
1bd55598
RD
30098SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30099 PyObject *resultobj = 0;
30100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30101 wxString result;
30102 void *argp1 = 0 ;
30103 int res1 = 0 ;
30104 PyObject *swig_obj[1] ;
30105
30106 if (!args) SWIG_fail;
30107 swig_obj[0] = args;
30108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30109 if (!SWIG_IsOK(res1)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30111 }
30112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30113 {
30114 PyThreadState* __tstate = wxPyBeginAllowThreads();
30115 result = ((wxPyPrintout const *)arg1)->GetTitle();
30116 wxPyEndAllowThreads(__tstate);
30117 if (PyErr_Occurred()) SWIG_fail;
30118 }
30119 {
30120#if wxUSE_UNICODE
30121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30122#else
30123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30124#endif
30125 }
30126 return resultobj;
30127fail:
30128 return NULL;
d55e5bfc
RD
30129}
30130
30131
1bd55598
RD
30132SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30133 PyObject *resultobj = 0;
30134 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30135 wxDC *result = 0 ;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 PyObject *swig_obj[1] ;
30139
30140 if (!args) SWIG_fail;
30141 swig_obj[0] = args;
30142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 result = (wxDC *)(arg1)->GetDC();
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 {
30154 resultobj = wxPyMake_wxObject(result, (bool)0);
30155 }
30156 return resultobj;
30157fail:
30158 return NULL;
30159}
30160
30161
30162SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30163 PyObject *resultobj = 0;
30164 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30165 wxDC *arg2 = (wxDC *) 0 ;
30166 void *argp1 = 0 ;
30167 int res1 = 0 ;
30168 void *argp2 = 0 ;
30169 int res2 = 0 ;
30170 PyObject * obj0 = 0 ;
30171 PyObject * obj1 = 0 ;
30172 char * kwnames[] = {
30173 (char *) "self",(char *) "dc", NULL
30174 };
30175
30176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
30177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30178 if (!SWIG_IsOK(res1)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30180 }
30181 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
30183 if (!SWIG_IsOK(res2)) {
30184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30185 }
30186 arg2 = reinterpret_cast< wxDC * >(argp2);
30187 {
30188 PyThreadState* __tstate = wxPyBeginAllowThreads();
30189 (arg1)->SetDC(arg2);
30190 wxPyEndAllowThreads(__tstate);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 }
30193 resultobj = SWIG_Py_Void();
30194 return resultobj;
30195fail:
30196 return NULL;
30197}
30198
30199
70d7cb34
RD
30200SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30201 PyObject *resultobj = 0;
30202 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30203 wxSize *arg2 = 0 ;
30204 void *argp1 = 0 ;
30205 int res1 = 0 ;
30206 wxSize temp2 ;
30207 PyObject * obj0 = 0 ;
30208 PyObject * obj1 = 0 ;
30209 char * kwnames[] = {
30210 (char *) "self",(char *) "imageSize", NULL
30211 };
30212
30213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
30214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30215 if (!SWIG_IsOK(res1)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30217 }
30218 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30219 {
30220 arg2 = &temp2;
30221 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30222 }
30223 {
30224 PyThreadState* __tstate = wxPyBeginAllowThreads();
30225 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
30226 wxPyEndAllowThreads(__tstate);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 }
30229 resultobj = SWIG_Py_Void();
30230 return resultobj;
30231fail:
30232 return NULL;
30233}
30234
30235
30236SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30237 PyObject *resultobj = 0;
30238 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30239 wxSize *arg2 = 0 ;
30240 void *argp1 = 0 ;
30241 int res1 = 0 ;
30242 wxSize temp2 ;
30243 PyObject * obj0 = 0 ;
30244 PyObject * obj1 = 0 ;
30245 char * kwnames[] = {
30246 (char *) "self",(char *) "imageSize", NULL
30247 };
30248
30249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
30250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30251 if (!SWIG_IsOK(res1)) {
30252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30253 }
30254 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30255 {
30256 arg2 = &temp2;
30257 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30258 }
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
30262 wxPyEndAllowThreads(__tstate);
30263 if (PyErr_Occurred()) SWIG_fail;
30264 }
30265 resultobj = SWIG_Py_Void();
30266 return resultobj;
30267fail:
30268 return NULL;
30269}
30270
30271
30272SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30273 PyObject *resultobj = 0;
30274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30275 wxSize *arg2 = 0 ;
30276 wxPageSetupDialogData *arg3 = 0 ;
30277 void *argp1 = 0 ;
30278 int res1 = 0 ;
30279 wxSize temp2 ;
30280 void *argp3 = 0 ;
30281 int res3 = 0 ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 PyObject * obj2 = 0 ;
30285 char * kwnames[] = {
30286 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30287 };
30288
30289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30291 if (!SWIG_IsOK(res1)) {
30292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30293 }
30294 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30295 {
30296 arg2 = &temp2;
30297 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30298 }
30299 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30300 if (!SWIG_IsOK(res3)) {
30301 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30302 }
30303 if (!argp3) {
30304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30305 }
30306 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
30307 {
30308 PyThreadState* __tstate = wxPyBeginAllowThreads();
30309 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
30310 wxPyEndAllowThreads(__tstate);
30311 if (PyErr_Occurred()) SWIG_fail;
30312 }
30313 resultobj = SWIG_Py_Void();
30314 return resultobj;
30315fail:
30316 return NULL;
30317}
30318
30319
30320SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30321 PyObject *resultobj = 0;
30322 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30323 void *argp1 = 0 ;
30324 int res1 = 0 ;
30325 PyObject *swig_obj[1] ;
30326
30327 if (!args) SWIG_fail;
30328 swig_obj[0] = args;
30329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30330 if (!SWIG_IsOK(res1)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30332 }
30333 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 (arg1)->MapScreenSizeToPaper();
30337 wxPyEndAllowThreads(__tstate);
30338 if (PyErr_Occurred()) SWIG_fail;
30339 }
30340 resultobj = SWIG_Py_Void();
30341 return resultobj;
30342fail:
30343 return NULL;
30344}
30345
30346
30347SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30348 PyObject *resultobj = 0;
30349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30350 void *argp1 = 0 ;
30351 int res1 = 0 ;
30352 PyObject *swig_obj[1] ;
30353
30354 if (!args) SWIG_fail;
30355 swig_obj[0] = args;
30356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30357 if (!SWIG_IsOK(res1)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30359 }
30360 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30361 {
30362 PyThreadState* __tstate = wxPyBeginAllowThreads();
30363 (arg1)->MapScreenSizeToPage();
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 resultobj = SWIG_Py_Void();
30368 return resultobj;
30369fail:
30370 return NULL;
30371}
30372
30373
30374SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj = 0;
30376 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30377 wxPageSetupDialogData *arg2 = 0 ;
30378 void *argp1 = 0 ;
30379 int res1 = 0 ;
30380 void *argp2 = 0 ;
30381 int res2 = 0 ;
30382 PyObject * obj0 = 0 ;
30383 PyObject * obj1 = 0 ;
30384 char * kwnames[] = {
30385 (char *) "self",(char *) "pageSetupData", NULL
30386 };
30387
30388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
30389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30390 if (!SWIG_IsOK(res1)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30392 }
30393 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30394 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30395 if (!SWIG_IsOK(res2)) {
30396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30397 }
30398 if (!argp2) {
30399 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30400 }
30401 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
30405 wxPyEndAllowThreads(__tstate);
30406 if (PyErr_Occurred()) SWIG_fail;
30407 }
30408 resultobj = SWIG_Py_Void();
30409 return resultobj;
30410fail:
30411 return NULL;
30412}
30413
30414
30415SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30416 PyObject *resultobj = 0;
30417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30418 void *argp1 = 0 ;
30419 int res1 = 0 ;
30420 PyObject *swig_obj[1] ;
30421
30422 if (!args) SWIG_fail;
30423 swig_obj[0] = args;
30424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30425 if (!SWIG_IsOK(res1)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30427 }
30428 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->MapScreenSizeToDevice();
30432 wxPyEndAllowThreads(__tstate);
30433 if (PyErr_Occurred()) SWIG_fail;
30434 }
30435 resultobj = SWIG_Py_Void();
30436 return resultobj;
30437fail:
30438 return NULL;
30439}
30440
30441
30442SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30443 PyObject *resultobj = 0;
30444 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30445 wxRect result;
30446 void *argp1 = 0 ;
30447 int res1 = 0 ;
30448 PyObject *swig_obj[1] ;
30449
30450 if (!args) SWIG_fail;
30451 swig_obj[0] = args;
30452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30453 if (!SWIG_IsOK(res1)) {
30454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30455 }
30456 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30457 {
30458 PyThreadState* __tstate = wxPyBeginAllowThreads();
30459 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
30460 wxPyEndAllowThreads(__tstate);
30461 if (PyErr_Occurred()) SWIG_fail;
30462 }
30463 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30464 return resultobj;
30465fail:
30466 return NULL;
30467}
30468
30469
30470SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30471 PyObject *resultobj = 0;
30472 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30473 wxRect result;
30474 void *argp1 = 0 ;
30475 int res1 = 0 ;
30476 PyObject *swig_obj[1] ;
30477
30478 if (!args) SWIG_fail;
30479 swig_obj[0] = args;
30480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30481 if (!SWIG_IsOK(res1)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30483 }
30484 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30485 {
30486 PyThreadState* __tstate = wxPyBeginAllowThreads();
30487 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30492 return resultobj;
30493fail:
30494 return NULL;
30495}
30496
30497
30498SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj = 0;
30500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30501 wxPageSetupDialogData *arg2 = 0 ;
30502 wxRect result;
30503 void *argp1 = 0 ;
30504 int res1 = 0 ;
30505 void *argp2 = 0 ;
30506 int res2 = 0 ;
30507 PyObject * obj0 = 0 ;
30508 PyObject * obj1 = 0 ;
30509 char * kwnames[] = {
30510 (char *) "self",(char *) "pageSetupData", NULL
30511 };
30512
30513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
30514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30515 if (!SWIG_IsOK(res1)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30517 }
30518 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30519 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30520 if (!SWIG_IsOK(res2)) {
30521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30522 }
30523 if (!argp2) {
30524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30525 }
30526 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30534 return resultobj;
30535fail:
30536 return NULL;
30537}
30538
30539
30540SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30541 PyObject *resultobj = 0;
30542 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30543 int arg2 ;
30544 int arg3 ;
30545 void *argp1 = 0 ;
30546 int res1 = 0 ;
30547 int val2 ;
30548 int ecode2 = 0 ;
30549 int val3 ;
30550 int ecode3 = 0 ;
30551 PyObject * obj0 = 0 ;
30552 PyObject * obj1 = 0 ;
30553 PyObject * obj2 = 0 ;
30554 char * kwnames[] = {
30555 (char *) "self",(char *) "x",(char *) "y", NULL
30556 };
30557
30558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30560 if (!SWIG_IsOK(res1)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30562 }
30563 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30564 ecode2 = SWIG_AsVal_int(obj1, &val2);
30565 if (!SWIG_IsOK(ecode2)) {
30566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30567 }
30568 arg2 = static_cast< int >(val2);
30569 ecode3 = SWIG_AsVal_int(obj2, &val3);
30570 if (!SWIG_IsOK(ecode3)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30572 }
30573 arg3 = static_cast< int >(val3);
30574 {
30575 PyThreadState* __tstate = wxPyBeginAllowThreads();
30576 (arg1)->SetLogicalOrigin(arg2,arg3);
30577 wxPyEndAllowThreads(__tstate);
30578 if (PyErr_Occurred()) SWIG_fail;
30579 }
30580 resultobj = SWIG_Py_Void();
30581 return resultobj;
30582fail:
30583 return NULL;
30584}
30585
30586
30587SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30588 PyObject *resultobj = 0;
30589 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30590 int arg2 ;
30591 int arg3 ;
30592 void *argp1 = 0 ;
30593 int res1 = 0 ;
30594 int val2 ;
30595 int ecode2 = 0 ;
30596 int val3 ;
30597 int ecode3 = 0 ;
30598 PyObject * obj0 = 0 ;
30599 PyObject * obj1 = 0 ;
30600 PyObject * obj2 = 0 ;
30601 char * kwnames[] = {
30602 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30603 };
30604
30605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30607 if (!SWIG_IsOK(res1)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30609 }
30610 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30611 ecode2 = SWIG_AsVal_int(obj1, &val2);
30612 if (!SWIG_IsOK(ecode2)) {
30613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30614 }
30615 arg2 = static_cast< int >(val2);
30616 ecode3 = SWIG_AsVal_int(obj2, &val3);
30617 if (!SWIG_IsOK(ecode3)) {
30618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30619 }
30620 arg3 = static_cast< int >(val3);
30621 {
30622 PyThreadState* __tstate = wxPyBeginAllowThreads();
30623 (arg1)->OffsetLogicalOrigin(arg2,arg3);
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
1bd55598
RD
30634SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30635 PyObject *resultobj = 0;
30636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30637 int arg2 ;
30638 int arg3 ;
30639 void *argp1 = 0 ;
30640 int res1 = 0 ;
30641 int val2 ;
30642 int ecode2 = 0 ;
30643 int val3 ;
30644 int ecode3 = 0 ;
30645 PyObject * obj0 = 0 ;
30646 PyObject * obj1 = 0 ;
30647 PyObject * obj2 = 0 ;
30648 char * kwnames[] = {
30649 (char *) "self",(char *) "w",(char *) "h", NULL
30650 };
30651
30652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30654 if (!SWIG_IsOK(res1)) {
30655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30656 }
30657 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30658 ecode2 = SWIG_AsVal_int(obj1, &val2);
30659 if (!SWIG_IsOK(ecode2)) {
30660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30661 }
30662 arg2 = static_cast< int >(val2);
30663 ecode3 = SWIG_AsVal_int(obj2, &val3);
30664 if (!SWIG_IsOK(ecode3)) {
30665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30666 }
30667 arg3 = static_cast< int >(val3);
30668 {
30669 PyThreadState* __tstate = wxPyBeginAllowThreads();
30670 (arg1)->SetPageSizePixels(arg2,arg3);
30671 wxPyEndAllowThreads(__tstate);
30672 if (PyErr_Occurred()) SWIG_fail;
30673 }
30674 resultobj = SWIG_Py_Void();
30675 return resultobj;
30676fail:
30677 return NULL;
30678}
30679
30680
30681SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30682 PyObject *resultobj = 0;
30683 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30684 int *arg2 = (int *) 0 ;
30685 int *arg3 = (int *) 0 ;
30686 void *argp1 = 0 ;
30687 int res1 = 0 ;
30688 int temp2 ;
30689 int res2 = SWIG_TMPOBJ ;
30690 int temp3 ;
30691 int res3 = SWIG_TMPOBJ ;
30692 PyObject *swig_obj[1] ;
30693
30694 arg2 = &temp2;
30695 arg3 = &temp3;
30696 if (!args) SWIG_fail;
30697 swig_obj[0] = args;
30698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30699 if (!SWIG_IsOK(res1)) {
30700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30701 }
30702 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30703 {
30704 PyThreadState* __tstate = wxPyBeginAllowThreads();
30705 (arg1)->GetPageSizePixels(arg2,arg3);
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
30709 resultobj = SWIG_Py_Void();
30710 if (SWIG_IsTmpObj(res2)) {
30711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30712 } else {
30713 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30714 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30715 }
30716 if (SWIG_IsTmpObj(res3)) {
30717 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30718 } else {
30719 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30720 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30721 }
30722 return resultobj;
30723fail:
30724 return NULL;
30725}
30726
30727
30728SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30729 PyObject *resultobj = 0;
30730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30731 int arg2 ;
30732 int arg3 ;
30733 void *argp1 = 0 ;
30734 int res1 = 0 ;
30735 int val2 ;
30736 int ecode2 = 0 ;
30737 int val3 ;
30738 int ecode3 = 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 PyObject * obj2 = 0 ;
30742 char * kwnames[] = {
30743 (char *) "self",(char *) "w",(char *) "h", NULL
30744 };
30745
30746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30748 if (!SWIG_IsOK(res1)) {
30749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30750 }
30751 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30752 ecode2 = SWIG_AsVal_int(obj1, &val2);
30753 if (!SWIG_IsOK(ecode2)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30755 }
30756 arg2 = static_cast< int >(val2);
30757 ecode3 = SWIG_AsVal_int(obj2, &val3);
30758 if (!SWIG_IsOK(ecode3)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30760 }
30761 arg3 = static_cast< int >(val3);
30762 {
30763 PyThreadState* __tstate = wxPyBeginAllowThreads();
30764 (arg1)->SetPageSizeMM(arg2,arg3);
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 resultobj = SWIG_Py_Void();
30769 return resultobj;
30770fail:
30771 return NULL;
30772}
30773
30774
30775SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30776 PyObject *resultobj = 0;
30777 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30778 int *arg2 = (int *) 0 ;
30779 int *arg3 = (int *) 0 ;
30780 void *argp1 = 0 ;
30781 int res1 = 0 ;
30782 int temp2 ;
30783 int res2 = SWIG_TMPOBJ ;
30784 int temp3 ;
30785 int res3 = SWIG_TMPOBJ ;
30786 PyObject *swig_obj[1] ;
30787
30788 arg2 = &temp2;
30789 arg3 = &temp3;
30790 if (!args) SWIG_fail;
30791 swig_obj[0] = args;
30792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30793 if (!SWIG_IsOK(res1)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30795 }
30796 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30797 {
30798 PyThreadState* __tstate = wxPyBeginAllowThreads();
30799 (arg1)->GetPageSizeMM(arg2,arg3);
30800 wxPyEndAllowThreads(__tstate);
30801 if (PyErr_Occurred()) SWIG_fail;
30802 }
30803 resultobj = SWIG_Py_Void();
30804 if (SWIG_IsTmpObj(res2)) {
30805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30806 } else {
30807 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30809 }
30810 if (SWIG_IsTmpObj(res3)) {
30811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30812 } else {
30813 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30815 }
30816 return resultobj;
30817fail:
30818 return NULL;
30819}
30820
30821
30822SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30823 PyObject *resultobj = 0;
30824 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30825 int arg2 ;
30826 int arg3 ;
30827 void *argp1 = 0 ;
30828 int res1 = 0 ;
30829 int val2 ;
30830 int ecode2 = 0 ;
30831 int val3 ;
30832 int ecode3 = 0 ;
30833 PyObject * obj0 = 0 ;
30834 PyObject * obj1 = 0 ;
30835 PyObject * obj2 = 0 ;
30836 char * kwnames[] = {
30837 (char *) "self",(char *) "x",(char *) "y", NULL
30838 };
30839
30840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30842 if (!SWIG_IsOK(res1)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30844 }
30845 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30846 ecode2 = SWIG_AsVal_int(obj1, &val2);
30847 if (!SWIG_IsOK(ecode2)) {
30848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
30849 }
30850 arg2 = static_cast< int >(val2);
30851 ecode3 = SWIG_AsVal_int(obj2, &val3);
30852 if (!SWIG_IsOK(ecode3)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
30854 }
30855 arg3 = static_cast< int >(val3);
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 (arg1)->SetPPIScreen(arg2,arg3);
30859 wxPyEndAllowThreads(__tstate);
30860 if (PyErr_Occurred()) SWIG_fail;
30861 }
30862 resultobj = SWIG_Py_Void();
30863 return resultobj;
30864fail:
30865 return NULL;
30866}
30867
30868
30869SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30870 PyObject *resultobj = 0;
30871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30872 int *arg2 = (int *) 0 ;
30873 int *arg3 = (int *) 0 ;
30874 void *argp1 = 0 ;
30875 int res1 = 0 ;
30876 int temp2 ;
30877 int res2 = SWIG_TMPOBJ ;
30878 int temp3 ;
30879 int res3 = SWIG_TMPOBJ ;
30880 PyObject *swig_obj[1] ;
30881
30882 arg2 = &temp2;
30883 arg3 = &temp3;
30884 if (!args) SWIG_fail;
30885 swig_obj[0] = args;
30886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30887 if (!SWIG_IsOK(res1)) {
30888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30889 }
30890 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30891 {
30892 PyThreadState* __tstate = wxPyBeginAllowThreads();
30893 (arg1)->GetPPIScreen(arg2,arg3);
30894 wxPyEndAllowThreads(__tstate);
30895 if (PyErr_Occurred()) SWIG_fail;
30896 }
30897 resultobj = SWIG_Py_Void();
30898 if (SWIG_IsTmpObj(res2)) {
30899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30900 } else {
30901 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30903 }
30904 if (SWIG_IsTmpObj(res3)) {
30905 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30906 } else {
30907 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30909 }
30910 return resultobj;
30911fail:
30912 return NULL;
30913}
30914
30915
30916SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30917 PyObject *resultobj = 0;
30918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30919 int arg2 ;
30920 int arg3 ;
30921 void *argp1 = 0 ;
30922 int res1 = 0 ;
30923 int val2 ;
30924 int ecode2 = 0 ;
30925 int val3 ;
30926 int ecode3 = 0 ;
30927 PyObject * obj0 = 0 ;
30928 PyObject * obj1 = 0 ;
30929 PyObject * obj2 = 0 ;
30930 char * kwnames[] = {
30931 (char *) "self",(char *) "x",(char *) "y", NULL
30932 };
30933
30934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30936 if (!SWIG_IsOK(res1)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30938 }
30939 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30940 ecode2 = SWIG_AsVal_int(obj1, &val2);
30941 if (!SWIG_IsOK(ecode2)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
30943 }
30944 arg2 = static_cast< int >(val2);
30945 ecode3 = SWIG_AsVal_int(obj2, &val3);
30946 if (!SWIG_IsOK(ecode3)) {
30947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
30948 }
30949 arg3 = static_cast< int >(val3);
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 (arg1)->SetPPIPrinter(arg2,arg3);
30953 wxPyEndAllowThreads(__tstate);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 }
30956 resultobj = SWIG_Py_Void();
30957 return resultobj;
30958fail:
30959 return NULL;
30960}
30961
30962
30963SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30964 PyObject *resultobj = 0;
30965 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30966 int *arg2 = (int *) 0 ;
30967 int *arg3 = (int *) 0 ;
30968 void *argp1 = 0 ;
30969 int res1 = 0 ;
30970 int temp2 ;
30971 int res2 = SWIG_TMPOBJ ;
30972 int temp3 ;
30973 int res3 = SWIG_TMPOBJ ;
30974 PyObject *swig_obj[1] ;
30975
30976 arg2 = &temp2;
30977 arg3 = &temp3;
30978 if (!args) SWIG_fail;
30979 swig_obj[0] = args;
30980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30981 if (!SWIG_IsOK(res1)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30983 }
30984 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30985 {
30986 PyThreadState* __tstate = wxPyBeginAllowThreads();
30987 (arg1)->GetPPIPrinter(arg2,arg3);
30988 wxPyEndAllowThreads(__tstate);
30989 if (PyErr_Occurred()) SWIG_fail;
30990 }
30991 resultobj = SWIG_Py_Void();
30992 if (SWIG_IsTmpObj(res2)) {
30993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30994 } else {
30995 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30997 }
30998 if (SWIG_IsTmpObj(res3)) {
30999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31000 } else {
31001 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31002 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31003 }
31004 return resultobj;
31005fail:
31006 return NULL;
d55e5bfc
RD
31007}
31008
31009
70d7cb34
RD
31010SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31011 PyObject *resultobj = 0;
31012 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31013 wxRect *arg2 = 0 ;
31014 void *argp1 = 0 ;
31015 int res1 = 0 ;
31016 wxRect temp2 ;
31017 PyObject * obj0 = 0 ;
31018 PyObject * obj1 = 0 ;
31019 char * kwnames[] = {
31020 (char *) "self",(char *) "paperRectPixels", NULL
31021 };
31022
31023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
31024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31025 if (!SWIG_IsOK(res1)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31027 }
31028 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31029 {
31030 arg2 = &temp2;
31031 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
31032 }
31033 {
31034 PyThreadState* __tstate = wxPyBeginAllowThreads();
31035 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
31036 wxPyEndAllowThreads(__tstate);
31037 if (PyErr_Occurred()) SWIG_fail;
31038 }
31039 resultobj = SWIG_Py_Void();
31040 return resultobj;
31041fail:
31042 return NULL;
31043}
31044
31045
31046SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31047 PyObject *resultobj = 0;
31048 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31049 wxRect result;
31050 void *argp1 = 0 ;
31051 int res1 = 0 ;
31052 PyObject *swig_obj[1] ;
31053
31054 if (!args) SWIG_fail;
31055 swig_obj[0] = args;
31056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31057 if (!SWIG_IsOK(res1)) {
31058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31059 }
31060 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31061 {
31062 PyThreadState* __tstate = wxPyBeginAllowThreads();
31063 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
31064 wxPyEndAllowThreads(__tstate);
31065 if (PyErr_Occurred()) SWIG_fail;
31066 }
31067 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
31068 return resultobj;
31069fail:
31070 return NULL;
31071}
31072
31073
1bd55598
RD
31074SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31075 PyObject *resultobj = 0;
31076 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31077 bool result;
31078 void *argp1 = 0 ;
31079 int res1 = 0 ;
31080 PyObject *swig_obj[1] ;
31081
31082 if (!args) SWIG_fail;
31083 swig_obj[0] = args;
31084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31085 if (!SWIG_IsOK(res1)) {
31086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31087 }
31088 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31089 {
31090 PyThreadState* __tstate = wxPyBeginAllowThreads();
31091 result = (bool)(arg1)->IsPreview();
31092 wxPyEndAllowThreads(__tstate);
31093 if (PyErr_Occurred()) SWIG_fail;
31094 }
31095 {
31096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31097 }
31098 return resultobj;
31099fail:
31100 return NULL;
31101}
31102
31103
31104SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31105 PyObject *resultobj = 0;
31106 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31107 bool arg2 ;
31108 void *argp1 = 0 ;
31109 int res1 = 0 ;
31110 bool val2 ;
31111 int ecode2 = 0 ;
31112 PyObject * obj0 = 0 ;
31113 PyObject * obj1 = 0 ;
31114 char * kwnames[] = {
31115 (char *) "self",(char *) "p", NULL
31116 };
31117
31118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31120 if (!SWIG_IsOK(res1)) {
31121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31122 }
31123 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31124 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31125 if (!SWIG_IsOK(ecode2)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31127 }
31128 arg2 = static_cast< bool >(val2);
31129 {
31130 PyThreadState* __tstate = wxPyBeginAllowThreads();
31131 (arg1)->SetIsPreview(arg2);
31132 wxPyEndAllowThreads(__tstate);
31133 if (PyErr_Occurred()) SWIG_fail;
31134 }
31135 resultobj = SWIG_Py_Void();
31136 return resultobj;
31137fail:
31138 return NULL;
31139}
31140
31141
31142SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31143 PyObject *resultobj = 0;
31144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31145 int arg2 ;
31146 int arg3 ;
31147 bool result;
31148 void *argp1 = 0 ;
31149 int res1 = 0 ;
31150 int val2 ;
31151 int ecode2 = 0 ;
31152 int val3 ;
31153 int ecode3 = 0 ;
31154 PyObject * obj0 = 0 ;
31155 PyObject * obj1 = 0 ;
31156 PyObject * obj2 = 0 ;
31157 char * kwnames[] = {
31158 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31159 };
31160
31161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31163 if (!SWIG_IsOK(res1)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31165 }
31166 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31167 ecode2 = SWIG_AsVal_int(obj1, &val2);
31168 if (!SWIG_IsOK(ecode2)) {
31169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31170 }
31171 arg2 = static_cast< int >(val2);
31172 ecode3 = SWIG_AsVal_int(obj2, &val3);
31173 if (!SWIG_IsOK(ecode3)) {
31174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31175 }
31176 arg3 = static_cast< int >(val3);
31177 {
31178 PyThreadState* __tstate = wxPyBeginAllowThreads();
31179 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
31180 wxPyEndAllowThreads(__tstate);
31181 if (PyErr_Occurred()) SWIG_fail;
31182 }
31183 {
31184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31185 }
31186 return resultobj;
31187fail:
31188 return NULL;
d55e5bfc
RD
31189}
31190
31191
1bd55598
RD
31192SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31193 PyObject *resultobj = 0;
31194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31195 void *argp1 = 0 ;
31196 int res1 = 0 ;
31197 PyObject *swig_obj[1] ;
31198
31199 if (!args) SWIG_fail;
31200 swig_obj[0] = args;
31201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31202 if (!SWIG_IsOK(res1)) {
31203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31204 }
31205 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31206 {
31207 PyThreadState* __tstate = wxPyBeginAllowThreads();
31208 (arg1)->OnEndDocument();
31209 wxPyEndAllowThreads(__tstate);
31210 if (PyErr_Occurred()) SWIG_fail;
31211 }
31212 resultobj = SWIG_Py_Void();
31213 return resultobj;
31214fail:
31215 return NULL;
31216}
31217
31218
31219SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31220 PyObject *resultobj = 0;
31221 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31222 void *argp1 = 0 ;
31223 int res1 = 0 ;
31224 PyObject *swig_obj[1] ;
31225
31226 if (!args) SWIG_fail;
31227 swig_obj[0] = args;
31228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31229 if (!SWIG_IsOK(res1)) {
31230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31231 }
31232 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31233 {
31234 PyThreadState* __tstate = wxPyBeginAllowThreads();
31235 (arg1)->OnBeginPrinting();
31236 wxPyEndAllowThreads(__tstate);
31237 if (PyErr_Occurred()) SWIG_fail;
31238 }
31239 resultobj = SWIG_Py_Void();
31240 return resultobj;
31241fail:
31242 return NULL;
31243}
31244
31245
31246SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31247 PyObject *resultobj = 0;
31248 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31249 void *argp1 = 0 ;
31250 int res1 = 0 ;
31251 PyObject *swig_obj[1] ;
31252
31253 if (!args) SWIG_fail;
31254 swig_obj[0] = args;
31255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31256 if (!SWIG_IsOK(res1)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31258 }
31259 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31260 {
31261 PyThreadState* __tstate = wxPyBeginAllowThreads();
31262 (arg1)->OnEndPrinting();
31263 wxPyEndAllowThreads(__tstate);
31264 if (PyErr_Occurred()) SWIG_fail;
31265 }
31266 resultobj = SWIG_Py_Void();
31267 return resultobj;
31268fail:
31269 return NULL;
31270}
31271
31272
31273SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31274 PyObject *resultobj = 0;
31275 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31276 void *argp1 = 0 ;
31277 int res1 = 0 ;
31278 PyObject *swig_obj[1] ;
31279
31280 if (!args) SWIG_fail;
31281 swig_obj[0] = args;
31282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31283 if (!SWIG_IsOK(res1)) {
31284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31285 }
31286 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31287 {
31288 PyThreadState* __tstate = wxPyBeginAllowThreads();
31289 (arg1)->OnPreparePrinting();
31290 wxPyEndAllowThreads(__tstate);
31291 if (PyErr_Occurred()) SWIG_fail;
31292 }
31293 resultobj = SWIG_Py_Void();
31294 return resultobj;
31295fail:
31296 return NULL;
31297}
31298
31299
31300SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31301 PyObject *resultobj = 0;
31302 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31303 int arg2 ;
31304 bool result;
31305 void *argp1 = 0 ;
31306 int res1 = 0 ;
31307 int val2 ;
31308 int ecode2 = 0 ;
31309 PyObject * obj0 = 0 ;
31310 PyObject * obj1 = 0 ;
31311 char * kwnames[] = {
31312 (char *) "self",(char *) "page", NULL
31313 };
31314
31315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
31316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31317 if (!SWIG_IsOK(res1)) {
31318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31319 }
31320 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31321 ecode2 = SWIG_AsVal_int(obj1, &val2);
31322 if (!SWIG_IsOK(ecode2)) {
31323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31324 }
31325 arg2 = static_cast< int >(val2);
31326 {
31327 PyThreadState* __tstate = wxPyBeginAllowThreads();
31328 result = (bool)(arg1)->HasPage(arg2);
31329 wxPyEndAllowThreads(__tstate);
31330 if (PyErr_Occurred()) SWIG_fail;
31331 }
31332 {
31333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31334 }
31335 return resultobj;
31336fail:
31337 return NULL;
31338}
31339
31340
31341SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31342 PyObject *resultobj = 0;
31343 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31344 int *arg2 = (int *) 0 ;
31345 int *arg3 = (int *) 0 ;
31346 int *arg4 = (int *) 0 ;
31347 int *arg5 = (int *) 0 ;
31348 void *argp1 = 0 ;
31349 int res1 = 0 ;
31350 int temp2 ;
31351 int res2 = SWIG_TMPOBJ ;
31352 int temp3 ;
31353 int res3 = SWIG_TMPOBJ ;
31354 int temp4 ;
31355 int res4 = SWIG_TMPOBJ ;
31356 int temp5 ;
31357 int res5 = SWIG_TMPOBJ ;
31358 PyObject *swig_obj[1] ;
31359
31360 arg2 = &temp2;
31361 arg3 = &temp3;
31362 arg4 = &temp4;
31363 arg5 = &temp5;
31364 if (!args) SWIG_fail;
31365 swig_obj[0] = args;
31366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31367 if (!SWIG_IsOK(res1)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31369 }
31370 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31371 {
31372 PyThreadState* __tstate = wxPyBeginAllowThreads();
31373 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 resultobj = SWIG_Py_Void();
31378 if (SWIG_IsTmpObj(res2)) {
31379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31380 } else {
31381 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31383 }
31384 if (SWIG_IsTmpObj(res3)) {
31385 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31386 } else {
31387 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31389 }
31390 if (SWIG_IsTmpObj(res4)) {
31391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
31392 } else {
31393 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
31395 }
31396 if (SWIG_IsTmpObj(res5)) {
31397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
31398 } else {
31399 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
31401 }
31402 return resultobj;
31403fail:
31404 return NULL;
31405}
31406
31407
31408SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31409 PyObject *obj;
31410 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31411 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
31412 return SWIG_Py_Void();
31413}
31414
31415SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31416 return SWIG_Python_InitShadowInstance(args);
31417}
31418
31419SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31420 PyObject *resultobj = 0;
31421 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31422 wxWindow *arg2 = (wxWindow *) 0 ;
31423 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31424 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31425 wxSize const &arg4_defvalue = wxDefaultSize ;
31426 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31427 long arg5 = (long) 0 ;
31428 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
31429 wxString *arg6 = (wxString *) &arg6_defvalue ;
31430 wxPreviewCanvas *result = 0 ;
31431 void *argp1 = 0 ;
31432 int res1 = 0 ;
31433 void *argp2 = 0 ;
31434 int res2 = 0 ;
31435 wxPoint temp3 ;
31436 wxSize temp4 ;
31437 long val5 ;
31438 int ecode5 = 0 ;
31439 bool temp6 = false ;
31440 PyObject * obj0 = 0 ;
31441 PyObject * obj1 = 0 ;
31442 PyObject * obj2 = 0 ;
31443 PyObject * obj3 = 0 ;
31444 PyObject * obj4 = 0 ;
31445 PyObject * obj5 = 0 ;
31446 char * kwnames[] = {
31447 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31448 };
31449
31450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
31451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31452 if (!SWIG_IsOK(res1)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31454 }
31455 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31457 if (!SWIG_IsOK(res2)) {
31458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31459 }
31460 arg2 = reinterpret_cast< wxWindow * >(argp2);
31461 if (obj2) {
d55e5bfc 31462 {
1bd55598
RD
31463 arg3 = &temp3;
31464 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 31465 }
1bd55598
RD
31466 }
31467 if (obj3) {
d55e5bfc 31468 {
1bd55598
RD
31469 arg4 = &temp4;
31470 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31471 }
1bd55598
RD
31472 }
31473 if (obj4) {
31474 ecode5 = SWIG_AsVal_long(obj4, &val5);
31475 if (!SWIG_IsOK(ecode5)) {
31476 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31477 }
31478 arg5 = static_cast< long >(val5);
31479 }
31480 if (obj5) {
d55e5bfc 31481 {
1bd55598
RD
31482 arg6 = wxString_in_helper(obj5);
31483 if (arg6 == NULL) SWIG_fail;
31484 temp6 = true;
d55e5bfc 31485 }
1bd55598
RD
31486 }
31487 {
31488 if (!wxPyCheckForApp()) SWIG_fail;
31489 PyThreadState* __tstate = wxPyBeginAllowThreads();
31490 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31491 wxPyEndAllowThreads(__tstate);
31492 if (PyErr_Occurred()) SWIG_fail;
31493 }
31494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
31495 {
31496 if (temp6)
31497 delete arg6;
31498 }
31499 return resultobj;
31500fail:
31501 {
31502 if (temp6)
31503 delete arg6;
31504 }
31505 return NULL;
31506}
31507
31508
31509SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31510 PyObject *obj;
31511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
31513 return SWIG_Py_Void();
31514}
31515
31516SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31517 return SWIG_Python_InitShadowInstance(args);
31518}
31519
31520SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31521 PyObject *resultobj = 0;
31522 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31523 wxFrame *arg2 = (wxFrame *) 0 ;
31524 wxString *arg3 = 0 ;
31525 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31526 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31527 wxSize const &arg5_defvalue = wxDefaultSize ;
31528 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31529 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31530 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31531 wxString *arg7 = (wxString *) &arg7_defvalue ;
31532 wxPreviewFrame *result = 0 ;
31533 int res1 = 0 ;
31534 void *argp2 = 0 ;
31535 int res2 = 0 ;
31536 bool temp3 = false ;
31537 wxPoint temp4 ;
31538 wxSize temp5 ;
31539 long val6 ;
31540 int ecode6 = 0 ;
31541 bool temp7 = false ;
31542 PyObject * obj0 = 0 ;
31543 PyObject * obj1 = 0 ;
31544 PyObject * obj2 = 0 ;
31545 PyObject * obj3 = 0 ;
31546 PyObject * obj4 = 0 ;
31547 PyObject * obj5 = 0 ;
31548 PyObject * obj6 = 0 ;
31549 char * kwnames[] = {
31550 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31551 };
31552
31553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31554 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31555 if (!SWIG_IsOK(res1)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31557 }
31558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31559 if (!SWIG_IsOK(res2)) {
31560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31561 }
31562 arg2 = reinterpret_cast< wxFrame * >(argp2);
31563 {
31564 arg3 = wxString_in_helper(obj2);
31565 if (arg3 == NULL) SWIG_fail;
31566 temp3 = true;
31567 }
31568 if (obj3) {
d55e5bfc 31569 {
1bd55598
RD
31570 arg4 = &temp4;
31571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31572 }
1bd55598
RD
31573 }
31574 if (obj4) {
d55e5bfc 31575 {
1bd55598
RD
31576 arg5 = &temp5;
31577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31578 }
1bd55598
RD
31579 }
31580 if (obj5) {
31581 ecode6 = SWIG_AsVal_long(obj5, &val6);
31582 if (!SWIG_IsOK(ecode6)) {
31583 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31584 }
31585 arg6 = static_cast< long >(val6);
31586 }
31587 if (obj6) {
d55e5bfc 31588 {
1bd55598
RD
31589 arg7 = wxString_in_helper(obj6);
31590 if (arg7 == NULL) SWIG_fail;
31591 temp7 = true;
d55e5bfc 31592 }
1bd55598
RD
31593 }
31594 {
31595 if (!wxPyCheckForApp()) SWIG_fail;
31596 PyThreadState* __tstate = wxPyBeginAllowThreads();
31597 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31598 wxPyEndAllowThreads(__tstate);
31599 if (PyErr_Occurred()) SWIG_fail;
31600 }
31601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
31602 {
31603 if (temp3)
31604 delete arg3;
31605 }
31606 {
31607 if (temp7)
31608 delete arg7;
31609 }
31610 return resultobj;
31611fail:
31612 {
31613 if (temp3)
31614 delete arg3;
31615 }
31616 {
31617 if (temp7)
31618 delete arg7;
31619 }
31620 return NULL;
d55e5bfc
RD
31621}
31622
31623
1bd55598
RD
31624SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31625 PyObject *resultobj = 0;
31626 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31627 void *argp1 = 0 ;
31628 int res1 = 0 ;
31629 PyObject *swig_obj[1] ;
31630
31631 if (!args) SWIG_fail;
31632 swig_obj[0] = args;
31633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31634 if (!SWIG_IsOK(res1)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31636 }
31637 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31638 {
31639 PyThreadState* __tstate = wxPyBeginAllowThreads();
31640 (arg1)->Initialize();
31641 wxPyEndAllowThreads(__tstate);
31642 if (PyErr_Occurred()) SWIG_fail;
31643 }
31644 resultobj = SWIG_Py_Void();
31645 return resultobj;
31646fail:
31647 return NULL;
d55e5bfc
RD
31648}
31649
31650
1bd55598
RD
31651SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31652 PyObject *resultobj = 0;
31653 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31654 void *argp1 = 0 ;
31655 int res1 = 0 ;
31656 PyObject *swig_obj[1] ;
31657
31658 if (!args) SWIG_fail;
31659 swig_obj[0] = args;
31660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31661 if (!SWIG_IsOK(res1)) {
31662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31663 }
31664 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31665 {
31666 PyThreadState* __tstate = wxPyBeginAllowThreads();
31667 (arg1)->CreateControlBar();
31668 wxPyEndAllowThreads(__tstate);
31669 if (PyErr_Occurred()) SWIG_fail;
31670 }
31671 resultobj = SWIG_Py_Void();
31672 return resultobj;
31673fail:
31674 return NULL;
d55e5bfc
RD
31675}
31676
31677
1bd55598
RD
31678SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31679 PyObject *resultobj = 0;
31680 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31681 void *argp1 = 0 ;
31682 int res1 = 0 ;
31683 PyObject *swig_obj[1] ;
31684
31685 if (!args) SWIG_fail;
31686 swig_obj[0] = args;
31687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31688 if (!SWIG_IsOK(res1)) {
31689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31690 }
31691 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31692 {
31693 PyThreadState* __tstate = wxPyBeginAllowThreads();
31694 (arg1)->CreateCanvas();
31695 wxPyEndAllowThreads(__tstate);
31696 if (PyErr_Occurred()) SWIG_fail;
31697 }
31698 resultobj = SWIG_Py_Void();
31699 return resultobj;
31700fail:
31701 return NULL;
d55e5bfc
RD
31702}
31703
31704
1bd55598
RD
31705SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31706 PyObject *resultobj = 0;
31707 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31708 wxPreviewControlBar *result = 0 ;
31709 void *argp1 = 0 ;
31710 int res1 = 0 ;
31711 PyObject *swig_obj[1] ;
31712
31713 if (!args) SWIG_fail;
31714 swig_obj[0] = args;
31715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31716 if (!SWIG_IsOK(res1)) {
31717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31718 }
31719 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31720 {
31721 PyThreadState* __tstate = wxPyBeginAllowThreads();
31722 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
31723 wxPyEndAllowThreads(__tstate);
31724 if (PyErr_Occurred()) SWIG_fail;
31725 }
31726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31727 return resultobj;
31728fail:
31729 return NULL;
31730}
31731
31732
31733SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31734 PyObject *obj;
31735 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31736 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
31737 return SWIG_Py_Void();
31738}
31739
31740SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31741 return SWIG_Python_InitShadowInstance(args);
31742}
31743
31744SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31745 PyObject *resultobj = 0;
31746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31747 long arg2 ;
31748 wxWindow *arg3 = (wxWindow *) 0 ;
31749 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31750 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31751 wxSize const &arg5_defvalue = wxDefaultSize ;
31752 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31753 long arg6 = (long) wxTAB_TRAVERSAL ;
31754 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31755 wxString *arg7 = (wxString *) &arg7_defvalue ;
31756 wxPreviewControlBar *result = 0 ;
31757 void *argp1 = 0 ;
31758 int res1 = 0 ;
31759 long val2 ;
31760 int ecode2 = 0 ;
31761 void *argp3 = 0 ;
31762 int res3 = 0 ;
31763 wxPoint temp4 ;
31764 wxSize temp5 ;
31765 long val6 ;
31766 int ecode6 = 0 ;
31767 bool temp7 = false ;
31768 PyObject * obj0 = 0 ;
31769 PyObject * obj1 = 0 ;
31770 PyObject * obj2 = 0 ;
31771 PyObject * obj3 = 0 ;
31772 PyObject * obj4 = 0 ;
31773 PyObject * obj5 = 0 ;
31774 PyObject * obj6 = 0 ;
31775 char * kwnames[] = {
31776 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31777 };
31778
31779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31781 if (!SWIG_IsOK(res1)) {
31782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31783 }
31784 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31785 ecode2 = SWIG_AsVal_long(obj1, &val2);
31786 if (!SWIG_IsOK(ecode2)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31788 }
31789 arg2 = static_cast< long >(val2);
31790 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31791 if (!SWIG_IsOK(res3)) {
31792 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31793 }
31794 arg3 = reinterpret_cast< wxWindow * >(argp3);
31795 if (obj3) {
31796 {
31797 arg4 = &temp4;
31798 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31799 }
31800 }
31801 if (obj4) {
a5ee0656 31802 {
1bd55598
RD
31803 arg5 = &temp5;
31804 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 31805 }
1bd55598
RD
31806 }
31807 if (obj5) {
31808 ecode6 = SWIG_AsVal_long(obj5, &val6);
31809 if (!SWIG_IsOK(ecode6)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31811 }
31812 arg6 = static_cast< long >(val6);
31813 }
31814 if (obj6) {
a5ee0656 31815 {
1bd55598
RD
31816 arg7 = wxString_in_helper(obj6);
31817 if (arg7 == NULL) SWIG_fail;
31818 temp7 = true;
a5ee0656 31819 }
1bd55598
RD
31820 }
31821 {
31822 if (!wxPyCheckForApp()) SWIG_fail;
31823 PyThreadState* __tstate = wxPyBeginAllowThreads();
31824 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31825 wxPyEndAllowThreads(__tstate);
31826 if (PyErr_Occurred()) SWIG_fail;
31827 }
31828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
31829 {
31830 if (temp7)
31831 delete arg7;
31832 }
31833 return resultobj;
31834fail:
31835 {
31836 if (temp7)
31837 delete arg7;
31838 }
31839 return NULL;
a5ee0656
RD
31840}
31841
31842
1bd55598
RD
31843SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31844 PyObject *resultobj = 0;
31845 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31846 int result;
31847 void *argp1 = 0 ;
31848 int res1 = 0 ;
31849 PyObject *swig_obj[1] ;
31850
31851 if (!args) SWIG_fail;
31852 swig_obj[0] = args;
31853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31854 if (!SWIG_IsOK(res1)) {
31855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31856 }
31857 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31858 {
31859 PyThreadState* __tstate = wxPyBeginAllowThreads();
31860 result = (int)(arg1)->GetZoomControl();
31861 wxPyEndAllowThreads(__tstate);
31862 if (PyErr_Occurred()) SWIG_fail;
31863 }
31864 resultobj = SWIG_From_int(static_cast< int >(result));
31865 return resultobj;
31866fail:
31867 return NULL;
31868}
31869
31870
31871SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31872 PyObject *resultobj = 0;
31873 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31874 int arg2 ;
31875 void *argp1 = 0 ;
31876 int res1 = 0 ;
31877 int val2 ;
31878 int ecode2 = 0 ;
31879 PyObject * obj0 = 0 ;
31880 PyObject * obj1 = 0 ;
31881 char * kwnames[] = {
31882 (char *) "self",(char *) "zoom", NULL
31883 };
31884
31885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31887 if (!SWIG_IsOK(res1)) {
31888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31889 }
31890 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31891 ecode2 = SWIG_AsVal_int(obj1, &val2);
31892 if (!SWIG_IsOK(ecode2)) {
31893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31894 }
31895 arg2 = static_cast< int >(val2);
31896 {
31897 PyThreadState* __tstate = wxPyBeginAllowThreads();
31898 (arg1)->SetZoomControl(arg2);
31899 wxPyEndAllowThreads(__tstate);
31900 if (PyErr_Occurred()) SWIG_fail;
31901 }
31902 resultobj = SWIG_Py_Void();
31903 return resultobj;
31904fail:
31905 return NULL;
8d38bd1d
RD
31906}
31907
31908
1bd55598
RD
31909SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31910 PyObject *resultobj = 0;
31911 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31912 wxPrintPreview *result = 0 ;
31913 void *argp1 = 0 ;
31914 int res1 = 0 ;
31915 PyObject *swig_obj[1] ;
31916
31917 if (!args) SWIG_fail;
31918 swig_obj[0] = args;
31919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31920 if (!SWIG_IsOK(res1)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31922 }
31923 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31924 {
31925 PyThreadState* __tstate = wxPyBeginAllowThreads();
31926 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31931 return resultobj;
31932fail:
31933 return NULL;
d55e5bfc
RD
31934}
31935
31936
1bd55598
RD
31937SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31938 PyObject *resultobj = 0;
31939 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31940 void *argp1 = 0 ;
31941 int res1 = 0 ;
31942 PyObject *swig_obj[1] ;
31943
31944 if (!args) SWIG_fail;
31945 swig_obj[0] = args;
31946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31947 if (!SWIG_IsOK(res1)) {
31948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31949 }
31950 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31951 {
31952 PyThreadState* __tstate = wxPyBeginAllowThreads();
31953 (arg1)->OnNext();
31954 wxPyEndAllowThreads(__tstate);
31955 if (PyErr_Occurred()) SWIG_fail;
31956 }
31957 resultobj = SWIG_Py_Void();
31958 return resultobj;
31959fail:
31960 return NULL;
d55e5bfc
RD
31961}
31962
31963
1bd55598
RD
31964SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31965 PyObject *resultobj = 0;
31966 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31967 void *argp1 = 0 ;
31968 int res1 = 0 ;
31969 PyObject *swig_obj[1] ;
31970
31971 if (!args) SWIG_fail;
31972 swig_obj[0] = args;
31973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31974 if (!SWIG_IsOK(res1)) {
31975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31976 }
31977 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31978 {
31979 PyThreadState* __tstate = wxPyBeginAllowThreads();
31980 (arg1)->OnPrevious();
31981 wxPyEndAllowThreads(__tstate);
31982 if (PyErr_Occurred()) SWIG_fail;
31983 }
31984 resultobj = SWIG_Py_Void();
31985 return resultobj;
31986fail:
31987 return NULL;
d55e5bfc
RD
31988}
31989
31990
1bd55598
RD
31991SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31992 PyObject *resultobj = 0;
31993 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31994 void *argp1 = 0 ;
31995 int res1 = 0 ;
31996 PyObject *swig_obj[1] ;
31997
31998 if (!args) SWIG_fail;
31999 swig_obj[0] = args;
32000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32001 if (!SWIG_IsOK(res1)) {
32002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32003 }
32004 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32005 {
32006 PyThreadState* __tstate = wxPyBeginAllowThreads();
32007 (arg1)->OnFirst();
32008 wxPyEndAllowThreads(__tstate);
32009 if (PyErr_Occurred()) SWIG_fail;
32010 }
32011 resultobj = SWIG_Py_Void();
32012 return resultobj;
32013fail:
32014 return NULL;
a5ee0656
RD
32015}
32016
32017
1bd55598
RD
32018SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32019 PyObject *resultobj = 0;
32020 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32021 void *argp1 = 0 ;
32022 int res1 = 0 ;
32023 PyObject *swig_obj[1] ;
32024
32025 if (!args) SWIG_fail;
32026 swig_obj[0] = args;
32027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32028 if (!SWIG_IsOK(res1)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32030 }
32031 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32032 {
32033 PyThreadState* __tstate = wxPyBeginAllowThreads();
32034 (arg1)->OnLast();
32035 wxPyEndAllowThreads(__tstate);
32036 if (PyErr_Occurred()) SWIG_fail;
32037 }
32038 resultobj = SWIG_Py_Void();
32039 return resultobj;
32040fail:
32041 return NULL;
976dbff5
RD
32042}
32043
32044
1bd55598
RD
32045SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32046 PyObject *resultobj = 0;
32047 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32048 void *argp1 = 0 ;
32049 int res1 = 0 ;
32050 PyObject *swig_obj[1] ;
32051
32052 if (!args) SWIG_fail;
32053 swig_obj[0] = args;
32054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32055 if (!SWIG_IsOK(res1)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32057 }
32058 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32059 {
32060 PyThreadState* __tstate = wxPyBeginAllowThreads();
32061 (arg1)->OnGoto();
32062 wxPyEndAllowThreads(__tstate);
32063 if (PyErr_Occurred()) SWIG_fail;
32064 }
32065 resultobj = SWIG_Py_Void();
32066 return resultobj;
32067fail:
32068 return NULL;
d55e5bfc
RD
32069}
32070
32071
1bd55598
RD
32072SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32073 PyObject *obj;
32074 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
32076 return SWIG_Py_Void();
32077}
32078
32079SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32080 return SWIG_Python_InitShadowInstance(args);
32081}
32082
32083SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32084 PyObject *resultobj = 0;
32085 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32086 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32087 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
32088 wxPrintPreview *result = 0 ;
32089 int res1 = 0 ;
32090 int res2 = 0 ;
32091 void *argp3 = 0 ;
32092 int res3 = 0 ;
32093
32094 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
32095 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32096 if (!SWIG_IsOK(res1)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32098 }
32099 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32100 if (!SWIG_IsOK(res2)) {
32101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32102 }
32103 if (swig_obj[2]) {
32104 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32105 if (!SWIG_IsOK(res3)) {
32106 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 32107 }
1bd55598
RD
32108 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
32109 }
32110 {
32111 if (!wxPyCheckForApp()) SWIG_fail;
32112 PyThreadState* __tstate = wxPyBeginAllowThreads();
32113 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32114 wxPyEndAllowThreads(__tstate);
32115 if (PyErr_Occurred()) SWIG_fail;
32116 }
32117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32118 return resultobj;
32119fail:
32120 return NULL;
32121}
32122
32123
32124SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32125 PyObject *resultobj = 0;
32126 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32127 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32128 wxPrintData *arg3 = (wxPrintData *) 0 ;
32129 wxPrintPreview *result = 0 ;
32130 int res1 = 0 ;
32131 int res2 = 0 ;
32132 void *argp3 = 0 ;
32133 int res3 = 0 ;
32134
32135 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
32136 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32137 if (!SWIG_IsOK(res1)) {
32138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32139 }
32140 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32141 if (!SWIG_IsOK(res2)) {
32142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32143 }
32144 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
32145 if (!SWIG_IsOK(res3)) {
32146 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32147 }
32148 arg3 = reinterpret_cast< wxPrintData * >(argp3);
32149 {
32150 if (!wxPyCheckForApp()) SWIG_fail;
32151 PyThreadState* __tstate = wxPyBeginAllowThreads();
32152 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32153 wxPyEndAllowThreads(__tstate);
32154 if (PyErr_Occurred()) SWIG_fail;
32155 }
32156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32157 return resultobj;
32158fail:
32159 return NULL;
d55e5bfc
RD
32160}
32161
32162
1bd55598
RD
32163SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
32164 int argc;
32165 PyObject *argv[4];
32166
32167 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
32168 --argc;
32169 if ((argc >= 2) && (argc <= 3)) {
32170 int _v = 0;
32171 if (argc > 2) {
32172 {
32173 void *vptr = 0;
32174 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
32175 _v = SWIG_CheckState(res);
32176 }
32177 if (!_v) goto check_1;
36ed4f51 32178 }
1bd55598
RD
32179 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
32180 }
32181check_1:
32182
32183 if (argc == 3) {
32184 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
32185 }
32186
32187fail:
32188 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
32189 return NULL;
d55e5bfc
RD
32190}
32191
32192
1bd55598
RD
32193SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32194 PyObject *resultobj = 0;
32195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32196 void *argp1 = 0 ;
32197 int res1 = 0 ;
32198 PyObject *swig_obj[1] ;
32199
32200 if (!args) SWIG_fail;
32201 swig_obj[0] = args;
32202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
32203 if (!SWIG_IsOK(res1)) {
32204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32205 }
32206 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32207 {
32208 PyThreadState* __tstate = wxPyBeginAllowThreads();
32209 delete arg1;
d55e5bfc 32210
1bd55598
RD
32211 wxPyEndAllowThreads(__tstate);
32212 if (PyErr_Occurred()) SWIG_fail;
32213 }
32214 resultobj = SWIG_Py_Void();
32215 return resultobj;
32216fail:
32217 return NULL;
32218}
32219
32220
32221SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32222 PyObject *resultobj = 0;
32223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32224 int arg2 ;
32225 bool result;
32226 void *argp1 = 0 ;
32227 int res1 = 0 ;
32228 int val2 ;
32229 int ecode2 = 0 ;
32230 PyObject * obj0 = 0 ;
32231 PyObject * obj1 = 0 ;
32232 char * kwnames[] = {
32233 (char *) "self",(char *) "pageNum", NULL
32234 };
32235
32236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
32237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32238 if (!SWIG_IsOK(res1)) {
32239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32240 }
32241 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32242 ecode2 = SWIG_AsVal_int(obj1, &val2);
32243 if (!SWIG_IsOK(ecode2)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32245 }
32246 arg2 = static_cast< int >(val2);
32247 {
32248 PyThreadState* __tstate = wxPyBeginAllowThreads();
32249 result = (bool)(arg1)->SetCurrentPage(arg2);
32250 wxPyEndAllowThreads(__tstate);
32251 if (PyErr_Occurred()) SWIG_fail;
32252 }
32253 {
32254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32255 }
32256 return resultobj;
32257fail:
32258 return NULL;
d55e5bfc
RD
32259}
32260
32261
1bd55598
RD
32262SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32263 PyObject *resultobj = 0;
32264 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32265 int result;
32266 void *argp1 = 0 ;
32267 int res1 = 0 ;
32268 PyObject *swig_obj[1] ;
32269
32270 if (!args) SWIG_fail;
32271 swig_obj[0] = args;
32272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32273 if (!SWIG_IsOK(res1)) {
32274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32275 }
32276 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32277 {
32278 PyThreadState* __tstate = wxPyBeginAllowThreads();
32279 result = (int)(arg1)->GetCurrentPage();
32280 wxPyEndAllowThreads(__tstate);
32281 if (PyErr_Occurred()) SWIG_fail;
32282 }
32283 resultobj = SWIG_From_int(static_cast< int >(result));
32284 return resultobj;
32285fail:
32286 return NULL;
32287}
32288
32289
32290SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32291 PyObject *resultobj = 0;
32292 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32293 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32294 void *argp1 = 0 ;
32295 int res1 = 0 ;
32296 int res2 = 0 ;
32297 PyObject * obj0 = 0 ;
32298 PyObject * obj1 = 0 ;
32299 char * kwnames[] = {
32300 (char *) "self",(char *) "printout", NULL
32301 };
32302
32303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
32304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32305 if (!SWIG_IsOK(res1)) {
32306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32307 }
32308 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32309 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32310 if (!SWIG_IsOK(res2)) {
32311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32312 }
32313 {
32314 PyThreadState* __tstate = wxPyBeginAllowThreads();
32315 (arg1)->SetPrintout(arg2);
32316 wxPyEndAllowThreads(__tstate);
32317 if (PyErr_Occurred()) SWIG_fail;
32318 }
32319 resultobj = SWIG_Py_Void();
32320 return resultobj;
32321fail:
32322 return NULL;
d55e5bfc
RD
32323}
32324
32325
1bd55598
RD
32326SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32327 PyObject *resultobj = 0;
32328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32329 wxPyPrintout *result = 0 ;
32330 void *argp1 = 0 ;
32331 int res1 = 0 ;
32332 PyObject *swig_obj[1] ;
32333
32334 if (!args) SWIG_fail;
32335 swig_obj[0] = args;
32336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32337 if (!SWIG_IsOK(res1)) {
32338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32339 }
32340 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32341 {
32342 PyThreadState* __tstate = wxPyBeginAllowThreads();
32343 result = (wxPyPrintout *)(arg1)->GetPrintout();
32344 wxPyEndAllowThreads(__tstate);
32345 if (PyErr_Occurred()) SWIG_fail;
32346 }
32347 {
32348 resultobj = wxPyMake_wxObject(result, 0);
32349 }
32350 return resultobj;
32351fail:
32352 return NULL;
d55e5bfc
RD
32353}
32354
32355
1bd55598
RD
32356SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32357 PyObject *resultobj = 0;
32358 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32359 wxPyPrintout *result = 0 ;
32360 void *argp1 = 0 ;
32361 int res1 = 0 ;
32362 PyObject *swig_obj[1] ;
32363
32364 if (!args) SWIG_fail;
32365 swig_obj[0] = args;
32366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32367 if (!SWIG_IsOK(res1)) {
32368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32369 }
32370 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32371 {
32372 PyThreadState* __tstate = wxPyBeginAllowThreads();
32373 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
32374 wxPyEndAllowThreads(__tstate);
32375 if (PyErr_Occurred()) SWIG_fail;
32376 }
32377 {
32378 resultobj = wxPyMake_wxObject(result, 0);
32379 }
32380 return resultobj;
32381fail:
32382 return NULL;
32383}
32384
32385
32386SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32387 PyObject *resultobj = 0;
32388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32389 wxFrame *arg2 = (wxFrame *) 0 ;
32390 void *argp1 = 0 ;
32391 int res1 = 0 ;
32392 void *argp2 = 0 ;
32393 int res2 = 0 ;
32394 PyObject * obj0 = 0 ;
32395 PyObject * obj1 = 0 ;
32396 char * kwnames[] = {
32397 (char *) "self",(char *) "frame", NULL
32398 };
32399
32400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
32401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32402 if (!SWIG_IsOK(res1)) {
32403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32404 }
32405 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32406 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
32407 if (!SWIG_IsOK(res2)) {
32408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32409 }
32410 arg2 = reinterpret_cast< wxFrame * >(argp2);
32411 {
32412 PyThreadState* __tstate = wxPyBeginAllowThreads();
32413 (arg1)->SetFrame(arg2);
32414 wxPyEndAllowThreads(__tstate);
32415 if (PyErr_Occurred()) SWIG_fail;
32416 }
32417 resultobj = SWIG_Py_Void();
32418 return resultobj;
32419fail:
32420 return NULL;
32421}
32422
32423
32424SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32425 PyObject *resultobj = 0;
32426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32427 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32428 void *argp1 = 0 ;
32429 int res1 = 0 ;
32430 void *argp2 = 0 ;
32431 int res2 = 0 ;
32432 PyObject * obj0 = 0 ;
32433 PyObject * obj1 = 0 ;
32434 char * kwnames[] = {
32435 (char *) "self",(char *) "canvas", NULL
32436 };
32437
32438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
32439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32440 if (!SWIG_IsOK(res1)) {
32441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32442 }
32443 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32444 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32445 if (!SWIG_IsOK(res2)) {
32446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32447 }
32448 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 (arg1)->SetCanvas(arg2);
32452 wxPyEndAllowThreads(__tstate);
32453 if (PyErr_Occurred()) SWIG_fail;
32454 }
32455 resultobj = SWIG_Py_Void();
32456 return resultobj;
32457fail:
32458 return NULL;
d55e5bfc
RD
32459}
32460
32461
1bd55598
RD
32462SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32463 PyObject *resultobj = 0;
32464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32465 wxFrame *result = 0 ;
32466 void *argp1 = 0 ;
32467 int res1 = 0 ;
32468 PyObject *swig_obj[1] ;
32469
32470 if (!args) SWIG_fail;
32471 swig_obj[0] = args;
32472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32473 if (!SWIG_IsOK(res1)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32475 }
32476 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32477 {
32478 PyThreadState* __tstate = wxPyBeginAllowThreads();
32479 result = (wxFrame *)(arg1)->GetFrame();
32480 wxPyEndAllowThreads(__tstate);
32481 if (PyErr_Occurred()) SWIG_fail;
32482 }
32483 {
32484 resultobj = wxPyMake_wxObject(result, 0);
32485 }
32486 return resultobj;
32487fail:
32488 return NULL;
d55e5bfc
RD
32489}
32490
32491
1bd55598
RD
32492SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32493 PyObject *resultobj = 0;
32494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32495 wxPreviewCanvas *result = 0 ;
32496 void *argp1 = 0 ;
32497 int res1 = 0 ;
32498 PyObject *swig_obj[1] ;
32499
32500 if (!args) SWIG_fail;
32501 swig_obj[0] = args;
32502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32503 if (!SWIG_IsOK(res1)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32505 }
32506 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32507 {
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
32510 wxPyEndAllowThreads(__tstate);
32511 if (PyErr_Occurred()) SWIG_fail;
32512 }
32513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32514 return resultobj;
32515fail:
32516 return NULL;
32517}
32518
32519
32520SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32521 PyObject *resultobj = 0;
32522 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32523 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32524 wxDC *arg3 = 0 ;
32525 bool result;
32526 void *argp1 = 0 ;
32527 int res1 = 0 ;
32528 void *argp2 = 0 ;
32529 int res2 = 0 ;
32530 void *argp3 = 0 ;
32531 int res3 = 0 ;
32532 PyObject * obj0 = 0 ;
32533 PyObject * obj1 = 0 ;
32534 PyObject * obj2 = 0 ;
32535 char * kwnames[] = {
32536 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32537 };
32538
32539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32541 if (!SWIG_IsOK(res1)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32543 }
32544 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32545 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32546 if (!SWIG_IsOK(res2)) {
32547 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32548 }
32549 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32550 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32551 if (!SWIG_IsOK(res3)) {
32552 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32553 }
32554 if (!argp3) {
32555 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32556 }
32557 arg3 = reinterpret_cast< wxDC * >(argp3);
32558 {
32559 PyThreadState* __tstate = wxPyBeginAllowThreads();
32560 result = (bool)(arg1)->PaintPage(arg2,*arg3);
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 {
32565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32566 }
32567 return resultobj;
32568fail:
32569 return NULL;
32570}
32571
32572
32573SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32574 PyObject *resultobj = 0;
32575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32576 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32577 wxDC *arg3 = 0 ;
32578 bool result;
32579 void *argp1 = 0 ;
32580 int res1 = 0 ;
32581 void *argp2 = 0 ;
32582 int res2 = 0 ;
32583 void *argp3 = 0 ;
32584 int res3 = 0 ;
32585 PyObject * obj0 = 0 ;
32586 PyObject * obj1 = 0 ;
32587 PyObject * obj2 = 0 ;
32588 char * kwnames[] = {
32589 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32590 };
32591
32592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32594 if (!SWIG_IsOK(res1)) {
32595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32596 }
32597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32599 if (!SWIG_IsOK(res2)) {
32600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32601 }
32602 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32603 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32604 if (!SWIG_IsOK(res3)) {
32605 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32606 }
32607 if (!argp3) {
32608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32609 }
32610 arg3 = reinterpret_cast< wxDC * >(argp3);
32611 {
32612 PyThreadState* __tstate = wxPyBeginAllowThreads();
32613 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
32614 wxPyEndAllowThreads(__tstate);
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 {
32618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32619 }
32620 return resultobj;
32621fail:
32622 return NULL;
32623}
32624
32625
32626SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32627 PyObject *resultobj = 0;
32628 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32629 int arg2 ;
32630 bool result;
32631 void *argp1 = 0 ;
32632 int res1 = 0 ;
32633 int val2 ;
32634 int ecode2 = 0 ;
32635 PyObject * obj0 = 0 ;
32636 PyObject * obj1 = 0 ;
32637 char * kwnames[] = {
32638 (char *) "self",(char *) "pageNum", NULL
32639 };
32640
32641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
32642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32643 if (!SWIG_IsOK(res1)) {
32644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32645 }
32646 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32647 ecode2 = SWIG_AsVal_int(obj1, &val2);
32648 if (!SWIG_IsOK(ecode2)) {
32649 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32650 }
32651 arg2 = static_cast< int >(val2);
32652 {
32653 PyThreadState* __tstate = wxPyBeginAllowThreads();
32654 result = (bool)(arg1)->RenderPage(arg2);
32655 wxPyEndAllowThreads(__tstate);
32656 if (PyErr_Occurred()) SWIG_fail;
32657 }
32658 {
32659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32660 }
32661 return resultobj;
32662fail:
32663 return NULL;
32664}
32665
32666
32667SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32668 PyObject *resultobj = 0;
32669 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32670 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32671 void *argp1 = 0 ;
32672 int res1 = 0 ;
32673 void *argp2 = 0 ;
32674 int res2 = 0 ;
32675 PyObject * obj0 = 0 ;
32676 PyObject * obj1 = 0 ;
32677 char * kwnames[] = {
32678 (char *) "self",(char *) "canvas", NULL
32679 };
32680
32681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
32682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32683 if (!SWIG_IsOK(res1)) {
32684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32685 }
32686 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32688 if (!SWIG_IsOK(res2)) {
32689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32690 }
32691 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32692 {
32693 PyThreadState* __tstate = wxPyBeginAllowThreads();
32694 (arg1)->AdjustScrollbars(arg2);
32695 wxPyEndAllowThreads(__tstate);
32696 if (PyErr_Occurred()) SWIG_fail;
32697 }
32698 resultobj = SWIG_Py_Void();
32699 return resultobj;
32700fail:
32701 return NULL;
d55e5bfc
RD
32702}
32703
32704
1bd55598
RD
32705SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32706 PyObject *resultobj = 0;
32707 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32708 wxPrintDialogData *result = 0 ;
32709 void *argp1 = 0 ;
32710 int res1 = 0 ;
32711 PyObject *swig_obj[1] ;
32712
32713 if (!args) SWIG_fail;
32714 swig_obj[0] = args;
32715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32716 if (!SWIG_IsOK(res1)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32718 }
32719 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32720 {
32721 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 32722 {
1bd55598
RD
32723 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
32724 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 32725 }
1bd55598
RD
32726 wxPyEndAllowThreads(__tstate);
32727 if (PyErr_Occurred()) SWIG_fail;
32728 }
32729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32730 return resultobj;
32731fail:
32732 return NULL;
32733}
32734
32735
32736SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32737 PyObject *resultobj = 0;
32738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32739 int arg2 ;
32740 void *argp1 = 0 ;
32741 int res1 = 0 ;
32742 int val2 ;
32743 int ecode2 = 0 ;
32744 PyObject * obj0 = 0 ;
32745 PyObject * obj1 = 0 ;
32746 char * kwnames[] = {
32747 (char *) "self",(char *) "percent", NULL
32748 };
32749
32750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
32751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32752 if (!SWIG_IsOK(res1)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32754 }
32755 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32756 ecode2 = SWIG_AsVal_int(obj1, &val2);
32757 if (!SWIG_IsOK(ecode2)) {
32758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32759 }
32760 arg2 = static_cast< int >(val2);
32761 {
32762 PyThreadState* __tstate = wxPyBeginAllowThreads();
32763 (arg1)->SetZoom(arg2);
32764 wxPyEndAllowThreads(__tstate);
32765 if (PyErr_Occurred()) SWIG_fail;
32766 }
32767 resultobj = SWIG_Py_Void();
32768 return resultobj;
32769fail:
32770 return NULL;
d55e5bfc
RD
32771}
32772
32773
1bd55598
RD
32774SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32775 PyObject *resultobj = 0;
32776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32777 int result;
32778 void *argp1 = 0 ;
32779 int res1 = 0 ;
32780 PyObject *swig_obj[1] ;
32781
32782 if (!args) SWIG_fail;
32783 swig_obj[0] = args;
32784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32785 if (!SWIG_IsOK(res1)) {
32786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32787 }
32788 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32789 {
32790 PyThreadState* __tstate = wxPyBeginAllowThreads();
32791 result = (int)(arg1)->GetZoom();
32792 wxPyEndAllowThreads(__tstate);
32793 if (PyErr_Occurred()) SWIG_fail;
32794 }
32795 resultobj = SWIG_From_int(static_cast< int >(result));
32796 return resultobj;
32797fail:
32798 return NULL;
d55e5bfc
RD
32799}
32800
32801
1bd55598
RD
32802SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32803 PyObject *resultobj = 0;
32804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32805 int result;
32806 void *argp1 = 0 ;
32807 int res1 = 0 ;
32808 PyObject *swig_obj[1] ;
32809
32810 if (!args) SWIG_fail;
32811 swig_obj[0] = args;
32812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32813 if (!SWIG_IsOK(res1)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32815 }
32816 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32817 {
32818 PyThreadState* __tstate = wxPyBeginAllowThreads();
32819 result = (int)(arg1)->GetMaxPage();
32820 wxPyEndAllowThreads(__tstate);
32821 if (PyErr_Occurred()) SWIG_fail;
32822 }
32823 resultobj = SWIG_From_int(static_cast< int >(result));
32824 return resultobj;
32825fail:
32826 return NULL;
d55e5bfc
RD
32827}
32828
32829
1bd55598
RD
32830SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32831 PyObject *resultobj = 0;
32832 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32833 int result;
32834 void *argp1 = 0 ;
32835 int res1 = 0 ;
32836 PyObject *swig_obj[1] ;
32837
32838 if (!args) SWIG_fail;
32839 swig_obj[0] = args;
32840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32841 if (!SWIG_IsOK(res1)) {
32842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32843 }
32844 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32845 {
32846 PyThreadState* __tstate = wxPyBeginAllowThreads();
32847 result = (int)(arg1)->GetMinPage();
32848 wxPyEndAllowThreads(__tstate);
32849 if (PyErr_Occurred()) SWIG_fail;
32850 }
32851 resultobj = SWIG_From_int(static_cast< int >(result));
32852 return resultobj;
32853fail:
32854 return NULL;
d55e5bfc
RD
32855}
32856
32857
b39fe951 32858SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
32859 PyObject *resultobj = 0;
32860 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32861 bool result;
32862 void *argp1 = 0 ;
32863 int res1 = 0 ;
32864 PyObject *swig_obj[1] ;
32865
32866 if (!args) SWIG_fail;
32867 swig_obj[0] = args;
32868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32869 if (!SWIG_IsOK(res1)) {
b39fe951 32870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598
RD
32871 }
32872 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32873 {
32874 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 32875 result = (bool)(arg1)->IsOk();
1bd55598
RD
32876 wxPyEndAllowThreads(__tstate);
32877 if (PyErr_Occurred()) SWIG_fail;
32878 }
32879 {
32880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32881 }
32882 return resultobj;
32883fail:
32884 return NULL;
32885}
32886
32887
32888SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32889 PyObject *resultobj = 0;
32890 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32891 bool arg2 ;
32892 void *argp1 = 0 ;
32893 int res1 = 0 ;
32894 bool val2 ;
32895 int ecode2 = 0 ;
32896 PyObject * obj0 = 0 ;
32897 PyObject * obj1 = 0 ;
32898 char * kwnames[] = {
32899 (char *) "self",(char *) "ok", NULL
32900 };
32901
32902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
32903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32904 if (!SWIG_IsOK(res1)) {
32905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32906 }
32907 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32908 ecode2 = SWIG_AsVal_bool(obj1, &val2);
32909 if (!SWIG_IsOK(ecode2)) {
32910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
32911 }
32912 arg2 = static_cast< bool >(val2);
32913 {
32914 PyThreadState* __tstate = wxPyBeginAllowThreads();
32915 (arg1)->SetOk(arg2);
32916 wxPyEndAllowThreads(__tstate);
32917 if (PyErr_Occurred()) SWIG_fail;
32918 }
32919 resultobj = SWIG_Py_Void();
32920 return resultobj;
32921fail:
32922 return NULL;
32923}
32924
32925
32926SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32927 PyObject *resultobj = 0;
32928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32929 bool arg2 ;
32930 bool result;
32931 void *argp1 = 0 ;
32932 int res1 = 0 ;
32933 bool val2 ;
32934 int ecode2 = 0 ;
32935 PyObject * obj0 = 0 ;
32936 PyObject * obj1 = 0 ;
32937 char * kwnames[] = {
32938 (char *) "self",(char *) "interactive", NULL
32939 };
32940
32941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
32942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32943 if (!SWIG_IsOK(res1)) {
32944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32945 }
32946 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32947 ecode2 = SWIG_AsVal_bool(obj1, &val2);
32948 if (!SWIG_IsOK(ecode2)) {
32949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
32950 }
32951 arg2 = static_cast< bool >(val2);
32952 {
32953 PyThreadState* __tstate = wxPyBeginAllowThreads();
32954 result = (bool)(arg1)->Print(arg2);
32955 wxPyEndAllowThreads(__tstate);
32956 if (PyErr_Occurred()) SWIG_fail;
32957 }
32958 {
32959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32960 }
32961 return resultobj;
32962fail:
32963 return NULL;
d55e5bfc
RD
32964}
32965
32966
1bd55598
RD
32967SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32968 PyObject *resultobj = 0;
32969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32970 void *argp1 = 0 ;
32971 int res1 = 0 ;
32972 PyObject *swig_obj[1] ;
32973
32974 if (!args) SWIG_fail;
32975 swig_obj[0] = args;
32976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32977 if (!SWIG_IsOK(res1)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32979 }
32980 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32981 {
32982 PyThreadState* __tstate = wxPyBeginAllowThreads();
32983 (arg1)->DetermineScaling();
32984 wxPyEndAllowThreads(__tstate);
32985 if (PyErr_Occurred()) SWIG_fail;
32986 }
32987 resultobj = SWIG_Py_Void();
32988 return resultobj;
32989fail:
32990 return NULL;
d55e5bfc
RD
32991}
32992
32993
1bd55598
RD
32994SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32995 PyObject *obj;
32996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
32998 return SWIG_Py_Void();
d55e5bfc
RD
32999}
33000
1bd55598
RD
33001SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33002 return SWIG_Python_InitShadowInstance(args);
33003}
d55e5bfc 33004
1bd55598
RD
33005SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33006 PyObject *resultobj = 0;
33007 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33008 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33009 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
33010 wxPyPrintPreview *result = 0 ;
33011 int res1 = 0 ;
33012 int res2 = 0 ;
33013 void *argp3 = 0 ;
33014 int res3 = 0 ;
33015
33016 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33017 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33018 if (!SWIG_IsOK(res1)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33020 }
33021 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33022 if (!SWIG_IsOK(res2)) {
33023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33024 }
33025 if (swig_obj[2]) {
33026 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33027 if (!SWIG_IsOK(res3)) {
33028 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33029 }
33030 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
33031 }
33032 {
33033 if (!wxPyCheckForApp()) SWIG_fail;
33034 PyThreadState* __tstate = wxPyBeginAllowThreads();
33035 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33036 wxPyEndAllowThreads(__tstate);
33037 if (PyErr_Occurred()) SWIG_fail;
33038 }
33039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33040 return resultobj;
33041fail:
33042 return NULL;
33043}
33044
33045
33046SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33047 PyObject *resultobj = 0;
33048 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33049 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33050 wxPrintData *arg3 = (wxPrintData *) 0 ;
33051 wxPyPrintPreview *result = 0 ;
33052 int res1 = 0 ;
33053 int res2 = 0 ;
33054 void *argp3 = 0 ;
33055 int res3 = 0 ;
33056
33057 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
33058 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33059 if (!SWIG_IsOK(res1)) {
33060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33061 }
33062 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33063 if (!SWIG_IsOK(res2)) {
33064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33065 }
33066 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
33067 if (!SWIG_IsOK(res3)) {
33068 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33069 }
33070 arg3 = reinterpret_cast< wxPrintData * >(argp3);
33071 {
33072 if (!wxPyCheckForApp()) SWIG_fail;
33073 PyThreadState* __tstate = wxPyBeginAllowThreads();
33074 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33075 wxPyEndAllowThreads(__tstate);
33076 if (PyErr_Occurred()) SWIG_fail;
33077 }
33078 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33079 return resultobj;
33080fail:
33081 return NULL;
d55e5bfc
RD
33082}
33083
33084
1bd55598
RD
33085SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
33086 int argc;
33087 PyObject *argv[4];
33088
33089 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
33090 --argc;
33091 if ((argc >= 2) && (argc <= 3)) {
33092 int _v = 0;
33093 if (argc > 2) {
33094 {
33095 void *vptr = 0;
33096 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
33097 _v = SWIG_CheckState(res);
33098 }
33099 if (!_v) goto check_1;
36ed4f51 33100 }
1bd55598
RD
33101 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
33102 }
33103check_1:
33104
33105 if (argc == 3) {
33106 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
33107 }
33108
33109fail:
33110 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
33111 return NULL;
33112}
33113
33114
33115SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33116 PyObject *resultobj = 0;
33117 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
33118 PyObject *arg2 = (PyObject *) 0 ;
33119 PyObject *arg3 = (PyObject *) 0 ;
33120 void *argp1 = 0 ;
33121 int res1 = 0 ;
33122 PyObject * obj0 = 0 ;
33123 PyObject * obj1 = 0 ;
33124 PyObject * obj2 = 0 ;
33125 char * kwnames[] = {
33126 (char *) "self",(char *) "self",(char *) "_class", NULL
33127 };
33128
33129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
33131 if (!SWIG_IsOK(res1)) {
33132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33133 }
33134 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
33135 arg2 = obj1;
33136 arg3 = obj2;
33137 {
33138 PyThreadState* __tstate = wxPyBeginAllowThreads();
33139 (arg1)->_setCallbackInfo(arg2,arg3);
33140 wxPyEndAllowThreads(__tstate);
33141 if (PyErr_Occurred()) SWIG_fail;
33142 }
33143 resultobj = SWIG_Py_Void();
33144 return resultobj;
33145fail:
33146 return NULL;
33147}
33148
33149
33150SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33151 PyObject *obj;
33152 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33153 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
33154 return SWIG_Py_Void();
33155}
33156
33157SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33158 return SWIG_Python_InitShadowInstance(args);
33159}
33160
33161SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33162 PyObject *resultobj = 0;
33163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33164 wxFrame *arg2 = (wxFrame *) 0 ;
33165 wxString *arg3 = 0 ;
33166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33168 wxSize const &arg5_defvalue = wxDefaultSize ;
33169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33170 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
33171 wxString const &arg7_defvalue = wxPyFrameNameStr ;
33172 wxString *arg7 = (wxString *) &arg7_defvalue ;
33173 wxPyPreviewFrame *result = 0 ;
1bd55598
RD
33174 int res1 = 0 ;
33175 void *argp2 = 0 ;
33176 int res2 = 0 ;
33177 bool temp3 = false ;
33178 wxPoint temp4 ;
33179 wxSize temp5 ;
33180 long val6 ;
33181 int ecode6 = 0 ;
33182 bool temp7 = false ;
33183 PyObject * obj0 = 0 ;
33184 PyObject * obj1 = 0 ;
33185 PyObject * obj2 = 0 ;
33186 PyObject * obj3 = 0 ;
33187 PyObject * obj4 = 0 ;
33188 PyObject * obj5 = 0 ;
33189 PyObject * obj6 = 0 ;
33190 char * kwnames[] = {
33191 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33192 };
33193
33194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 33195 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 33196 if (!SWIG_IsOK(res1)) {
9057d6d4 33197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 33198 }
1bd55598
RD
33199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
33200 if (!SWIG_IsOK(res2)) {
33201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33202 }
33203 arg2 = reinterpret_cast< wxFrame * >(argp2);
33204 {
33205 arg3 = wxString_in_helper(obj2);
33206 if (arg3 == NULL) SWIG_fail;
33207 temp3 = true;
33208 }
33209 if (obj3) {
36ed4f51 33210 {
1bd55598
RD
33211 arg4 = &temp4;
33212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 33213 }
1bd55598
RD
33214 }
33215 if (obj4) {
d55e5bfc 33216 {
1bd55598
RD
33217 arg5 = &temp5;
33218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 33219 }
1bd55598
RD
33220 }
33221 if (obj5) {
33222 ecode6 = SWIG_AsVal_long(obj5, &val6);
33223 if (!SWIG_IsOK(ecode6)) {
33224 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33225 }
33226 arg6 = static_cast< long >(val6);
33227 }
33228 if (obj6) {
36ed4f51 33229 {
1bd55598
RD
33230 arg7 = wxString_in_helper(obj6);
33231 if (arg7 == NULL) SWIG_fail;
33232 temp7 = true;
36ed4f51 33233 }
1bd55598
RD
33234 }
33235 {
33236 if (!wxPyCheckForApp()) SWIG_fail;
33237 PyThreadState* __tstate = wxPyBeginAllowThreads();
33238 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33239 wxPyEndAllowThreads(__tstate);
33240 if (PyErr_Occurred()) SWIG_fail;
33241 }
33242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
33243 {
33244 if (temp3)
33245 delete arg3;
33246 }
33247 {
33248 if (temp7)
33249 delete arg7;
33250 }
33251 return resultobj;
33252fail:
33253 {
33254 if (temp3)
33255 delete arg3;
33256 }
33257 {
33258 if (temp7)
33259 delete arg7;
33260 }
33261 return NULL;
33262}
33263
33264
33265SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33266 PyObject *resultobj = 0;
33267 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33268 PyObject *arg2 = (PyObject *) 0 ;
33269 PyObject *arg3 = (PyObject *) 0 ;
33270 void *argp1 = 0 ;
33271 int res1 = 0 ;
33272 PyObject * obj0 = 0 ;
33273 PyObject * obj1 = 0 ;
33274 PyObject * obj2 = 0 ;
33275 char * kwnames[] = {
33276 (char *) "self",(char *) "self",(char *) "_class", NULL
33277 };
33278
33279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33281 if (!SWIG_IsOK(res1)) {
33282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33283 }
33284 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33285 arg2 = obj1;
33286 arg3 = obj2;
33287 {
33288 PyThreadState* __tstate = wxPyBeginAllowThreads();
33289 (arg1)->_setCallbackInfo(arg2,arg3);
33290 wxPyEndAllowThreads(__tstate);
33291 if (PyErr_Occurred()) SWIG_fail;
33292 }
33293 resultobj = SWIG_Py_Void();
33294 return resultobj;
33295fail:
33296 return NULL;
33297}
33298
33299
33300SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33301 PyObject *resultobj = 0;
33302 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33303 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
33304 void *argp1 = 0 ;
33305 int res1 = 0 ;
33306 void *argp2 = 0 ;
33307 int res2 = 0 ;
33308 PyObject * obj0 = 0 ;
33309 PyObject * obj1 = 0 ;
33310 char * kwnames[] = {
33311 (char *) "self",(char *) "canvas", NULL
33312 };
33313
33314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
33315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33316 if (!SWIG_IsOK(res1)) {
33317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33318 }
33319 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
33321 if (!SWIG_IsOK(res2)) {
33322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33323 }
33324 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33325 {
33326 PyThreadState* __tstate = wxPyBeginAllowThreads();
33327 (arg1)->SetPreviewCanvas(arg2);
33328 wxPyEndAllowThreads(__tstate);
33329 if (PyErr_Occurred()) SWIG_fail;
33330 }
33331 resultobj = SWIG_Py_Void();
33332 return resultobj;
33333fail:
33334 return NULL;
33335}
33336
33337
33338SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33339 PyObject *resultobj = 0;
33340 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33341 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
33342 void *argp1 = 0 ;
33343 int res1 = 0 ;
33344 void *argp2 = 0 ;
33345 int res2 = 0 ;
33346 PyObject * obj0 = 0 ;
33347 PyObject * obj1 = 0 ;
33348 char * kwnames[] = {
33349 (char *) "self",(char *) "bar", NULL
33350 };
33351
33352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
33353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33354 if (!SWIG_IsOK(res1)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33356 }
33357 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33358 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
33359 if (!SWIG_IsOK(res2)) {
33360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33361 }
33362 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
33363 {
33364 PyThreadState* __tstate = wxPyBeginAllowThreads();
33365 (arg1)->SetControlBar(arg2);
33366 wxPyEndAllowThreads(__tstate);
33367 if (PyErr_Occurred()) SWIG_fail;
33368 }
33369 resultobj = SWIG_Py_Void();
33370 return resultobj;
33371fail:
33372 return NULL;
d55e5bfc
RD
33373}
33374
33375
1bd55598
RD
33376SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33377 PyObject *resultobj = 0;
33378 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33379 void *argp1 = 0 ;
33380 int res1 = 0 ;
33381 PyObject *swig_obj[1] ;
33382
33383 if (!args) SWIG_fail;
33384 swig_obj[0] = args;
33385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33386 if (!SWIG_IsOK(res1)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33388 }
33389 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33390 {
33391 PyThreadState* __tstate = wxPyBeginAllowThreads();
33392 (arg1)->Initialize();
33393 wxPyEndAllowThreads(__tstate);
33394 if (PyErr_Occurred()) SWIG_fail;
33395 }
33396 resultobj = SWIG_Py_Void();
33397 return resultobj;
33398fail:
33399 return NULL;
d55e5bfc
RD
33400}
33401
33402
1bd55598
RD
33403SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33404 PyObject *resultobj = 0;
33405 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33406 void *argp1 = 0 ;
33407 int res1 = 0 ;
33408 PyObject *swig_obj[1] ;
33409
33410 if (!args) SWIG_fail;
33411 swig_obj[0] = args;
33412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33413 if (!SWIG_IsOK(res1)) {
33414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33415 }
33416 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33417 {
33418 PyThreadState* __tstate = wxPyBeginAllowThreads();
33419 (arg1)->CreateCanvas();
33420 wxPyEndAllowThreads(__tstate);
33421 if (PyErr_Occurred()) SWIG_fail;
33422 }
33423 resultobj = SWIG_Py_Void();
33424 return resultobj;
33425fail:
33426 return NULL;
d55e5bfc
RD
33427}
33428
33429
1bd55598
RD
33430SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33431 PyObject *resultobj = 0;
33432 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33433 void *argp1 = 0 ;
33434 int res1 = 0 ;
33435 PyObject *swig_obj[1] ;
33436
33437 if (!args) SWIG_fail;
33438 swig_obj[0] = args;
33439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33440 if (!SWIG_IsOK(res1)) {
33441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33442 }
33443 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33444 {
33445 PyThreadState* __tstate = wxPyBeginAllowThreads();
33446 (arg1)->CreateControlBar();
33447 wxPyEndAllowThreads(__tstate);
33448 if (PyErr_Occurred()) SWIG_fail;
33449 }
33450 resultobj = SWIG_Py_Void();
33451 return resultobj;
33452fail:
33453 return NULL;
33454}
33455
33456
33457SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33458 PyObject *obj;
33459 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
33461 return SWIG_Py_Void();
33462}
33463
33464SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33465 return SWIG_Python_InitShadowInstance(args);
33466}
33467
33468SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33469 PyObject *resultobj = 0;
33470 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33471 long arg2 ;
33472 wxWindow *arg3 = (wxWindow *) 0 ;
33473 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33474 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33475 wxSize const &arg5_defvalue = wxDefaultSize ;
33476 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33477 long arg6 = (long) 0 ;
33478 wxString const &arg7_defvalue = wxPyPanelNameStr ;
33479 wxString *arg7 = (wxString *) &arg7_defvalue ;
33480 wxPyPreviewControlBar *result = 0 ;
1bd55598
RD
33481 int res1 = 0 ;
33482 long val2 ;
33483 int ecode2 = 0 ;
33484 void *argp3 = 0 ;
33485 int res3 = 0 ;
33486 wxPoint temp4 ;
33487 wxSize temp5 ;
33488 long val6 ;
33489 int ecode6 = 0 ;
33490 bool temp7 = false ;
33491 PyObject * obj0 = 0 ;
33492 PyObject * obj1 = 0 ;
33493 PyObject * obj2 = 0 ;
33494 PyObject * obj3 = 0 ;
33495 PyObject * obj4 = 0 ;
33496 PyObject * obj5 = 0 ;
33497 PyObject * obj6 = 0 ;
33498 char * kwnames[] = {
33499 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33500 };
33501
33502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 33503 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 33504 if (!SWIG_IsOK(res1)) {
9057d6d4 33505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 33506 }
1bd55598
RD
33507 ecode2 = SWIG_AsVal_long(obj1, &val2);
33508 if (!SWIG_IsOK(ecode2)) {
33509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33510 }
33511 arg2 = static_cast< long >(val2);
33512 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
33513 if (!SWIG_IsOK(res3)) {
33514 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33515 }
33516 arg3 = reinterpret_cast< wxWindow * >(argp3);
33517 if (obj3) {
d55e5bfc 33518 {
1bd55598
RD
33519 arg4 = &temp4;
33520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33521 }
1bd55598
RD
33522 }
33523 if (obj4) {
d55e5bfc 33524 {
1bd55598
RD
33525 arg5 = &temp5;
33526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 33527 }
1bd55598
RD
33528 }
33529 if (obj5) {
33530 ecode6 = SWIG_AsVal_long(obj5, &val6);
33531 if (!SWIG_IsOK(ecode6)) {
33532 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33533 }
33534 arg6 = static_cast< long >(val6);
33535 }
33536 if (obj6) {
d55e5bfc 33537 {
1bd55598
RD
33538 arg7 = wxString_in_helper(obj6);
33539 if (arg7 == NULL) SWIG_fail;
33540 temp7 = true;
d55e5bfc 33541 }
1bd55598
RD
33542 }
33543 {
33544 if (!wxPyCheckForApp()) SWIG_fail;
33545 PyThreadState* __tstate = wxPyBeginAllowThreads();
33546 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33547 wxPyEndAllowThreads(__tstate);
33548 if (PyErr_Occurred()) SWIG_fail;
33549 }
33550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
33551 {
33552 if (temp7)
33553 delete arg7;
33554 }
33555 return resultobj;
33556fail:
33557 {
33558 if (temp7)
33559 delete arg7;
33560 }
33561 return NULL;
33562}
33563
33564
33565SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33566 PyObject *resultobj = 0;
33567 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33568 PyObject *arg2 = (PyObject *) 0 ;
33569 PyObject *arg3 = (PyObject *) 0 ;
33570 void *argp1 = 0 ;
33571 int res1 = 0 ;
33572 PyObject * obj0 = 0 ;
33573 PyObject * obj1 = 0 ;
33574 PyObject * obj2 = 0 ;
33575 char * kwnames[] = {
33576 (char *) "self",(char *) "self",(char *) "_class", NULL
33577 };
33578
33579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33581 if (!SWIG_IsOK(res1)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33583 }
33584 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33585 arg2 = obj1;
33586 arg3 = obj2;
33587 {
33588 PyThreadState* __tstate = wxPyBeginAllowThreads();
33589 (arg1)->_setCallbackInfo(arg2,arg3);
33590 wxPyEndAllowThreads(__tstate);
33591 if (PyErr_Occurred()) SWIG_fail;
33592 }
33593 resultobj = SWIG_Py_Void();
33594 return resultobj;
33595fail:
33596 return NULL;
33597}
33598
33599
33600SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33601 PyObject *resultobj = 0;
33602 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33603 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
33604 void *argp1 = 0 ;
33605 int res1 = 0 ;
1bd55598
RD
33606 int res2 = 0 ;
33607 PyObject * obj0 = 0 ;
33608 PyObject * obj1 = 0 ;
33609 char * kwnames[] = {
33610 (char *) "self",(char *) "preview", NULL
33611 };
33612
33613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
33614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33615 if (!SWIG_IsOK(res1)) {
33616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33617 }
33618 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
9057d6d4 33619 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 33620 if (!SWIG_IsOK(res2)) {
9057d6d4 33621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
1bd55598 33622 }
1bd55598
RD
33623 {
33624 PyThreadState* __tstate = wxPyBeginAllowThreads();
33625 (arg1)->SetPrintPreview(arg2);
33626 wxPyEndAllowThreads(__tstate);
33627 if (PyErr_Occurred()) SWIG_fail;
33628 }
33629 resultobj = SWIG_Py_Void();
33630 return resultobj;
33631fail:
33632 return NULL;
d55e5bfc
RD
33633}
33634
33635
1bd55598
RD
33636SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33637 PyObject *resultobj = 0;
33638 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33639 void *argp1 = 0 ;
33640 int res1 = 0 ;
33641 PyObject *swig_obj[1] ;
33642
33643 if (!args) SWIG_fail;
33644 swig_obj[0] = args;
33645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33646 if (!SWIG_IsOK(res1)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33648 }
33649 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33650 {
33651 PyThreadState* __tstate = wxPyBeginAllowThreads();
33652 (arg1)->CreateButtons();
33653 wxPyEndAllowThreads(__tstate);
33654 if (PyErr_Occurred()) SWIG_fail;
33655 }
33656 resultobj = SWIG_Py_Void();
33657 return resultobj;
33658fail:
33659 return NULL;
33660}
33661
33662
33663SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33664 PyObject *resultobj = 0;
33665 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33666 int arg2 ;
33667 void *argp1 = 0 ;
33668 int res1 = 0 ;
33669 int val2 ;
33670 int ecode2 = 0 ;
33671 PyObject * obj0 = 0 ;
33672 PyObject * obj1 = 0 ;
33673 char * kwnames[] = {
33674 (char *) "self",(char *) "zoom", NULL
33675 };
33676
33677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
33678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33679 if (!SWIG_IsOK(res1)) {
33680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33681 }
33682 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33683 ecode2 = SWIG_AsVal_int(obj1, &val2);
33684 if (!SWIG_IsOK(ecode2)) {
33685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33686 }
33687 arg2 = static_cast< int >(val2);
33688 {
33689 PyThreadState* __tstate = wxPyBeginAllowThreads();
33690 (arg1)->SetZoomControl(arg2);
33691 wxPyEndAllowThreads(__tstate);
33692 if (PyErr_Occurred()) SWIG_fail;
33693 }
33694 resultobj = SWIG_Py_Void();
33695 return resultobj;
33696fail:
33697 return NULL;
d55e5bfc
RD
33698}
33699
33700
1bd55598
RD
33701SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33702 PyObject *obj;
33703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
33705 return SWIG_Py_Void();
d55e5bfc
RD
33706}
33707
1bd55598
RD
33708SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33709 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
33710}
33711
d55e5bfc 33712static PyMethodDef SwigMethods[] = {
36ed4f51 33713 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33714 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 33715 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33716 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
33717 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33718 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 33719 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 33720 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33721 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
33722 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33723 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
33724 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
33725 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33726 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33727 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33728 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 33729 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33730 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 33731 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33732 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
33733 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
33734 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
33735 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 33736 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
33737 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
33738 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33739 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 33740 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33741 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
33742 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
33743 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33744 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33745 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 33746 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33747 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 33748 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33749 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 33750 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
33751 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
33752 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
33753 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33754 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
33755 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33756 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 33757 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33758 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 33759 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33760 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
33761 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33762 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 33763 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33764 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 33765 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
33766 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
33767 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33768 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33769 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
36ed4f51
RD
33770 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
33771 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33772 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 33773 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33774 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 33775 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33776 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
33777 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33778 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33779 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
33780 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33781 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33782 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33783 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33784 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33785 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33786 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 33787 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33788 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
33789 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
33790 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
33791 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
33792 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33793 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 33794 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 33795 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33796 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
33797 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33798 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33799 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 33800 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33801 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 33802 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33803 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51 33804 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
33805 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33806 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 33807 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33808 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
33809 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
33810 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
33811 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33812 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 33813 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 33814 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33815 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
33816 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33817 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 33818 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
33819 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33820 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33821 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 33822 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33823 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 33824 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33825 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
33826 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
33827 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 33828 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 33829 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 33830 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33831 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
33832 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33833 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33834 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
33835 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33836 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33837 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33838 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33839 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33840 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
33841 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
33842 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33843 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
33844 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
33845 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33846 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 33847 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 33848 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33849 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 33850 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33851 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
33852 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 33853 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33854 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
33855 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
33856 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
33857 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
33858 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
33859 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33860 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
33861 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
33862 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
33863 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33864 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
33865 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 33866 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33867 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 33868 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33869 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 33870 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33871 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 33872 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33873 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 33874 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33875 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
33876 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33877 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33878 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
33879 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33880 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33881 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
33882 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
33883 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
33884 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 33885 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 33886 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 33887 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33888 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
33889 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33890 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33891 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33892 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
33893 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33894 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 33895 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33896 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
33897 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
33898 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33899 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
33900 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
33901 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
33902 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33903 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
33904 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 33905 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33906 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 33907 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33908 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
33909 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33910 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33911 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 33912 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33913 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 33914 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33915 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 33916 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 33917 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
33918 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33919 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33920 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 33921 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33922 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 33923 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33924 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 33925 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33926 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 33927 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33928 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 33929 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 33930 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
33931 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33932 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33933 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 33934 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33935 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 33936 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 33937 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 33938 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33939 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 33940 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
33941 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
33942 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
33943 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
33944 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
33945 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
33946 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
33947 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
33948 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
33949 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
33950 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33951 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33952 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33953 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 33954 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 33955 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33956 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 33957 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33958 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 33959 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33960 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 33961 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33962 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
33963 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33964 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 33965 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 33966 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 33967 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
8c3a7183
RD
33968 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
33969 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
33970 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL},
33971 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL},
33972 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL},
33973 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33974 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33975 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33976 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL},
33977 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL},
33978 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33979 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL},
33980 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL},
33981 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL},
33982 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL},
33983 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL},
33984 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
33985 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL},
33986 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL},
33987 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL},
33988 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL},
33989 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL},
33990 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL},
33991 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL},
33992 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL},
33993 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33994 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL},
33995 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
33996 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
33997 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL},
33998 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL},
33999 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34000 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34001 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL},
34002 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL},
34003 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL},
34004 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34005 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL},
34006 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34007 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34008 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34009 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34010 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34011 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34012 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL},
34013 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL},
34014 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL},
34015 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL},
34016 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34017 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL},
36ed4f51 34018 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34019 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
34020 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34021 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8c3a7183
RD
34022 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34023 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL},
36ed4f51 34024 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34025 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 34026 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
8c3a7183
RD
34027 { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34028 { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL},
34029 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34030 { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34031 { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34032 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34033 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34034 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL},
34035 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL},
34036 { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34037 { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL},
34038 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34039 { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34040 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34041 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34042 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34043 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34044 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL},
34045 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 34046 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34047 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
34048 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34049 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34050 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
34051 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
34052 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
34053 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
34054 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34055 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
34056 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 34057 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34058 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
34059 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 34060 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34061 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
34062 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34063 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34064 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
34065 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34066 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
34067 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
34068 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34069 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34070 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
cbfc9df6 34071 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
1c71765a
RD
34072 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34073 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34074 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 34075 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 34076 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34077 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
34078 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34079 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34080 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34081 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 34082 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34083 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598 34084 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
f9bf356b
RD
34085 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34086 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
34087 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34088 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
34089 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
1bd55598
RD
34090 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
34091 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 34092 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34093 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
34094 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
34095 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 34096 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34097 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
34098 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34099 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 34100 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34101 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34102 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
34103 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
34104 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
34105 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
34106 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
34107 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
34108 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34109 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
34110 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34111 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34112 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 34113 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 34114 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34115 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 34116 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34117 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 34118 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34119 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34120 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
34121 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
34122 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34123 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34124 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34125 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34126 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34127 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34128 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34129 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
34130 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34131 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34132 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34133 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
34134 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
34135 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
34136 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
34137 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
34138 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
34139 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
34140 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 34141 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34142 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34143 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34144 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34145 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 34146 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34147 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 34148 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34149 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
34150 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
34151 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34152 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34153 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 34154 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34155 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
34156 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34157 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34158 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34159 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34160 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34161 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
34162 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34163 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
34164 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
34165 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
34166 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
34167 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 34168 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34169 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
34170 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
34171 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
34172 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
34173 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
34174 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
34175 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
34176 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
34177 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34178 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
34179 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34180 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34181 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 34182 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 34183 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34184 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 34185 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34186 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 34187 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
34188 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34189 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34190 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34191 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34192 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 34193 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34194 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 34195 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34196 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 34197 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34198 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
34199 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
34200 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
34201 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
34202 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34203 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34204 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34205 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 34206 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 34207 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34208 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
34209 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
34210 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
34211 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
34212 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34213 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34214 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34215 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 34216 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 34217 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34218 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 34219 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34220 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
34221 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34222 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34223 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 34224 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34225 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 34226 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34227 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
34228 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
34229 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
34230 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
34231 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
34232 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
36ed4f51
RD
34233 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
34234 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 34235 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 34236 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34237 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 34238 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34239 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 34240 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 34241 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 34242 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34243 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
34244 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34245 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 34246 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 34247 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34248 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51 34249 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 34250 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
34251 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34252 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34253 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34254 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34255 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
34256 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
34257 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
34258 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
34259 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
34260 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
34261 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 34262 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 34263 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 34264 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34265 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51 34266 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 34267 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
34268 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34269 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34270 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34271 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34272 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
34273 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
34274 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
34275 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
34276 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
34277 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
34278 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 34279 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 34280 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 34281 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34282 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51 34283 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 34284 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
34285 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34286 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34287 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34288 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34289 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
34290 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
34291 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
34292 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
34293 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
34294 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
34295 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 34296 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 34297 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 34298 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
34299 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
34300 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
34301 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
34302 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
5172800e 34303 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
b39fe951 34304 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
1bd55598
RD
34305 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
34306 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
34307 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
34308 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
34309 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
34310 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
34311 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
34312 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 34313 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
36ed4f51
RD
34314 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34315 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34316 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
5172800e 34317 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
34318 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
34319 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34320 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
34321 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34322 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34323 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
34324 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
34325 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 34326 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34327 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 34328 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34329 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 34330 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34331 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 34332 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 34333 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 34334 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
34335 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34336 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34337 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34338 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
34339 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34340 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
34341 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
34342 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
34343 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
34344 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
34345 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
34346 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
34347 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
34348 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
34349 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
34350 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
34351 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
34352 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
34353 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 34354 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
36ed4f51
RD
34355 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34356 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34357 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34358 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34359 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34360 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34361 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34362 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34363 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34364 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
34365 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 34366 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 34367 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 34368 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 34369 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
34370 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
34371 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
34372 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 34373 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34374 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 34375 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
34376 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
34377 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
34378 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
34379 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
34380 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
34381 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
34382 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
34383 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
34384 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
34385 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
34386 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34387 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34388 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
34389 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
34390 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34391 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34392 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34393 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34394 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34395 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34396 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34397 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
34398 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34399 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
34400 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
34401 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
34402 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 34403 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
1bd55598 34404 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
34405 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34406 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 34407 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 34408 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 34409 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
34410 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
34411 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
34412 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
34413 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 34414 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 34415 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 34416 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34417 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
34418 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34419 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
34420 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
34421 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34422 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34423 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
34424 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
34425 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 34426 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 34427 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 34428 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34429 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 34430 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34431 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
34432 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51 34433 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
34434 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
34438 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
34439 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34440 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
34441 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
34442 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
34443 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
34444 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34445 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34446 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34447 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 34448 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34449 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 34450 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34451 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 34452 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34453 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
34454 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
34455 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
1bd55598 34456 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 34457 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 34458 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34459 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
34460 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
34461 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
34462 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 34463 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34464 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 34465 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 34466 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34467 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34468 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 34469 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 34470 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34471 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
34472 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
34473 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
34474 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 34475 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 34476 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 34477 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34478 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 34479 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34480 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
34481 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
34482 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
34483 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
34484 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
34485 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 34486 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 34487 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 34488 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 34489 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 34490 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34491 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 34492 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34493 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
34494 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
34495 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34497 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
34498 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
34499 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
34501 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34503 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 34504 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34505 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
34506 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
34507 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 34508 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
36ed4f51
RD
34509 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
34510 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34511 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 34512 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 34513 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34514 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
34515 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34516 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 34517 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34518 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34519 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34520 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
34522 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
34523 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
34524 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 34525 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 34526 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
34527 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34528 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 34530 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 34531 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 34532 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 34533 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 34534 { NULL, NULL, 0, NULL }
d55e5bfc
RD
34535};
34536
34537
34538/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34539
34540static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
34541 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34542}
34543static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
34544 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
34545}
34546static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
34547 return (void *)((wxEvent *) ((wxMenuEvent *) x));
34548}
34549static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
34550 return (void *)((wxEvent *) ((wxCloseEvent *) x));
34551}
34552static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
34553 return (void *)((wxEvent *) ((wxMouseEvent *) x));
34554}
34555static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
34556 return (void *)((wxEvent *) ((wxEraseEvent *) x));
34557}
34558static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
34559 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
34560}
34561static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
34562 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34563}
34564static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
34565 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
34566}
34567static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
34568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
34569}
34570static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
34571 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
34572}
d55e5bfc
RD
34573static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
34574 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
34575}
34e0a3bb
RD
34576static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
34577 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
34578}
2131d850
RD
34579static void *_p_wxPyEventTo_p_wxEvent(void *x) {
34580 return (void *)((wxEvent *) ((wxPyEvent *) x));
34581}
d55e5bfc
RD
34582static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
34583 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
34584}
34585static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
34586 return (void *)((wxEvent *) ((wxIdleEvent *) x));
34587}
34588static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
34589 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
34590}
34591static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
34592 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
34593}
34594static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
34595 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
34596}
34597static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
34598 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
34599}
34600static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
34601 return (void *)((wxEvent *) ((wxActivateEvent *) x));
34602}
34603static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
34604 return (void *)((wxEvent *) ((wxSizeEvent *) x));
34605}
34606static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
34607 return (void *)((wxEvent *) ((wxMoveEvent *) x));
34608}
53aa7709
RD
34609static void *_p_wxDateEventTo_p_wxEvent(void *x) {
34610 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
34611}
d55e5bfc
RD
34612static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
34613 return (void *)((wxEvent *) ((wxPaintEvent *) x));
34614}
34615static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
34616 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
34617}
34e0a3bb
RD
34618static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
34619 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
34620}
d55e5bfc
RD
34621static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
34622 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
34623}
34624static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
34625 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
34626}
34627static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
34628 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
34629}
34630static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
34631 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34632}
34633static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
34634 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
34635}
34636static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
34637 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
34638}
34639static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
34640 return (void *)((wxEvent *) ((wxFocusEvent *) x));
34641}
34642static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
34643 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
34644}
34645static void *_p_wxSashEventTo_p_wxEvent(void *x) {
34646 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
34647}
34648static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
34649 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34650}
34651static void *_p_wxShowEventTo_p_wxEvent(void *x) {
34652 return (void *)((wxEvent *) ((wxShowEvent *) x));
34653}
34654static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
34655 return (void *)((wxEvent *) ((wxCommandEvent *) x));
34656}
34657static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
34658 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
34659}
34660static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
34661 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34662}
34663static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
34664 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
34665}
34666static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
34667 return (void *)((wxEvent *) ((wxKeyEvent *) x));
34668}
34669static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
34670 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
34671}
34672static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
34673 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
34674}
f9bf356b
RD
34675static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
34676 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
34677}
34678static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
34679 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
34680}
d55e5bfc
RD
34681static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
34682 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
34683}
070c48b4
RD
34684static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
34685 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34686}
8c3a7183
RD
34687static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34688 return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
34689}
34690static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34691 return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34692}
34693static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) {
34694 return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x));
34695}
34696static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34697 return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
34698}
34699static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34700 return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34701}
34702static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) {
34703 return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
34704}
34705static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) {
34706 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34707}
34708static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34709 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34710}
34711static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34712 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34713}
34714static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) {
34715 return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34716}
d55e5bfc
RD
34717static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34718 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34719}
34720static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34721 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34722}
4976f996
RD
34723static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
34724 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
34725}
d55e5bfc
RD
34726static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34727 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34728}
34729static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34730 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34731}
34732static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34733 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34734}
34735static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34736 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34737}
34738static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34739 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34740}
8c3a7183
RD
34741static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34742 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d55e5bfc
RD
34743}
34744static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34745 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34746}
8c3a7183
RD
34747static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34748 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d55e5bfc 34749}
4976f996
RD
34750static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34751 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34752}
f9bf356b
RD
34753static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
34754 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34755}
27e45892
RD
34756static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
34757 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
34758}
d55e5bfc
RD
34759static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34760 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34761}
34762static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34764}
34765static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34767}
34768static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34769 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34770}
34771static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34772 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34773}
8c3a7183
RD
34774static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) {
34775 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
34776}
34777static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) {
34778 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
34779}
d55e5bfc
RD
34780static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34781 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34782}
34783static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34784 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34785}
34786static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34787 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34788}
34789static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34790 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34791}
34792static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34793 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34794}
34795static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34796 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34797}
34798static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34799 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34800}
34801static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34802 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34803}
34804static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34805 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34806}
34807static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34808 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34809}
34810static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34811 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34812}
34813static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34814 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34815}
34816static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34817 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34818}
34819static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34820 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34821}
34822static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34823 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34824}
34825static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34826 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34827}
34828static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34829 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34830}
34831static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34832 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34833}
34834static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34835 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34836}
34837static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34838 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34839}
34840static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34841 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34842}
f9bf356b
RD
34843static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
34844 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34845}
d55e5bfc
RD
34846static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34847 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34848}
34849static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34850 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34851}
34852static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34853 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34854}
34855static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34856 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34857}
5e483524
RD
34858static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
34859 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
34860}
34861static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34863}
d55e5bfc
RD
34864static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34866}
34867static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34869}
34870static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34872}
070c48b4
RD
34873static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34875}
d55e5bfc
RD
34876static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34878}
34879static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
34880 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
34881}
f9bf356b
RD
34882static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
34883 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34884}
8c3a7183
RD
34885static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
34886 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34887}
d55e5bfc
RD
34888static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
34889 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
34890}
34891static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
34892 return (void *)((wxFrame *) ((wxProgressDialog *) x));
34893}
34894static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
34895 return (void *)((wxFrame *) ((wxTipWindow *) x));
34896}
34897static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
34898 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
34899}
34900static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
34901 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34902}
34903static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
34904 return (void *)((wxFrame *) ((wxMiniFrame *) x));
34905}
34906static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
34907 return (void *)((wxFrame *) ((wxSplashScreen *) x));
34908}
34909static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
34910 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
34911}
34912static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
34913 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
34914}
34915static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
34916 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34917}
4976f996
RD
34918static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
34919 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
34920}
d55e5bfc
RD
34921static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
34922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34923}
34924static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
34925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34926}
d55e5bfc
RD
34927static void *_p_wxSizerItemTo_p_wxObject(void *x) {
34928 return (void *)((wxObject *) ((wxSizerItem *) x));
34929}
34e0a3bb
RD
34930static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
34931 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
34932}
d55e5bfc
RD
34933static void *_p_wxScrollEventTo_p_wxObject(void *x) {
34934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
34935}
34936static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
34937 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
34938}
34939static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
34940 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
34941}
34942static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
34943 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
34944}
34945static void *_p_wxSizerTo_p_wxObject(void *x) {
34946 return (void *)((wxObject *) ((wxSizer *) x));
34947}
34948static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
34949 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
34950}
34951static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
34952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
34953}
34954static void *_p_wxPyPanelTo_p_wxObject(void *x) {
34955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34956}
34957static void *_p_wxEventTo_p_wxObject(void *x) {
34958 return (void *)((wxObject *) ((wxEvent *) x));
34959}
34960static void *_p_wxFontDataTo_p_wxObject(void *x) {
34961 return (void *)((wxObject *) ((wxFontData *) x));
34962}
34963static void *_p_wxPrintDataTo_p_wxObject(void *x) {
34964 return (void *)((wxObject *) ((wxPrintData *) x));
34965}
d55e5bfc
RD
34966static void *_p_wxGridSizerTo_p_wxObject(void *x) {
34967 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
34968}
4976f996
RD
34969static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
34970 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
34971}
d55e5bfc
RD
34972static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
34973 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
34974}
34975static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
34976 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
34977}
5e483524
RD
34978static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
34979 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
34980}
34981static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
34982 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
34983}
2131d850
RD
34984static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
34985 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
34986}
d55e5bfc
RD
34987static void *_p_wxPaintEventTo_p_wxObject(void *x) {
34988 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
34989}
34990static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
34991 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
34992}
34993static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
34994 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
34995}
34996static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
34997 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
34998}
34999static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35000 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35001}
35002static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35003 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35004}
35005static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
35006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35007}
35008static void *_p_wxControlTo_p_wxObject(void *x) {
35009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35010}
35011static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35012 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35013}
35014static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
35015 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
35016}
35017static void *_p_wxFSFileTo_p_wxObject(void *x) {
35018 return (void *)((wxObject *) ((wxFSFile *) x));
35019}
35020static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
35021 return (void *)((wxObject *) ((wxFindReplaceData *) x));
35022}
35023static void *_p_wxPySizerTo_p_wxObject(void *x) {
35024 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35025}
35026static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
35027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35028}
35029static void *_p_wxColourDataTo_p_wxObject(void *x) {
35030 return (void *)((wxObject *) ((wxColourData *) x));
35031}
35032static void *_p_wxPyEventTo_p_wxObject(void *x) {
35033 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35034}
35035static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35036 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35037}
35038static void *_p_wxPyWindowTo_p_wxObject(void *x) {
35039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
35040}
35041static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
35042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35043}
35044static void *_p_wxFileDialogTo_p_wxObject(void *x) {
35045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35046}
35047static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
35048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35049}
35050static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
35051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35052}
35053static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
35054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35055}
070c48b4
RD
35056static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
35057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35058}
27e45892
RD
35059static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
35060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35061}
d55e5bfc
RD
35062static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
35063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35064}
35065static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
35066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35067}
35068static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
35069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35070}
35071static void *_p_wxShowEventTo_p_wxObject(void *x) {
35072 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35073}
35074static void *_p_wxPrinterTo_p_wxObject(void *x) {
35075 return (void *)((wxObject *) ((wxPrinter *) x));
35076}
35077static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35078 return (void *)((wxObject *) ((wxMenuItem *) x));
35079}
53aa7709
RD
35080static void *_p_wxDateEventTo_p_wxObject(void *x) {
35081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
35082}
d55e5bfc
RD
35083static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35084 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35085}
35086static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35088}
35089static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35090 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35091}
35092static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35093 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35094}
35095static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35096 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35097}
35098static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35099 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35100}
35101static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35102 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35103}
35104static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35105 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35106}
d55e5bfc
RD
35107static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35108 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35109}
35110static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35111 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35112}
35113static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35114 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35115}
35116static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35117 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35118}
35119static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35120 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35121}
35122static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35123 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35124}
35125static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35126 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35127}
35128static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35129 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35130}
35131static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35132 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35133}
943e8dfd
RD
35134static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
35135 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
35136}
d55e5bfc
RD
35137static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35138 return (void *)((wxObject *) ((wxImageHandler *) x));
35139}
943e8dfd
RD
35140static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35141 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35142}
d55e5bfc
RD
35143static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35144 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35145}
580080c5
RD
35146static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
35147 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
35148}
d55e5bfc
RD
35149static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35150 return (void *)((wxObject *) ((wxEvtHandler *) x));
35151}
34e0a3bb
RD
35152static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
35153 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
35154}
d55e5bfc
RD
35155static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
35156 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
35157}
35158static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
35159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35160}
35161static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
35162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35163}
f9bf356b
RD
35164static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
35165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35166}
d55e5bfc
RD
35167static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35168 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35169}
580080c5
RD
35170static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35171 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35172}
d55e5bfc
RD
35173static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
35174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35175}
35176static void *_p_wxImageTo_p_wxObject(void *x) {
35177 return (void *)((wxObject *) ((wxImage *) x));
35178}
35179static void *_p_wxFrameTo_p_wxObject(void *x) {
35180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35181}
35182static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
35183 return (void *)((wxObject *) ((wxPyPrintout *) x));
35184}
35185static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35186 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35187}
35188static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
35189 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
35190}
35191static void *_p_wxStatusBarTo_p_wxObject(void *x) {
35192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
35193}
35194static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
35195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35196}
35197static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35198 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35199}
35200static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35201 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35202}
35203static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35204 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35205}
35206static void *_p_wxWindowTo_p_wxObject(void *x) {
35207 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
35208}
35209static void *_p_wxMenuTo_p_wxObject(void *x) {
35210 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
35211}
35212static void *_p_wxMenuBarTo_p_wxObject(void *x) {
35213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
35214}
35215static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
35216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35217}
35218static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
35219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
35220}
35221static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
35222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
35223}
35224static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
35225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
35226}
35227static void *_p_wxSashWindowTo_p_wxObject(void *x) {
35228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
35229}
35230static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
35231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35232}
35233static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
35234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
35235}
35236static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
35237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35238}
35239static void *_p_wxTipWindowTo_p_wxObject(void *x) {
35240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
35241}
35242static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
35243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35244}
8c3a7183
RD
35245static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) {
35246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35247}
35248static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) {
35249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35250}
d55e5bfc
RD
35251static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
35252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
35253}
35254static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
35255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35256}
35257static void *_p_wxSashEventTo_p_wxObject(void *x) {
35258 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
35259}
35260static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
35261 return (void *)((wxObject *) ((wxPrintPreview *) x));
35262}
35263static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
35264 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
35265}
35266static void *_p_wxPanelTo_p_wxObject(void *x) {
35267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
35268}
35269static void *_p_wxDialogTo_p_wxObject(void *x) {
35270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35271}
35272static void *_p_wxColourDialogTo_p_wxObject(void *x) {
35273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35274}
35275static void *_p_wxDirDialogTo_p_wxObject(void *x) {
35276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35277}
35278static void *_p_wxFontDialogTo_p_wxObject(void *x) {
35279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35280}
35281static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 35282 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
35283}
35284static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 35285 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
35286}
35287static void *_p_wxFileSystemTo_p_wxObject(void *x) {
35288 return (void *)((wxObject *) ((wxFileSystem *) x));
35289}
35290static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
35291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
35292}
35293static void *_p_wxMenuEventTo_p_wxObject(void *x) {
35294 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
35295}
35296static void *_p_wxPyAppTo_p_wxObject(void *x) {
35297 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
35298}
35299static void *_p_wxCloseEventTo_p_wxObject(void *x) {
35300 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
35301}
35302static void *_p_wxMouseEventTo_p_wxObject(void *x) {
35303 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
35304}
35305static void *_p_wxEraseEventTo_p_wxObject(void *x) {
35306 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
35307}
35308static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
35309 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
35310}
35311static void *_p_wxCommandEventTo_p_wxObject(void *x) {
35312 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
35313}
35314static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
35315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35316}
35317static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
35318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35319}
35320static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
35321 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
35322}
35323static void *_p_wxFocusEventTo_p_wxObject(void *x) {
35324 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
35325}
35326static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
35327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
35328}
35329static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
35330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35331}
35332static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
35333 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
35334}
35335static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
35336 return (void *)((wxObject *) ((wxPrintDialogData *) x));
35337}
35338static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
35339 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
35340}
35341static void *_p_wxValidatorTo_p_wxObject(void *x) {
35342 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
35343}
d55e5bfc
RD
35344static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
35345 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35346}
35347static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
35348 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
35349}
35350static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
35351 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
35352}
35353static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
35354 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
35355}
35356static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
35357 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
35358}
35359static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
35360 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
35361}
35362static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
35363 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
35364}
35365static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
35366 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
35367}
d55e5bfc
RD
35368static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
35369 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
35370}
35371static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
35372 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
35373}
35374static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
35375 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
35376}
35377static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
35378 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
35379}
27e45892
RD
35380static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
35381 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 35382}
070c48b4
RD
35383static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
35384 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35385}
d55e5bfc
RD
35386static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
35387 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
35388}
35389static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35390 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
35391}
35392static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35393 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
35394}
35395static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
35396 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
35397}
27e45892
RD
35398static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
35399 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
35400}
070c48b4
RD
35401static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
35402 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
35403}
d55e5bfc
RD
35404static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
35405 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
35406}
35407static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35408 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
35409}
35410static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35411 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35412}
35413static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
35414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35415}
35416static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
35417 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35418}
35419static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
35420 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
35421}
35422static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
35423 return (void *)((wxWindow *) ((wxMenuBar *) x));
35424}
d55e5bfc
RD
35425static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
35426 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35427}
27e45892
RD
35428static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
35429 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35430}
070c48b4
RD
35431static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
35432 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35433}
d55e5bfc
RD
35434static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
35435 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35436}
35437static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
35438 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35439}
35440static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
35441 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35442}
35443static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
35444 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35445}
8c3a7183
RD
35446static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
35447 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35448}
35449static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
35450 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35451}
d55e5bfc
RD
35452static void *_p_wxPanelTo_p_wxWindow(void *x) {
35453 return (void *)((wxWindow *) ((wxPanel *) x));
35454}
35455static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
35456 return (void *)((wxWindow *) ((wxStatusBar *) x));
35457}
8c3a7183
RD
35458static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) {
35459 return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x));
35460}
35461static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) {
35462 return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x));
35463}
d55e5bfc
RD
35464static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
35465 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
35466}
35467static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
35468 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
35469}
35470static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
35471 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35472}
35473static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
35474 return (void *)((wxWindow *) ((wxPopupWindow *) x));
35475}
35476static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
35477 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
35478}
35479static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
35480 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
35481}
35482static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
35483 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
35484}
35485static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
35486 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
35487}
35488static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
35489 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
35490}
35491static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
35492 return (void *)((wxWindow *) ((wxSashWindow *) x));
35493}
070c48b4
RD
35494static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
35495 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
35496}
d55e5bfc
RD
35497static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
35498 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35499}
35500static void *_p_wxControlTo_p_wxWindow(void *x) {
35501 return (void *)((wxWindow *) ((wxControl *) x));
35502}
35503static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
35504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35505}
35506static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
35507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35508}
35509static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
35510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35511}
35512static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
35513 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
35514}
35515static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
35516 return (void *)((wxWindow *) ((wxPyWindow *) x));
35517}
35518static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
35519 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35520}
f9bf356b
RD
35521static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
35522 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35523}
d55e5bfc
RD
35524static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
35525 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35526}
35527static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
35528 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35529}
35530static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
35531 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
35532}
35533static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
35534 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35535}
35536static void *_p_wxFrameTo_p_wxWindow(void *x) {
35537 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
35538}
35539static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
35540 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35541}
35542static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
35543 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35544}
35545static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
35546 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35547}
35548static void *_p_wxDialogTo_p_wxWindow(void *x) {
35549 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
35550}
d55e5bfc
RD
35551static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
35552 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35553}
8c3a7183
RD
35554static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
35555 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35556}
35557static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35558 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
35559}
35560static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35561 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35562}
d55e5bfc
RD
35563static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
35564 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35565}
35566static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
35567 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
35568}
35569static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
35570 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
35571}
35572static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
35573 return (void *)((wxDialog *) ((wxColourDialog *) x));
35574}
35575static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
35576 return (void *)((wxDialog *) ((wxDirDialog *) x));
35577}
35578static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
35579 return (void *)((wxDialog *) ((wxFontDialog *) x));
35580}
d55e5bfc
RD
35581static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
35582 return (void *)((wxDialog *) ((wxFileDialog *) x));
35583}
35584static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
35585 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
35586}
35587static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
35588 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
35589}
35590static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
35591 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
35592}
070c48b4
RD
35593static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
35594 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35595}
27e45892
RD
35596static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
35597 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
35598}
d55e5bfc
RD
35599static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
35600 return (void *)((wxDialog *) ((wxMessageDialog *) x));
35601}
35602static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
35603 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
35604}
35605static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
35606 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
35607}
35608static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
35609 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
35610}
8c3a7183
RD
35611static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) {
35612 return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x));
35613}
35614static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) {
35615 return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x));
35616}
d55e5bfc
RD
35617static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
35618 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35619}
35620static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
35621 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35622}
35623static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
35624 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35625}
f9bf356b
RD
35626static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
35627 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35628}
d55e5bfc
RD
35629static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
35630 return (void *)((wxPanel *) ((wxPyPanel *) x));
35631}
35632static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
35633 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
35634}
35635static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
35636 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
35637}
35638static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
35639 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35640}
8c3a7183
RD
35641static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35642 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35643}
35644static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35645 return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35646}
35647static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35648 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35649}
35650static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35651 return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x));
35652}
35653static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35654 return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x));
35655}
35656static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35657 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35658}
35659static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) {
35660 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35661}
35662static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35663 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35664}
35665static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35666 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35667}
d55e5bfc
RD
35668static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
35669 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
35670}
35671static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
35672 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
35673}
35674static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
35675 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
35676}
53aa7709
RD
35677static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
35678 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
35679}
d55e5bfc
RD
35680static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
35681 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
35682}
2131d850
RD
35683static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
35684 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
35685}
d55e5bfc
RD
35686static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
35687 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
35688}
35689static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
35690 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35691}
35692static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
35693 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
35694}
35695static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
35696 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
35697}
35698static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
35699 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
35700}
35701static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
35702 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
35703}
35704static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
35705 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
35706}
35707static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
35708 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35709}
f9bf356b
RD
35710static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
35711 return (void *)((wxValidator *) ((wxPyValidator *) x));
35712}
2131d850 35713static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
35714static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
35715static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
35716static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
35717static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35718static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35719static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35720static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
f9bf356b 35721static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
1bd55598
RD
35722static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35723static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35724static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35725static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35726static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35727static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
35728static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35729static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 35730static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
35731static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35732static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35733static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
35734static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35735static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35736static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
35737static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35738static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35739static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35740static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35741static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35742static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35743static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35744static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35745static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35746static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35747static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35748static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 35749static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
35750static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35751static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35752static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35753static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35754static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35755static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35756static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35757static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35758static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35759static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35760static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35761static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35762static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35763static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35764static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35765static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35766static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35767static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35768static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
4976f996 35769static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
1bd55598
RD
35770static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35771static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
35772static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
35773static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35774static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35775static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35776static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35777static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35778static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35779static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35780static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35781static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35782static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 35783static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
35784static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35785static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
f9bf356b 35786static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
1bd55598
RD
35787static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35788static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35789static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35790static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35791static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35792static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35793static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35794static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35795static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35796static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 35797static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
35798static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35799static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 35800static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 35801static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
35802static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35803static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35804static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35805static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
35806static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
1bd55598 35807static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
4976f996 35808static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
1bd55598
RD
35809static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
35810static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
35811static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
35812static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35813static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35814static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35815static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35816static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35817static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35818static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35819static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
4976f996 35820static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
27e45892 35821static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 35822static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
35823static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35824static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 35825static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
1bd55598
RD
35826static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35827static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
35828static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
35829static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
35830static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
35831static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35832static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
35833static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35834static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
8c3a7183 35835static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
1bd55598
RD
35836static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
35837static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
35838static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
35839static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35840static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
35841static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
35842static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
35843static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
35844static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
8c3a7183
RD
35845static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
35846static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
1bd55598
RD
35847static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
35848static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
35849static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
35850static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
35851static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
35852static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
35853static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
35854static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
35855static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
35856static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
35857static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
35858static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
35859static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
35860static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35861static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35862static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
35863static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
35864static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
35865static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
35866static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
f9bf356b 35867static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
1bd55598
RD
35868static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
35869static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35870static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
35871static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
35872static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
35873static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
35874static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
35875static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
35876static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35877static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
35878static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
35879static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
35880static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
35881static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
35882static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
f9bf356b 35883static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
8c3a7183
RD
35884static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
35885static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
35886static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
35887static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
1bd55598
RD
35888static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
35889static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
35890
35891static swig_type_info *swig_type_initial[] = {
2131d850 35892 &_swigt__p_bool,
32fe5131
RD
35893 &_swigt__p_char,
35894 &_swigt__p_form_ops_t,
35895 &_swigt__p_int,
35896 &_swigt__p_unsigned_char,
35897 &_swigt__p_unsigned_int,
35898 &_swigt__p_unsigned_long,
35899 &_swigt__p_wxANIHandler,
35900 &_swigt__p_wxAcceleratorTable,
35901 &_swigt__p_wxActivateEvent,
35902 &_swigt__p_wxArrayInt,
f9bf356b 35903 &_swigt__p_wxArrayString,
32fe5131
RD
35904 &_swigt__p_wxBMPHandler,
35905 &_swigt__p_wxBitmap,
35906 &_swigt__p_wxBoxSizer,
35907 &_swigt__p_wxCURHandler,
35908 &_swigt__p_wxCalculateLayoutEvent,
35909 &_swigt__p_wxChildFocusEvent,
2131d850 35910 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
35911 &_swigt__p_wxCloseEvent,
35912 &_swigt__p_wxColour,
35913 &_swigt__p_wxColourData,
35914 &_swigt__p_wxColourDialog,
35915 &_swigt__p_wxCommandEvent,
35916 &_swigt__p_wxContextMenuEvent,
35917 &_swigt__p_wxControl,
35918 &_swigt__p_wxControlWithItems,
35919 &_swigt__p_wxDC,
35920 &_swigt__p_wxDateEvent,
35921 &_swigt__p_wxDialog,
35922 &_swigt__p_wxDirDialog,
35923 &_swigt__p_wxDisplayChangedEvent,
35924 &_swigt__p_wxDropFilesEvent,
35925 &_swigt__p_wxDuplexMode,
35926 &_swigt__p_wxEraseEvent,
35927 &_swigt__p_wxEvent,
4976f996 35928 &_swigt__p_wxEventBlocker,
32fe5131
RD
35929 &_swigt__p_wxEvtHandler,
35930 &_swigt__p_wxFSFile,
35931 &_swigt__p_wxFileDialog,
35932 &_swigt__p_wxFileSystem,
35933 &_swigt__p_wxFindDialogEvent,
35934 &_swigt__p_wxFindReplaceData,
35935 &_swigt__p_wxFindReplaceDialog,
35936 &_swigt__p_wxFlexGridSizer,
35937 &_swigt__p_wxFocusEvent,
35938 &_swigt__p_wxFont,
35939 &_swigt__p_wxFontData,
35940 &_swigt__p_wxFontDialog,
35941 &_swigt__p_wxFrame,
35942 &_swigt__p_wxGBSizerItem,
35943 &_swigt__p_wxGIFHandler,
35944 &_swigt__p_wxGridBagSizer,
35945 &_swigt__p_wxGridSizer,
e9d6f3a4 35946 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
35947 &_swigt__p_wxICOHandler,
35948 &_swigt__p_wxIcon,
35949 &_swigt__p_wxIconBundle,
35950 &_swigt__p_wxIconizeEvent,
35951 &_swigt__p_wxIdleEvent,
35952 &_swigt__p_wxImage,
35953 &_swigt__p_wxImageHandler,
35954 &_swigt__p_wxIndividualLayoutConstraint,
35955 &_swigt__p_wxInitDialogEvent,
f9bf356b 35956 &_swigt__p_wxItemContainer,
32fe5131
RD
35957 &_swigt__p_wxJPEGHandler,
35958 &_swigt__p_wxKeyEvent,
35959 &_swigt__p_wxLayoutAlgorithm,
35960 &_swigt__p_wxLayoutConstraints,
35961 &_swigt__p_wxMDIChildFrame,
35962 &_swigt__p_wxMDIClientWindow,
35963 &_swigt__p_wxMDIParentFrame,
35964 &_swigt__p_wxMaximizeEvent,
35965 &_swigt__p_wxMenu,
35966 &_swigt__p_wxMenuBar,
35967 &_swigt__p_wxMenuEvent,
35968 &_swigt__p_wxMenuItem,
35969 &_swigt__p_wxMessageDialog,
35970 &_swigt__p_wxMiniFrame,
35971 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 35972 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
35973 &_swigt__p_wxMouseEvent,
35974 &_swigt__p_wxMoveEvent,
35975 &_swigt__p_wxMultiChoiceDialog,
35976 &_swigt__p_wxNavigationKeyEvent,
35977 &_swigt__p_wxNcPaintEvent,
35978 &_swigt__p_wxNotifyEvent,
27e45892 35979 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
35980 &_swigt__p_wxObject,
35981 &_swigt__p_wxPCXHandler,
35982 &_swigt__p_wxPNGHandler,
35983 &_swigt__p_wxPNMHandler,
35984 &_swigt__p_wxPageSetupDialog,
35985 &_swigt__p_wxPageSetupDialogData,
35986 &_swigt__p_wxPaintEvent,
35987 &_swigt__p_wxPaletteChangedEvent,
35988 &_swigt__p_wxPanel,
35989 &_swigt__p_wxPaperSize,
35990 &_swigt__p_wxPasswordEntryDialog,
35991 &_swigt__p_wxPoint,
35992 &_swigt__p_wxPopupWindow,
8c3a7183 35993 &_swigt__p_wxPosition,
32fe5131
RD
35994 &_swigt__p_wxPreviewCanvas,
35995 &_swigt__p_wxPreviewControlBar,
35996 &_swigt__p_wxPreviewFrame,
35997 &_swigt__p_wxPrintData,
35998 &_swigt__p_wxPrintDialog,
35999 &_swigt__p_wxPrintDialogData,
36000 &_swigt__p_wxPrintPreview,
36001 &_swigt__p_wxPrinter,
36002 &_swigt__p_wxProgressDialog,
36003 &_swigt__p_wxPyApp,
36004 &_swigt__p_wxPyCommandEvent,
36005 &_swigt__p_wxPyEvent,
8c3a7183
RD
36006 &_swigt__p_wxPyHScrolledWindow,
36007 &_swigt__p_wxPyHVScrolledWindow,
32fe5131
RD
36008 &_swigt__p_wxPyHtmlListBox,
36009 &_swigt__p_wxPyImageHandler,
36010 &_swigt__p_wxPyPanel,
36011 &_swigt__p_wxPyPopupTransientWindow,
36012 &_swigt__p_wxPyPreviewControlBar,
36013 &_swigt__p_wxPyPreviewFrame,
36014 &_swigt__p_wxPyPrintPreview,
36015 &_swigt__p_wxPyPrintout,
36016 &_swigt__p_wxPyScrolledWindow,
36017 &_swigt__p_wxPySizer,
36018 &_swigt__p_wxPyTaskBarIcon,
36019 &_swigt__p_wxPyVListBox,
36020 &_swigt__p_wxPyVScrolledWindow,
36021 &_swigt__p_wxPyValidator,
36022 &_swigt__p_wxPyWindow,
36023 &_swigt__p_wxQueryLayoutInfoEvent,
36024 &_swigt__p_wxQueryNewPaletteEvent,
36025 &_swigt__p_wxRect,
36026 &_swigt__p_wxRegion,
36027 &_swigt__p_wxSashEvent,
36028 &_swigt__p_wxSashLayoutWindow,
36029 &_swigt__p_wxSashWindow,
36030 &_swigt__p_wxScrollEvent,
36031 &_swigt__p_wxScrollWinEvent,
36032 &_swigt__p_wxScrolledWindow,
36033 &_swigt__p_wxSetCursorEvent,
36034 &_swigt__p_wxShowEvent,
f9bf356b 36035 &_swigt__p_wxSimpleHtmlListBox,
32fe5131
RD
36036 &_swigt__p_wxSingleChoiceDialog,
36037 &_swigt__p_wxSize,
36038 &_swigt__p_wxSizeEvent,
36039 &_swigt__p_wxSizer,
36040 &_swigt__p_wxSizerItem,
36041 &_swigt__p_wxSplashScreen,
36042 &_swigt__p_wxSplashScreenWindow,
36043 &_swigt__p_wxSplitterEvent,
36044 &_swigt__p_wxSplitterWindow,
36045 &_swigt__p_wxStaticBoxSizer,
36046 &_swigt__p_wxStatusBar,
36047 &_swigt__p_wxStdDialogButtonSizer,
36048 &_swigt__p_wxString,
36049 &_swigt__p_wxSysColourChangedEvent,
580080c5 36050 &_swigt__p_wxTGAHandler,
32fe5131
RD
36051 &_swigt__p_wxTIFFHandler,
36052 &_swigt__p_wxTaskBarIcon,
36053 &_swigt__p_wxTaskBarIconEvent,
36054 &_swigt__p_wxTextEntryDialog,
36055 &_swigt__p_wxTipWindow,
36056 &_swigt__p_wxToolBar,
36057 &_swigt__p_wxTopLevelWindow,
36058 &_swigt__p_wxUpdateUIEvent,
36059 &_swigt__p_wxValidator,
8c3a7183
RD
36060 &_swigt__p_wxVarHScrollHelper,
36061 &_swigt__p_wxVarHVScrollHelper,
36062 &_swigt__p_wxVarScrollHelperBase,
36063 &_swigt__p_wxVarVScrollHelper,
32fe5131
RD
36064 &_swigt__p_wxVisualAttributes,
36065 &_swigt__p_wxWindow,
36066 &_swigt__p_wxWindowCreateEvent,
36067 &_swigt__p_wxWindowDestroyEvent,
36068 &_swigt__p_wxXPMHandler,
32fe5131
RD
36069};
36070
2131d850 36071static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36072static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36073static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
36074static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36075static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
36076static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
36077static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36078static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 36079static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36080static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
36081static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
36082static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
36083static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
36084static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
36085static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
36086static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36087static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
36088static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
36089static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36090static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36091static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
36092static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
36093static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 36094static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131 36095static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36096static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36097static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
36098static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
36099static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36100static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
36101static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
36102static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
36103static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
36104static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36105static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 36106static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36107static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
36108static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
36109static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36110static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36111static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
36112static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36113static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
36114static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36115static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36116static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36117static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36118static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36119static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36120static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
36121static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36122static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
36123static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36124static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 36125static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
4976f996 36126static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36127static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
36128static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
36129static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
36130static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36131static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36132static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
36133static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
36134static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36135static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
36136static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
36137static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
36138static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
36139static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
36140static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 36141static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36142static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
36143static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 36144static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36145static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
36146static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
36147static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
36148static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
36149static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
36150static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
36151static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
36152static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
36153static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36154static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36155static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36156static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36157static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 36158static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36159static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
36160static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36161static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36162static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
36163static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 36164static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
4976f996 36165static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36166static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
36167static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
36168static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36169static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
36170static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
36171static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
36172static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
36173static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
36174static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
36175static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
36176static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
4976f996 36177static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36178static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 36179static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36180static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
36181static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 36182static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36183static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
36184static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36185static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36186static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
36187static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36188static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36189static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
36190static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36191static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
36192static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
8c3a7183 36193static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36194static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
36195static 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}};
36196static 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}};
36197static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
36198static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
36199static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
36200static 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}};
36201static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
36202static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183
RD
36203static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36204static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 36205static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36206static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
36207static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
36208static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
36209static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
36210static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
36211static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
36212static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36213static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b
RD
36214static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
36215static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36216static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
36217static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
36218static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
36219static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
36220static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
36221static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
36222static 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}};
36223static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
36224static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
f9bf356b 36225static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36226static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36227static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
36228static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
36229static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
36230static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
36231static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
36232static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
36233static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
36234static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
36235static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36236static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
36237static 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}};
36238static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
36239static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 36240static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
f9bf356b 36241static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
8c3a7183
RD
36242static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}};
36243static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}};
36244static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}};
36245static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}};
32fe5131 36246static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
8c3a7183 36247static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
36248
36249static swig_cast_info *swig_cast_initial[] = {
2131d850 36250 _swigc__p_bool,
32fe5131
RD
36251 _swigc__p_char,
36252 _swigc__p_form_ops_t,
36253 _swigc__p_int,
36254 _swigc__p_unsigned_char,
36255 _swigc__p_unsigned_int,
36256 _swigc__p_unsigned_long,
36257 _swigc__p_wxANIHandler,
36258 _swigc__p_wxAcceleratorTable,
36259 _swigc__p_wxActivateEvent,
36260 _swigc__p_wxArrayInt,
f9bf356b 36261 _swigc__p_wxArrayString,
32fe5131
RD
36262 _swigc__p_wxBMPHandler,
36263 _swigc__p_wxBitmap,
36264 _swigc__p_wxBoxSizer,
36265 _swigc__p_wxCURHandler,
36266 _swigc__p_wxCalculateLayoutEvent,
36267 _swigc__p_wxChildFocusEvent,
2131d850 36268 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
36269 _swigc__p_wxCloseEvent,
36270 _swigc__p_wxColour,
36271 _swigc__p_wxColourData,
36272 _swigc__p_wxColourDialog,
36273 _swigc__p_wxCommandEvent,
36274 _swigc__p_wxContextMenuEvent,
36275 _swigc__p_wxControl,
36276 _swigc__p_wxControlWithItems,
36277 _swigc__p_wxDC,
36278 _swigc__p_wxDateEvent,
36279 _swigc__p_wxDialog,
36280 _swigc__p_wxDirDialog,
36281 _swigc__p_wxDisplayChangedEvent,
36282 _swigc__p_wxDropFilesEvent,
36283 _swigc__p_wxDuplexMode,
36284 _swigc__p_wxEraseEvent,
36285 _swigc__p_wxEvent,
4976f996 36286 _swigc__p_wxEventBlocker,
32fe5131
RD
36287 _swigc__p_wxEvtHandler,
36288 _swigc__p_wxFSFile,
36289 _swigc__p_wxFileDialog,
36290 _swigc__p_wxFileSystem,
36291 _swigc__p_wxFindDialogEvent,
36292 _swigc__p_wxFindReplaceData,
36293 _swigc__p_wxFindReplaceDialog,
36294 _swigc__p_wxFlexGridSizer,
36295 _swigc__p_wxFocusEvent,
36296 _swigc__p_wxFont,
36297 _swigc__p_wxFontData,
36298 _swigc__p_wxFontDialog,
36299 _swigc__p_wxFrame,
36300 _swigc__p_wxGBSizerItem,
36301 _swigc__p_wxGIFHandler,
36302 _swigc__p_wxGridBagSizer,
36303 _swigc__p_wxGridSizer,
e9d6f3a4 36304 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
36305 _swigc__p_wxICOHandler,
36306 _swigc__p_wxIcon,
36307 _swigc__p_wxIconBundle,
36308 _swigc__p_wxIconizeEvent,
36309 _swigc__p_wxIdleEvent,
36310 _swigc__p_wxImage,
36311 _swigc__p_wxImageHandler,
36312 _swigc__p_wxIndividualLayoutConstraint,
36313 _swigc__p_wxInitDialogEvent,
f9bf356b 36314 _swigc__p_wxItemContainer,
32fe5131
RD
36315 _swigc__p_wxJPEGHandler,
36316 _swigc__p_wxKeyEvent,
36317 _swigc__p_wxLayoutAlgorithm,
36318 _swigc__p_wxLayoutConstraints,
36319 _swigc__p_wxMDIChildFrame,
36320 _swigc__p_wxMDIClientWindow,
36321 _swigc__p_wxMDIParentFrame,
36322 _swigc__p_wxMaximizeEvent,
36323 _swigc__p_wxMenu,
36324 _swigc__p_wxMenuBar,
36325 _swigc__p_wxMenuEvent,
36326 _swigc__p_wxMenuItem,
36327 _swigc__p_wxMessageDialog,
36328 _swigc__p_wxMiniFrame,
36329 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 36330 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
36331 _swigc__p_wxMouseEvent,
36332 _swigc__p_wxMoveEvent,
36333 _swigc__p_wxMultiChoiceDialog,
36334 _swigc__p_wxNavigationKeyEvent,
36335 _swigc__p_wxNcPaintEvent,
36336 _swigc__p_wxNotifyEvent,
27e45892 36337 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
36338 _swigc__p_wxObject,
36339 _swigc__p_wxPCXHandler,
36340 _swigc__p_wxPNGHandler,
36341 _swigc__p_wxPNMHandler,
36342 _swigc__p_wxPageSetupDialog,
36343 _swigc__p_wxPageSetupDialogData,
36344 _swigc__p_wxPaintEvent,
36345 _swigc__p_wxPaletteChangedEvent,
36346 _swigc__p_wxPanel,
36347 _swigc__p_wxPaperSize,
36348 _swigc__p_wxPasswordEntryDialog,
36349 _swigc__p_wxPoint,
36350 _swigc__p_wxPopupWindow,
8c3a7183 36351 _swigc__p_wxPosition,
32fe5131
RD
36352 _swigc__p_wxPreviewCanvas,
36353 _swigc__p_wxPreviewControlBar,
36354 _swigc__p_wxPreviewFrame,
36355 _swigc__p_wxPrintData,
36356 _swigc__p_wxPrintDialog,
36357 _swigc__p_wxPrintDialogData,
36358 _swigc__p_wxPrintPreview,
36359 _swigc__p_wxPrinter,
36360 _swigc__p_wxProgressDialog,
36361 _swigc__p_wxPyApp,
36362 _swigc__p_wxPyCommandEvent,
36363 _swigc__p_wxPyEvent,
8c3a7183
RD
36364 _swigc__p_wxPyHScrolledWindow,
36365 _swigc__p_wxPyHVScrolledWindow,
32fe5131
RD
36366 _swigc__p_wxPyHtmlListBox,
36367 _swigc__p_wxPyImageHandler,
36368 _swigc__p_wxPyPanel,
36369 _swigc__p_wxPyPopupTransientWindow,
36370 _swigc__p_wxPyPreviewControlBar,
36371 _swigc__p_wxPyPreviewFrame,
36372 _swigc__p_wxPyPrintPreview,
36373 _swigc__p_wxPyPrintout,
36374 _swigc__p_wxPyScrolledWindow,
36375 _swigc__p_wxPySizer,
36376 _swigc__p_wxPyTaskBarIcon,
36377 _swigc__p_wxPyVListBox,
36378 _swigc__p_wxPyVScrolledWindow,
36379 _swigc__p_wxPyValidator,
36380 _swigc__p_wxPyWindow,
36381 _swigc__p_wxQueryLayoutInfoEvent,
36382 _swigc__p_wxQueryNewPaletteEvent,
36383 _swigc__p_wxRect,
36384 _swigc__p_wxRegion,
36385 _swigc__p_wxSashEvent,
36386 _swigc__p_wxSashLayoutWindow,
36387 _swigc__p_wxSashWindow,
36388 _swigc__p_wxScrollEvent,
36389 _swigc__p_wxScrollWinEvent,
36390 _swigc__p_wxScrolledWindow,
36391 _swigc__p_wxSetCursorEvent,
36392 _swigc__p_wxShowEvent,
f9bf356b 36393 _swigc__p_wxSimpleHtmlListBox,
32fe5131
RD
36394 _swigc__p_wxSingleChoiceDialog,
36395 _swigc__p_wxSize,
1bd55598
RD
36396 _swigc__p_wxSizeEvent,
36397 _swigc__p_wxSizer,
36398 _swigc__p_wxSizerItem,
36399 _swigc__p_wxSplashScreen,
36400 _swigc__p_wxSplashScreenWindow,
36401 _swigc__p_wxSplitterEvent,
36402 _swigc__p_wxSplitterWindow,
36403 _swigc__p_wxStaticBoxSizer,
36404 _swigc__p_wxStatusBar,
36405 _swigc__p_wxStdDialogButtonSizer,
36406 _swigc__p_wxString,
36407 _swigc__p_wxSysColourChangedEvent,
580080c5 36408 _swigc__p_wxTGAHandler,
1bd55598
RD
36409 _swigc__p_wxTIFFHandler,
36410 _swigc__p_wxTaskBarIcon,
36411 _swigc__p_wxTaskBarIconEvent,
36412 _swigc__p_wxTextEntryDialog,
36413 _swigc__p_wxTipWindow,
36414 _swigc__p_wxToolBar,
36415 _swigc__p_wxTopLevelWindow,
36416 _swigc__p_wxUpdateUIEvent,
36417 _swigc__p_wxValidator,
8c3a7183
RD
36418 _swigc__p_wxVarHScrollHelper,
36419 _swigc__p_wxVarHVScrollHelper,
36420 _swigc__p_wxVarScrollHelperBase,
36421 _swigc__p_wxVarVScrollHelper,
1bd55598
RD
36422 _swigc__p_wxVisualAttributes,
36423 _swigc__p_wxWindow,
36424 _swigc__p_wxWindowCreateEvent,
36425 _swigc__p_wxWindowDestroyEvent,
36426 _swigc__p_wxXPMHandler,
36427};
36428
36429
36430/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36431
36432static swig_const_info swig_const_table[] = {
36433{0, 0, 0, 0.0, 0, 0}};
36434
36ed4f51
RD
36435#ifdef __cplusplus
36436}
36437#endif
1bd55598
RD
36438/* -----------------------------------------------------------------------------
36439 * Type initialization:
36440 * This problem is tough by the requirement that no dynamic
36441 * memory is used. Also, since swig_type_info structures store pointers to
36442 * swig_cast_info structures and swig_cast_info structures store pointers back
36443 * to swig_type_info structures, we need some lookup code at initialization.
36444 * The idea is that swig generates all the structures that are needed.
36445 * The runtime then collects these partially filled structures.
36446 * The SWIG_InitializeModule function takes these initial arrays out of
36447 * swig_module, and does all the lookup, filling in the swig_module.types
36448 * array with the correct data and linking the correct swig_cast_info
36449 * structures together.
36450 *
36451 * The generated swig_type_info structures are assigned staticly to an initial
36452 * array. We just loop though that array, and handle each type individually.
36453 * First we lookup if this type has been already loaded, and if so, use the
36454 * loaded structure instead of the generated one. Then we have to fill in the
36455 * cast linked list. The cast data is initially stored in something like a
36456 * two-dimensional array. Each row corresponds to a type (there are the same
36457 * number of rows as there are in the swig_type_initial array). Each entry in
36458 * a column is one of the swig_cast_info structures for that type.
36459 * The cast_initial array is actually an array of arrays, because each row has
36460 * a variable number of columns. So to actually build the cast linked list,
36461 * we find the array of casts associated with the type, and loop through it
36462 * adding the casts to the list. The one last trick we need to do is making
36463 * sure the type pointer in the swig_cast_info struct is correct.
36464 *
36465 * First off, we lookup the cast->type name to see if it is already loaded.
36466 * There are three cases to handle:
36467 * 1) If the cast->type has already been loaded AND the type we are adding
36468 * casting info to has not been loaded (it is in this module), THEN we
36469 * replace the cast->type pointer with the type pointer that has already
36470 * been loaded.
36471 * 2) If BOTH types (the one we are adding casting info to, and the
36472 * cast->type) are loaded, THEN the cast info has already been loaded by
36473 * the previous module so we just ignore it.
36474 * 3) Finally, if cast->type has not already been loaded, then we add that
36475 * swig_cast_info to the linked list (because the cast->type) pointer will
36476 * be correct.
36477 * ----------------------------------------------------------------------------- */
36ed4f51 36478
d55e5bfc 36479#ifdef __cplusplus
1bd55598
RD
36480extern "C" {
36481#if 0
36482} /* c-mode */
36483#endif
36484#endif
36485
36486#if 0
36487#define SWIGRUNTIME_DEBUG
36488#endif
36489
36490SWIGRUNTIME void
36491SWIG_InitializeModule(void *clientdata) {
36492 size_t i;
36493 swig_module_info *module_head;
36494 static int init_run = 0;
36495
36496 clientdata = clientdata;
36497
36498 if (init_run) return;
36499 init_run = 1;
36500
36501 /* Initialize the swig_module */
36502 swig_module.type_initial = swig_type_initial;
36503 swig_module.cast_initial = swig_cast_initial;
36504
36505 /* Try and load any already created modules */
36506 module_head = SWIG_GetModule(clientdata);
36507 if (module_head) {
36508 swig_module.next = module_head->next;
36509 module_head->next = &swig_module;
36510 } else {
36511 /* This is the first module loaded */
36512 swig_module.next = &swig_module;
36513 SWIG_SetModule(clientdata, &swig_module);
36514 }
36515
36516 /* Now work on filling in swig_module.types */
36517#ifdef SWIGRUNTIME_DEBUG
36518 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
36519#endif
36520 for (i = 0; i < swig_module.size; ++i) {
36521 swig_type_info *type = 0;
36522 swig_type_info *ret;
36523 swig_cast_info *cast;
d55e5bfc 36524
1bd55598
RD
36525#ifdef SWIGRUNTIME_DEBUG
36526 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36527#endif
d55e5bfc 36528
1bd55598
RD
36529 /* if there is another module already loaded */
36530 if (swig_module.next != &swig_module) {
36531 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 36532 }
1bd55598
RD
36533 if (type) {
36534 /* Overwrite clientdata field */
36535#ifdef SWIGRUNTIME_DEBUG
36536 printf("SWIG_InitializeModule: found type %s\n", type->name);
36537#endif
36538 if (swig_module.type_initial[i]->clientdata) {
36539 type->clientdata = swig_module.type_initial[i]->clientdata;
36540#ifdef SWIGRUNTIME_DEBUG
36541 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
36542#endif
36543 }
36544 } else {
36545 type = swig_module.type_initial[i];
36ed4f51 36546 }
1bd55598
RD
36547
36548 /* Insert casting types */
36549 cast = swig_module.cast_initial[i];
36550 while (cast->type) {
36551 /* Don't need to add information already in the list */
36552 ret = 0;
36553#ifdef SWIGRUNTIME_DEBUG
36554 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
36555#endif
36556 if (swig_module.next != &swig_module) {
36557 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
36558#ifdef SWIGRUNTIME_DEBUG
36559 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
36560#endif
36561 }
36562 if (ret) {
36563 if (type == swig_module.type_initial[i]) {
36564#ifdef SWIGRUNTIME_DEBUG
36565 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
36566#endif
36567 cast->type = ret;
36568 ret = 0;
36569 } else {
36570 /* Check for casting already in the list */
36571 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
36572#ifdef SWIGRUNTIME_DEBUG
36573 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
36574#endif
36575 if (!ocast) ret = 0;
36576 }
36577 }
36578
36579 if (!ret) {
36580#ifdef SWIGRUNTIME_DEBUG
36581 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
36582#endif
36583 if (type->cast) {
36584 type->cast->prev = cast;
36585 cast->next = type->cast;
36586 }
36587 type->cast = cast;
36588 }
36589 cast++;
36ed4f51 36590 }
1bd55598
RD
36591 /* Set entry in modules->types array equal to the type */
36592 swig_module.types[i] = type;
36593 }
36594 swig_module.types[i] = 0;
36595
36596#ifdef SWIGRUNTIME_DEBUG
36597 printf("**** SWIG_InitializeModule: Cast List ******\n");
36598 for (i = 0; i < swig_module.size; ++i) {
36599 int j = 0;
36600 swig_cast_info *cast = swig_module.cast_initial[i];
36601 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36602 while (cast->type) {
36603 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
36604 cast++;
36605 ++j;
36606 }
36607 printf("---- Total casts: %d\n",j);
36608 }
36609 printf("**** SWIG_InitializeModule: Cast List ******\n");
36610#endif
36611}
36612
36613/* This function will propagate the clientdata field of type to
36614* any new swig_type_info structures that have been added into the list
36615* of equivalent types. It is like calling
36616* SWIG_TypeClientData(type, clientdata) a second time.
36617*/
36618SWIGRUNTIME void
36619SWIG_PropagateClientData(void) {
36620 size_t i;
36621 swig_cast_info *equiv;
36622 static int init_run = 0;
36623
36624 if (init_run) return;
36625 init_run = 1;
36626
36627 for (i = 0; i < swig_module.size; i++) {
36628 if (swig_module.types[i]->clientdata) {
36629 equiv = swig_module.types[i]->cast;
36630 while (equiv) {
36631 if (!equiv->converter) {
36632 if (equiv->type && !equiv->type->clientdata)
36633 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
36634 }
36635 equiv = equiv->next;
36636 }
36ed4f51 36637 }
1bd55598
RD
36638 }
36639}
36640
36641#ifdef __cplusplus
36642#if 0
36643{
36644 /* c-mode */
36645#endif
36646}
36647#endif
36648
36649
36650
36651#ifdef __cplusplus
36652extern "C" {
36653#endif
36654
36655 /* Python-specific SWIG API */
36656#define SWIG_newvarlink() SWIG_Python_newvarlink()
36657#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36658#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36659
36660 /* -----------------------------------------------------------------------------
36661 * global variable support code.
36662 * ----------------------------------------------------------------------------- */
36663
36664 typedef struct swig_globalvar {
36665 char *name; /* Name of global variable */
36666 PyObject *(*get_attr)(void); /* Return the current value */
36667 int (*set_attr)(PyObject *); /* Set the value */
36668 struct swig_globalvar *next;
36669 } swig_globalvar;
36670
36671 typedef struct swig_varlinkobject {
36672 PyObject_HEAD
36673 swig_globalvar *vars;
36674 } swig_varlinkobject;
36675
36676 SWIGINTERN PyObject *
36677 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
36678 return PyString_FromString("<Swig global variables>");
36679 }
36680
36681 SWIGINTERN PyObject *
36682 swig_varlink_str(swig_varlinkobject *v) {
36683 PyObject *str = PyString_FromString("(");
36684 swig_globalvar *var;
36685 for (var = v->vars; var; var=var->next) {
36686 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
36687 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
36688 }
36689 PyString_ConcatAndDel(&str,PyString_FromString(")"));
36690 return str;
36691 }
36692
36693 SWIGINTERN int
36694 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
36695 PyObject *str = swig_varlink_str(v);
36696 fprintf(fp,"Swig global variables ");
36697 fprintf(fp,"%s\n", PyString_AsString(str));
36698 Py_DECREF(str);
36699 return 0;
36700 }
36701
36702 SWIGINTERN void
36703 swig_varlink_dealloc(swig_varlinkobject *v) {
36704 swig_globalvar *var = v->vars;
36705 while (var) {
36706 swig_globalvar *n = var->next;
36707 free(var->name);
36708 free(var);
36709 var = n;
36ed4f51 36710 }
1bd55598
RD
36711 }
36712
36713 SWIGINTERN PyObject *
36714 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36715 PyObject *res = NULL;
36716 swig_globalvar *var = v->vars;
36717 while (var) {
36718 if (strcmp(var->name,n) == 0) {
36719 res = (*var->get_attr)();
36720 break;
36721 }
36722 var = var->next;
36ed4f51 36723 }
1bd55598
RD
36724 if (res == NULL && !PyErr_Occurred()) {
36725 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 36726 }
1bd55598
RD
36727 return res;
36728 }
36729
36730 SWIGINTERN int
36731 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36732 int res = 1;
36733 swig_globalvar *var = v->vars;
36734 while (var) {
36735 if (strcmp(var->name,n) == 0) {
36736 res = (*var->set_attr)(p);
36737 break;
36738 }
36739 var = var->next;
36ed4f51 36740 }
1bd55598
RD
36741 if (res == 1 && !PyErr_Occurred()) {
36742 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 36743 }
1bd55598
RD
36744 return res;
36745 }
36746
36747 SWIGINTERN PyTypeObject*
36748 swig_varlink_type(void) {
36749 static char varlink__doc__[] = "Swig var link object";
36750 static PyTypeObject varlink_type;
36751 static int type_init = 0;
36752 if (!type_init) {
36753 const PyTypeObject tmp
36754 = {
36755 PyObject_HEAD_INIT(NULL)
36756 0, /* Number of items in variable part (ob_size) */
36757 (char *)"swigvarlink", /* Type name (tp_name) */
36758 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36759 0, /* Itemsize (tp_itemsize) */
36760 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
36761 (printfunc) swig_varlink_print, /* Print (tp_print) */
36762 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36763 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36764 0, /* tp_compare */
36765 (reprfunc) swig_varlink_repr, /* tp_repr */
36766 0, /* tp_as_number */
36767 0, /* tp_as_sequence */
36768 0, /* tp_as_mapping */
36769 0, /* tp_hash */
36770 0, /* tp_call */
36771 (reprfunc)swig_varlink_str, /* tp_str */
36772 0, /* tp_getattro */
36773 0, /* tp_setattro */
36774 0, /* tp_as_buffer */
36775 0, /* tp_flags */
36776 varlink__doc__, /* tp_doc */
36777 0, /* tp_traverse */
36778 0, /* tp_clear */
36779 0, /* tp_richcompare */
36780 0, /* tp_weaklistoffset */
36781#if PY_VERSION_HEX >= 0x02020000
36782 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36783#endif
36784#if PY_VERSION_HEX >= 0x02030000
36785 0, /* tp_del */
36786#endif
36787#ifdef COUNT_ALLOCS
36788 0,0,0,0 /* tp_alloc -> tp_next */
36789#endif
36790 };
36791 varlink_type = tmp;
36792 varlink_type.ob_type = &PyType_Type;
36793 type_init = 1;
36ed4f51 36794 }
1bd55598
RD
36795 return &varlink_type;
36796 }
36797
36798 /* Create a variable linking object for use later */
36799 SWIGINTERN PyObject *
36800 SWIG_Python_newvarlink(void) {
36801 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
36802 if (result) {
36803 result->vars = 0;
36804 }
36805 return ((PyObject*) result);
36806 }
36807
36808 SWIGINTERN void
36809 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36810 swig_varlinkobject *v = (swig_varlinkobject *) p;
36811 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36812 if (gv) {
36813 size_t size = strlen(name)+1;
36814 gv->name = (char *)malloc(size);
36815 if (gv->name) {
36816 strncpy(gv->name,name,size);
36817 gv->get_attr = get_attr;
36818 gv->set_attr = set_attr;
36819 gv->next = v->vars;
36820 }
36ed4f51 36821 }
1bd55598
RD
36822 v->vars = gv;
36823 }
36824
36825 SWIGINTERN PyObject *
36826 SWIG_globals() {
36827 static PyObject *_SWIG_globals = 0;
36828 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
36829 return _SWIG_globals;
36830 }
36831
36832 /* -----------------------------------------------------------------------------
36833 * constants/methods manipulation
36834 * ----------------------------------------------------------------------------- */
36835
36836 /* Install Constants */
36837 SWIGINTERN void
36838 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36839 PyObject *obj = 0;
36840 size_t i;
36841 for (i = 0; constants[i].type; ++i) {
36842 switch(constants[i].type) {
36843 case SWIG_PY_POINTER:
36844 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36845 break;
36846 case SWIG_PY_BINARY:
36847 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36848 break;
36849 default:
36850 obj = 0;
36851 break;
36852 }
36853 if (obj) {
36854 PyDict_SetItemString(d, constants[i].name, obj);
36855 Py_DECREF(obj);
36856 }
36ed4f51 36857 }
1bd55598
RD
36858 }
36859
36860 /* -----------------------------------------------------------------------------*/
36861 /* Fix SwigMethods to carry the callback ptrs when needed */
36862 /* -----------------------------------------------------------------------------*/
36863
36864 SWIGINTERN void
36865 SWIG_Python_FixMethods(PyMethodDef *methods,
36866 swig_const_info *const_table,
36867 swig_type_info **types,
36868 swig_type_info **types_initial) {
36869 size_t i;
36870 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 36871 const char *c = methods[i].ml_doc;
1bd55598
RD
36872 if (c && (c = strstr(c, "swig_ptr: "))) {
36873 int j;
36874 swig_const_info *ci = 0;
3d6c9062 36875 const char *name = c + 10;
1bd55598
RD
36876 for (j = 0; const_table[j].type; ++j) {
36877 if (strncmp(const_table[j].name, name,
36878 strlen(const_table[j].name)) == 0) {
36879 ci = &(const_table[j]);
36880 break;
36881 }
36882 }
36883 if (ci) {
36884 size_t shift = (ci->ptype) - types;
36885 swig_type_info *ty = types_initial[shift];
36886 size_t ldoc = (c - methods[i].ml_doc);
36887 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
36888 char *ndoc = (char*)malloc(ldoc + lptr + 10);
36889 if (ndoc) {
36890 char *buff = ndoc;
36891 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
36892 if (ptr) {
36893 strncpy(buff, methods[i].ml_doc, ldoc);
36894 buff += ldoc;
36895 strncpy(buff, "swig_ptr: ", 10);
36896 buff += 10;
36897 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
36898 methods[i].ml_doc = ndoc;
36899 }
36900 }
36901 }
36902 }
36ed4f51 36903 }
1bd55598
RD
36904 }
36905
36906#ifdef __cplusplus
36907}
36908#endif
36909
36910/* -----------------------------------------------------------------------------*
36911 * Partial Init method
36912 * -----------------------------------------------------------------------------*/
36913
36914#ifdef __cplusplus
36915extern "C"
36916#endif
36917SWIGEXPORT void SWIG_init(void) {
36918 PyObject *m, *d;
36919
36920 /* Fix SwigMethods to carry the callback ptrs when needed */
36921 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36922
36923 m = Py_InitModule((char *) SWIG_name, SwigMethods);
36924 d = PyModule_GetDict(m);
36925
36926 SWIG_InitializeModule(0);
36927 SWIG_InstallConstants(d,swig_const_table);
36928
36929
36930 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
36931 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
36932 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
36933 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
36934 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
36935 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
36936 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
36937 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
36938 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
36939 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
1bd55598
RD
36940 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
36941 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
36942 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
36943 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
36944 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
1bd55598
RD
36945 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
36946 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
36947 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
36948 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
36949 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
36950 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
36951 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
36952 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
36953 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
36954 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
36955 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
36956 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 36957 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
fc46b7f3
RD
36958 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
36959 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
1bd55598
RD
36960 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
36961 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
36962 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
36963 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
36964 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
36965 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
36966 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
36967 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
36968 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
36969 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 36970 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
1bd55598
RD
36971 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
36972 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
36973 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
36974 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
36975 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
36976 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
36977 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
36978 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
36979 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
36980 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
36981 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
36982 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
36983 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
36984 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
36985 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
36986 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
36987 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
36988 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
36989 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
36990 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
36991 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
36992 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
36993 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
36994 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
36995 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
36996 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
36997 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
36998 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
36999 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
37000 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
37001 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
37002 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
37003 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
37004 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
37005 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
37006 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
37007 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
37008 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
37009 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
37010 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
37011 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
37012 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
37013 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
37014 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
37015 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
37016 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
37017 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
37018 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
37019 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
37020 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
37021 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
37022 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
37023 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
37024 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
37025 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
37026 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
37027 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
37028 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
37029 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
f9bf356b
RD
37030 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
37031 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
37032 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
1bd55598
RD
37033
37034 // Map renamed classes back to their common name for OOR
37035 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37036 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37037 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37038
37039 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
37040 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
37041 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
37042 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
37043 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
37044 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
37045 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
1ceb4f4d 37046 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
1bd55598
RD
37047 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
37048 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
37049 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
37050 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
37051 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
37052 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
cbfc9df6
RD
37053 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
37054 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
704eda0c
RD
37055 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
37056 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
704eda0c
RD
37057 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
37058 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
37059 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
37060 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
37061 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
37062 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 37063 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 37064 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
37065 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
37066 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
37067 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
37068 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
37069 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
37070 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
37071 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
37072 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
37073 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
37074 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
37075 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
1bd55598
RD
37076 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
37077 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
37078 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
37079 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
37080 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
37081 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
37082 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
37083 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
37084 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
37085 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
37086 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
37087 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
37088 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37089 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37090 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37091 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37092 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37093 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37094 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37095 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37096 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37097 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
37098 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
37099 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
37100 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
37101 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
37102 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
37103 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
37104 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
37105 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
37106 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
37107 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
37108 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
37109 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
37110 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
37111 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
37112 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
37113 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
37114 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
37115 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
37116 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
37117 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
37118 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
37119 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
37120 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
37121 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
37122 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
37123 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
37124 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
37125 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
37126 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
37127 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
37128 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
37129 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
37130 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
37131 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
37132 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
37133 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
37134 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
37135 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
37136 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
37137 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
37138
37139 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
37140
d55e5bfc
RD
37141}
37142